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

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