Commit 7475e852 authored by Mac's avatar Mac

修改样式

parent ac79fb13
......@@ -33,10 +33,13 @@ export default {
}
},
created() {
this.Id = uni.getStorageSync("mall_UserInfo") ? uni.getStorageSync("mall_UserInfo").SmallShopId: 0;
if(this.Id==0){
this.Id = uni.getStorageSync("mall_UserInfo") ? uni.getStorageSync("mall_UserInfo").UserSmallShopId: 0;
}
if(this.Id!=0){
this.getSmallShopById()
console.log(this.ad,'this.ad')
console.log(this.Id,'this.ad')
}
......
......@@ -361,9 +361,12 @@
this.applyState = res.data.Id;
if (res.data.Id!=0&& res.data.AuditStatus==2) {
let UserInfo = uni.getStorageSync('mall_UserInfo') ?uni.getStorageSync('mall_UserInfo'):{};
if(UserInfo.SmallShopId==0){
UserInfo.SmallShopId=res.data.Id
uni.setStorageSync("mall_UserInfo", UserInfo );
}
}
this.AuditStatus = res.data.AuditStatus;
this.ApplyInfo = res.data;
if(this.AuditStatus ==1 || this.AuditStatus ==3){
......@@ -469,7 +472,7 @@
this.QRcodeShow = true;
let that = this
let UserInfo = uni.getStorageSync('mall_UserInfo') ?uni.getStorageSync('mall_UserInfo'):{};
let SmallShopId = UserInfo.SmallShopId?UserInfo.SmallShopId:0
let SmallShopId = this.applyState
uni.showNavigationBarLoading();
that.request2(
{
......
......@@ -295,7 +295,7 @@
display: flex;
flex-direction: row;
align-items: center;
font-size: 11px;
font-size: 13px;
color: #888888;
height: 35px;
margin-left: 2%;
......
......@@ -32,7 +32,7 @@
</view>
<view class="Sitem" v-for="(x, index2) in g.SpecificationList" :key="index2" >
<u-checkbox-group @change="clickcheckbox(x)" size='30' style='margin-right: 5px;width: 50%; ' >
<u-checkbox v-model="x.checked" shape="circle" :active-color="mainColor" label-size='22'>
<u-checkbox v-model="x.checked" shape="circle" :active-color="mainColor" label-size='24'>
<view class="Sitem_gg" >
<text v-for="(j, index3) in x.AttrList" :key="index3">{{j.attr_group_name}}:{{j.attr_name}}{{x.attr_list.length==index3+1?'':','}}</text>
</view>
......@@ -485,7 +485,7 @@
display: flex;
flex-direction: row;
align-items: center;
font-size: 10px;
font-size: 12px;
color: #888888;
height: 35px;
......
......@@ -523,7 +523,7 @@
display: flex;
flex-direction: row;
align-items: center;
font-size: 11px;
font-size: 13px;
color: #888888;
height: 35px;
margin-left: 2%;
......
......@@ -200,10 +200,6 @@ export default {
this.headStyle.background = `linear-gradient(to right, '#6E75EA',80%, '#B984EC')`;
this.headStyle.paddingTop = this.nav ;
if (!this.mall_UserInfo) {
this.mall_UserInfo = {
nickname: '未登录',
avatarUrl: ''
};
this.showAuth = true;
}
},
......@@ -300,8 +296,11 @@ export default {
this.couponsObj = x
}
})
if(this.mall_UserInfo){
this.getLogin()
}
}
);
let u = uni.getStorageSync("mall_UserInfo");
if(u){
......
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