Commit 2cc28be1 authored by 黄奎's avatar 黄奎

11

parent 7976ef20
......@@ -110,7 +110,9 @@
<view class="triangle-up" :style="{ top: pagePaddingBottom }"></view>
</view>
<coupon v-if="showCoupons" :coupon-message="couponMessage" :cform="ComeFrom" @goLook="goLook" @closeBtn="closeBtn"></coupon>
<template v-if="setting&&setting.is_show_auth==1">
<auth v-if="showAuth" @changeuserinfo="reloadUserinfo" @gbAuth="gbAuth"></auth>
</template>
<official-account></official-account>
<orderPopup v-if="showorder" :orderPopupdata="orderPopupdata" @gosalesvolume="gosalesvolume" @closeBtn="closeBtn_order"></orderPopup>
</view>
......
......@@ -159,7 +159,11 @@
/>
</scroll-view>
<tabbars></tabbars>
<template v-if="setting&&setting.is_show_auth==1">
<auth v-if="showAuth" @changeuserinfo="reloadUserinfo" @gbAuth="gbAuth" ></auth>
</template>
</view>
</template>
......@@ -193,7 +197,8 @@ export default {
status: "",
CommpanyStatus: 0, //公司认证状态
FirstShopType: 0, //1:品牌,2:载体
tenantId:0
tenantId:0,
setting:{},
};
},
onShareTimeline() {
......@@ -256,6 +261,9 @@ export default {
},
mounted() {
this.u = uni.getStorageSync("mall_UserInfo");
let set = uni.getStorageSync("basedata") ?
uni.getStorageSync("basedata").mall.setting : {};
this.setting=set;
if (!this.u) {
this.u = {
nickName: "未登录",
......
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