/* pages/ActivityDetail/comment.wxss */ @import '../../app.wxss'; .textarea { padding: 36rpx 40rpx; position: relative; overflow: hidden; background: #fff; } textarea{ width: 100%; display: block; line-height: 38rpx; font-size: 26rpx; color: #666; } .photos { padding: 30rpx 40rpx; position: relative; overflow: hidden; background: #fff; margin: 20rpx auto 0; } .photos .flex-h { position: relative; overflow: visible; align-items: center; } .photos .flex-h > text { font-size: 20rpx; color: #666; line-height: 1.1; display: inline-block; position: absolute; right: 0; bottom: 0; } .photos .flex-item { white-space: nowrap; } .photos .flex-item > view { width: 120rpx; height: 120rpx; position: relative; overflow: hidden; margin-right: 20rpx; background: #f8f8f8; text-align: center; display: inline-block; } .addBtn > view { width: 100%; } .addBtn image { width: 30%; display: inline-block; } .addBtn text { width: 100%; display: block; text-align: center; font-size: 18rpx; color: #999; line-height: 30rpx; } .photos .flex-item > view.item { overflow: visible; } .item image { display: inline-block; z-index: 1; } .item text { width: 30rpx; height: 30rpx; box-sizing: border-box; border: 2rpx solid red; display: inline-block; position: absolute; z-index: 2; right: -5rpx; top: -5rpx; border-radius: 100%; background: #fff; } .item text::after { content: ''; width: 50%; height: 2rpx; background: red; display: block; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); -webkit-transform: translate(-50%, -50%); } .btn { padding: 0 40rpx; margin: 20rpx 0; position: relative; overflow: visible; } .btn text { width: 100%; display: block; text-align: center; color: #fff; background: #bb9c79; line-height: 88rpx; border-radius: 10rpx; box-shadow: 0 0 20rpx 10rpx rgba(0, 0, 0, .05); font-size: 26rpx; }