Переглянути джерело

修改发布对象字段高度

DESKTOP-4G80JF4\long 3 роки тому
батько
коміт
428139ad1f

+ 1 - 0
operationSupport/src/components/common/treeHouse.vue

@@ -330,6 +330,7 @@ export default {
     }
     .el-tree {
         background: #fafcff;
+        height: 20vh;
         max-height: 50vh;
         overflow: scroll;
         padding: 10px;

+ 3 - 2
operationSupport/src/views/propertyManagement/common/previeInform.vue

@@ -6,7 +6,7 @@
             </div>
             <div class="prev-text detail">
                 <div class="prev-obj">
-                    发布对象: <span>{{ houseDataNames }}</span>
+                    发布对象: <span class="prev-obj-text">{{ houseDataNames }}</span>
                 </div>
                 <div v-if="showTree">
                     <div class="detail-right" v-if="dataDetail.userType == 0">
@@ -42,7 +42,6 @@
                         </el-tree>
                     </div>
                 </div>
-
                 <div @click="clickDetail()" class="click-prev">{{ showTree ? '关闭详情' : '查看详情' }}</div>
             </div>
             <div class="prev-text">
@@ -187,6 +186,8 @@ export default {
         span {
             margin-left: 25px;
         }
+        .prev-obj-text {
+        }
     }
     .detail {
         display: flex;

+ 6 - 10
operationSupport/vue.config.js

@@ -34,8 +34,8 @@ module.exports = {
                 viewportWidth: 1920 //传参
             });
         // 配置每次打包浏览器缓存文件名的随机性
-        // const filename = path.posix.join('js', `${new Date().getTime()}_[name].js`);
-        // config.mode('production').devtool(false).output.filename(filename).chunkFilename(filename)
+        const filename = path.posix.join('js', `${new Date().getTime()}_[name].js`);
+        config.mode('production').devtool(false).output.filename(filename).chunkFilename(filename)
     },
     // 配置全局样式变量
     css: {
@@ -58,15 +58,11 @@ module.exports = {
             //         resources: path.relative(__dirname, '../src/assets/css/punlic-style.scss')
             //     }
             // })
-<<<<<<< HEAD
-        }
-=======
-        },
->>>>>>> 2484e009369e1b84df1a31da8fc957968006b2e5
-        // extract: { // 打包后css文件名称添加时间戳
-        //     filename: `css/[name].${new Date().getTime()}.css`,
-        //     chunkFilename: `css/chunk.[id].${new Date().getTime()}.css`,
         // }
+        extract: { // 打包后css文件名称添加时间戳
+            filename: `css/[name].${new Date().getTime()}.css`,
+            chunkFilename: `css/chunk.[id].${new Date().getTime()}.css`,
+        }
     },
     configureWebpack: {
         externals: {