Commit eafb4db3 by 杨北旺

修复套餐问题

1 parent 12f7cb9a
......@@ -48,8 +48,8 @@ Page({
showAuthBtn: res.data.phone ? false : true
})
if (res.data.isLogin) {
wx.p.util.setUserInfo(res.data)
wx.p.util.setSessionId(res.data.sessionId)
wx.p.cache.userInfo.setUserInfo(res.data)
wx.p.cache.storageApi.setSessionId(res.data.sessionId)
this.handlerCustomerId()
}
}
......@@ -68,8 +68,8 @@ Page({
wx.hideLoading()
if (code == '0') {
wx.p.authStatus = false
wx.p.util.setUserInfo(data)
wx.p.util.setSessionId(data.sessionId)
wx.p.cache.userInfo.setUserInfo(data)
wx.p.cache.storageApi.setSessionId(data.sessionId)
this.toCreatePackageNum()
this.handlerCustomerId()
} else wx.p.wxApi.showToast(message)
......@@ -152,8 +152,8 @@ Page({
},
// 客户id
handlerCustomerId() {
let customerId = wx.p.storage.get('srcm_shopmall_customer_id')
if (customerId) USERAPI.updataCustomerPhone()
// let customerId = wx.p.storage.get('srcm_shopmall_customer_id')
// if (customerId) USERAPI.updataCustomerPhone()
},
// 价格格式化
// priceFormat(num, point = 2) {
......
......@@ -115,13 +115,14 @@
.button-item {
width: 100%;
height: 88rpx;
background: #fc5b32;
background: #3772EC;
border-radius: 8rpx;
display: flex;
align-items: center;
justify-content: center;
font-size: 32rpx;
color: #ffffff;
border-radius:48rpx;
}
.dis{
background: #CCCCCC;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!