zhangli hai 1 ano
pai
achega
6303fa55dd

+ 7 - 6
src/views/modules/knowledge/album/detail.vue

@@ -64,7 +64,7 @@
           </a-cascader>
         </a-form-model-item>
         <a-form-model-item class="knowledgeAddUpdateLabel oneline" label="专辑标题:" prop="name" style="margin-top: -5px;">
-          <a-input style='width: 46.0416vw;' @change='titlesChange' class="addItemBox" maxLength="20" v-model="knowledgeForm.name" placeholder="请输入" >
+          <a-input style='width: 46.0416vw;' @change='titlesChange' class="addItemBox" :maxLength="20" v-model="knowledgeForm.name" placeholder="请输入" >
             <div slot="suffix" style="color: #C0C0C0;">
               {{titlesNum}}
             </div>
@@ -115,7 +115,7 @@
     </div>
     <div class="searchBoxContent" v-show="(tapAction==0)">
       <div class="DataBoxContent" style="position: relative;">
-        <a-input maxLength="500" :disabled="!(isAdd)" @change='detailChange' class="detailBox" v-model="detailData" type="textarea" :autosize="{minRows: 10, maxRows: 26}" placeholder="请输入" >
+        <a-input :maxLength="500" :disabled="!(isAdd)" @change='detailChange' class="detailBox" v-model="detailData" type="textarea" :autosize="{minRows: 10, maxRows: 26}" placeholder="请输入" >
         </a-input>
       </div>
     </div>
@@ -169,7 +169,7 @@
               class="commentAdd"
               placeholder="评论千万条,友善第一条"
               enter-button="提交"
-              maxLength="100"
+              :maxLength="100"
               size="large"
               @search="replyAlbum"
             />
@@ -218,7 +218,7 @@
               :confirmLoading="saveLoading">
       <a-form :model="catalogueForm" layout="inline" :label-col="{ span: 5 }">
         <a-form-item prop="name" style="margin-top:10px;" label="目录名称">
-          <a-input v-model="catalogueForm.name" placeholder="请输入" maxLength="20"/>
+          <a-input v-model="catalogueForm.name" placeholder="请输入" :maxLength="20"/>
         </a-form-item>
         <a-form-item prop="solt" style="margin-top:10px;" label="排序">
           <a-input-number :min="1" v-model="catalogueForm.solt" placeholder="请输入" />
@@ -1517,6 +1517,7 @@ export default {
   margin-top: -0.55vw;
 }
 .classifyIconBox{
+  display: none;
   color: rgba(0,0,0,.25);
   font-size: 1vw!important;
   margin-top: -0.55vw!important;
@@ -1574,11 +1575,11 @@ export default {
 }
 </style>
 <style scoped>
-/deep/.ant-cascader-picker-clear svg{
+.addItemBox /deep/.ant-cascader-picker-clear svg{
   width: 0.8vw;
   height: 0.8vw;
 }
-/deep/ .ant-cascader-picker-clear{
+.addItemBox /deep/.ant-cascader-picker-clear{
   text-align: right;
   width: 1.2vw;
   height: 1.2vw;

+ 2 - 2
src/views/modules/knowledge/warehouse/contentData.vue

@@ -342,11 +342,11 @@ export default {
           }
           if(this.type==2){
             paramOne.sortField='views'
-            paramOne.type=1
+            paramOne.params.type=1
           }
           if(this.type==5){
             paramOne.sortField='views'
-            paramOne.type=2
+            paramOne.params.type=2
           }
           contentData.findAllKnowledge({...paramOne}).then(res => { 
             res.result.data.forEach(element => {

+ 1 - 0
src/views/modules/knowledge/warehouse/knowledgeAddUpdate.vue

@@ -831,6 +831,7 @@ export default {
 
 
 .classifyIconBox{
+  display: none;
   color: rgba(0,0,0,.25);
   font-size: 1vw!important;
   margin-top: -0.55vw!important;