|
@@ -38,11 +38,13 @@ export default {
|
|
|
bgImgUrl: require('@/assets/images/entries/wen-wu.png'),
|
|
|
title: '精品文物展厅',
|
|
|
sceneCode: 'KJ-ztJ9nPQyf64',
|
|
|
+ shabiUrl: 'https://www.4dkankan.com/spg.html?m=KJ-ztJ9nPQyf64&lang=zh',
|
|
|
},
|
|
|
{
|
|
|
bgImgUrl: require('@/assets/images/entries/shu-fa.png'),
|
|
|
title: '书画厅',
|
|
|
sceneCode: 'KJ-wlpyvYdFNXN',
|
|
|
+ shabiUrl: 'https://www.4dkankan.com/spg.html?m=KJ-wlpyvYdFNXN&lang=zh',
|
|
|
},
|
|
|
{
|
|
|
bgImgUrl: require('@/assets/images/entries/zhu-ti.png'),
|
|
@@ -53,6 +55,7 @@ export default {
|
|
|
bgImgUrl: require('@/assets/images/entries/wen-hua.png'),
|
|
|
title: '中国仡佬族民族文化展厅',
|
|
|
sceneCode: 'KJ-Rytmid9ku2a',
|
|
|
+ shabiUrl: 'https://www.4dkankan.com/spg.html?m=KJ-Rytmid9ku2a&lang=zh',
|
|
|
},
|
|
|
{
|
|
|
bgImgUrl: require('@/assets/images/entries/di-biao-he-ying.png'),
|
|
@@ -68,23 +71,24 @@ export default {
|
|
|
},
|
|
|
onClickEntry(entry) {
|
|
|
if (entry.sceneCode !== undefined) {
|
|
|
- if (entry.sceneCode) {
|
|
|
- this.$router.push({
|
|
|
- name: 'Home',
|
|
|
- query: {
|
|
|
- ...this.$route.query,
|
|
|
- ...{
|
|
|
- m: entry.sceneCode,
|
|
|
- }
|
|
|
- }
|
|
|
- })
|
|
|
- location.reload()
|
|
|
- } else {
|
|
|
- this.$message({
|
|
|
- message: '敬请期待!',
|
|
|
- type: 'warning',
|
|
|
- })
|
|
|
- }
|
|
|
+ // if (entry.sceneCode) {
|
|
|
+ // this.$router.push({
|
|
|
+ // name: 'Home',
|
|
|
+ // query: {
|
|
|
+ // ...this.$route.query,
|
|
|
+ // ...{
|
|
|
+ // m: entry.sceneCode,
|
|
|
+ // }
|
|
|
+ // }
|
|
|
+ // })
|
|
|
+ // location.reload()
|
|
|
+ // } else {
|
|
|
+ // this.$message({
|
|
|
+ // message: '敬请期待!',
|
|
|
+ // type: 'warning',
|
|
|
+ // })
|
|
|
+ // }
|
|
|
+ location.href = entry.shabiUrl
|
|
|
} else {
|
|
|
this.$router.push({
|
|
|
name: entry.routeName
|