Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
taobao-mini-template
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
2
Issues
2
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
qinhaitao
taobao-mini-template
Commits
003cb934
Commit
003cb934
authored
Apr 12, 2021
by
mqf_0707
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
member onClose优化
parent
ce311470
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
13 deletions
+16
-13
.DS_Store
.DS_Store
+0
-0
DoHelpModal.jsx
c_client/src/components/DoHelpModal/DoHelpModal.jsx
+1
-1
memberModal.js
...nt/src/components/_miniprogram/memberModal/memberModal.js
+8
-6
myPrize.jsx
c_client/src/pages/myPrize/myPrize.jsx
+7
-6
No files found.
.DS_Store
View file @
003cb934
No preview for this file type
c_client/src/components/DoHelpModal/DoHelpModal.jsx
View file @
003cb934
...
@@ -57,7 +57,7 @@ export default function RuleModal(props) {
...
@@ -57,7 +57,7 @@ export default function RuleModal(props) {
},
2000
)
},
2000
)
const
closeMemberModal
=
()
=>
{
const
closeMemberModal
=
()
=>
{
//
setMemberModalVisible(false)
setMemberModalVisible
(
false
)
}
}
return
(
return
(
...
...
c_client/src/components/_miniprogram/memberModal/memberModal.js
View file @
003cb934
...
@@ -6,12 +6,14 @@ Component({
...
@@ -6,12 +6,14 @@ Component({
onMemberModalClose
()
{
onMemberModalClose
()
{
// console.log('this.props :>> ', this.props);
// console.log('this.props :>> ', this.props);
// 原生支付宝小程序组件无法调用 props 传入的函数 https://github.com/NervJS/taro/issues/7938
// 原生支付宝小程序组件无法调用 props 传入的函数 https://github.com/NervJS/taro/issues/7938
this
.
props
.
onClose
({
setTimeout
(()
=>
{
type
:
'close'
,
this
.
props
.
onClose
({
target
:
{
type
:
'close'
,
id
:
this
.
props
.
id
target
:
{
}
id
:
this
.
props
.
id
})
}
})
},
500
);
},
},
onAuthFail
()
{
onAuthFail
()
{
this
.
props
.
onAuthFail
({
this
.
props
.
onAuthFail
({
...
...
c_client/src/pages/myPrize/myPrize.jsx
View file @
003cb934
...
@@ -18,18 +18,19 @@ const prizeConfig = {
...
@@ -18,18 +18,19 @@ const prizeConfig = {
title
:
'//yun.dui88.com/duiba-components-c-myprizeprize_title.png'
,
// 标题
title
:
'//yun.dui88.com/duiba-components-c-myprizeprize_title.png'
,
// 标题
copyIcon
:
'//yun.dui88.com/duiba-components-c-myprizemyprize_copy_code.png'
,
// 复制
copyIcon
:
'//yun.dui88.com/duiba-components-c-myprizemyprize_copy_code.png'
,
// 复制
receiveBtn
:
'//yun.duiba.com.cn/bestoreBox/prize_received.png'
,
// 已领取 权益类奖品未配置 uesUrl使用
receiveBtn
:
'//yun.duiba.com.cn/bestoreBox/prize_received.png'
,
// 已领取 权益类奖品未配置 uesUrl使用
commonStatus
:
{
objectStatus
:
{
1
:
'//yun.dui88.com/duiba-components-c-myprizeto_address.png'
,
// 填写地址(实物奖品)
3
:
'//yun.dui88.com/duiba-components-c-myprizelogistics.png'
,
// 查看物流
6
:
'//yun.dui88.com/duiba-components-c-myprizeget_again.png'
,
// 重新领取
6
:
'//yun.dui88.com/duiba-components-c-myprizeget_again.png'
,
// 重新领取
5
:
'//yun.duiba.com.cn/spark/assets/914ba8643c8abb8d710a3126ec312aecf6c4daf0.png'
,
// 已失效
5
:
'//yun.duiba.com.cn/spark/assets/914ba8643c8abb8d710a3126ec312aecf6c4daf0.png'
,
// 已失效
4
:
'//yun.duiba.com.cn/spark/assets/8267375232058a6d0140270b1594427fb08d6ae3.png'
// 领取失败
4
:
'//yun.duiba.com.cn/spark/assets/8267375232058a6d0140270b1594427fb08d6ae3.png'
// 领取失败
},
},
objectStatus
:
{
1
:
'//yun.dui88.com/duiba-components-c-myprizeto_address.png'
,
// 填写地址(实物奖品)
3
:
'//yun.dui88.com/duiba-components-c-myprizelogistics.png'
// 查看物流
},
enameStatus
:
{
enameStatus
:
{
1
:
'//yun.dui88.com/duiba-components-c-myprizeget_now.png'
,
// 立即领取(除实物奖品外)
1
:
'//yun.dui88.com/duiba-components-c-myprizeget_now.png'
,
// 立即领取(除实物奖品外)
3
:
'//yun.duiba.com.cn/bestoreBox/prize_received.png'
// 去使用(除实物奖品外)
3
:
'//yun.duiba.com.cn/bestoreBox/prize_received.png'
,
// 去使用(除实物奖品外)
6
:
'//yun.dui88.com/duiba-components-c-myprizeget_again.png'
,
// 重新领取
5
:
'//yun.duiba.com.cn/spark/assets/914ba8643c8abb8d710a3126ec312aecf6c4daf0.png'
,
// 已失效
4
:
'//yun.duiba.com.cn/spark/assets/8267375232058a6d0140270b1594427fb08d6ae3.png'
// 领取失败
},
},
logisticsImage
:
{
logisticsImage
:
{
shipped
:
'//yun.dui88.com/duiba-components-c-myprizeprize_shipped.png'
,
// 已发货物理弹窗
shipped
:
'//yun.dui88.com/duiba-components-c-myprizeprize_shipped.png'
,
// 已发货物理弹窗
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment