提交 180d32ed authored 作者: 刘旭's avatar 刘旭

优化

上级 0df8d84c
...@@ -2,33 +2,6 @@ ...@@ -2,33 +2,6 @@
<view class="order-container"> <view class="order-container">
<view class="status_bar"><!-- 这里是状态栏 --></view> <view class="status_bar"><!-- 这里是状态栏 --></view>
<headerVue :color="color" /> <headerVue :color="color" />
<!-- <view v-for="(item1, i) in titleImg" :key="i" class="content">
<image :src="item1.imgUrl" mode="" class="order-image"></image>
<view v-for="(item, i) in orderData" :key="item.id" class="order-content">
<view class="order-left">
<checkbox-group @change="selected" style="margin: 0 10rpx;">
<label><checkbox class="selected" color="#555555" :checked="checked" /></label>
</checkbox-group>
<image :src="item.picUrl" mode="heightFix" class="order-left-image"></image>
</view>
<view class="order-right">
<text class="details-top">{{ item.goodsName }}</text>
<text class="details-center">{{ item.specifications[0] }}</text>
<view class="details-bottom">
<text style="color: #d50000; font-size: 34rpx">{{ item.price }}</text>
<text style="font-size: 24rpx; color: #ccc; margin-left: 20rpx">{{ item.number + '件' }}</text>
<text style="font-size: 24rpx; color: #ccc; margin-left: 20rpx">瓶 10件起订</text>
<view class="details-sum">
<text class="subtract" @click="reduce">-</text>
<text class="num">{{ num }}</text>
<text class="add" @click="add">+</text>
</view>
</view>
</view>
</view>
</view> -->
<view v-for="(item, index) in orderData" class="or-content"> <view v-for="(item, index) in orderData" class="or-content">
<view class="or-top"> <view class="or-top">
<text>订单编号:{{ item.orderSn }}</text> <text>订单编号:{{ item.orderSn }}</text>
...@@ -141,7 +114,7 @@ let initMSJFList = async () => { ...@@ -141,7 +114,7 @@ let initMSJFList = async () => {
for(let g in res.data.data.list[s].goodsList) { for(let g in res.data.data.list[s].goodsList) {
let picUrl = res.data.data.list[s].goodsList[g].picUrl let picUrl = res.data.data.list[s].goodsList[g].picUrl
if(picUrl.split('.').length != 5) if(picUrl.split('.').length != 5)
res.data.data.list[s].goodsList[g].picUrl = baseURL + '/wx/storage/fetch/' + picUrl res.data.data.list[s].goodsList[g].picUrl = baseURL + picUrl
} }
} }
orderData.value = res.data.data.list; orderData.value = res.data.data.list;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论