瀏覽代碼

home组件超出

Shannon_mu 3 年之前
父節點
當前提交
ed20649aa4

+ 7 - 1
operationSupport/src/views/newWorkBench/components/pendingComplaints.vue

@@ -15,7 +15,7 @@
                         <div>房产地址:{{ item.communityName + '-' + item.roomNumber }}</div>
                     </div>
                     <div class="listInformation_text">
-                        <div>投诉内容:{{ item.content }}</div>
+                        <div class="ellipsis">投诉内容:{{ item.content }}</div>
                         <div>投诉时间:{{ item.createDate }}</div>
                     </div>
                     <div class="listInformation_operation"><span @click="toPage(item)" class="zoniot_font zoniot-icon-chuli"></span></div>
@@ -105,6 +105,12 @@ export default {
             .listInformation_text {
                 line-height: rem(23);
                 opacity: 0.5;
+                width: rem(200);
+                .ellipsis {
+                    white-space: nowrap;
+                    text-overflow: ellipsis;
+                    overflow: hidden;
+                }
             }
             .listInformation_operation {
                 display: flex;

+ 2 - 2
operationSupport/src/views/propertyManagement/stepPage/informAdd.vue

@@ -356,7 +356,6 @@ export default {
             // console.log('点击文件', file);
         },
         successFile(file, fileLists) {
-
             let obj = {};
             // this.fileList.push(fileLists.name);
             let resName = fileLists.response.data;
@@ -602,7 +601,7 @@ export default {
             this.$http.get('/sc-community/assets/community/list', {}).then(({ data }) => {
                 this.communityList = data;
             });
-        },
+        }
     }
 };
 </script>
@@ -772,6 +771,7 @@ $fontSizeSmall: 14px;
             :last-child {
                 margin-top: 7px;
                 margin-left: 26px;
+                width: calc(100% - 100px);
             }
         }
         .recored-detali {

+ 1 - 0
operationSupport/src/views/propertyManagement/style.scss

@@ -166,6 +166,7 @@ $fontSizeSmall: 14px;
             :last-child {
                 margin-top: 7px;
                 margin-left: 26px;
+                width: calc(100% - 100px);
             }
         }
         .recored-detali {