<popup4999 show="{{rulerShow}}" style=" width: 100%; height: 100%;">
<view class="dialogRuler">
<view class="login-background">
<view class="login-background-img">
<text wx:if="{{rulerFlag}}">{{rulerTitle}}</text>
<text wx:if="{{!rulerFlag && privacyFlag}}">{{privacyTitle}}</text>
</view>
<scroll-view scroll-y="{{true}}" class="login-rules" wx:if="{{rulerFlag}}" bindtap="setTextClass" >
<text id="myText">{{rulerText}}</text>
</scroll-view>
<view style="margin-top: 0rpx; margin-left: 40rpx;" bind:tap="statute"wx:if="{{rulerFlag}}">
<text class="ahref">{{lang.termso}}</text>
</view>
<scroll-view scroll-y="{{true}}" class="login-rules" wx:if="{{!rulerFlag && privacyFlag}}" >
<text>{{privacyContent}}</text>
</scroll-view>
<view style="margin-top: 20rpx;margin-left: 40rpx;" bind:tap="policy" wx:if="{{!rulerFlag && privacyFlag}}">
<text class="ahref" style="margin-top: 30rpx;">{{lang.policyo}}</text>
</view>
<view class="radio" bind:tap="radioChange">
<label>
<radio color="#003685" value="r1" checked="{{radioCheck}}" />{{lang.radioLabel}}
</label>
</view>
<view class="login-rule-btn">
<view class="btn cancel" bind:tap="exit">
<text>{{lang.disagree}}</text>
</view>
<view class="btn agree" bind:tap="ruleAgree">
<text>{{lang.agree}}</text>
</view>
</view>
</view>
</view>
</popup4999>
这是前端的代码 限制的文本区域是 <text>{{privacyContent}}</text> 这一段 求大神!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
给个max-height呢
margin: 0;
padding: 0;
width: 600rpx;
max-height:36%;
border-bottom-left-radius: 72rpx;
background-color: white;
position: relative;
}但是字数多了就变成这样了