diff --git a/common/api/shop.js b/common/api/shop.js
index 2bbc626..22f5bb2 100644
--- a/common/api/shop.js
+++ b/common/api/shop.js
@@ -291,6 +291,10 @@ export default {
appointment_time: appointment_time,
})
},
+ // 达人上架商品
+ goodsShelves({live_id}){
+ return vm.$u.post('Specialci/goodsShelves',{live_id})
+ }
}
}
diff --git a/components/index/zhibo-item/index.vue b/components/index/zhibo-item/index.vue
index d18f3de..f7e7c4e 100644
--- a/components/index/zhibo-item/index.vue
+++ b/components/index/zhibo-item/index.vue
@@ -76,11 +76,12 @@ export default {
this.$u.route({
url:"/pageB/zhibo/index",
params:{
- url:this.url
+ url:this.url,
+ id:this.zid
}
})
}
},
- props:['name','image','url']
+ props:['name','image','url','zid']
}
\ No newline at end of file
diff --git a/pageB/static/cart.png b/pageB/static/cart.png
new file mode 100644
index 0000000..6101b38
Binary files /dev/null and b/pageB/static/cart.png differ
diff --git a/pageB/zhibo/index.nvue b/pageB/zhibo/index.nvue
index b34b867..c1a6c86 100644
--- a/pageB/zhibo/index.nvue
+++ b/pageB/zhibo/index.nvue
@@ -5,27 +5,161 @@