Browse Source

feat: 修复设备滚动条问题

master
ljlong_2630 2 months ago
parent
commit
f5bc1ab711
  1. 6
      src/components/device/slectDeviceList.vue

6
src/components/device/slectDeviceList.vue

@ -1,10 +1,10 @@
<template>
<!-- 选择设备或模具 -->
<u-popup v-model="props.isShowSelectDevice" mode="center" border-radius="14">
<view class="popup-title">选择{{ deviceType }}</view>
<view class="popup-title">选择{{ deviceType === 'DEVICE' ? '设备' : '模具' }}</view>
<view class="popup">
<u-search placeholder="搜索" v-model="form1.searchName" @change="searchDevice"></u-search>
<view class="list">
<scroll-view class="list" scroll-y="true" style="max-height: 800rpx">
<view class="device" v-for="(device, index) in singleColumnList" :key="index" @click="chooseDevice(device)">
<u-checkbox v-model="device.checked" shape="circle" style="margin-top: 8rpx;"></u-checkbox>
<view class="right">
@ -19,7 +19,7 @@
</view>
</view>
</view>
</view>
</scroll-view>
</view>
<view class="popup-footer">
<view @click="chooseDevice1(0)">取消</view>

Loading…
Cancel
Save