Commit a01be639c30658a9a76f23bbb6c417f8e28f7c27

Authored by zhiyangdu
1 parent 4f97776d

详情跳转重新打开一个页面

src/pages/goodDetails/goodDetails.vue
@@ -170,7 +170,7 @@ export default { @@ -170,7 +170,7 @@ export default {
170 */ 170 */
171 toDetail (item) { 171 toDetail (item) {
172 let url = this.mode == "prod" ? "https://managemall.cnlive.com/html/select_good/1/#/" : "https://wjjshop.cnlive.com/html/select_good/1/#/" 172 let url = this.mode == "prod" ? "https://managemall.cnlive.com/html/select_good/1/#/" : "https://wjjshop.cnlive.com/html/select_good/1/#/"
173 - window.location.href = url + "goodDetails?goodsId=" + item.id + "&uid" + this.getStore("uid"); 173 + window.open = url + "goodDetails?goodsId=" + item.id + "&uid" + this.getStore("uid");
174 }, 174 },
175 // 兑换 175 // 兑换
176 exchange () { 176 exchange () {
@@ -202,7 +202,7 @@ export default { @@ -202,7 +202,7 @@ export default {
202 toShare () { 202 toShare () {
203 // 判断分享 203 // 判断分享
204 if (typeof this.$parent.toShare === 'function') { 204 if (typeof this.$parent.toShare === 'function') {
205 - this.$parent.toShare(46, "1", ""); 205 + this.$parent.toShare(46, this.$route.query.goodsId, "");
206 } 206 }
207 }, 207 },
208 /** 208 /**