|
@@ -7,11 +7,22 @@
|
|
|
<ul class="desc-video">
|
|
|
<li v-for="item in list" :key="item.name">
|
|
|
<h1 class="common-title" v-html="item.name"></h1>
|
|
|
- <img :src="item.img" v-if="typeof item.img === 'string'">
|
|
|
- <div class="img-item-w" v-else>
|
|
|
- <comparePic :imgs="item.img" />
|
|
|
+ <iframe :src="item.iframeLink" v-if="item.iframeLink" />
|
|
|
+ <div v-else>
|
|
|
+ <img :src="item.img" v-if="typeof item.img === 'string'" />
|
|
|
+ <div class="img-item-w" v-else>
|
|
|
+ <comparePic :imgs="item.img" />
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</li>
|
|
|
+ <li class="plate item">
|
|
|
+ <h1 class="common-title">{{ cases.name }}</h1>
|
|
|
+ <ul class="case-list">
|
|
|
+ <li v-for="item in cases.list" :key="item.link" :style="{'background-image': `url(${item.img})`}" @click="toLink(item.link)">
|
|
|
+ <h2>{{ item.name }}</h2>
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+ </li>
|
|
|
</ul>
|
|
|
</div>
|
|
|
</template>
|
|
@@ -25,37 +36,58 @@ export default {
|
|
|
list: [
|
|
|
{
|
|
|
name: i18n.t('conduct.sxz.itemTitle1'),
|
|
|
- img: require('@/assets/images/refactor/coreProduct/sxz/item1.png')
|
|
|
+ img: require('@/assets/images/refactor/coreProduct/sxz/item-1.png')
|
|
|
},
|
|
|
{
|
|
|
name: i18n.t('conduct.sxz.itemTitle2'),
|
|
|
- img: require('@/assets/images/refactor/coreProduct/sxz/item2.png')
|
|
|
+ img: require('@/assets/images/refactor/coreProduct/sxz/item-2.png')
|
|
|
},
|
|
|
{
|
|
|
name: i18n.t('conduct.sxz.itemTitle3'),
|
|
|
- img: require('@/assets/images/refactor/coreProduct/sxz/item3.png')
|
|
|
+ img: [require('@/assets/images/refactor/coreProduct/sxz/r06_s.jpeg'), require('@/assets/images/refactor/coreProduct/sxz/r06.jpeg')]
|
|
|
},
|
|
|
{
|
|
|
name: this.$t('conduct.sxz.itemTitle4'),
|
|
|
- img: [require('@/assets/images/refactor/coreProduct/sxz/r06_s.jpeg'), require('@/assets/images/refactor/coreProduct/sxz/r06.jpeg')],
|
|
|
- runAnimation: true
|
|
|
- },
|
|
|
- {
|
|
|
- name: this.$t('conduct.sxz.itemTitle5'),
|
|
|
- img: [require('@/assets/images/refactor/coreProduct/sxz/r06_s.jpeg'), require('@/assets/images/refactor/coreProduct/sxz/r06.jpeg')],
|
|
|
+ iframeLink: '//www.4dkankan.com/decor.html?m=t-V7Wsf2Y&m2=vr-t-V7Wsf2Y-011',
|
|
|
runAnimation: true
|
|
|
}
|
|
|
- ]
|
|
|
+ ],
|
|
|
+ cases: {
|
|
|
+ name: this.$t('conduct.sxz.itemTitle5'),
|
|
|
+ list: [
|
|
|
+ {
|
|
|
+ img: require('@/assets/images/refactor/coreProduct/sxz/case-1.png'),
|
|
|
+ link: 'https://test.4dkankan.com/spc.html?m=vr-t-5JCEMWu-003'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ img: require('@/assets/images/refactor/coreProduct/sxz/case-2.png'),
|
|
|
+ link: 'https://www.4dkankan.com/spc.html?m=vr-t-V7Wsf2Y-011'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ img: require('@/assets/images/refactor/coreProduct/sxz/case-3.png'),
|
|
|
+ link: 'https://www.4dkankan.com/spc.html?m=vr-t-nn57rQe-039'
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
components: {
|
|
|
comparePic
|
|
|
+ },
|
|
|
+ mounted () {
|
|
|
+ },
|
|
|
+ methods: {
|
|
|
+ toLink (link) {
|
|
|
+ window.open(link)
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
</script>
|
|
|
|
|
|
<style lang="less" scoped>
|
|
|
.conduct-sxz {
|
|
|
+ width: 100%;
|
|
|
+ overflow: hidden;
|
|
|
.banner {
|
|
|
width: 100%;
|
|
|
height: 140px;
|
|
@@ -67,7 +99,7 @@ export default {
|
|
|
background: #D4D4D4;
|
|
|
flex-direction: column;
|
|
|
justify-content: center;
|
|
|
- background: url(~@/assets/images/refactor/conduct/exhibition/banner.png) no-repeat center center;
|
|
|
+ background: url(~@/assets/images/refactor/coreProduct/sxz/banner.png) no-repeat center center;
|
|
|
background-size: cover;
|
|
|
}
|
|
|
h4 {
|
|
@@ -79,6 +111,23 @@ export default {
|
|
|
}
|
|
|
li {
|
|
|
margin-bottom: 56px;
|
|
|
+ iframe {
|
|
|
+ margin-top: 30px;
|
|
|
+ width: 100%;
|
|
|
+ height: 400px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .case-list {
|
|
|
+ padding: 0;
|
|
|
+ margin-top: 30px;
|
|
|
+ li {
|
|
|
+ width: 100%;
|
|
|
+ height: 207px;
|
|
|
+ background-size: 100% auto;
|
|
|
+ background-repeat: no-repeat;
|
|
|
+ background-position: center center;
|
|
|
+ margin-bottom: 21px;
|
|
|
+ }
|
|
|
}
|
|
|
img {
|
|
|
margin-top: 30px;
|
|
@@ -88,4 +137,5 @@ export default {
|
|
|
margin-top: 30px;
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
</style>
|