luyisha 3 years ago
parent
commit
b5a97be784
  1. BIN
      src/assets/img/concat_us.png
  2. BIN
      src/assets/img/concat_us11.png
  3. 45
      src/views/college/list.vue
  4. 2
      src/views/contactUs/index.vue

BIN
src/assets/img/concat_us.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 275 KiB

After

Width:  |  Height:  |  Size: 191 KiB

BIN
src/assets/img/concat_us11.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 275 KiB

45
src/views/college/list.vue

@ -21,11 +21,11 @@
<!-- <secondary-nav /> -->
<div class="main-box">
<div class="nav-line">
<div class="nav-block">
<div class="nav-block" style="border: 1px solid #e5e5e5;">
<el-select v-model="initValue" placeholder="" @change="routerLink">
<el-option
v-for="item in itemList"
:key="item.value"
v-for="(item, index) in itemList"
:key="index"
:label="item.label"
:value="item.value">
</el-option>
@ -70,29 +70,29 @@ export default {
}
},
computed: {
title() {
let key = this.cid;
switch (key) {
case 'novice':
return this.$t('college.noviceTutorial')
case 'strategy':
return this.$t('college.TradingStrategy')
case 'research':
return this.$t('college.industryResearch')
case 'dictionary':
return this.$t('college.dictionary')
case 'report':
return this.$t('college.media')
case 'OkChain':
return 'OkChain'
}
}
// title() {
// let key = this.cid;
// switch (key) {
// case 'novice':
// return this.$t('college.noviceTutorial')
// case 'strategy':
// return this.$t('college.TradingStrategy')
// case 'research':
// return this.$t('college.industryResearch')
// case 'dictionary':
// return this.$t('college.dictionary')
// case 'report':
// return this.$t('college.media')
// case 'OkChain':
// return 'OkChain'
// }
// }
},
methods: {
getArticleList() {
College.getArticleList(this.cid).then(data => {
this.articleList = data;
console.log(this.articleList, '文章列表')
console.log(this.articleList, '文章列表');
}).catch();
},
getCollegeLinks() {
@ -124,12 +124,13 @@ export default {
watch: {
$route() {
this.cid = this.$route.params.cid;
this.getCollegeLinks();//
this.getArticleList();
}
},
created() {
this.getArticleList();
this.getCollegeLinks();
this.getArticleList();
// if (this.$route.query.cname != '' && this.$route.query.cname != null && this.$route.query.cname != undefined ) {
// this.initValue = this.$route.query.cname;
// }

2
src/views/contactUs/index.vue

@ -8,7 +8,7 @@
<div class="body">
<div class="container form-content rounded-sm mt-5 shadow py-4">
<div class="row" style="color: #999;">
<div class="row" style="color: #666;">
<!-- <div class="col-8 border-right">
<form class="cont-body">
<div class="form-group">

Loading…
Cancel
Save