Commit 003cb934 authored by mqf_0707's avatar mqf_0707

member onClose优化

parent ce311470
No preview for this file type
...@@ -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 (
......
...@@ -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
setTimeout(() => {
this.props.onClose({ this.props.onClose({
type: 'close', type: 'close',
target: { target: {
id: this.props.id id: this.props.id
} }
}) })
}, 500);
}, },
onAuthFail() { onAuthFail() {
this.props.onAuthFail({ this.props.onAuthFail({
......
...@@ -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', // 已发货物理弹窗
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment