Commit 28b8332562b7e14e7fb924d32e4f17362bc2cdf5

Authored by 王强
2 parents 5d5a78a5 e4b2b9ff

Merge branch 'version_2.0.0_optimization_mall_update' of http://bj.gitlab.cnlive…

….com/w-front-end/select_good into version_2.0.0_optimization_mall_update
src/pages/pointsExchangeRecords/pointsExchangeRecords.vue
@@ -83,7 +83,7 @@ export default { @@ -83,7 +83,7 @@ export default {
83 // 跳转原生商品详情页 83 // 跳转原生商品详情页
84 jumpOrderDes (item) { 84 jumpOrderDes (item) {
85 85
86 - if (item.shop_type == 1) { // 1实物 2是虚拟商品 3红包 86 + if (item.shop_type == 1 && item.address_name && item.address_phone && address_address) { // 1实物 2是虚拟商品 3红包
87 // 判断APP内 87 // 判断APP内
88 if (this.isCNLive.value) { 88 if (this.isCNLive.value) {
89 // (判断app内是否有该方法) 89 // (判断app内是否有该方法)
@@ -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 // 填写地址