修改了选择
This commit is contained in:
		
							parent
							
								
									6d3d176cd8
								
							
						
					
					
						commit
						391fda5abc
					
				@ -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);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user