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 @@ - + - 萨和登 - 萨大赛大赛大赛大赛大 + {{info.member_nickname}} + {{info.live_desc}} - 关注 + {{info.is_attention == 1 ? '已关注' : '关注'}} - + - + + 2.8w + + + + + + + +
+
+
+
+ 全部商品 + {{list.length}}件 +
+ +
+ + + +
+
+ {{i.goods_name}} + {{i.goods_advword}} +
+
+ ¥{{i.goods_price}} + ¥{{i.goods_marketprice}} +
+
+ +
+
+
+ +
\ No newline at end of file diff --git a/pages/index/index.vue b/pages/index/index.vue index 71cf5b6..f36b6c1 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -39,10 +39,10 @@ - + - + diff --git a/static/cart.png b/static/cart.png new file mode 100644 index 0000000..6101b38 Binary files /dev/null and b/static/cart.png differ diff --git a/static/close.png b/static/close.png new file mode 100644 index 0000000..8a454fe Binary files /dev/null and b/static/close.png differ diff --git a/static/like.png b/static/like.png new file mode 100644 index 0000000..d2db9fe Binary files /dev/null and b/static/like.png differ