Commit 64f1cb2c authored by 王建威's avatar 王建威

wx share

parent 7b0c1f14
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
</view> </view>
</view> </view>
<view class="hot_cate_list"> <view class="hot_cate_list">
<text class="hot_cate_item" v-for="(item, key) in cate_list" :key="key" @click="changeCate(key)" :class="key === hotIndex ? 'act' : ''" v-if="item.goods_list instanceof Array">{{item.cate_name}}</text> <text class="hot_cate_item" v-for="(item, key) in cate_list" :key="key" @click="changeCate(key)" :class="key === hotIndex ? 'act' : ''" v-if="item.goods_list.length">{{item.cate_name}}</text>
</view> </view>
</view> </view>
<view v-for="(val, key) in cate_list" :key="key" v-if="key === hotIndex"> <view v-for="(val, key) in cate_list" :key="key" v-if="key === hotIndex">
......
...@@ -29,6 +29,12 @@ ...@@ -29,6 +29,12 @@
uni.showLoading({ uni.showLoading({
title: '加载中' title: '加载中'
}); });
// #ifdef H5
//默认请求微信分享
if (this.$wechat && this.$wechat.isWechat()) {
this.$wechat.share({titie: this.$getNavigationBarTitle()});
}
// #endif
}, },
methods: { methods: {
getData() { getData() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment