fixed bug adout shop

This commit is contained in:
cmxdd
2020-08-10 20:24:58 +08:00
parent e223fd5ff9
commit 9fac4e8a2e
11 changed files with 129 additions and 79 deletions

View File

@@ -2,7 +2,7 @@
<view class="details">
<view class="box" v-if="type<4">
<view class="goods-info" v-for="list in info.extend_order_goods">
<image :src="list.goods_image"></image>
<image :src="list.image_480_url"></image>
<view class="info-right">
<view class="name u-line-1">{{ list.goods_name }}</view>
<view class="info">
@@ -39,6 +39,7 @@
<view>
<view class="title">姓名</view>
<view class="value">{{ info.extend_order_common.reciver_name }}</view>
<image src="/static/image/home/chat.png" @click="tochat(info.buyer_id)"></image>
</view>
<view>
<view class="title">手机号</view>
@@ -526,6 +527,11 @@ export default {
}
.value {
font-size: 26rpx;
flex: 1;
}
image{
width: 40rpx;
height: 40rpx;
}
}
}

View File

@@ -2,7 +2,7 @@
<view class="home">
<view class="image-swiper"><u-swiper :list="imageList" mode="dot" border-radius="20"></u-swiper></view>
<view class="tab-swiper">
<u-tabs-swiper
<!-- <u-tabs-swiper
ref="uTabs"
:list="list"
:current="current"
@@ -14,7 +14,8 @@
:show-bar="false"
swiperWidth="750"
gutter="52"
></u-tabs-swiper>
></u-tabs-swiper> -->
<u-tabs :list="list" font-size="26" gutter="10" item-width="140" bar-width="130" active-color="#FF780F" :current="current" @change="tabsChange"></u-tabs>
</view>
<view class="order-list" v-if="current == 0">
<view v-for="(item, index) in allorder" :key="index"><OrderItem :info="item"></OrderItem></view>
@@ -34,7 +35,7 @@
<view class="title">选择订单号</view>
<view class="worker" v-if="JSON.stringify(worker) != '{}'">
<view>{{ worker.name }}</view>
<u-icon name="edit-pen" @click="worker = {}"></u-icon>
<u-icon name="arrow-down" @click="worker = {}"></u-icon>
</view>
<view v-else class="select" @click="showSelect = true">
<view>请选择</view>
@@ -358,6 +359,13 @@ export default {
},
// 骑手投诉点击确定
setWorker(e) {
if(e[0].label==null){
this.$refs.uToast.show({
title: "选择无效",
type: 'error'
});
return
}
let arr = this.carlist;
for (let index in arr) {
if (arr[index].takeawayer_id == e[0].value) {