{{ aitxt.title }}
@@ -158,12 +158,7 @@ export default {
async getshuzirenList () {
const { data: { message, data } } = await shuzirenList()
if (message === 'success') {
- for (const iter of data.list) {
- this.ailist.push({
- img: iter.image,
- label: iter.title
- })
- }
+ this.ailist = data.list
}
},
async getshuzirenZhiBoList () {
diff --git a/src/views/home/index.vue b/src/views/home/index.vue
index 139ab3a..5aca865 100644
--- a/src/views/home/index.vue
+++ b/src/views/home/index.vue
@@ -92,8 +92,8 @@ export default {
daliay: [],
display: 0,
hotnews: {
- title: '这两款产品也将采用“CHN”的模式进行研发',
- img: '/hotnew.png'
+ title: '',
+ img: ''
},
hotnewsList: []
}
diff --git a/src/views/information/index.vue b/src/views/information/index.vue
index 91e3b09..7c81cf7 100644
--- a/src/views/information/index.vue
+++ b/src/views/information/index.vue
@@ -12,14 +12,13 @@
-
+
@@ -60,23 +59,17 @@ export default {
name: 'information',
data () {
return {
- carouselList: [
- // { src: '/car1.png', title: '吉利11月销量再刷新纪录,新能源转型成效凸显', subtitle: '国际汽车企业如果现在一旦脱离了中国市场,再想回来就不可能了。必须了解这个发展的趋势,只有参与才有机会。' },
- // { src: '/car2.png', title: '吉利11月销量再刷新纪录,新能源转型成效凸显', subtitle: '国际汽车企业如果现在一旦脱离了中国市场,再想回来就不可能了。必须了解这个发展的趋势,只有参与才有机会。' }
- ],
- hotnews: {
- title: '这两款产品也将采用“CHN”的模式进行研发',
- img: '/hotnew.png'
- },
+ carouselList: [],
+ hotnews: {},
hotnewsList: [],
carvideoList: [],
carList: [],
display: 1,
gg1: {},
gg2: {},
- activeIndex: null,
videoDialogVisible: '',
- videoUrl: ''
+ videoUrl: '',
+ currentIndex: 0
}
},
components: {
@@ -93,6 +86,9 @@ export default {
this.getCarArticle()
},
methods: {
+ handleChange(newIndex) {
+ this.currentIndex = newIndex;
+ },
routerToarticleDetails (value) {
localStorage.setItem('article', value)
this.$router.push({ path: '/articleDetails' })
@@ -196,7 +192,7 @@ export default {
width: 100%;
}
.top {
- min-height: 470px;
+ min-height: 410px;
background-color: #FFFFFF;
display: flex;
#imgtxt {
@@ -347,11 +343,8 @@ export default {
.el-carousel__item {
display: flex;
flex-direction: column;
- // justify-content: center;
align-items: center;
.carvideo {
- // width: 660px;
- // height: 90%;
position: relative;
.play {
position: absolute;
diff --git a/src/views/metadaily/index.vue b/src/views/metadaily/index.vue
index c71acd5..2eba373 100644
--- a/src/views/metadaily/index.vue
+++ b/src/views/metadaily/index.vue
@@ -135,19 +135,6 @@ export default {
const { data: { message, data } } = await hotnews()
if (message === 'success') {
this.hotnewsList = data.list
- // this.hotnews = {
- // title: data.list[0].title,
- // img: data.list[0].image,
- // detail: data.list[0].detail
- // }
- // for (let index = 1; index < data.list.length; index++) {
- // console.log(data.list[index])
- // this.hotnewsList.push({
- // title: data.list[index].title,
- // img: data.list[index].image,
- // detail: data.list[index].detail
- // })
- // }
}
},
async getshendu () {
-
-
+
- {{ item.title }}
+ {{ item.title }}
![](@/assets/play.png)
![](@/assets/play.png)