ext.liuqiwen3 hace 13 horas
padre
commit
73372abd39
Se han modificado 5 ficheros con 14 adiciones y 14 borrados
  1. 1 1
      pages.json
  2. 1 1
      pages/index/index.vue
  3. 6 6
      pages/user/index.vue
  4. 3 3
      pages/users/SVIP/SVIP.vue
  5. 3 3
      pages/users/VIP/VIP.vue

+ 1 - 1
pages.json

@@ -267,7 +267,7 @@
 				{
 					"path": "vault/index",
 					"style": {
-						"navigationBarTitleText": "明细",
+						"navigationBarTitleText": "钱包",
 						"navigationBarBackgroundColor": "#ffe079",
 						"navigationBarTextStyle": "black"
 					}

+ 1 - 1
pages/index/index.vue

@@ -81,7 +81,7 @@
         </view>
       <!--      分类卡片  -->
       <view class="classify-section">
-        <up-scroll-list class="classify-scroll" :scrollX="true" indicatorActiveColor="#F8C008">
+        <up-scroll-list class="classify-scroll" :indicator="classifyList.length > 4" :scrollX="true" indicatorActiveColor="#F8C008">
           <view class="classify-container">
             <view
                 class="classify-item"

+ 6 - 6
pages/user/index.vue

@@ -40,14 +40,14 @@
       </view>
 
       <!-- 会员开通提示 v-if="!userInfo.isVip"-->
-      <view class="vip-promote" >
+      <view class="vip-promote" v-if="useList&&useList.length>0&&showIcons">
         <image class="vipBG" :src="HTTP_REQUEST_URL_IMG+'vipBG.png'" mode="scaleToFill"></image>
         <view class="vip-text">
           <view class="title">
             <image class="vipIcon" :src="HTTP_REQUEST_URL_IMG+'setting/vipIcon.png'" mode="widthFix"></image>
             <text>开通<text class="bigText">会员</text>享受更多<text class="bigText">权益</text></text>
           </view>
-          <button class="open-vip" @click="goVIP">去开通<image class="bofang" :src="HTTP_REQUEST_URL_IMG+'setting/bofang.png'" mode="widthFix"></image></button>
+          <button class="open-vip" @click="goVIP">{{appStore.$userInfo?.svip ? '去查看':'去开通'}}<image class="bofang" :src="HTTP_REQUEST_URL_IMG+'setting/bofang.png'" mode="widthFix"></image></button>
         </view>
       </view>
     </view>
@@ -60,10 +60,10 @@
           <view class="balance">{{ wallet.balance }}</view>
         </view>
 
-<!--        <view class="transaction-detail" @click="viewTransactionDetail">-->
-<!--          <text style="margin-right: 10rpx;">交易明细</text>-->
-<!--          <uni-icons type="right" size="16" color="#666666"></uni-icons>-->
-<!--        </view>-->
+        <view class="transaction-detail" @click="viewTransactionDetail" v-if="useList&&useList.length>0&&showIcons">
+          <text style="margin-right: 10rpx;">交易明细</text>
+          <uni-icons type="right" size="16" color="#666666"></uni-icons>
+        </view>
       </view>
       <up-line color="#F1F3F8"></up-line>
 

+ 3 - 3
pages/users/SVIP/SVIP.vue

@@ -99,8 +99,8 @@ const taskList = ref([
     icon: "https://sb-admin.oss-cn-shenzhen.aliyuncs.com/shuibei-mini/svip/%E8%B7%AF%E5%BE%84733%403x.png",
   },
   {
-    name: "回收特权",
-    reward: "回收价+0.3/克",
+    name: "卖出特权",
+    reward: "卖出价+0.3/克",
     icon: "https://sb-admin.oss-cn-shenzhen.aliyuncs.com/shuibei-mini/svip/huishoutequan.png",
   },
   {
@@ -110,7 +110,7 @@ const taskList = ref([
   },
   {
     name: "超级工具",
-    reward: "自动回收,金价预警使用权限",
+    reward: "自动卖出,金价预警使用权限",
     icon: "https://sb-admin.oss-cn-shenzhen.aliyuncs.com/shuibei-mini/svip/chaojigongju.png",
   },
   {

+ 3 - 3
pages/users/VIP/VIP.vue

@@ -60,7 +60,7 @@
             >元/克
           </view>
           <view>
-            回收+<text
+            卖出+<text
               ><text>{{ appStore.$userInfo?.sold || 0 }}</text></text
             >元/克
           </view>
@@ -179,7 +179,7 @@ const benefitList = ref([
   },
   {
     icon: "https://sb-admin.oss-cn-shenzhen.aliyuncs.com/shuibei-mini/vip/Recycling.png",
-    text: "回收",
+    text: "卖出",
   },
   {
     icon: "https://sb-admin.oss-cn-shenzhen.aliyuncs.com/shuibei-mini/vip/exchange.png",
@@ -203,7 +203,7 @@ const taskList = ref([
   // },
   {
     name: "卖料",
-    reward: "每回收黄金1g,获得20成长值,20贝币",
+    reward: "每卖出黄金1g,获得20成长值,20贝币",
     btnText: "立即前往",
     url: "/pages/users/vault/storeMetal/index",
   },