|
@@ -2,7 +2,7 @@
|
|
|
<mobile-frame :frameStyle="frameStyle" @toPath="toPath">
|
|
|
<view class="main">
|
|
|
<view class="one">
|
|
|
- <view class="one_1" v-if="!user._id">
|
|
|
+ <view class="one_1" v-if="user&&user._id==null">
|
|
|
<text class="iconfont icon-geren2" @click="toCommon('pages/login/index')"></text>
|
|
|
<view class="name">未登录</view>
|
|
|
</view>
|
|
@@ -45,8 +45,7 @@
|
|
|
<view class="title">{{item.title}}</view>
|
|
|
<view class="title">
|
|
|
<text v-if="user.id&&item.title=='我的积分'">{{user.integral||0}}分</text>
|
|
|
- <text v-if="item.title=='客服电话'"
|
|
|
- @tap="makePhone(serviceContactInfo.phone)">{{serviceContactInfo.phone||''}}</text>
|
|
|
+ <text v-if="item.title=='客服电话'" @tap="makePhone(serviceContactInfo.phone)">{{serviceContactInfo.phone||''}}</text>
|
|
|
<text class="iconfont icon-jiantouyou"></text>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -139,13 +138,12 @@
|
|
|
shop_num: ''
|
|
|
};
|
|
|
},
|
|
|
- onShow: async function() {
|
|
|
+ onShow: function() {
|
|
|
const that = this;
|
|
|
// 查询其他信息
|
|
|
- await that.searchOther();
|
|
|
+ that.searchOther();
|
|
|
// 监听用户登录
|
|
|
- await that.watchLogin();
|
|
|
-
|
|
|
+ that.watchLogin();
|
|
|
},
|
|
|
methods: {
|
|
|
// 监听用户登录
|