shish hai 2 meses
pai
achega
8b24811260
Modificáronse 2 ficheiros con 8 adicións e 4 borrados
  1. 6 3
      hdApp/src/admin/home/me.vue
  2. 2 1
      hdApp/src/admin/home/workbench.vue

+ 6 - 3
hdApp/src/admin/home/me.vue

@@ -32,7 +32,7 @@
           <view v-if="showExpireCard" class="expire-card" @click="goRenew">
             <view class="expire-main">
               <text class="expire-label">到期时间</text>
-              <text class="expire-date">{{ deadlineText }}</text>
+              <text class="expire-date" @click="editShop">{{ deadlineText }}</text>
             </view>
             <view class="renew-link">
               <text class="renew-text">续费</text>
@@ -254,6 +254,9 @@ export default {
       // #endif
       return true;
     },
+    editShop(){
+      this.$util.pageTo({ url: this.shopEditUrl })
+    },
     shopEditUrl () {
       const shopInfo = this.myInfo.shopInfo || {};
       const id = shopInfo.id || this.myInfo.shopId || "";
@@ -702,14 +705,14 @@ export default {
 }
 
 .expire-label {
-  font-size: 30upx;
+  font-size: 32upx;
   line-height: 30upx;
   color: #8a9199;
 }
 
 .expire-date {
   margin-top: 6upx;
-  font-size: 34upx;
+  font-size: 38upx;
   line-height: 38upx;
   font-weight: 700;
   color: #111416;

+ 2 - 1
hdApp/src/admin/home/workbench.vue

@@ -181,7 +181,8 @@ export default {
     },
     refreshActivePanel() {
       this.scheduleActivePanelSync();
-    }
+    },
+    init(){},
   }
 };
 </script>