Browse Source

商品分类分享链接为首页

feature/feature-compatible
wenghaocan 7 years ago
parent
commit
e66adda800
1 changed files with 4 additions and 1 deletions
  1. 5
      src/view/goods-classify.vue

5
src/view/goods-classify.vue

@ -49,8 +49,11 @@
</template>
<script>
import goodsApi from "../models/goods-model.js";
import configs from '../configs';
import { Alert,Toast,Popup,Loading } from "vux";
import BScroll from 'better-scroll';
var locationUrl = configs.locationUrl;
export default {
data() {
return {
@ -219,7 +222,7 @@
},
ShareWenXin (){
var merchantNo = this.no
this.wxShare({"merchantNo":merchantNo,"source":0,"url":encodeURIComponent(location.href)})
this.wxShare({"merchantNo":merchantNo,"source":0,"url":encodeURIComponent(locationUrl + '/v2/home')})
}
},
mounted() {

Loading…
Cancel
Save