Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
mini-program
/
zhwy
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit eafb4db3
authored
Oct 25, 2023
by
杨北旺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复套餐问题
1 parent
12f7cb9a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
7 deletions
packageEquity/pages/package/package.js
packageEquity/pages/package/package.wxss
packageEquity/pages/package/package.js
View file @
eafb4db
...
@@ -48,8 +48,8 @@ Page({
...
@@ -48,8 +48,8 @@ Page({
showAuthBtn
:
res
.
data
.
phone
?
false
:
true
showAuthBtn
:
res
.
data
.
phone
?
false
:
true
})
})
if
(
res
.
data
.
isLogin
)
{
if
(
res
.
data
.
isLogin
)
{
wx
.
p
.
util
.
setUserInfo
(
res
.
data
)
wx
.
p
.
cache
.
userInfo
.
setUserInfo
(
res
.
data
)
wx
.
p
.
util
.
setSessionId
(
res
.
data
.
sessionId
)
wx
.
p
.
cache
.
storageApi
.
setSessionId
(
res
.
data
.
sessionId
)
this
.
handlerCustomerId
()
this
.
handlerCustomerId
()
}
}
}
}
...
@@ -68,8 +68,8 @@ Page({
...
@@ -68,8 +68,8 @@ Page({
wx
.
hideLoading
()
wx
.
hideLoading
()
if
(
code
==
'0'
)
{
if
(
code
==
'0'
)
{
wx
.
p
.
authStatus
=
false
wx
.
p
.
authStatus
=
false
wx
.
p
.
util
.
setUserInfo
(
data
)
wx
.
p
.
cache
.
userInfo
.
setUserInfo
(
data
)
wx
.
p
.
util
.
setSessionId
(
data
.
sessionId
)
wx
.
p
.
cache
.
storageApi
.
setSessionId
(
data
.
sessionId
)
this
.
toCreatePackageNum
()
this
.
toCreatePackageNum
()
this
.
handlerCustomerId
()
this
.
handlerCustomerId
()
}
else
wx
.
p
.
wxApi
.
showToast
(
message
)
}
else
wx
.
p
.
wxApi
.
showToast
(
message
)
...
@@ -152,8 +152,8 @@ Page({
...
@@ -152,8 +152,8 @@ Page({
},
},
// 客户id
// 客户id
handlerCustomerId
()
{
handlerCustomerId
()
{
let
customerId
=
wx
.
p
.
storage
.
get
(
'srcm_shopmall_customer_id'
)
//
let customerId = wx.p.storage.get('srcm_shopmall_customer_id')
if
(
customerId
)
USERAPI
.
updataCustomerPhone
()
//
if (customerId) USERAPI.updataCustomerPhone()
},
},
// 价格格式化
// 价格格式化
// priceFormat(num, point = 2) {
// priceFormat(num, point = 2) {
...
...
packageEquity/pages/package/package.wxss
View file @
eafb4db
...
@@ -115,13 +115,14 @@
...
@@ -115,13 +115,14 @@
.button-item {
.button-item {
width: 100%;
width: 100%;
height: 88rpx;
height: 88rpx;
background: #
fc5b32
;
background: #
3772EC
;
border-radius: 8rpx;
border-radius: 8rpx;
display: flex;
display: flex;
align-items: center;
align-items: center;
justify-content: center;
justify-content: center;
font-size: 32rpx;
font-size: 32rpx;
color: #ffffff;
color: #ffffff;
border-radius:48rpx;
}
}
.dis{
.dis{
background: #CCCCCC;
background: #CCCCCC;
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment