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

vip,svip,钱包,卡包管理修改为h5展示

ext.liuqiwen3 1 hónapja
szülő
commit
d6d6257df6
3 módosított fájl, 6 hozzáadás és 82 törlés
  1. 0 78
      pages.json
  2. 1 1
      pages/merchantCenter/index.vue
  3. 5 3
      pages/user/index.vue

+ 0 - 78
pages.json

@@ -150,36 +150,6 @@
             "navigationBarTextStyle": "black"
           }
         },
-        {
-          "path": "card_page/index",
-          "style": {
-            "navigationBarTitleText": "卡包管理",
-            "navigationBarBackgroundColor": "#ffe079",
-            "navigationBarTextStyle": "black",
-            "app-plus": {
-              // #ifdef APP-PLUS
-              "titleNView": {
-                "type": "default"
-              }
-              // #endif
-            }
-          }
-        },
-        {
-          "path": "card_page/create",
-          "style": {
-            "navigationBarTitleText": "卡包编辑",
-            "navigationBarBackgroundColor": "#ffe079",
-            "navigationBarTextStyle": "black",
-            "app-plus": {
-              // #ifdef APP-PLUS
-              "titleNView": {
-                "type": "default"
-              }
-              // #endif
-            }
-          }
-        },
         {
           "path": "user_address_list/index",
           "style": {
@@ -226,30 +196,6 @@
             "navigationBarTextStyle": "black"
           }
         },
-//        {
-//          "path": "user_asset/stock_in/stock_in",
-//          "style": {
-//            "navigationBarTitleText": "补仓",
-//            "navigationBarBackgroundColor": "#fff",
-//            "navigationBarTextStyle": "black"
-//          }
-//        },
-//        {
-//          "path": "user_asset/asset_info/asset_info",
-//          "style": {
-//            "navigationBarTitleText": "资产明细",
-//            "navigationBarBackgroundColor": "#fff",
-//            "navigationBarTextStyle": "black"
-//          }
-//        },
-//        {
-//          "path": "user_asset/record_list/record_list",
-//          "style": {
-//            "navigationBarTitleText": "交易明细",
-//            "navigationBarBackgroundColor": "#fff",
-//            "navigationBarTextStyle": "black"
-//          }
-//        },
         {
           "path": "user_return_list/index",
           "style": {
@@ -265,14 +211,6 @@
             }
           }
         },
-        {
-          "path": "vault/index",
-          "style": {
-            "navigationBarTitleText": "钱包",
-            "navigationBarBackgroundColor": "#ffe079",
-            "navigationBarTextStyle": "black"
-          }
-        },
         {
           "path": "user_goods_collection/index",
           "style": {
@@ -281,22 +219,6 @@
             "navigationBarTextStyle": "black"
           }
         },
-        {
-          "path": "VIP/VIP",
-          "style": {
-            "navigationBarTitleText": "VIP权益",
-            "navigationBarBackgroundColor": "#2f2e3e",
-            "navigationBarTextStyle": "white"
-          }
-        },
-        {
-          "path": "SVIP/SVIP",
-          "style": {
-            "navigationBarTitleText": "SVIP权益",
-            "navigationBarBackgroundColor": "#212121",
-            "navigationBarTextStyle": "white"
-          }
-        },
         {
           "path": "personal_info/personal_info",
           "style": {

+ 1 - 1
pages/merchantCenter/index.vue

@@ -244,7 +244,7 @@ const getMerchantSalesSummary = async () =>{
 // 功能点击
 const handleFunctionClick = (url,name) => {
   if (!url) return;
-  if(name == '库存管理'){
+  if(name == '库存管理' || name == '卡包管理'){
     goDetail(url);
   }else if(name == '我的商城'){
     uni.switchTab({url})

+ 5 - 3
pages/user/index.vue

@@ -24,7 +24,7 @@
           <view class="user-detail">
             <view class="name-vip" v-if="appStore.isLogin">
               <text class="name">{{ appStore.$userInfo?.nickname }}</text>
-              <image class="vip-tag" v-if="appStore.$userInfo?.svip" mode="widthFix" :src="HTTP_REQUEST_URL_IMG+'sviplogo.png'"></image>
+              <image class="vip-tag" v-if="appStore.$userInfo?.svip && useList&&useList.length>0&&showIcons" mode="widthFix" :src="HTTP_REQUEST_URL_IMG+'sviplogo.png'"></image>
             </view>
             <view
               class="name-vip"
@@ -469,7 +469,8 @@ const openVip = () => {
 
 // 查看会员权益
 const goVIP = () => {
-  uni.navigateTo({ url: "/pages/users/VIP/VIP" });
+  // uni.navigateTo({ url: "/pages/users/VIP/VIP" });
+  goDetail("/pages/VIP/VIP")
 };
 
 // 查看交易明细
@@ -477,7 +478,8 @@ const viewTransactionDetail = () => {
   if (!isLogin) {
     toLogin();
   } else {
-    uni.navigateTo({ url: "/pages/users/vault/index" });
+    // uni.navigateTo({ url: "/pages/users/vault/index" });
+    goDetail("/pages/users/vault/index1")
   }
 };