|
@@ -21,15 +21,21 @@
|
|
<div class="right_right" @click="toMore(0)">查看更多</div>
|
|
<div class="right_right" @click="toMore(0)">查看更多</div>
|
|
</div>
|
|
</div>
|
|
<div class="right_2">
|
|
<div class="right_2">
|
|
- <vue3-seamless-scroll :list="list" :hover="true" :step="0.5" :wheel="true" :isWatch="true">
|
|
|
|
|
|
+ <vue3-seamless-scroll :list="list" :hover="true" :step="0.5" :limit-scroll-num="6" :wheel="true" :isWatch="true">
|
|
<div class="list" v-for="(item, index) in list" :key="index" @click="toView(item, '0')">
|
|
<div class="list" v-for="(item, index) in list" :key="index" @click="toView(item, '0')">
|
|
<div class="left">
|
|
<div class="left">
|
|
<el-image class="image" v-if="item.logo && item.logo.length > 0" :src="getFile(item.logo)" fit="fill">
|
|
<el-image class="image" v-if="item.logo && item.logo.length > 0" :src="getFile(item.logo)" fit="fill">
|
|
<template v-slot:error>
|
|
<template v-slot:error>
|
|
- <el-image class="image" :src="new_4" fit="fill" />
|
|
|
|
|
|
+ <el-image v-if="item.type == '0'" class="image" :src="new_1" fit="fill" />
|
|
|
|
+ <el-image v-else-if="item.type == '1'" class="image" :src="new_2" fit="fill" />
|
|
|
|
+ <el-image v-else class="image" :src="new_2" fit="fill" />
|
|
</template>
|
|
</template>
|
|
</el-image>
|
|
</el-image>
|
|
- <el-image class="image" v-else :src="new_4" fit="fill" />
|
|
|
|
|
|
+ <div v-else>
|
|
|
|
+ <el-image v-if="item.type == '0'" class="image" :src="new_1" fit="fill" />
|
|
|
|
+ <el-image v-else-if="item.type == '1'" class="image" :src="new_2" fit="fill" />
|
|
|
|
+ <el-image class="image" v-else :src="new_3" fit="fill" />
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
<div class="right">
|
|
<div class="right">
|
|
<div class="new_title textOne">
|
|
<div class="new_title textOne">
|
|
@@ -163,7 +169,9 @@ import { useNumberAnimation } from '@/utils/animation'
|
|
// 图片引入
|
|
// 图片引入
|
|
import left from '/images/top-left.png'
|
|
import left from '/images/top-left.png'
|
|
import right from '/images/top-right.png'
|
|
import right from '/images/top-right.png'
|
|
-import new_4 from '/images/new_4.png'
|
|
|
|
|
|
+import new_1 from '/images/new_1.png'
|
|
|
|
+import new_2 from '/images/new_2.png'
|
|
|
|
+import new_3 from '/images/new_3.png'
|
|
import friend from '/images/friend.jpeg'
|
|
import friend from '/images/friend.jpeg'
|
|
import baseLogo from '/images/base.jpg'
|
|
import baseLogo from '/images/base.jpg'
|
|
// 组件
|
|
// 组件
|