提交 36bb7771 authored 作者: 龙菲's avatar 龙菲

新增四渡赤水框架

上级 6d54c229
差异被折叠。
差异被折叠。
...@@ -150,6 +150,12 @@ const routes = [ ...@@ -150,6 +150,12 @@ const routes = [
name: 'JYYCC', name: 'JYYCC',
component: () => import('@/views/boutique/components/jyycc') component: () => import('@/views/boutique/components/jyycc')
}, },
{
path: '/sdcs',
name: 'SDCS',
component: () => import('@/views/boutique/components/SDCS')
},
// 404 // 404
{ {
......
<template>
<div class="sdcs">
</div>
</template>
<script>
export default {
}
</script>
<style lang="scss" scoped>
.sdcs{
background-image: url('@/assets/imgs/boutique/sdcs/bg.jpg');
height:10693px;
width: 100%;
background-size: 100% 100%;
}
</style>
\ No newline at end of file
差异被折叠。
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
<SMGZ v-if="currentTitle == '神秘贵州'" /> <SMGZ v-if="currentTitle == '神秘贵州'" />
<YLGDYW v-else-if="currentTitle == '夜郎国的疑问'" /> <YLGDYW v-else-if="currentTitle == '夜郎国的疑问'" />
<JYYCC v-else-if="currentTitle == '记忆与传承'" /> <JYYCC v-else-if="currentTitle == '记忆与传承'" />
<SDCS v-else-if="currentTitle == '四渡赤水出奇兵'" />
<div v-else class="img-container"> <div v-else class="img-container">
<!-- <img :src="require(`@/assets/imgs/boutique/${currentTitle}.jpg`) <!-- <img :src="require(`@/assets/imgs/boutique/${currentTitle}.jpg`)
" alt="" /> --> " alt="" /> -->
...@@ -16,8 +17,9 @@ ...@@ -16,8 +17,9 @@
import SMGZ from "./components/SMGZ"; import SMGZ from "./components/SMGZ";
import YLGDYW from "./components/YLGDYW"; import YLGDYW from "./components/YLGDYW";
import JYYCC from "./components/jyycc"; import JYYCC from "./components/jyycc";
import SDCS from "./components/SDCS";
export default { export default {
components: { SMGZ, YLGDYW, JYYCC }, components: { SMGZ, YLGDYW, JYYCC,SDCS },
watch: { watch: {
currentTitle: { currentTitle: {
handler: function (value) { handler: function (value) {
...@@ -26,7 +28,7 @@ export default { ...@@ -26,7 +28,7 @@ export default {
return; return;
} }
switch (value) { switch (value) {
case "四渡赤水": case "四渡赤水出奇兵":
color = "4"; color = "4";
break; break;
case "神秘贵州": case "神秘贵州":
......
...@@ -107,7 +107,7 @@ export default { ...@@ -107,7 +107,7 @@ export default {
value: '' value: ''
}], }],
currentType: '', currentType: '',
boutiqueTitles: ['神秘贵州', '四渡赤水', '记忆与传承', '夜郎国的疑问'] boutiqueTitles: ['神秘贵州', '四渡赤水出奇兵', '记忆与传承', '夜郎国的疑问']
}; };
}, },
computed: { computed: {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论