Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
mini-program
/
points-mall
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 121cdab7
authored
Sep 06, 2025
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
确认订单置灰bug修复
1 parent
082b7cba
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
packageIndex/pages/confirmOrder/index.js
packageIndex/pages/confirmOrder/index.wxml
packageIndex/pages/confirmOrder/index.js
View file @
121cdab
...
...
@@ -134,8 +134,8 @@ Page({
})
},
checkOut
()
{
let
{
money
,
walletObj
,
contactInfo
}
=
this
.
data
if
(
money
>
walletObj
?.
currentScore
)
return
// 积分不足
let
{
total
,
walletObj
,
contactInfo
}
=
this
.
data
if
(
total
>
walletObj
?.
currentScore
)
return
// 积分不足
if
(
!
Object
.
keys
(
contactInfo
)?.
length
)
return
wx
.
p
.
wxApi
.
showToast
(
'请选择收货地址'
)
this
.
setData
({
showModal
:
true
...
...
packageIndex/pages/confirmOrder/index.wxml
View file @
121cdab
...
...
@@ -92,7 +92,7 @@
</view>
</view>
</view>
<view class="btn text-center {{
money
> walletObj.currentScore ? 'disabled' : ''}}" bindtap="checkOut">立即兑换</view>
<view class="btn text-center {{
total
> walletObj.currentScore ? 'disabled' : ''}}" bindtap="checkOut">立即兑换</view>
</view>
</goods-action>
</block>
...
...
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