效果图
实现方法
uniapp项目中,在多行文字外面套一个<text></text>标签即可,自动换行
<!-- 弹出框 -->
<view>
<uni-popup ref="agreementBox" @change="change">
<view class="popup-content padding30 radius10 margin0Auto width80pct bgColorWhite">
<view>
<view class="textAlignCenter weightBold">
{{agreementTitle}}
</view>
<view class="fontSize12px paddingTop20">
<scroll-view scroll-y="true" style="height: 68vh;">
<text>{{agreementContent}}</text>
</scroll-view>
</view>
</view>
</view>
</uni-popup>
</view>
推荐
没广告的百度绿色版入口 baidu.rudon.cn