Commit e4b2b9ffdd19eec0730d4ee6e790e678f0f3401b
1 parent
e3750e94
兑换记录优化
Showing
1 changed file
with
24 additions
and
0 deletions
src/pages/pointsExchangeRecords/pointsExchangeRecords.vue
| @@ -95,6 +95,30 @@ export default { | @@ -95,6 +95,30 @@ export default { | ||
| 95 | window.obj.jumpOrderDes(JSON.stringify({ orderId: item.id, type: 1 })); | 95 | window.obj.jumpOrderDes(JSON.stringify({ orderId: item.id, type: 1 })); |
| 96 | } | 96 | } |
| 97 | } | 97 | } |
| 98 | + } else if (item.shop_type == 3) { | ||
| 99 | + // 虚拟商品 | ||
| 100 | + // 显示查看地址弹框 | ||
| 101 | + let options = { | ||
| 102 | + message: "付费音频已存入您的账户,可前往“我的——我的付费内容——已购内容”收听", | ||
| 103 | + messageAlign: "center", | ||
| 104 | + confirmButtonText: "我知道了", | ||
| 105 | + confirmButtonCallback: null, | ||
| 106 | + }; | ||
| 107 | + this.$set(this.$parent, "showOptions", options); | ||
| 108 | + // 显示通用浮层 | ||
| 109 | + this.$parent.$refs.showModal.showLayer(); | ||
| 110 | + } else if (item.shop_type == 2) { | ||
| 111 | + // 虚拟商品 | ||
| 112 | + // 显示查看地址弹框 | ||
| 113 | + let options = { | ||
| 114 | + message: "红包已存入您的账户,可前往“我的——我的卡卷查看", | ||
| 115 | + messageAlign: "center", | ||
| 116 | + confirmButtonText: "我知道了", | ||
| 117 | + confirmButtonCallback: null, | ||
| 118 | + }; | ||
| 119 | + this.$set(this.$parent, "showOptions", options); | ||
| 120 | + // 显示通用浮层 | ||
| 121 | + this.$parent.$refs.showModal.showLayer(); | ||
| 98 | } | 122 | } |
| 99 | }, | 123 | }, |
| 100 | // 填写地址 | 124 | // 填写地址 |