Commit 3d899190 authored by anxixi's avatar anxixi

文章发布修改

parent 6ccabed3
......@@ -2,7 +2,7 @@
<div class="boxWrapper">
<div :style="!isShow?'':'max-width: 1440px;margin: 0 auto;'" style="border-bottom: 1px solid #f2f2f2;" :class="[initStyle&&currentIndex>-2?'divboxWrapper initBoxWrapper':'divboxWrapper noinitBoxWrapper',isOtherVisible?'whiteWrapper':'',isShow?'':'loginedTopWrapper']">
<div :style="!isShow?'':'max-width: 1440px;margin: 0 auto;'" :class="[initStyle&&currentIndex>-2?'divboxWrapper initBoxWrapper':'divboxWrapper noinitBoxWrapper',isOtherVisible?'whiteWrapper':'',isShow?'':'loginedTopWrapper']">
<div class="header-left">
<img src="../../assets/img/index/techbook-LOGO-02@2x.png" alt="" v-if="initStyle&&isShow&&currentIndex>-2" @click="$router.push('/')">
<img src="../../assets/img/index/techbook-LOGO-01@2x.png" alt="" v-if="(!initStyle&&isShow)||!isShow||currentIndex==-2" @click="$router.push('/')">
......@@ -546,6 +546,7 @@
.noinitBoxWrapper {
background-color: #fff;
border-bottom: 1px solid #f2f2f2;
/*box-shadow:0px 1px 5px 0px rgba(0,0,0,0.1);*/
.header-content li {
color: #3F3F53;
......
......@@ -3,10 +3,10 @@
<el-row class="">
<el-row class="tabPdding">
<el-row class="statebottm">
<page-screen :screenlist="channelList" :screenchildListIf="false" ref="channelchild" titleName="按频道检索 " @changecheck="channelData"></page-screen>
<page-screen :screenlist="channelList" :checkboxGroupstate="channelrow" :screenchildListIf="false" ref="channelchild" titleName="按频道检索 " @changecheck="channelData"></page-screen>
</el-row>
<el-row class="statebottm">
<page-screen :screenlist="classifyList" :screenchildListIf="false" ref="classifychild" titleName="按分类检索 " @changecheck="classifyData"></page-screen>
<page-screen :screenlist="classifyList" :checkboxGroupstate="classifyrow" :screenchildListIf="false" ref="classifychild" titleName="按分类检索 " @changecheck="classifyData"></page-screen>
</el-row>
<el-row class="statebottm">
<page-screen :screenlist="dictList" :screenchildListIf="false" ref="dictchild" titleName="按标记检索 " @changecheck="dictData"></page-screen>
......@@ -117,14 +117,22 @@
totalListResult: 0,
numberData: 10, //设置个数
tydata:[],
search:{},
search:{
},
channelList:[],//频道检索
classifyList:[],//分类检索
dictList:[],
searchs:{},
searchs:{
channelIds:this.channelrow,
classifyIds:this.classifyrow
},
contentlist:[],
}
},
props:[
'channelrow','classifyrow'
],
components:{
pageScreen
},
......
......@@ -9,7 +9,8 @@
<div class="projectTabadd">
<el-tabs v-model="activeName" @tab-click="handleClick">
<el-tab-pane label="文章" name="first">
<articleservice ref="childone"></articleservice>
<articleservice v-if='showNum/2 === 0' :key='showNum' :classifyrow="classifyrow" :channelrow="channelrow" ref="childone"></articleservice>
<articleservice v-else :key='showNum' :classifyrow="classifyrow" :channelrow="channelrow" ref="childone"></articleservice>
</el-tab-pane>
<el-tab-pane label="频道" name="second">
<channelservice @channelclk="channelclk" ref="childtwo"></channelservice>
......@@ -36,6 +37,9 @@
data() {
return {
activeName:'first',
channelrow:[],
classifyrow:[],
showNum: 2
}
},
components:{
......@@ -55,10 +59,20 @@
}
},
channelclk(val){
++this.showNum
this.channelrow = [];
this.classifyrow = [];
this.activeName = 'first';
this.channelrow.push(val.channelId);
// this.$refs.childone.getsearchContents();
},
classifyclk(val){
++this.showNum
this.activeName = 'first';
this.channelrow = [];
this.classifyrow = [];
this.classifyrow.push(val.classifyId);
// this.$refs.childone.getsearchContents();
},
},
mounted(){
......
......@@ -145,7 +145,7 @@
numberData: 10, //设置个数
search:{},
contentList:[],
loading:false,
loading:true,
pages:0,
expertVisible:false,
issearchclas:true,
......
......@@ -143,7 +143,7 @@
<el-button @click="ismentexpert">取 消</el-button>
</el-row>
</el-dialog>
<expertVisible ref="login" :registerType="67" :activityId="contentData.contentId"></expertVisible>
<expertVisible ref="login" :registerType="80" :activityId="contentData.contentId"></expertVisible>
</div>
</template>
......
......@@ -201,6 +201,7 @@
}
}
this.$emit('active',this.stateData);
console.log(this.stateData)
},
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment