Pārlūkot izejas kodu

fix:“更改订单通知开关显示逻辑”

soobin 1 gadu atpakaļ
vecāks
revīzija
4c62d1f352
2 mainītis faili ar 5 papildinājumiem un 2 dzēšanām
  1. 3 0
      src/styles/home/index.less
  2. 2 2
      src/views/user.vue

+ 3 - 0
src/styles/home/index.less

@@ -1,8 +1,11 @@
 .homePage {
+  width: 100%;
   .homeBox {
+    height: 100%;
     width: 100%;
     height: calc(100% - 50px);
     overflow: auto;
+    overflow-x: hidden;
 
     .intervalRow {
       width: 100%;

+ 2 - 2
src/views/user.vue

@@ -189,7 +189,7 @@
             <span class="o-pl-10">{{ $t("user.currentChoose") }}: {{ sevencloudPay ? "汇付" : "汇聚" }}</span>
           </div>
           
-          <div v-if="isInWeChat" class="userInfo l-flex-RC">
+          <div v-if="isInWeChat && user.type == '2'" class="userInfo l-flex-RC">
             <span class="userInfoLeft l-flex-RC">{{ $t("user.orderNotice") }}: </span>
             <div class="cust_vantBorder">
               <van-switch :model-value="orderNotice" active-color="#0090fa"
@@ -215,7 +215,7 @@
           </div>
 
           <!-- 提现帐号 -->
-          <div v-if="isInland && user.type != '0'" class="taskListRow flex-col" @click="pushPageList('/settlement')">
+          <div v-if="isInland && user.type == '2'" class="taskListRow flex-col" @click="pushPageList('/settlement')">
             <div class="taskIcon joinPayMchIcon"></div>
             <div class="taskRight">
               <div class="taskTitle">{{ $t("user.settlementAccount") }}</div>