| @@ -50,16 +50,26 @@ | |||
| <div class="content"> | |||
| <div class="top"> | |||
| <div id="szr"> | |||
| <a>数字人视频</a> | |||
| <a>数字人直播</a> | |||
| </div> | |||
| <SwiperHor :banner-array="aigczb" /> | |||
| </div> | |||
| </div> | |||
| <div class="gg gg2"> | |||
| <a :href="gg2.link" target="_blank"> | |||
| <img :src="gg2.img" alt=""> | |||
| </a> | |||
| <div class="gg gg2"> | |||
| <a :href="gg2.link" target="_blank"> | |||
| <img :src="gg2.img" alt=""> | |||
| </a> | |||
| </div> | |||
| </div> | |||
| <div id="daliay2" v-show="aigcsp.length > 0"> | |||
| <div class="content"> | |||
| <div class="top"> | |||
| <div id="szr"> | |||
| <a>数字人短视频</a> | |||
| </div> | |||
| <SwiperHor :banner-array="aigcsp" /> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| </template> | |||
| @@ -95,6 +105,7 @@ export default { | |||
| ailist: [], | |||
| aitxt: {}, | |||
| aigczb: [], | |||
| aigcsp: [], | |||
| gg1: {}, | |||
| gg2: {} | |||
| } | |||
| @@ -113,7 +124,7 @@ export default { | |||
| this.getshuzirenZhiBoList() | |||
| this.getvideoList() | |||
| this.getlunboList() | |||
| this.yidong() | |||
| // this.yidong() | |||
| }, | |||
| methods: { | |||
| async getlunboList () { | |||
| @@ -172,7 +183,7 @@ export default { | |||
| const { data: { message, data } } = await videoList() | |||
| if (message === 'success') { | |||
| for (const iter of data.list) { | |||
| this.aigczb.push({ | |||
| this.aigcsp.push({ | |||
| img: iter.image.split('?')[0], | |||
| name: iter.subTitle ? iter.subTitle : '主播名', | |||
| content: iter.title, | |||
| @@ -346,7 +357,7 @@ export default { | |||
| } | |||
| } | |||
| #hot, #daliay { | |||
| #hot, #daliay, #daliay2 { | |||
| width: 100%; | |||
| background: #E3E5EA; | |||
| display: flex; | |||
| @@ -431,7 +442,7 @@ export default { | |||
| } | |||
| } | |||
| } | |||
| #daliay { | |||
| #daliay, #daliay2 { | |||
| padding-top: 0; | |||
| .content { | |||
| .top { | |||
| @@ -582,6 +593,10 @@ export default { | |||
| } | |||
| } | |||
| .gg2{ | |||
| margin-bottom: 200px; | |||
| margin-bottom: 50px; | |||
| } | |||
| #daliay2 { | |||
| padding-bottom: 50px; | |||
| } | |||
| </style> | |||