shish 1 месяц назад
Родитель
Сommit
58e27ddc46
1 измененных файлов с 13 добавлено и 7 удалено
  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="module-com tabs-wrap">
         <div class="tabs-list" v-for="(item, index) in tabsData" :key="index" @click="pageTo(item)">
         <div class="tabs-list" v-for="(item, index) in tabsData" :key="index" @click="pageTo(item)">
           <div class="tabs-img">
           <div class="tabs-img">
-            <img :src="item.img" alt mode="widthFix" />
+            <text class="tabs-emoji">{{ item.emoji }}</text>
           </div>
           </div>
           <div class="tabs-name">{{ item.name }}</div>
           <div class="tabs-name">{{ item.name }}</div>
         </div>
         </div>
@@ -458,21 +458,21 @@ export default {
       tabsData: [
       tabsData: [
         {
         {
           name: "开单",
           name: "开单",
-          img: `${this.$constant.imgUrl}/retail/member/tab-icon-4.png`,
+          emoji: "🧾",
           funtion: () => {
           funtion: () => {
 			      this.createOrder()
 			      this.createOrder()
           }
           }
         },
         },
         {
         {
           name: "帮加员工",
           name: "帮加员工",
-          img: `${this.$constant.imgUrl}/retail/member/tab-icon-4.png`,
+          emoji: "👥",
           funtion: () => {
           funtion: () => {
             this.addStaff()
             this.addStaff()
           }
           }
         },
         },
         {
         {
           name: "充值余额",
           name: "充值余额",
-          img: `${this.$constant.imgUrl}/retail/member/tab-icon-1.png`,
+          emoji: "💰",
           funtion: () => {
           funtion: () => {
             this.czShow = true
             this.czShow = true
             this.rechargeMoney = ''
             this.rechargeMoney = ''
@@ -487,7 +487,7 @@ export default {
         },
         },
         {
         {
           name: "减少余额",
           name: "减少余额",
-          img: `${this.$constant.imgUrl}/retail/member/tab-icon-1.png`,
+          emoji: "💸",
           funtion: () => {
           funtion: () => {
             this.deductAmount = ''
             this.deductAmount = ''
             this.deductRemark = ''
             this.deductRemark = ''
@@ -1083,8 +1083,14 @@ export default {
       width: 50upx;
       width: 50upx;
       height: 50upx;
       height: 50upx;
       margin: 0 auto 14upx;
       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 {
     .tabs-name {