Commit cc149b2b authored by anxixi's avatar anxixi

文章发布修改

parent b746997a
......@@ -546,8 +546,8 @@
.noinitBoxWrapper {
background-color: #fff;
border-bottom: 1px solid #f2f2f2;
/*box-shadow:0px 1px 5px 0px rgba(0,0,0,0.1);*/
/*border-bottom: 1px solid #f2f2f2;*/
box-shadow:0px 2px 0px rgba(0,0,0,0.1);
.header-content li {
color: #3F3F53;
font-weight: bold;
......
......@@ -74,7 +74,7 @@
</el-table-column>
<el-table-column label="操作" width="200" align='center'>
<template slot-scope="scope">
<el-button type="text" @click="editBaseShow(scope.row)">查看</el-button>
<el-button type="text" @click="viewShow(scope.row)">查看</el-button>
<el-button type="text" @click="editarticle(scope.row)">编辑</el-button>
<el-button type="text" @click="getonline(scope.row)">{{scope.row.contentState == 0 ? '离线' : '在线'}}</el-button>
<el-button type="text" @click="deleteContent(scope.row)">删除</el-button>
......@@ -198,6 +198,10 @@
this.searchs.codes = a;
this.searchCik();
},
//
viewShow(row){
window.open(this.publicFun.getCurrentHrefEnv()+"#/contentdetail?id="+row.contentId+'&newnpen=true');
},
//分类列表条件
getClassifyList(){
api.getClassifyList().then(response => {
......
......@@ -194,6 +194,16 @@
if(response.code == 0) {
window.addEventListener('scroll', this.menu);
this.contentData = response.result;
document.title = this.contentData.contentTitle+"_TechBook";
var metaList = document.getElementsByTagName("meta");
for (var i = 0; i < metaList.length; i++) {
if (metaList[i].name == "keywords" && this.contentData.contentLabel) {
metaList[i].content = this.contentData.contentLabel;
}
if(metaList[i].name == "description" && this.contentData.contentValidity){
metaList[i].content = this.contentData.contentValidity;
}
}
if(response.result.baseContentSetting.settingStatementContent){
this.settingStatementContent = response.result.baseContentSetting.settingStatementContent;
}
......@@ -450,6 +460,16 @@
},
beforeDestroy() { // 在组件生命周期结束的时候销毁。
window.removeEventListener('scroll', this.menu);
document.title = 'TechBook-大企业与全球科创项目的即时对接平台';
var metaList = document.getElementsByTagName("meta");
for (var i = 0; i < metaList.length; i++) {
if (metaList[i].name == "keywords") {
metaList[i].content = "TechBook,技术对接平台,创新服务平台,科创社区,找项目,找需求,techbook.co,创新产业升级";
}
if(metaList[i].name == "description"){
metaList[i].content = "TechBook是太库旗下线上科创社区和产业创新对接合作平台。聚焦全球AloT、机器人、AVR、新能源、智慧医疗等行业的科创项目和具有明确技术创新和技术合作的大企业,通过线上匹配+线下服务的模式,力争成为中国大企业探寻技术创新的主要工具和全球科创企业技术产品的首发平台。聚焦全球科技创新创业人群,力求打造活跃的科创交流社区。";
}
}
},
mounted() {
if(this.$route.query.newnpen){
......
......@@ -7,7 +7,7 @@
</el-breadcrumb>
</div>
<div>
<el-row class="projectTabadd">
<el-row class="projectTabadd" style="min-height: 50px;">
<el-tabs v-model="activeName">
<el-tab-pane :label="$t('workPlace.tabBasicInfo')" name="first"></el-tab-pane>
</el-tabs>
......@@ -117,7 +117,7 @@
</el-row>
</div>
<div style="margin-top: 20px">
<el-row class="projectTabadd">
<el-row class="projectTabadd" style="min-height: 50px;">
<el-tabs v-model="activeName">
<el-tab-pane :label="$t('oneself.contactInfo')" name="first"></el-tab-pane>
</el-tabs>
......@@ -147,7 +147,7 @@
</div>
<div style="margin-top: 20px">
<el-row class="projectTabadd">
<el-row class="projectTabadd" style="min-height: 50px;">
<el-tabs v-model="activeName">
<el-tab-pane label="项目进度" name="first">
<!--<el-row style="border-bottom: 1px dashed #E8EAF3;padding: 25px 0;margin: 0 20px">-->
......
......@@ -106,11 +106,11 @@
<div></div>
<i></i>
</div>
<span style="padding-right: 20px">{{item.dataName}}</span>
<span style="padding-right: 20px">{{lang=="zh-CN"?item.dataName:item.dataNameEn}}</span>
</div>
</div>
</div>
<span style="color: #ADB2CD;position: absolute;top: 22px;left: 200px;">( {{$t("interseted.check")}} )</span>
<span style="color: #ADB2CD;position: absolute;top: 22px;" :style="lang=='zh-CN'?'left: 200px;':'left: 300px'">{{$t("interseted.check")}} </span>
<el-row style="padding-top: 20px;text-align: center">
<el-button :disabled="isdisabled" type="primary" @click="baseDataList()">{{$t("findPassword.nextStep")}}</el-button>
</el-row>
......@@ -162,7 +162,6 @@
dataId.push(this.fielddata[i].dataId);
}
};
console.log(dataId)
if(dataId.length == 0){
this.isdisabled = true;
}else{
......
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