diff --git a/package1/group/groupBuySingle.vue b/package1/group/groupBuySingle.vue
index 7863b24..42b378b 100644
--- a/package1/group/groupBuySingle.vue
+++ b/package1/group/groupBuySingle.vue
@@ -16,25 +16,25 @@
-
+
- 牛仔农庄(医专店)
+ {{shopItem.shopName}}
- 4.3
+ {{shopItem.shopScore}}
+ :value="shopItem.shopScore" />
- 炒菜
+ {{shopItem.shopTypeTitle}}
@@ -43,13 +43,13 @@
店铺评价
- 月售 100+
+ 销量 {{shopItem.saleCount != null ? shopItem.saleCount : 0}}
- 公告:这里是第三食堂美食top1,好吃不贵,欢迎下好吃不贵,欢迎下单!欢迎下单!
+ 公告:{{shopItem.remark}}
@@ -391,6 +391,11 @@
export default {
data() {
return {
+ type:'',
+ shopId:'',
+ shopItem:{},
+ productItem:{},
+ productId:'',
menuButtonInfo: {},
isPintuan:true,
menuList:[{
@@ -414,8 +419,14 @@
components: {
},
- onLoad() {
-
+ onLoad(option) {
+ this.type = option.type
+ if(this.type == 'shop'){
+ this.shopItem = JSON.parse(option.item)
+ }else{
+ this.productItem = JSON.parse(option.item)
+ }
+ console.log(this.shopItem)
},
onShow() {
this.menuButtonInfo = uni.getMenuButtonBoundingClientRect()