Ver código fonte

提货订单显示不发货区域

DELL 3 anos atrás
pai
commit
b4cff5671a
1 arquivos alterados com 27 adições e 2 exclusões
  1. 27 2
      pages/order/settlement.vue

+ 27 - 2
pages/order/settlement.vue

@@ -72,7 +72,9 @@
 				<text>¥{{ $numberFormat(info.freightAmt) }}</text>
 			</view>
 		</view>
+		
 		<view class="footer-fixed">
+			<view v-if="info.freightType == 2" class="footer-fixed-color"><icon type="warn"  style="vertical-align: bottom; margin-right: 20rpx; " size="20"/><text>当前收货地址暂不支持发货</text></view>	
 			<view class="flex btn">
 				<view class="btn-left">
 					<view class="money">
@@ -80,7 +82,10 @@
 						<text class="value">¥{{ $numberFormat(info.payAmt) }}</text>
 					</view>
 				</view>
-				<view class="btn-right">
+				<view class="btn-rightTwo" v-if="info.freightType == 2">
+					<text class="save" >提交</text>
+				</view>
+				<view class="btn-right" v-else>
 					<text class="save" @click="save">提交</text>
 				</view>
 			</view>
@@ -458,7 +463,11 @@
 		// 设置ios刘海屏底部横线安全区域
 		padding-bottom: constant(safe-area-inset-bottom);
 		padding-bottom: env(safe-area-inset-bottom);
-
+		&-color {
+			font-size: 30rpx;
+			color: $uni-text-color;
+			margin: 10rpx 40rpx;
+		}
 		.btn {
 			justify-content: space-between;
 			padding: 20rpx 40rpx;
@@ -485,6 +494,22 @@
 					color: rgba(255, 255, 255, 100);
 				}
 			}
+			&-rightTwo {
+				display: flex;
+				align-items: center;
+				justify-content: flex-end;
+			
+				.save {
+					width: 190rpx;
+					height: 60rpx;
+					line-height: 60rpx;
+					border-radius: 8rpx;
+					text-align: center;
+					margin-left: 40rpx;
+					background-color: #6c6c6c;
+					color: #ffffff;
+				}
+			}
 		}
 	}
 </style>