xbx #99

Merged
theluyuan merged 4 commits from xbx into master 2020-09-11 12:23:57 +00:00
Showing only changes of commit 391fda5abc - Show all commits

View File

@ -87,7 +87,7 @@
<view :class="{ active: cur == 1 }" @click="pushstyleB">骑手</view>
<view :class="{ active: cur == 2 }" @click="pushstyleC">自提</view>
</view>
<view v-if="cur != 2 && (pushid || selctcar)">
<view v-if="pushstyleBshow && (pushid || selctcar)" >
<view class="title">{{cur == 0 ? '快递单号':'骑手信息'}}</view>
<view class="value">{{ cur == 0 ? pushid ? companyidA.express_name + ": " + pushid : '' : selctcar ? selctcar.label : '' }}</view>
</view>
@ -269,6 +269,7 @@ export default {
takeawayer_info: {}, //
mineBy_img: "", //
mineBy_text: "", //
pushstyleBshow: false
};
},
onLoad(option) {
@ -331,17 +332,25 @@ export default {
},
//
pushstyleA() {
this.cur = 0;
if(this.cur != 0){
return ;
}
this.showcompany = true;
},
//
pushstyleB() {
this.cur = 1;
if(this.cur != 1){
return ;
}
this.show = true;
},
//
pushstyleC() {
this.cur = 2;
if(this.cur != 2){
return ;
}
this.pushstyleBshow = true
},
//
getcompanyinfo() {
@ -782,7 +791,7 @@ export default {
justify-content: space-around;
> view {
font-size: 30rpx;
color: rgba(0, 0, 51, 1);
color: #999;
width: 30%;
height: 80rpx;
border: 1rpx solid rgba(236, 236, 236, 1);