diff --git a/examples/hello-uniapp/common/uni.css b/examples/hello-uniapp/common/uni.css index 000cb53b34a48d0d7c39e6386c51fe6437a3c169..68970a36e6cdac8ac39c9fd8178caec2e94e677b 100644 --- a/examples/hello-uniapp/common/uni.css +++ b/examples/hello-uniapp/common/uni.css @@ -874,7 +874,7 @@ radio-group label, checkbox-group label{ .uni-steps .current .step-content{border-color:#00B26A;} .uni-steps .current .step-title{color:#00B26A;} -/* uni-comment */ +/* comment */ .uni-comment{padding:5rpx 0; display: flex; flex-grow:1; flex-direction: column;} .uni-comment-list{flex-wrap:nowrap; padding:10rpx 0; margin:10rpx 0; width:100%; display: flex;} .uni-comment-face{width:70upx; height:70upx; border-radius:100%; margin-right:20upx; flex-shrink:0; overflow:hidden;} @@ -886,4 +886,11 @@ radio-group label, checkbox-group label{ .uni-comment-date{line-height:38upx; flex-direction:row; justify-content:space-between; display:flex !important; flex-grow:1;} .uni-comment-date view{color:#666666; font-size:24upx; line-height:38upx;} .uni-comment-content{line-height:1.6em; font-size:28upx; padding:8rpx 0;} -.uni-comment-replay-btn{background:#FFF; font-size:24upx; line-height:28upx; padding:5rpx 20upx; border-radius:30upx; color:#333 !important; margin:0 10upx;} \ No newline at end of file +.uni-comment-replay-btn{background:#FFF; font-size:24upx; line-height:28upx; padding:5rpx 20upx; border-radius:30upx; color:#333 !important; margin:0 10upx;} + +/* swiper msg */ +.uni-swiper-msg{width:100%; padding:12rpx 0; flex-wrap:nowrap; display:flex;} +.uni-swiper-msg-icon{width:50upx; margin-right:20upx;} +.uni-swiper-msg-icon image{width:100%; flex-shrink:0;} +.uni-swiper-msg swiper{width:100%; height:50upx;} +.uni-swiper-msg swiper-item{line-height:50upx;} \ No newline at end of file diff --git a/examples/hello-uniapp/pages/template/scrollmsg/scrollmsg.vue b/examples/hello-uniapp/pages/template/scrollmsg/scrollmsg.vue index 42367bd5a876973eb4629e0262d7d712fb2e6328..9ad5e10f613f00df020f4fea46500ed2aeddfacc 100755 --- a/examples/hello-uniapp/pages/template/scrollmsg/scrollmsg.vue +++ b/examples/hello-uniapp/pages/template/scrollmsg/scrollmsg.vue @@ -10,14 +10,8 @@ - - 内容...... - - - 内容...... - - - 内容...... + + {{item}} @@ -30,14 +24,8 @@ - - 内容...... - - - 内容...... - - - 内容...... + + {{item}} @@ -45,16 +33,19 @@