Browse Source

fix: 4.0地址问题修改 (#2054)

* feat: tour更新

* feat: 文档修改

* feat: 插槽修改

* feat: noticebar发布

* feat: 文档更新

* fix: ellipsis修改

* fix: 修改 ellipsis

* feat: tour修改

* fix: 地址组件问题修改
yangxiaolu1993 3 years ago
parent
commit
5f3c755010

+ 1 - 1
src/packages/__VUE/address/index.scss

@@ -63,7 +63,7 @@
     display: block;
     .nut-address__region {
       position: relative;
-      margin-top: 32px;
+      // margin-top: 32px;
       padding: 0 20px;
       display: flex;
       font-size: $address-region-tab-font-size;

+ 2 - 2
src/packages/__VUE/address/index.taro.vue

@@ -11,7 +11,7 @@
       <view class="nut-address__header">
         <view class="nut-address__header-back" @click="switchModule">
           <slot name="back-icon">
-            <Left v-show="type == 'exist' && privateType == 'custom'"></Left>
+            <Left v-show="type == 'exist' && privateType == 'custom'" size="14px"></Left>
           </slot>
         </view>
 
@@ -25,7 +25,7 @@
 
         <view class="nut-address__header-close" @click="handClose('cross')">
           <slot name="close-icon">
-            <Close color="#cccccc" size="18px"></Close>
+            <Close color="#cccccc" size="14px"></Close>
           </slot>
         </view>
       </view>

+ 5 - 5
src/packages/__VUE/address/index.vue

@@ -13,7 +13,7 @@
       <view class="nut-address__header">
         <view class="nut-address__header-back" @click="switchModule">
           <slot name="back-icon">
-            <Left v-show="type == 'exist' && privateType == 'custom'"></Left>
+            <Left v-show="type == 'exist' && privateType == 'custom'" size="14px"></Left>
           </slot>
         </view>
 
@@ -27,7 +27,7 @@
 
         <view class="nut-address__header-close" @click="handClose('cross')">
           <slot name="close-icon">
-            <Close color="#cccccc" size="18px"></Close>
+            <Close color="#cccccc" size="14px"></Close>
           </slot>
         </view>
       </view>
@@ -60,7 +60,7 @@
             >
               <div>
                 <slot name="icon" v-if="selectedRegion[tabIndex]?.id == item.id">
-                  <Check class="nut-address-select-icon" width="13px"></Check> </slot
+                  <Check class="nut-address-select-icon" size="13px"></Check> </slot
                 >{{ item.name }}
               </div>
             </li>
@@ -87,11 +87,11 @@
               @click="selectedExist(item)"
             >
               <slot name="unselected-icon" v-if="!item.selectedAddress">
-                <Location2 class="nut-address-select-icon" width="13px"></Location2>
+                <Location2 class="nut-address-select-icon" size="13px"></Location2>
               </slot>
 
               <slot name="icon" v-if="item.selectedAddress">
-                <Check class="nut-address-select-icon" width="13px"></Check>
+                <Check class="nut-address-select-icon" size="13px"></Check>
               </slot>
 
               <div class="nut-address__exist-item-info">