修改路径

This commit is contained in:
dong_bo0602 2021-04-09 18:02:25 +08:00
parent 6298cb905f
commit 74b17e7dba
12 changed files with 27 additions and 29 deletions

BIN
dist.zip

Binary file not shown.

View File

@ -22,7 +22,7 @@
<div class="right-content" v-if="tab == 0" v-html="introContent"></div>
<div class="right-content qualify-list" v-if="tab == 1">
<ul v-if="hasData">
<li v-for="(honor, idx) in honorList" :key="idx" @click="goDetail(honor.newsContentLink, honor.templateRecordUrl, honor.newsContentType, honor.newsContentContent)">
<li v-for="(honor, idx) in honorList" :key="idx" :title="honor.newsContentTitle" @click="goDetail(honor.newsContentLink, honor.templateRecordUrl, honor.newsContentType, honor.newsContentContent)">
<div class="img-box">
<img :src="requestUrl + '/news/route/file/downloadfile/true/' + honor.newsContentCoverList" alt="">
</div>
@ -102,11 +102,7 @@ export default {
if (type === '6') {
window.open(outlink)
} else {
if (link) {
window.open(link)
} else {
window.location.href = this.url + url
}
window.location.href = this.requestUrl + '/' +url
}
},
getIntro: function () {

View File

@ -57,7 +57,6 @@ export default {
}
},
methods: {
//
getImgNews: function () {
var self = this

View File

@ -14,7 +14,7 @@
<div class="notice-list">
<ul>
<li v-for="(news, idx) in biddingList" :key="idx" @click="goDetail(news.newsContentLink, news.templateRecordUrl, news.newsContentType, news.newsContentContent)">
<a href="javascript: void(0);">{{news.newsContentTitle}}</a>
<a href="javascript: void(0);" :title="news.newsContentTitle">{{news.newsContentTitle}}</a>
<span>{{news.newsContentPublishTime}}</span>
</li>
</ul>
@ -33,7 +33,7 @@
<div class="notice-list">
<ul>
<li v-for="(news, idx) in winBidList" :key="idx" @click="goDetail(news.newsContentLink, news.templateRecordUrl, news.newsContentType, news.newsContentContent)">
<router-link to="/detail">{{news.newsContentTitle}}</router-link>
<a href="javascript: void(0);" :title="news.newsContentTitle">{{news.newsContentTitle}}</a>
<span>{{news.newsContentPublishTime}}</span>
</li>
</ul>
@ -44,6 +44,7 @@
</template>
<script>
import url from '@/assets/public/url'
export default {
name: 'NoticeCase',
components: {},
@ -53,6 +54,7 @@ export default {
},
data () {
return {
url: url.url
}
},
methods: {
@ -60,7 +62,7 @@ export default {
if (type === '6') {
window.open(outlink)
} else {
window.location.href = this.url + '/' +url
window.open(this.url + '/' +url)
}
},
checkMore: function (tab) {

View File

@ -14,7 +14,7 @@
<div class="notice-list">
<ul>
<li v-for="(news, idx) in correctionList" :key="idx" @click="goDetail(news.newsContentLink, news.templateRecordUrl, news.newsContentType, news.newsContentContent)">
<a href="javascript: void(0);">{{news.newsContentTitle}}</a>
<a href="javascript: void(0);" :title="news.newsContentTitle">{{news.newsContentTitle}}</a>
<span>{{news.newsContentPublishTime}}</span>
</li>
</ul>
@ -33,7 +33,7 @@
<div class="notice-list">
<ul>
<li v-for="(news, idx) in abandonedList" :key="idx" @click="goDetail(news.newsContentLink, news.templateRecordUrl, news.newsContentType, news.newsContentContent)">
<a href="javascript: void(0);">{{news.newsContentTitle}}</a>
<a href="javascript: void(0);" :title="news.newsContentTitle">{{news.newsContentTitle}}</a>
<span>{{news.newsContentPublishTime}}</span>
</li>
</ul>
@ -62,7 +62,7 @@ export default {
if (type === '6') {
window.open(outlink)
} else {
window.location.href = this.url + '/' +url
window.open(this.url + '/' +url)
}
},
checkMore: function (tab) {

View File

@ -34,8 +34,8 @@
</div>
<div class="notice-list">
<ul>
<li v-for="(news, idx) in noticeList" :key="idx">
<router-link to="/detail">{{news.newsContentTitle}}</router-link>
<li v-for="(news, idx) in noticeList" :key="idx" @click="goDetail(news.newsContentLink, news.templateRecordUrl, news.newsContentType, news.newsContentContent)">
<a href="javascript: void(0);">{{news.newsContentTitle}}</a>
<span>{{news.newsContentPublishTime}}</span>
</li>
</ul>
@ -69,7 +69,7 @@ export default {
if (type === '6') {
window.open(outlink)
} else {
window.location.href = this.url + '/' +url
window.open(this.url + '/' +url)
}
}
},

View File

@ -14,7 +14,7 @@
<div class="notice-list">
<ul>
<li v-for="(news, idx) in sourceList" :key="idx" @click="goDetail(news.newsContentLink, news.templateRecordUrl, news.newsContentType, news.newsContentContent)">
<a href="javascript: void(0);">{{news.newsContentTitle}}</a>
<a href="javascript: void(0);" :title="news.newsContentTitle">{{news.newsContentTitle}}</a>
<span>{{news.newsContentPublishTime}}</span>
</li>
</ul>
@ -33,7 +33,7 @@
<div class="notice-list">
<ul>
<li v-for="(news, idx) in policiesList" :key="idx" @click="goDetail(news.newsContentLink, news.templateRecordUrl, news.newsContentType, news.newsContentContent)">
<a href="javascript: void(0);">{{news.newsContentTitle}}</a>
<a href="javascript: void(0);" :title="news.newsContentTitle">{{news.newsContentTitle}}</a>
<span>{{news.newsContentPublishTime}}</span>
</li>
</ul>
@ -62,7 +62,7 @@ export default {
if (type === '6') {
window.open(outlink)
} else {
window.location.href = this.url + '/' +url
window.open(this.url + '/' +url)
}
},
checkSourceMore: function () {

View File

@ -30,7 +30,7 @@
<div class="right-content news-list">
<ul v-if="hasData">
<li v-for="(news, idx) in lawList" :key="idx" @click="goDetail(news.newsContentLink, news.templateRecordUrl, news.newsContentType, news.newsContentContent)">
<a href="javascript: void(0);">{{news.newsContentTitle}}</a>
<a href="javascript: void(0);" :title="news.newsContentTitle">{{news.newsContentTitle}}</a>
<span>{{news.newsContentPublishTime}}</span>
</li>
</ul>
@ -107,7 +107,7 @@ export default {
if (type === '6') {
window.open(outlink)
} else {
window.location.href = this.url + '/' +url
window.location.href = this.requestUrl + '/' +url
}
},
getLawList: function () {

View File

@ -33,7 +33,7 @@
<div class="right-content news-list">
<ul v-if="hasData">
<li v-for="(news, idx) in noticeList" :key="idx" @click="goDetail(news.newsContentLink, news.templateRecordUrl, news.newsContentType, news.newsContentContent)">
<a href="javascript: void(0);">{{news.newsContentTitle}}</a>
<a href="javascript: void(0);" :title="news.newsContentTitle">{{news.newsContentTitle}}</a>
<span>{{news.newsContentPublishTime}}</span>
</li>
</ul>
@ -89,7 +89,7 @@ export default {
tab: 0,
page: {
page: 1,
rows: 1,
rows: 10,
totalPage: 10,
newsDirectoriesId: '',
keywords: '',
@ -116,7 +116,7 @@ export default {
if (type === '6') {
window.open(outlink)
} else {
window.location.href = this.url + '/' +url
window.location.href = this.requestUrl + '/' +url
}
},
changeTab: function (tab) {

View File

@ -30,7 +30,7 @@
<div class="right-content news-list">
<ul v-if="hasData">
<li v-for="(news, idx) in recruitList" :key="idx" @click="goDetail(news.newsContentLink, news.templateRecordUrl, news.newsContentType, news.newsContentContent)">
<a href="javascript: void(0);">{{news.newsContentTitle}}</a>
<a href="javascript: void(0);" :title="news.newsContentTitle">{{news.newsContentTitle}}</a>
<span>{{news.newsContentPublishTime}}</span>
</li>
</ul>
@ -107,7 +107,7 @@ export default {
if (type === '6') {
window.open(outlink)
} else {
window.location.href = this.url + '/' +url
window.location.href = this.requestUrl + '/' +url
}
},
getRecruitList: function () {

View File

@ -30,7 +30,7 @@
<div class="right-content news-list">
<ul v-if="hasData">
<li v-for="(news, idx) in sourceList" :key="idx" @click="goDetail(news.newsContentLink, news.templateRecordUrl, news.newsContentType, news.newsContentContent)">
<a href="javascript: void(0);">{{news.newsContentTitle}}</a>
<a href="javascript: void(0);" :title="news.newsContentTitle">{{news.newsContentTitle}}</a>
<span>{{news.newsContentPublishTime}}</span>
</li>
</ul>
@ -107,7 +107,7 @@ export default {
if (type === '6') {
window.open(outlink)
} else {
window.location.href = this.url + '/' +url
window.location.href = this.requestUrl + '/' +url
}
},
getSourceList: function () {

View File

@ -18,7 +18,8 @@ export default new Router({
name: 'Index',
component: Index,
meta: {
title: '北京明世纪元'
title: '北京明世纪元',
keepAlive: true
}
},
{