Răsfoiți Sursa

地址显示

shish 6 luni în urmă
părinte
comite
9c6bfb3fe5

+ 1 - 1
ghsPad/src/pages/home/components/deliveryPop.vue

@@ -11,7 +11,7 @@
                 <view class="title">客户地址</view>
                 <view class="address-box">
                     <view v-if="$util.isEmpty(custom.long) || $util.isEmpty(custom.lat) || $util.isEmpty(custom.address)" class="addr-main" style="color: red; font-size: 10upx;">
-                        客户地址不完善,请修改
+                        地址不完整,请修改
                     </view>
                     <view v-else>
                         <view class="addr-main">{{ custom.address }}</view>

+ 7 - 9
ghsPad/src/pages/home/components/settlePop.vue

@@ -22,8 +22,8 @@
                     <view class="select-item_box" style="display: flex; align-items: center; border-bottom:1upx solid #eee; margin-bottom:3upx;">
                         <view class="title">客户地址</view>
                         <view class="address-box">
-                            <view v-if="$util.isEmpty(custom.long) || $util.isEmpty(custom.lat) || $util.isEmpty(custom.address)" class="addr-main" style="color: red; font-size: 11upx;">
-                                客户地址不完善,请修改
+                            <view v-if="$util.isEmpty(custom.long) || $util.isEmpty(custom.lat) || $util.isEmpty(custom.address)" class="addr-main" style="color: red; font-size: 14upx;font-weight:bold;">
+                                地址不完整,请用手机修改
                             </view>
                             <view v-else>
                                 <view class="addr-main">{{ custom.address }}</view>
@@ -708,13 +708,12 @@ export default {
         getDeliveryQuotes() {
             console.log('getDeliveryQuotes', Number(this.customId));
             if(Number(this.customId) === 0){
-                this.$msg('请先选择客户');
+                //this.$msg('请先选择客户')
                 return false;
             }
-
             //客户地址不完善
             if (this.isAddressInvalid) {
-                this.$msg('客户地址不完善,无法发跑腿');
+                //this.$msg('客户地址不完善,无法发跑腿')
                 return false;
             }
 
@@ -1023,8 +1022,7 @@ export default {
 }
 
 .delivery-section {
-    border: 1px solid #80B3FF;
-    box-shadow: 0 0 8upx #80B3FF;
+    border: 3px solid #80B3FF;
     margin: 5upx 0;
     border-radius: 4upx;
     padding: 5upx;
@@ -1051,11 +1049,11 @@ export default {
     justify-content: center;
     align-items: center;
     .addr-main {
-        font-size: 10upx;
+        font-size: 13upx;
         color: #333;
     }
     .addr-sub {
-        font-size: 8upx;
+        font-size:11upx;
         color: #999;
         margin-top: 2upx;
     }

+ 7 - 8
hdPad/src/pages/home/components/settlePop.vue

@@ -41,8 +41,8 @@
                     <view class="select-item_box" style="display: flex; align-items: center; border-bottom:1upx solid #eee; margin-bottom:3upx;">
                         <view class="title">客户地址</view>
                         <view class="address-box">
-                            <view v-if="$util.isEmpty(custom.long) || $util.isEmpty(custom.lat) || $util.isEmpty(custom.address)" class="addr-main" style="color: red; font-size: 11upx;">
-                                客户地址不完善,请修改
+                            <view v-if="$util.isEmpty(custom.long) || $util.isEmpty(custom.lat) || $util.isEmpty(custom.address)" class="addr-main" style="color: red; font-size: 14upx;font-weight:bold;">
+                                地址不完整,请用手机修改
                             </view>
                             <view v-else>
                                 <view class="addr-main">{{ custom.address }}</view>
@@ -573,11 +573,11 @@ export default {
         getDeliveryQuotes() {
             console.log('getDeliveryQuotes', Number(this.customId));
             if(Number(this.customId) === 0){
-                this.$msg('请先选择客户');
+                //this.$msg('请先选择客户');
                 return false;
             }
             if (this.isAddressInvalid) {
-                this.$msg('客户地址不完善,无法发跑腿');
+                //this.$msg('客户地址不完善,无法发跑腿');
                 return false;
             }
 
@@ -1009,8 +1009,7 @@ export default {
 }
 
 .delivery-section {
-    border: 1px solid #2ECE7E;
-    box-shadow: 0 0 8upx #2ECE7E;
+    border: 3px solid #2ECE7E;
     margin: 5upx 0;
     border-radius: 4upx;
     padding: 5upx;
@@ -1037,11 +1036,11 @@ export default {
     justify-content: center;
     align-items: center;
     .addr-main {
-        font-size: 10upx;
+        font-size: 13upx;
         color: #333;
     }
     .addr-sub {
-        font-size: 8upx;
+        font-size: 11upx;
         color: #999;
         margin-top: 2upx;
     }