/* template/bannerAD/bannerAD.wxss */ .banner{ width: 100%; padding: 50rpx 30rpx; box-sizing: border-box; position: relative; border-bottom: 1px solid #e8e8e8; } .banner video{ width: 100%; border-radius: 10rpx; } .text{ position: absolute; right: 50rpx; top: 70rpx; font-size: 20rpx; color: #fff; display: block; text-align: center; line-height: 28rpx; justify-content: center; width: 63rpx; height: 31rpx; border:1px solid #fff; background: rgba(0,0,0,0.2); box-sizing: border-box; border-radius: 4rpx; } .img{ width: 100%; border-radius: 10rpx; }