Browse Source

品牌详情页增加分享功能

master
邓平艺 4 years ago
parent
commit
5994868840
  1. 2
      pages.json
  2. 23
      pages/shop/shopdetail.vue

2
pages.json

@ -86,7 +86,7 @@
{
"path": "pages/user/my/chatonline",
"style": {
"navigationBarTitleText": "",
"navigationBarTitleText": "客服",
"navigationStyle": "custom"
}
},

23
pages/shop/shopdetail.vue

@ -18,18 +18,18 @@
</view>
</view>
<view class="function-total">
<view class="lf-row-center lf-flex-column">
<button class="lf-row-center lf-flex-column menu-btn" @click="$url('/pages/user/my/chatonline')">
<view><text class="lf-iconfont icon-pinglun shop-function"></text></view>
<view class="lf-font-24 lf-color-33">客服</view>
</view>
<view class="lf-row-center lf-flex-column">
</button>
<button class="lf-row-center lf-flex-column menu-btn">
<view><text class="lf-iconfont icon-shoucang shop-function"></text></view>
<view class="lf-font-24 lf-color-333">收藏</view>
</view>
<view class="lf-row-center lf-flex-column">
</button>
<button class="lf-row-center lf-flex-column menu-btn" open-type="share">
<view><text class="lf-iconfont icon-fenxiang shop-function"></text></view>
<view class="lf-font-24 lf-color-333">分享</view>
</view>
</button>
</view>
</view>
<view v-if="title_tab.length">
@ -248,6 +248,11 @@
this.$set(this.tab_list, this.current, tab_item);
this.$refs.uWaterfallFather[this.current].clear();
}
},
onShareAppMessage(){
return {
title: '给你分享了一家店铺,我觉得很不错哦~'
}
}
}
</script>
@ -339,6 +344,12 @@
justify-content: space-between;
padding: 0 65rpx 0 65rpx;
}
.menu-btn{
margin: 0;
padding: 0;
background-color: transparent;
line-height: 1.5;
}
/deep/.u-scroll-box {
display: flex;

Loading…
Cancel
Save