Pārlūkot izejas kodu

滚动条的style

zhulizhen1111 4 gadi atpakaļ
vecāks
revīzija
e1932124c2

+ 1 - 1
src/App.vue

@@ -171,7 +171,7 @@ table {
 
 body ::-webkit-scrollbar {
   width: 5px;
-  height: 5px;
+  height: 8px;
 }
 
 body ::-webkit-scrollbar-track {

+ 5 - 3
src/components/PicLarge/src/picLarge.vue

@@ -79,8 +79,10 @@ export default {
                 border-radius: 4px;
                 border: 4px solid rgba(245, 246, 247, 1);
                 img {
-                    width: 100%;
-
+                    max-width: 100%;
+                    max-height: 100%;
+                    display: block;
+                    margin: auto;
                     border-radius: 4px;
                 }
             }
@@ -101,7 +103,7 @@ export default {
         flex: 1;
         background: rgba(245, 246, 247, 1);
         border-radius: 0px 0px 4px 0px;
-        padding: 20px 50px;
+        padding: 60px 50px;
         margin: auto auto;
         display: flex;
         justify-content: center;

+ 3 - 2
src/views/equipment/table/lookPageTable.vue

@@ -12,7 +12,7 @@
                 style='width:192px;margin-right:12px'
             ></el-input>
             <Select @change='getList' v-model='floor' style='margin-right:12px;' width='120' tipPlace='top' caption='楼层 :' :selectdata='floorSelect'></Select>
-            <Select @change='getList' v-model='floor' width='120' tipPlace='top' caption='文件类型 :' :selectdata='floorSelect'></Select>
+            <Select @change='getList' v-model='fileType' width='140' tipPlace='top' caption='文件类型 :' :selectdata='floorSelect'></Select>
         </div>
         <el-table :data='tableData' style='width: 100%'>
             <el-table-column type='index' label='序号' width='60' :index="indexMethod"></el-table-column>
@@ -60,7 +60,8 @@ export default {
             currentPage: 1,
             size: 11,
             keyword: '',
-            floor: ''
+            floor: '',
+            fileType:''
         }
     },
     props: ['major'],