| | |
| | | if (item.statusCode == 'received') { |
| | | const detailName = item.detailName != null ? item.detailName as string : item.name as string |
| | | const claimId = item.targetDetailId != null ? item.targetDetailId as string : '' |
| | | const typeParam = item.targetDetailType == 'TICKET_PACKAGE_DETAIL' ? '&type=ticketPackage' : '' |
| | | uni.navigateTo({ url: '/pages/coupon-received/coupon-received?recordId=' + encodeURIComponent(item.id) + '&claimId=' + encodeURIComponent(claimId) + '&name=' + encodeURIComponent(detailName) + typeParam + '&talentId=' + encodeURIComponent(talentId.value) + '&merchantId=' + encodeURIComponent(item.merchantId) }) |
| | | // 观影券(票包):详情页按「观影券」原型展示二维码、适用门店和领取/核销时间。 |
| | | if (item.targetDetailType == 'TICKET_PACKAGE_DETAIL') { |
| | | uni.navigateTo({ url: '/pages/ticket-package-detail/ticket-package-detail?claimId=' + encodeURIComponent(claimId) + '&talentId=' + encodeURIComponent(talentId.value) + '&merchantId=' + encodeURIComponent(item.merchantId) }) |
| | | return |
| | | } |
| | | uni.navigateTo({ url: '/pages/coupon-received/coupon-received?recordId=' + encodeURIComponent(item.id) + '&claimId=' + encodeURIComponent(claimId) + '&name=' + encodeURIComponent(detailName) + '&talentId=' + encodeURIComponent(talentId.value) + '&merchantId=' + encodeURIComponent(item.merchantId) }) |
| | | return |
| | | } |
| | | uni.showToast({ title: '记录详情后续接入', icon: 'none' }) |