shish 3 лет назад
Родитель
Сommit
15368249bb
2 измененных файлов с 4 добавлено и 4 удалено
  1. 2 2
      mallApp/src/pages/home/user.vue
  2. 2 2
      mallApp/src/pages/login/result.vue

+ 2 - 2
mallApp/src/pages/home/user.vue

@@ -7,7 +7,7 @@
             <view class="user-blo-left">
               <view class="user-name-warp" v-if="!$util.isEmpty(loginInfo)"> <view class="user-name">{{loginInfo.name||'游客'}}</view> </view>
               <view class="user-name-warp" @click="pageTo({url:'/pages/login/index'})" v-else> <view class="user-name">注册/登录</view> </view>
-              <view class="user-level"><view>ID {{loginInfo.id||'0000'}}</view></view>
+              <view class="user-level" v-if="!$util.isEmpty(loginInfo)"><view>ID {{loginInfo.id||'0000'}}</view></view>
             </view>
             <view class="user-blo-right login-attr-wrap">
               <image :src="`${constant.imgUrl}/default-img.png`" mode="widthFix"></image>
@@ -19,7 +19,7 @@
     <template>
       <view class="surplus-wrap">
         <view class="surplus-left">
-          <view>余额(¥)</view>
+          <view>余额</view>
           <view class="my-surplus">0</view>
         </view>
       </view>

+ 2 - 2
mallApp/src/pages/login/result.vue

@@ -8,9 +8,9 @@
           <view class="result-title">操作成功</view>
         </view>
 
-        <view v-if="!$util.isEmpty(superWx)" style="margin-bottom:50upx;font-size:35upx;">点击按钮打开二维码,识别添加店长微信</view>
+        <view v-if="!$util.isEmpty(superWx)" style="margin-bottom:50upx;font-size:35upx;">点按钮查看二维码,添加店长微信</view>
         
-        <button v-if="!$util.isEmpty(superWx)" class="button-com red" style="width:220upx;" @click="openSuperWx">打开二维码</button>
+        <button v-if="!$util.isEmpty(superWx)" class="button-com red" style="width:220upx;" @click="openSuperWx">查看二维码</button>
 
         <view style="margin-top:50upx;" v-if="Number(account)>0">
           <button class="button-com default" style="width:220upx;" @click="lookMall">逛逛商城</button>