diff --git a/pages/data/data.wxml b/pages/data/data.wxml index 5d32c37e76db30eeb914925ab7f539e103d34e33..91e0b73c3f7dd46196ec92abb42333160763c39b 100644 --- a/pages/data/data.wxml +++ b/pages/data/data.wxml @@ -30,7 +30,8 @@ {{article.body}} - + @@ -39,22 +40,31 @@ 全部回复 - - + + + + + + {{item.user.nickName}} + {{item.deliverTime}} + + + - {{item.user.nickName}} - {{item.deliverTime}} - - + + - {{item.content}} - + + {{item.content}} + - - {{cell.user.nickName}} 回复 {{cell.toUser.nickName}} : {{cell.content}} + + {{cell.user.nickName}} 回复 {{cell.toUser.nickName}} : {{cell.content}} @@ -62,10 +72,10 @@
- - + + @@ -82,7 +92,7 @@ {{article.user.nickName}} - 发私信 + 发私信 @@ -94,7 +104,7 @@ {{names}} - 发私信 + 发私信 - + \ No newline at end of file diff --git a/pages/data/data.wxss b/pages/data/data.wxss index ec86001d47640330b6a3d086c8906b937b8344ea..ef36e4c8b8ff8fa5bd2e86dd35deeb5e8d0acc3b 100644 --- a/pages/data/data.wxss +++ b/pages/data/data.wxss @@ -106,6 +106,7 @@ background-color: #fff; border-radius: 10rpx; padding: 20rpx; + padding-bottom: 0; margin-bottom: 20rpx; /* padding-bottom: 0; */ } @@ -116,28 +117,36 @@ } .tail_left { - margin: 10rpx 10rpx 10rpx 0rpx; + display: flex; + position: relative; + /* margin: 10rpx 10rpx 10rpx 0rpx; */ } -.tail_left image { +.tail_left .toux { width: 80rpx; height: 80rpx; border-radius: 50%; + float: left; +} +.tailSign{ + margin-left: 20rpx; + padding-top: 10rpx; } - .tail_name { + /* width: 50vw; */ font-size: 28rpx; - position: relative; + /* position: relative; top: -95rpx; - left: 100rpx; + left: 100rpx; */ } .tail_time { + /* width: 50vw; */ font-size: 20rpx; color: #999999; - position: relative; + /* position: relative; top: -80rpx; - left: 98rpx; + left: 98rpx; */ } .tail_right { @@ -161,32 +170,41 @@ top: -10rpx; } .tail_center{ - position: relative; + display: flex; display: inline-block; - top: -90rpx; - left: -16rpx; padding-bottom: 30rpx; padding-left: 80rpx; } .tail_center .tail_center_text { - - width: 478rpx; + width: 468rpx; word-wrap: break-word; - text-indent: 0.5em; - font-size: 26rpx; + /* text-indent: 0.5em; */ + font-size: 30rpx; + background-color: rgb(246, 246, 246); + /* background-color: rgb(246, 246, 246); */ + display: block; + padding: 10rpx; + padding-left: 20rpx; + margin-top: 33rpx; + border-radius: 10rpx; + overflow: hidden; + text-overflow:ellipsis; + word-wrap:break-word; } .tailImageTo { + /* display: block; */ width: 44rpx; height: 47rpx; - position: relative; - top: -119rpx; - left: 430rpx; + /* float: left; */ + position: absolute; + top: 20rpx; + right: 14rpx; } .hr { width: 84%; - border-top: 1rpx dashed rgba(153, 153, 153, 0.4); + /* border-top: 1rpx dashed rgba(153, 153, 153, 0.4); */ /* margin: -65rpx 0rpx 30rpx 10rpx; */ margin: 10rpx 0; } @@ -250,8 +268,17 @@ } /* 评论回复 */ .father{ - width: 530rpx; - background-color: rgb(246, 246, 246); + width: 468rpx; + padding: 10rpx; + padding-left: 20rpx; + /* margin-left: 10rpx; */ + margin-top: 10rpx; + background: rgba(231,231,231,0.7); + border-radius: 10rpx; + font-size: 26rpx; + overflow: hidden; + text-overflow:ellipsis; + word-wrap:break-word; } /* 头像弹窗 */ .zan-dialog__mask { diff --git a/pages/letterList/letterList.wxss b/pages/letterList/letterList.wxss index 7c544fdcec23651718ee58d4b4a13e575c4899c3..6f9ac57776ca16fc2e6c31cc0a77e18382153357 100644 --- a/pages/letterList/letterList.wxss +++ b/pages/letterList/letterList.wxss @@ -1,10 +1,12 @@ .single{ + width: 90vw; + padding: 20rpx 20rpx; /* border-bottom: 1rpx solid #ccc; */ display: flex; position: relative; background: #fff; - margin: 10rpx 0; + margin: 10rpx auto; border-radius: 10rpx; } .marks{ @@ -50,7 +52,7 @@ } .rightEnd{ position: absolute; - right: 0rpx; + right: 16rpx; top: -8rpx; padding: 10rpx; }