shish пре 2 месеци
родитељ
комит
a003554790

+ 35 - 9
ghsApp/src/admin/home/components/OrderItem.vue

@@ -102,16 +102,22 @@
               :data-order-id="item.id"
               :data-share-type="shareBtnType"
               @click.stop="shareOrder(item)"
-              class="admin-button-com bule"
-            >分享</button>
+              class="share-icon-btn"
+            >
+              <image class="share-icon-btn__icon" :src="iconSrc('share_button')" mode="aspectFit" />
+            </button>
           </view>
           <!-- #endif -->
           <!-- #ifdef APP-PLUS -->
-          <view><button @click.stop="shareOrder(item)" class="admin-button-com bule">分享</button></view>
+          <view class="share-icon-btn" @click.stop="shareOrder(item)">
+            <image class="share-icon-btn__icon" :src="iconSrc('share_button')" mode="aspectFit" />
+          </view>
           <!-- #endif -->
           <!-- #ifndef MP-WEIXIN -->
           <!-- #ifndef APP-PLUS -->
-          <view><button @click.stop="shareOrder(item)" class="admin-button-com bule">分享</button></view>
+          <view class="share-icon-btn" @click.stop="shareOrder(item)">
+            <image class="share-icon-btn__icon" :src="iconSrc('share_button')" mode="aspectFit" />
+          </view>
           <!-- #endif -->
           <!-- #endif -->
           <block v-if="currentStatus == 2">
@@ -135,7 +141,7 @@
           </view>
           <view>
             <button @click.stop="printWlFlag(item)" class="admin-button-com bule">
-              物流<text>({{ item.printWlNum || 0 }})</text>
+              物流<text>({{ item.printWlNum || 0 }})</text>
             </button>
           </view>
           <view class="more-icon-btn" @click.stop="openMore(item)">
@@ -542,16 +548,36 @@ export default {
     }
     .more-icon-btn {
       margin: 0 6upx 12upx 6upx;
-      width: 65upx;
-      height: 65upx;
+      width: 56upx;
+      height: 56upx;
       display: flex;
       align-items: center;
       justify-content: center;
       flex: none;
     }
     .more-icon-btn__icon {
-      width: 63upx;
-      height: 63upx;
+      width: 55upx;
+      height: 55upx;
+    }
+    .share-icon-btn {
+      margin: 0 6upx 12upx 6upx;
+      width: 54upx;
+      height: 54upx;
+      padding: 0;
+      line-height: 1;
+      display: flex;
+      align-items: center;
+      justify-content: center;
+      flex: none;
+      background: transparent;
+      border: none;
+      &::after {
+        border: none;
+      }
+    }
+    .share-icon-btn__icon {
+      width: 53upx;
+      height: 53upx;
     }
   }
 }

+ 1 - 0
ghsApp/src/static/icons/share_button.svg

@@ -0,0 +1 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1780202772296" class="icon" viewBox="0 0 1078 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2083" xmlns:xlink="http://www.w3.org/1999/xlink" width="33.6875" height="32"><path d="M533.800421 432.828632c84.399158-121.882947 222.208-205.446737 409.788632-248.643368l-205.150316-111.885474C725.396211 65.212632 720.572632 48.936421 727.578947 35.893895l6.440421-11.991579c7.087158-13.177263 23.525053-18.054737 36.648421-10.913684l256.916211 140.099368c27.270737 14.874947 36.352 49.664 19.860211 75.964632l-148.965053 237.352421c-7.949474 12.665263-24.710737 16.437895-37.322105 8.380632l-11.264-7.194947c-12.476632-7.949474-16.195368-24.495158-8.326737-37.052632l112.586105-179.442526c-168.205474 39.477895-290.896842 113.367579-364.894316 219.782737-52.547368 75.560421-71.141053 157.157053-77.500632 212.345263-3.880421 33.684211-3.206737 67.018105-1.913263 89.519158 0.889263 15.252211-11.290947 28.106105-26.570105 28.294737l-13.581474 0.161684c-14.362947 0.188632-26.273684-10.805895-27.243789-25.141895C438.460632 717.716211 439.592421 568.805053 533.800421 432.828632zM404.210526 161.684211 107.789474 161.684211c-59.526737 0-107.789474 48.262737-107.789474 107.789474l0 646.736842c0 59.526737 48.262737 107.789474 107.789474 107.789474l808.421053 0c59.526737 0 107.789474-48.262737 107.789474-107.789474L1024 565.894737c0-14.874947-12.072421-26.947368-26.947368-26.947368l0 0c-14.874947 0-26.947368 12.072421-26.947368 26.947368l0 350.315789c0 29.776842-24.117895 53.894737-53.894737 53.894737L107.789474 970.105263c-29.776842 0-53.894737-24.117895-53.894737-53.894737L53.894737 269.473684c0-29.776842 24.117895-53.894737 53.894737-53.894737l296.421053 0c14.874947 0 26.947368-12.072421 26.947368-26.947368l0 0C431.157895 173.756632 419.085474 161.684211 404.210526 161.684211z" p-id="2084" fill="#3385FF"></path></svg>