shaogen1995 3 tahun lalu
induk
melakukan
5dcacc1d3a

+ 4 - 1
houtai/src/views/tab2/add.vue

@@ -55,7 +55,7 @@
           <el-input
             type="textarea"
             v-model="ruleForm.description"
-            maxlength="200"
+            maxlength="500"
             show-word-limit
           ></el-input>
         </el-form-item>
@@ -292,6 +292,9 @@ export default {
       resize: none;
     }
     /deep/.el-textarea .el-input__count{
+      position: absolute;
+      top: -25px;
+      right: 0;
       background-color: transparent;
       height: 30px;
       line-height: 30px;

+ 1 - 1
web/src/views/gui/compomemt/antique.vue

@@ -72,7 +72,7 @@
       </div>
       <div class="rightTxt">
         <h3>{{ txtInfo.name }}</h3>
-        <p>{{txtInfo.description}}</p>
+        <p v-html="txtInfo.description"></p>
       </div>
       <!-- 返回按钮 -->
       <div class="close el-icon-arrow-left" @click="modelShow = false"></div>

+ 12 - 5
webM/src/views/gui/component/antique.vue

@@ -72,7 +72,7 @@
       </div>
       <div class="rightTxt">
         <h3>{{ txtInfo.name }}</h3>
-        <div>{{ txtInfo.description }}</div>
+        <div v-html="txtInfo.description"></div>
       </div>
       <!-- 返回按钮 -->
       <div class="close" @click="modelShow = false"></div>
@@ -195,7 +195,9 @@ export default {
   beforeUpdate() {}, //生命周期 - 更新之前
   updated() {}, //生命周期 - 更新之后
   beforeDestroy() {}, //生命周期 - 销毁之前
-  destroyed() {}, //生命周期 - 销毁完成
+  destroyed() {
+    window.myKeyBlank = false;
+  }, //生命周期 - 销毁完成
   activated() {}, //如果页面有keep-alive缓存功能,这个函数会触发
 };
 </script>
@@ -225,6 +227,7 @@ export default {
       z-index: -1;
     }
     .ifrCon {
+      background-color: #d9d9d9;
       position: relative;
       width: 100%;
       height: calc(100% - 60px);
@@ -253,7 +256,8 @@ export default {
       }
       & > img {
         width: 100%;
-        max-height: 100%;
+        height: 100%;
+        object-fit: contain;
       }
       .fullTitle {
         width: 100%;
@@ -471,8 +475,8 @@ export default {
     background: url("../../../assets/img/close.png");
     background-size: 100% 100%;
   }
-  @media screen and (max-width: 350px) {
-    .top{
+  @media screen and (max-width: 355px) {
+    .top {
       font-size: 12px !important;
     }
     .conten {
@@ -481,6 +485,9 @@ export default {
     .contenBox {
       width: 100% !important;
       justify-content: center;
+      .row{
+        margin-right: 0 !important;
+      }
     }
   }
 }