遮罩弹出层中 内容使用
<uni-popup ref="popupSX" type="top" class="pop-cla">
<view class="screen">
<scroll-view scroll-y="true" class="scroll-Y">
<view class="screen-b" v-if="userInfo.dataScope < 3">
<text class="khxj">归属人员</text>
<checkbox-group @change="checkboxChangesUser" class="apply-checkboxSX">
<label class="xkh" v-for="(item, index) in userList">
<checkbox :value="item.code" color="#3396ff" style="transform:scale(0.7)" />{{item.user_nikename}}
</label>
</checkbox-group>
</view>
<button @click="cz" class="cz">重置</button>
<button @click="selectQuerySX" class="ye">确定</button>
</scroll-view>
</view>
</uni-popup>
在style中固定滚动容器长宽
<style>
.scroll-Y {
height: 1100upx;
width: 98%;
}
</style>