Commit 38fc677d authored by Mac's avatar Mac

报错的修改

parent 49483c1f
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
<text style="font-size: 21px;">{{user_info.footprint?user_info.footprint:0}}</text> <text style="font-size: 21px;">{{user_info.footprint?user_info.footprint:0}}</text>
<text>{{meueData.user_center.foot_bar[1].name}}</text> <text>{{meueData.user_center.foot_bar[1].name}}</text>
</view> </view>
<view class="top_b_item" v-if="meueData.user_center.is_account_status == 1" @click="goUrl(couponsObj.link_url)"> <view class="top_b_item" v-if="meueData.user_center&&meueData.user_center.is_account_status == 1" @click="goUrl(couponsObj.link_url)">
<text style="font-size: 21px;">{{user_info.coupon?user_info.coupon:0}}</text> <text style="font-size: 21px;">{{user_info.coupon?user_info.coupon:0}}</text>
<text>{{couponsObj.name}}</text> <text>{{couponsObj.name}}</text>
</view> </view>
...@@ -67,7 +67,7 @@ ...@@ -67,7 +67,7 @@
<u-icon name="location" color="#fff" size="23"></u-icon> <u-icon name="location" color="#fff" size="23"></u-icon>
<Text style="color: #fff;font-size: 12px;margin-left: 20rpx;">收货地址</Text> <Text style="color: #fff;font-size: 12px;margin-left: 20rpx;">收货地址</Text>
</view> </view>
<view class="Receiptbalance" v-if="meueData.user_center.is_account_status == 1"> <view class="Receiptbalance" v-if="meueData.user_center&&meueData.user_center.is_account_status == 1">
<view class="Receiptbalance_item" v-for="(item, index) in meueData.user_center.account" :key="index" <view class="Receiptbalance_item" v-for="(item, index) in meueData.user_center.account" :key="index"
v-if="item.link_url == '/pages/balance/balance'" @click="goUrl(item.link_url)"> v-if="item.link_url == '/pages/balance/balance'" @click="goUrl(item.link_url)">
<image :src="item.icon_url" style="width: 22px;height: auto" mode ='widthFix' ></image> <image :src="item.icon_url" style="width: 22px;height: auto" mode ='widthFix' ></image>
...@@ -119,7 +119,7 @@ ...@@ -119,7 +119,7 @@
</view> </view>
</view> </view>
<view :class="meueData.user_center.menu_style == 1 ? 'menus2' : 'menus'" v-if="meueData.user_center.is_menu_status == 1"> <view :class="meueData.user_center.menu_style == 1 ? 'menus2' : 'menus'" v-if="meueData.user_center&& meueData.user_center.is_menu_status == 1">
<view <view
:class="meueData.user_center.menu_style == 1 ? 'menus_item2' : 'menus_item'" :class="meueData.user_center.menu_style == 1 ? 'menus_item2' : 'menus_item'"
v-for="(item, index) in meueData.user_center.menus" v-for="(item, index) in meueData.user_center.menus"
...@@ -299,7 +299,11 @@ export default { ...@@ -299,7 +299,11 @@ export default {
}) })
} }
); );
let u = uni.getStorageSync("mall_UserInfo");
if(u){
this.getMicroShopBasics() this.getMicroShopBasics()
}
}, },
getMicroShopBasics(){ getMicroShopBasics(){
this.request2( this.request2(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment