Style(积分):积分规则富文本显示调整

This commit is contained in:
lifizer
2024-04-19 14:38:07 +08:00
parent edf5f64b88
commit 95389ecffb
+8 -4
View File
@@ -111,7 +111,9 @@
<view class="popup-body"> <view class="popup-body">
<view class="title bold">积分规则</view> <view class="title bold">积分规则</view>
<view class="content"> <view class="content">
<rich-text :nodes="point.pointsRule" /> <view class="content-html">
<rich-text :nodes="point.pointsRule" />
</view>
</view> </view>
</view> </view>
</u-popup> </u-popup>
@@ -343,9 +345,11 @@ export default {
text-align: center; text-align: center;
} }
.content { .content {
max-height: 70vh; padding: 0 30rpx 30rpx 30rpx;
padding: 30rpx; .content-html {
overflow-y: auto; max-height: 70vh;
overflow-y: auto;
}
} }
} }
} }