Forráskód Böngészése

iconfont显示修复

GGDemo 6 napja
szülő
commit
7ebb179833
1 módosított fájl, 28 hozzáadás és 9 törlés
  1. 28 9
      src/pages/pickup/waybillPickUpOrder.vue

+ 28 - 9
src/pages/pickup/waybillPickUpOrder.vue

@@ -5,7 +5,7 @@
       <uni-easyinput v-model="searchValue" placeholder="请输入单号" :inputBorder="false" />
       <view class="filter">
         <text>筛选</text>
-        <uni-icons fontFamily="iconFont" size="16" color="#999999">{{ '\ue8b7' }}</uni-icons>
+        <!-- <uni-icons fontFamily="iconFont" size="16" color="#999999">{{ '\ue8b7' }}</uni-icons> -->
       </view>
     </view>
     <!-- 状态选项 -->
@@ -58,7 +58,6 @@
 
           <view class="address">
             <view class="user-info">
-              <uni-icons fontFamily="iconFont" size="16" color="#e0620d">{{ '\ue605' }}</uni-icons>
               <text class="user">{{
                 item.address?.first_name + ' ' + item.address?.last_name
               }}</text>
@@ -67,14 +66,12 @@
               >
             </view>
             <view class="address-info">
-              <uni-icons fontFamily="iconFont" size="16" color="#007AFF">{{ '\ue7b7' }}</uni-icons>
               <text>{{ item.address?.city }}</text>
               <text>{{ item.address?.zip_code }}</text>
             </view>
           </view>
           <view>
             <view v-for="good in item.goods" :key="good.id" class="goods">
-              <uni-icons fontFamily="iconFont" size="16" color="#999999">{{ '\ue7ba' }}</uni-icons>
               <text class="item"
                 >{{ good.name }}
                 <text class="qty"> x{{ good.qty }} </text>
@@ -507,8 +504,12 @@ page {
     font-size: 30rpx;
     color: #333333;
     line-height: 30%;
-    text {
-      margin-right: 10rpx;
+    text::after {
+      content: '\e8b7';
+      font-family: 'iconfont' !important;
+      margin-left: 10rpx;
+      font-size: 34rpx;
+      color: #999999;
     }
   }
 }
@@ -609,6 +610,13 @@ page {
       flex-direction: row;
       align-items: baseline;
       margin-bottom: 10rpx;
+      .user::before {
+        content: '\e605';
+        font-family: 'iconfont' !important;
+        font-size: 34rpx;
+        margin-right: 10rpx;
+        color: #e0620d;
+      }
       .user {
         display: block;
         font-weight: bold;
@@ -624,6 +632,13 @@ page {
       margin-bottom: 10rpx;
       font-size: 26rpx;
     }
+    .address-info::before {
+      content: '\e7b7';
+      font-family: 'iconfont' !important;
+      font-size: 34rpx;
+      margin-right: 10rpx;
+      color: #007aff;
+    }
   }
   .goods {
     display: flex;
@@ -638,9 +653,13 @@ page {
         color: #999999;
       }
     }
-  }
-  .uni-icons {
-    margin-right: 10rpx;
+    .item::before {
+      content: '\e7ba';
+      font-family: 'iconfont' !important;
+      font-size: 34rpx;
+      margin-right: 10rpx;
+      color: #999999;
+    }
   }
 }
 .loading-text {