diff --git a/pages/zhibo/index.nvue b/pages/zhibo/index.nvue index 16d675b..6316680 100644 --- a/pages/zhibo/index.nvue +++ b/pages/zhibo/index.nvue @@ -309,11 +309,13 @@ position: fixed; left: 30rpx; bottom: 118rpx; + width: 690rpx; } .danmuitem{ font-size: 26rpx; color: #fff; flex-direction: column-reverse; + word-wrap:anywhere; } @@ -550,6 +552,23 @@ export default { }, xuanzhong(i){ let that = this + const token = uni.getStorageSync('token'); + if(this.$store.state.hasLogin){ + uni.request({ + url:"https://mall.dmygkeji.com/api/Specialci/viewingOPproducts", + data:{ + good_id:that.list[i].goods_id, + exple_id:that.info.user_id + }, + method:"POST", + header:{ + "Authorization" : 'Bearer' + " " + token + }, + success(a){ + console.log(a) + } + }) + } uni.navigateTo({ url: `/pageB/sdetails/index?id=${that.list[i].goods_id}&type=1` });