Commit 7475e852 authored by Mac's avatar Mac

修改样式

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