|
@@ -12,7 +12,7 @@
|
|
|
<el-image :src="pageData.k_url" class="video fillWidth" fit="cover" v-if="flag && pageData.k_url !== undefined"></el-image>
|
|
|
</div>
|
|
|
<div class="title">{{ pageData.k_title }}</div>
|
|
|
- <div class="subTitle" v-html="pageData.x_subtitle"></div>
|
|
|
+ <div class="subTitle" v-html="pageData.k_subtitle"></div>
|
|
|
<div class="line"></div>
|
|
|
</div>
|
|
|
<div class="center">
|
|
@@ -33,7 +33,7 @@
|
|
|
<div class="list">
|
|
|
<div class="line"></div>
|
|
|
<div class="hflex acenter fwrap imgs">
|
|
|
- <div v-for="(item,index) in pageList" :key="index" class="list_item">
|
|
|
+ <div v-for="(item,index) in pageList" :key="index" class="list_item" @click="toinfo(item)">
|
|
|
<el-image fit="cover" :src="item.url" alt="" class="img" v-if="item.url !== undefind"/>
|
|
|
<div class="text">{{ item.title }}</div>
|
|
|
</div>
|
|
@@ -81,6 +81,9 @@ export default {
|
|
|
|
|
|
},
|
|
|
methods: {
|
|
|
+ toinfo(item) {
|
|
|
+ window.open(item.link_url)
|
|
|
+ },
|
|
|
isBrow() {
|
|
|
var ua = navigator.userAgent.toLowerCase();
|
|
|
if(ua.match(/MicroMessenger/i)=="micromessenger" || ua.match(/QQ/i) == "qq") {
|
|
@@ -91,6 +94,7 @@ export default {
|
|
|
getConfig() {
|
|
|
that.$http.getConfig().then((res) => {
|
|
|
if(res.data.code == 1) {
|
|
|
+ console.log('================',res);
|
|
|
that.pageData = res.data.data
|
|
|
var temp = that.pageData.k_url.substr(that.pageData.k_url.length - 3,3)
|
|
|
var type = ''
|
|
@@ -208,6 +212,7 @@ export default {
|
|
|
margin: 66px 0 80px;
|
|
|
}
|
|
|
.center .list .list_item {
|
|
|
+ cursor: pointer;
|
|
|
width: 470px;
|
|
|
height: 376px;
|
|
|
background: #FFFFFF;
|