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 cc2efe3f
authored
Sep 06, 2025
by
wangzhihui
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复一轮bug
1 parent
b557d85c
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
45 additions
and
9 deletions
components/Popup/Popup.wxml
packageIndex/pages/bankAccount/add/add.js
packageIndex/pages/bankAccount/list/list.scss
packageIndex/pages/integral/index/index.js
packageIndex/pages/integral/withdrawal/withdrawal.js
packageIndex/pages/integral/withdrawalNote/withdrawalNote.wxml
packageMine/pages/order/afterSaleDetail/components/ReturnAddressBox/ReturnAddressBox.js
packageMine/pages/order/afterSale_step_two/components/RefundInfoBox/RefundInfoBox.js
packageMine/pages/order/detail/detail.js
components/Popup/Popup.wxml
View file @
cc2efe3
<view class="popup " hidden="{{!showPopup}}"
catchtouchmove="noScroll"
>
<view class="popup " hidden="{{!showPopup}}">
<view class="popup-bg" bindtap="hidePopup"></view>
<view class="popup-bg" bindtap="hidePopup"></view>
<view class="popup-content {{close?'close':''}}" style="height:{{height}};background:{{bodyColor}}">
<view class="popup-content {{close?'close':''}}" style="height:{{height}};background:{{bodyColor}}">
<block wx:if="{{title}}">
<block wx:if="{{title}}">
...
...
packageIndex/pages/bankAccount/add/add.js
View file @
cc2efe3
...
@@ -336,11 +336,12 @@ Page({
...
@@ -336,11 +336,12 @@ Page({
}
=
this
.
data
,
{
}
=
this
.
data
,
{
item
item
}
=
this
.
options
,
}
=
this
.
options
,
validateKeys
=
[
'bankPhone'
,
'idCardNo'
]
validateKeys
=
[
'bankPhone'
,
'idCardNo'
,
'bankNumber'
]
try
{
try
{
validateKeys
.
map
(
e
=>
{
validateKeys
.
map
(
e
=>
{
if
(
e
==
'bankPhone'
&&
!
methods
.
tel
(
formData
[
e
]))
throw
'手机号'
if
(
e
==
'bankPhone'
&&
!
methods
.
tel
(
formData
[
e
]))
throw
'手机号'
if
(
e
==
'idCardNo'
&&
!
methods
.
idcard
(
formData
[
e
]))
throw
'身份证'
if
(
e
==
'idCardNo'
&&
!
methods
.
idcard
(
formData
[
e
]))
throw
'身份证'
if
(
e
==
'bankNumber'
&&
!
methods
.
digits
(
formData
[
e
]))
throw
'银行账户'
})
})
}
catch
(
error
)
{
}
catch
(
error
)
{
return
wx
.
p
.
wxApi
.
showToast
(
`请输入正确的
${
error
}
`
)
return
wx
.
p
.
wxApi
.
showToast
(
`请输入正确的
${
error
}
`
)
...
...
packageIndex/pages/bankAccount/list/list.scss
View file @
cc2efe3
...
@@ -5,7 +5,7 @@ page {
...
@@ -5,7 +5,7 @@ page {
.list
{
.list
{
padding
:
24rpx
32rpx
;
padding
:
24rpx
32rpx
;
height
:calc
(
100vh
-
262rpx
)
;
min-
height
:calc
(
100vh
-
262rpx
)
;
overflow-y
:
auto
;
overflow-y
:
auto
;
.item
{
.item
{
padding
:
0
32rpx
;
padding
:
0
32rpx
;
...
@@ -61,7 +61,7 @@ page {
...
@@ -61,7 +61,7 @@ page {
}
}
}
}
.btn-color
{
.btn-color
{
position
:fixed
;
//
position:fixed;
width
:
calc
(
100%
-
308rpx
);
width
:
calc
(
100%
-
308rpx
);
height
:
88rpx
;
height
:
88rpx
;
background
:
#FB8A32
;
background
:
#FB8A32
;
...
@@ -71,6 +71,8 @@ page {
...
@@ -71,6 +71,8 @@ page {
color
:
#FFFFFF
;
color
:
#FFFFFF
;
letter-spacing
:
0
;
letter-spacing
:
0
;
text-align
:
center
;
text-align
:
center
;
bottom
:
164rpx
;
//
bottom:164rpx;
left
:
154rpx
;
left
:
154rpx
;
margin-left
:
154rpx
;
}
}
\ No newline at end of file
\ No newline at end of file
packageIndex/pages/integral/index/index.js
View file @
cc2efe3
...
@@ -138,7 +138,7 @@ Page({
...
@@ -138,7 +138,7 @@ Page({
});
});
})
})
},
},
getScoreProfitListData
()
{
getScoreProfitListData
(
isFlag
)
{
let
{
let
{
pageNum
,
pageNum
,
total
,
total
,
...
@@ -150,6 +150,7 @@ Page({
...
@@ -150,6 +150,7 @@ Page({
merchantId
merchantId
}
}
}
=
this
.
data
;
}
=
this
.
data
;
if
(
isFlag
)
pageNum
=
1
wx
.
p
.
api
.
withdrawalApi
.
getScoreProfitList
({
wx
.
p
.
api
.
withdrawalApi
.
getScoreProfitList
({
staffPhone
:
phone
,
staffPhone
:
phone
,
merchantId
,
merchantId
,
...
@@ -160,8 +161,9 @@ Page({
...
@@ -160,8 +161,9 @@ Page({
let
data
,
tempList
;
let
data
,
tempList
;
if
(
res
.
code
==
0
)
{
if
(
res
.
code
==
0
)
{
data
=
res
.
data
?.
list
?
res
.
data
?.
list
:
[]
data
=
res
.
data
?.
list
?
res
.
data
?.
list
:
[]
tempList
=
[...
scoreList
,
...
data
];
tempList
=
[...
scoreList
,
...
data
];
this
.
setData
({
this
.
setData
({
pageNum
,
scoreList
:
pageNum
==
1
?
data
:
tempList
,
scoreList
:
pageNum
==
1
?
data
:
tempList
,
total
:
res
.
data
.
total
,
total
:
res
.
data
.
total
,
triggered
:
false
,
triggered
:
false
,
...
@@ -257,7 +259,7 @@ Page({
...
@@ -257,7 +259,7 @@ Page({
onShow
()
{
onShow
()
{
if
(
this
.
refresh
)
{
if
(
this
.
refresh
)
{
this
.
searchScoreSummaryData
()
this
.
searchScoreSummaryData
()
this
.
getScoreProfitListData
()
this
.
getScoreProfitListData
(
true
)
}
}
},
},
...
...
packageIndex/pages/integral/withdrawal/withdrawal.js
View file @
cc2efe3
...
@@ -115,6 +115,11 @@ Page({
...
@@ -115,6 +115,11 @@ Page({
this
.
setData
({
this
.
setData
({
showBank
:
true
showBank
:
true
})
})
wx
.
setPageStyle
({
style
:
{
overflow
:
'hidden'
}
})
},
},
bindPickerChange
(
e
)
{
bindPickerChange
(
e
)
{
let
bankInfo
=
e
.
detail
let
bankInfo
=
e
.
detail
...
@@ -122,6 +127,11 @@ Page({
...
@@ -122,6 +127,11 @@ Page({
bankInfo
,
bankInfo
,
showBank
:
false
showBank
:
false
},
()
=>
{
},
()
=>
{
wx
.
setPageStyle
({
style
:
{
overflow
:
'unset'
}
})
this
.
checkbankConfig
()
this
.
checkbankConfig
()
this
.
getAgreementUrl
()
this
.
getAgreementUrl
()
})
})
...
...
packageIndex/pages/integral/withdrawalNote/withdrawalNote.wxml
View file @
cc2efe3
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
<block wx:if="{{i.status == 4&&i.failReason}}">
<block wx:if="{{i.status == 4&&i.failReason}}">
<view class="type flex">
<view class="type flex">
<view class="failReason">{{i.failReason}} </view>
<view class="failReason">{{i.failReason}} </view>
<glsx-image mode="widthFix" class="error-icon" bind:tap="toastError" data-reason="{{i.failReason}}" src="
/
bankAccount/error-icon.png" />
<glsx-image mode="widthFix" class="error-icon" bind:tap="toastError" data-reason="{{i.failReason}}" src="bankAccount/error-icon.png" />
</view>
</view>
</block>
</block>
<block wx:else>
<block wx:else>
...
...
packageMine/pages/order/afterSaleDetail/components/ReturnAddressBox/ReturnAddressBox.js
View file @
cc2efe3
...
@@ -31,6 +31,11 @@ Component({
...
@@ -31,6 +31,11 @@ Component({
this
.
setData
({
this
.
setData
({
isShowExpressSelector
:
true
,
isShowExpressSelector
:
true
,
});
});
wx
.
setPageStyle
({
style
:
{
overflow
:
'hidden'
}
})
},
},
onSubmitLogistics
()
{
onSubmitLogistics
()
{
...
@@ -86,6 +91,11 @@ Component({
...
@@ -86,6 +91,11 @@ Component({
this
.
setData
({
this
.
setData
({
isShowExpressSelector
:
false
,
isShowExpressSelector
:
false
,
});
});
wx
.
setPageStyle
({
style
:
{
overflow
:
'hidden'
}
})
// const { expressList } = this.data;
// const { expressList } = this.data;
// const expressListUpdated = expressList.map((item) => {
// const expressListUpdated = expressList.map((item) => {
// if (item.value == e.detail.value) {
// if (item.value == e.detail.value) {
...
...
packageMine/pages/order/afterSale_step_two/components/RefundInfoBox/RefundInfoBox.js
View file @
cc2efe3
...
@@ -34,12 +34,22 @@ Component({
...
@@ -34,12 +34,22 @@ Component({
this
.
setData
({
this
.
setData
({
showPopup
:
true
,
showPopup
:
true
,
});
});
wx
.
setPageStyle
({
style
:
{
overflow
:
'hidden'
}
})
},
},
onConfirmPopup
()
{
onConfirmPopup
()
{
this
.
setData
({
this
.
setData
({
showPopup
:
false
,
showPopup
:
false
,
});
});
wx
.
setPageStyle
({
style
:
{
overflow
:
'unset'
}
})
this
.
triggerEvent
(
"confirmpopup"
);
this
.
triggerEvent
(
"confirmpopup"
);
},
},
...
...
packageMine/pages/order/detail/detail.js
View file @
cc2efe3
...
@@ -84,5 +84,6 @@ Page({
...
@@ -84,5 +84,6 @@ Page({
this
.
setData
({
this
.
setData
({
isShowExpressPop
:
true
,
isShowExpressPop
:
true
,
});
});
},
},
});
});
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