Authored by 陈峰

commit

@@ -564,8 +564,10 @@ const yoho = { @@ -564,8 +564,10 @@ const yoho = {
564 }); 564 });
565 } 565 }
566 566
567 - $appLink.href = url;  
568 - $appLink.click(); 567 + if ($appLink) {
  568 + $appLink.href = url;
  569 + $appLink.click();
  570 + }
569 }, 571 },
570 572
571 finishPage(args, success, fail) { 573 finishPage(args, success, fail) {
@@ -3,7 +3,7 @@ @@ -3,7 +3,7 @@
3 <ScrollView ref="scroll" :observe-dom="false" :pull-up-load="true" @pullingUp="onPullingUp" @pullingDown="onPullingDown"> 3 <ScrollView ref="scroll" :observe-dom="false" :pull-up-load="true" @pullingUp="onPullingUp" @pullingDown="onPullingDown">
4 <div class="order-page"> 4 <div class="order-page">
5 <div class="title">出售中</div> 5 <div class="title">出售中</div>
6 - <div class="product"> 6 + <div class="product" @click="onClickProduct">
7 <ImgSize class="pro-img" :src="productInfo.imageUrl" :width="200" :height="200"></ImgSize> 7 <ImgSize class="pro-img" :src="productInfo.imageUrl" :width="200" :height="200"></ImgSize>
8 <div class="pro-info"> 8 <div class="pro-info">
9 <p class="pro-name">{{productInfo.productName}}</p> 9 <p class="pro-name">{{productInfo.productName}}</p>
@@ -72,6 +72,12 @@ export default { @@ -72,6 +72,12 @@ export default {
72 methods: { 72 methods: {
73 ...mapMutations(['MERGE_CHANGEPRICE_DATA']), 73 ...mapMutations(['MERGE_CHANGEPRICE_DATA']),
74 ...mapActions(['fetchProduct', 'postChangePrice', 'postNoSale']), 74 ...mapActions(['fetchProduct', 'postChangePrice', 'postNoSale']),
  75 + onClickProduct() {
  76 + this.$yoho.goPage('go.ufo', {
  77 + pagename: 'productDetail',
  78 + productId: this.$route.params.orderId,
  79 + });
  80 + },
75 async onPullingUp() { 81 async onPullingUp() {
76 const beginCount = this.skcs.length; 82 const beginCount = this.skcs.length;
77 83