@ -244,6 +244,24 @@
}, 500);
},
methods: {
onShareAppMessage: function() {
return {
title: this.storeInfo.title,
imageUrl: this.storeInfo.image,
path: "pages/activity/DargainDetails/index?id="+this.storeInfo.id+"&spread=" + uni.getStorageSync("uid"),
success(res) {
uni.showToast({
title: '分享成功'
})
fail(res) {
title: '分享失败',
icon: 'none'
}
//参与砍价
goParticipate() {
if (this.bargainPartake === this.userInfo.uid) this.getBargainStart();
@ -247,6 +247,24 @@
this.mountedStart();
path: "pages/activity/GroupDetails/index?id="+this.storeInfo.id+"&spread=" + uni.getStorageSync("uid"),
openAlone: function () {
this.$yrouter.push({
path: "/pages/shop/GoodsCon/index",
@ -150,6 +150,24 @@
path: "pages/activity/GoodsSeckill/index?id="+this.storeInfo.id+"&spread=" + uni.getStorageSync("uid"),
@ -232,6 +232,13 @@
...mapActions(["getLocation"]),
title: this.miniHomeRemark,
imageUrl: this.miniHomeImg,
path: "pages/home/index?spread=" + uni.getStorageSync("uid")
goRoll(item) {
if (item.uniapp_url) {
this.$yrouter.push(item.uniapp_url)
@ -319,6 +319,24 @@
title: this.storeInfo.storeName,
path: "pages/shop/GoodsCon/index?id="+this.storeInfo.id+"&spread=" + uni.getStorageSync("uid"),
goShoppingCart() {
this.$yrouter.switchTab("/pages/shop/ShoppingCart/index");