guoxiaohuan 4 jaren geleden
bovenliggende
commit
16dd6b315a

BIN
src/assets/imgs/nkt.jpg


BIN
src/assets/imgs/qwt.jpg


+ 4 - 3
src/components/Rotation/src/rotation.vue

@@ -13,7 +13,7 @@
             <img :src='rotationImg[0].url' alt />
             <!-- <img src='./3440.jpg' alt /> -->
         </div>
-        <el-carousel v-else trigger='click' style='height:100%' :interval='5000' arrow='always'>
+        <el-carousel v-else trigger='click' style='height:100%;width:100%' :interval='5000' arrow='always'>
             <el-carousel-item v-for='(item,index) in rotationImg' :key='index'>
                 <img :src='item.url' alt />
             </el-carousel-item>
@@ -77,7 +77,8 @@ export default {
 }
 </style>
 <style lang="less">
-.rotation {
+.rotation,
+.rotationFull {
     .el-carousel__item h3 {
         color: #475669;
         font-size: 14px;
@@ -93,7 +94,7 @@ export default {
         background-color: #d3dce6;
     }
     .el-carousel__container {
-        height: 100%;
+        height: 100% !important;
     }
     .el-carousel__button {
         height: 3px;

+ 2 - 0
src/views/other/index.vue

@@ -131,6 +131,8 @@ export default {
                 //console.log('查询哪几层楼有图', res)
                 this.floorData = []
                 let data = res.data.data
+                console.log('data', data)
+
                 data.forEach(el => {
                     if (el.count > 0) {
                         let obj = {

+ 1 - 1
src/views/other/zhsxOtherTable1.vue

@@ -41,7 +41,7 @@
             <el-table-column prop sortable label='日期' width='100' resizable>
                 <template slot-scope='{row}'>{{formatter(row.createdate)||'--'}}</template>
             </el-table-column>
-            <el-table-column prop label='政府部门' width='80'>
+            <el-table-column prop label='政府部门' width='160'>
                 <template slot-scope='{row}'>{{row.department||'--'}}</template>
             </el-table-column>
             <el-table-column prop label='记录事项' :show-overflow-tooltip='true' min-width='700'>

+ 1 - 1
src/views/overview/picModal.vue

@@ -5,7 +5,7 @@
                 src='https://ss0.bdstatic.com/94oJfD_bAAcT8t7mm9GUKT-xh_/timg?image&quality=100&size=b4000_4000&sec=1592807833&di=5adf17cda9f46c37696da5b1d0aec9dc&src=http://a3.att.hudong.com/14/75/01300000164186121366756803686.jpg'
                 alt
             />-->
-            <rotation :type='1' v-if='rotationImg.length>0' :rotationImg='rotationImg' style='height:100%;'></rotation>
+            <rotation :type='1' v-if='rotationImg.length>0' :rotationImg='rotationImg' style='height:100%;width:100%'></rotation>
             <span class='close' @click='close'>X</span>
         </el-dialog>
     </div>