shish 1 miesiąc temu
rodzic
commit
58e27ddc46
1 zmienionych plików z 13 dodań i 7 usunięć
  1. 13 7
      ghsApp/src/pagesClient/member/detail.vue

+ 13 - 7
ghsApp/src/pagesClient/member/detail.vue

@@ -104,7 +104,7 @@
       <div class="module-com tabs-wrap">
         <div class="tabs-list" v-for="(item, index) in tabsData" :key="index" @click="pageTo(item)">
           <div class="tabs-img">
-            <img :src="item.img" alt mode="widthFix" />
+            <text class="tabs-emoji">{{ item.emoji }}</text>
           </div>
           <div class="tabs-name">{{ item.name }}</div>
         </div>
@@ -458,21 +458,21 @@ export default {
       tabsData: [
         {
           name: "开单",
-          img: `${this.$constant.imgUrl}/retail/member/tab-icon-4.png`,
+          emoji: "🧾",
           funtion: () => {
 			      this.createOrder()
           }
         },
         {
           name: "帮加员工",
-          img: `${this.$constant.imgUrl}/retail/member/tab-icon-4.png`,
+          emoji: "👥",
           funtion: () => {
             this.addStaff()
           }
         },
         {
           name: "充值余额",
-          img: `${this.$constant.imgUrl}/retail/member/tab-icon-1.png`,
+          emoji: "💰",
           funtion: () => {
             this.czShow = true
             this.rechargeMoney = ''
@@ -487,7 +487,7 @@ export default {
         },
         {
           name: "减少余额",
-          img: `${this.$constant.imgUrl}/retail/member/tab-icon-1.png`,
+          emoji: "💸",
           funtion: () => {
             this.deductAmount = ''
             this.deductRemark = ''
@@ -1083,8 +1083,14 @@ export default {
       width: 50upx;
       height: 50upx;
       margin: 0 auto 14upx;
-      img {
-        height: 100%;
+      display: flex;
+      flex-direction: row;
+      align-items: center;
+      justify-content: center;
+
+      .tabs-emoji {
+        font-size: 44upx;
+        line-height: 50upx;
       }
     }
     .tabs-name {