后台接口对接
This commit is contained in:
parent
e8db1977a0
commit
d8bba87d61
|
|
@ -10,9 +10,9 @@ export default {
|
||||||
title: '加载中'
|
title: '加载中'
|
||||||
})
|
})
|
||||||
// request 触发前拼接 url
|
// request 触发前拼接 url
|
||||||
// args.url = 'https://www.opsoul.com' + args.url;
|
args.url = 'https://www.opsoul.com' + args.url;
|
||||||
// args.url = 'http://10.45.137.214:80' + args.url;
|
// args.url = 'http://10.45.137.214:80' + args.url;
|
||||||
args.url = 'http://127.0.0.1:80' + args.url;
|
// args.url = 'http://127.0.0.1:80' + args.url;
|
||||||
if (args.data) {
|
if (args.data) {
|
||||||
args.data.deptId = globalData.deptId;
|
args.data.deptId = globalData.deptId;
|
||||||
args.data.from = globalData.from;
|
args.data.from = globalData.from;
|
||||||
|
|
|
||||||
|
|
@ -6,10 +6,16 @@
|
||||||
<view class="cu-avatar" :style="'background-image:url(' + product.goodsLogoUrl + '); min-width:150rpx; min-height:150rpx;'"></view>
|
<view class="cu-avatar" :style="'background-image:url(' + product.goodsLogoUrl + '); min-width:150rpx; min-height:150rpx;'"></view>
|
||||||
<view class="margin-left-sm flex-column-between" style="width: 100%">
|
<view class="margin-left-sm flex-column-between" style="width: 100%">
|
||||||
<view class="text-black text-lg">{{product.goodsName}}</view>
|
<view class="text-black text-lg">{{product.goodsName}}</view>
|
||||||
<view class="flex flex-wrap">
|
<view class="flex justify-between align-center" style="width: 480rpx;" v-for="(item,index) in pickedList" :key="index" v-if="index < 3">
|
||||||
<view class="basis-xl">{{product.standardName}}</view>
|
<view class="basis-lg text-cut">{{item.standardName}}</view>
|
||||||
<view class="basis-xs text-right">×{{product.num}}</view>
|
<view class="basis-xs text-cut text-right">×{{item.standardNum}}</view>
|
||||||
</view>
|
</view>
|
||||||
|
<view v-if="pickedList.length > 3">...</view>
|
||||||
|
<!-- <view class="flex justify-between align-center" style="width: 440rpx;" v-for="(item,index) in 4" :key="index" v-if="index < 3">
|
||||||
|
<view class="basis-lg text-cut">冰箱冰箱冰箱冰箱冰箱冰箱冰箱冰箱冰箱冰箱冰箱</view>
|
||||||
|
<view class="basis-xs text-cut">×10000</view>
|
||||||
|
</view>
|
||||||
|
<view>...</view> -->
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
@ -23,6 +29,10 @@
|
||||||
product: {
|
product: {
|
||||||
type: Object,
|
type: Object,
|
||||||
default: null
|
default: null
|
||||||
|
},
|
||||||
|
pickedList: {
|
||||||
|
type: Array,
|
||||||
|
default: []
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,7 @@
|
||||||
</view>
|
</view>
|
||||||
<view class="padding-lr">
|
<view class="padding-lr">
|
||||||
<view class="margin-top-sm">
|
<view class="margin-top-sm">
|
||||||
<product-picked :product="shopOrder"></product-picked>
|
<product-picked :product="shopOrder" :pickedList="shopOrder.standardList"></product-picked>
|
||||||
</view>
|
</view>
|
||||||
<view class="flex justify-end align-end padding-bottom-sm">
|
<view class="flex justify-end align-end padding-bottom-sm">
|
||||||
<view class="margin-right-sm"><text>总价</text><text class="text-price text-red">{{shopOrder.totalMoney}}</text>
|
<view class="margin-right-sm"><text>总价</text><text class="text-price text-red">{{shopOrder.totalMoney}}</text>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue