1234567891011121314151617181920212223242526272829303132333435363738 |
- <template>
- <view class="home">
- <view class="detail-area">
- </view>
- </view>
- </template>
- <script>
- import { getReturnDetail } from '@/api/asset.js'
- export default {
- data() {
- return {
- id:""
- };
- },
- methods:{
- init(id){
- getReturnDetail(id).then(res=>{
- console.log(res)
- })
- }
- },
- onLoad:function(option){
- this.id = option.id
- this.init(this.id)
- }
- }
- </script>
- <style lang="scss">
- .home{
- padding: 20rpx;
- display: flex;
- flex-direction: column;
- // height: 100vh;
- box-sizing: border-box;
- }
- </style>
|