wangtao преди 1 седмица
родител
ревизия
9291c726b5
променени са 1 файла, в които са добавени 25 реда и са изтрити 23 реда
  1. 25 23
      src/pages/business/common/projectMange/write/components/template1.vue

+ 25 - 23
src/pages/business/common/projectMange/write/components/template1.vue

@@ -149,29 +149,31 @@
   <u-datetime-picker :show="timeShow" v-model="timeValue" mode="datetime" :closeOnClickOverlay="true" @cancel="timeShow = false" @confirm="timeConfirm"></u-datetime-picker>
 
   <u-modal :show="modalShow" title="" :confirmText="'确定'" :cancelText="'取消'" :zoom="false" :showCancelButton="true" @confirm="modalConfirm" @cancel="modalShow = false">
-    <view class="slot-content" style="max-height: 45vh; overflow: auto">
-      <view v-if="projectsList.length > 0" style="overflow:auto">
-        <u-checkbox-group v-model="projectsCheck" placement="row" :size="14" style="max-height: 100%; overflow: auto">
-          <view class="checkbox-group-title">最近使用</view>
-          <block v-for="(item, index) in projectsList">
-            <u-checkbox
-              v-if="item.submissions > 0"
-              :customStyle="{ marginBottom: '8px', width: '50%' }"
-              :label="item.projectName + ' (' + item.submissions + '次)'"
-              :name="item.id"
-              :activeColor="proxy.$settingStore.themeColor.color"
-            >
-            </u-checkbox>
-          </block>
-          <u-line class="u-line" color="info" style="margin: 10px 0"></u-line>
-
-          <view class="checkbox-group-title">其他</view>
-
-          <block v-for="(item, index) in projectsList">
-            <u-checkbox v-if="!item.submissions" :customStyle="{ marginBottom: '8px', width: '50%' }" :label="item.projectName" :name="item.id" :activeColor="proxy.$settingStore.themeColor.color">
-            </u-checkbox>
-          </block>
-        </u-checkbox-group>
+    <view class="slot-content" style="max-height: 45vh; overflow: scroll !important;">
+      <view v-if="projectsList.length > 0" >
+        <scroll-view scroll-y style="height: 100%; max-height: 300px;">
+          <u-checkbox-group v-model="projectsCheck" placement="row" :size="14" >
+            <view class="checkbox-group-title">最近使用</view>
+              <block v-for="(item, index) in projectsList" >
+                <u-checkbox
+                  v-if="item.submissions > 0"
+                  :customStyle="{ marginBottom: '8px', width: '50%' }"
+                  :label="item.projectName + ' (' + item.submissions + '次)'"
+                  :name="item.id"
+                  :activeColor="proxy.$settingStore.themeColor.color"
+                >
+                </u-checkbox>
+              </block>
+            <u-line class="u-line" color="info" style="margin: 10px 0"></u-line>
+
+            <view class="checkbox-group-title">其他</view>
+
+            <block v-for="(item, index) in projectsList">
+              <u-checkbox v-if="!item.submissions" :customStyle="{ marginBottom: '8px', width: '50%' }" :label="item.projectName" :name="item.id" :activeColor="proxy.$settingStore.themeColor.color">
+              </u-checkbox>
+            </block>
+          </u-checkbox-group>
+        </scroll-view>
 
         <!-- <u-checkbox-group v-else v-model="projectsCheck" placement="row" :size="14"  style="max-height: 100%; overflow: auto">
         <u-checkbox