wechat_jiaxuan/pages/index/index.less
@@ -18,15 +18,16 @@ .consult_swiper { width: 100%; image { width: 100%; width: 670rpx; height: 376rpx; } .scroll_text{ height: 100rpx; width: 670rpx; white-space: nowrap; overflow: hidden;//文本超出隐藏 text-overflow: ellipsis; padding-top: 20rpx; overflow: hidden;//文本超出隐藏 text-overflow: ellipsis; padding-top: 22rpx; font-size: 32rpx; } } @@ -100,6 +101,7 @@ .play { width: 60rpx; height: 60rpx; position: absolute; top: 50%; left: 50%; @@ -108,7 +110,8 @@ } .img { width: 100%; width: 670rpx; height: 376rpx; } }