Merge pull request '添加字体换行' (#319) from xbx into master

Reviewed-on: http://git.luyuan.tk/luyuan/deming/pulls/319
This commit is contained in:
luyuan 2020-09-01 17:33:31 +08:00
commit 20d20e12d1

View File

@ -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;
}
</style>
@ -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`
});