From e40ee62d3e9b71ffe3432d32a53a00c4097b5708 Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Fri, 31 Dec 2021 09:03:28 +0800
Subject: [PATCH] +3d 2.5d
---
src/components/mobileWindow/index.vue | 19 +++++++++++++------
1 files changed, 13 insertions(+), 6 deletions(-)
diff --git a/src/components/mobileWindow/index.vue b/src/components/mobileWindow/index.vue
index 9306f2d..181a564 100644
--- a/src/components/mobileWindow/index.vue
+++ b/src/components/mobileWindow/index.vue
@@ -48,7 +48,7 @@
? 'el-icon-data-board'
: item.name == '去这'
? 'el-icon-finished'
- : item.name == '视频'
+ : item.name == '视频' || item.name == '返回'
? 'el-icon-video-camera-solid'
: ''
"
@@ -83,10 +83,7 @@
let queryData = this.query.query;
// console.log(queryData);
this.title = queryData.name;
- if (queryData.bgImg) {
- this.srcList = queryData.bgImg.split(",");
- this.url = this.srcList[0];
- }
+
if (queryData.seebut) {
this.seebut = queryData.seebut;
for (let k in this.seebut) {
@@ -109,6 +106,14 @@
name: "去这",
},
];
+ }
+ if (queryData.bgImg) {
+ this.srcList = queryData.bgImg.split(",");
+ this.url = this.srcList[0];
+ } else {
+ this.seebut = this.seebut.filter((res) => {
+ return res.name != "图集";
+ });
}
if (queryData.video) {
if (queryData.from == "labels") {
@@ -179,7 +184,9 @@
);
} else if (val == "图集") {
let imgsDom = document.getElementById("mobileBigImgs");
- imgsDom.click();
+ if (imgsDom) {
+ imgsDom.click();
+ }
} else if (val == "视频") {
this.seebut[this.seebut.length - 1].name = "返回";
this.video = this.query.query.video;
--
Gitblit v1.9.3