|
@@ -213,12 +213,12 @@ export default {
|
|
|
image: 3,
|
|
|
};
|
|
|
for (const k in val) {
|
|
|
- this.rightList[obj[k]].show = true;
|
|
|
+ if (val[k].length) this.rightList[obj[k]].show = true;
|
|
|
}
|
|
|
- if (val["image"]) this.type = "image";
|
|
|
- else if (val["video"]) this.type = "video";
|
|
|
- else if (val["link"]) this.type = "link";
|
|
|
- else if (val["audio"]) this.type = "audio";
|
|
|
+ if (val["image"] && val["image"].length) this.type = "image";
|
|
|
+ else if (val["video"] && val["video"].length) this.type = "video";
|
|
|
+ else if (val["link"] && val["link"].length) this.type = "link";
|
|
|
+ else if (val["audio"] && val["audio"].length) this.type = "audio";
|
|
|
},
|
|
|
immediate: true,
|
|
|
},
|
|
@@ -281,8 +281,8 @@ export default {
|
|
|
.mainrr {
|
|
|
display: flex;
|
|
|
position: absolute;
|
|
|
- bottom: 30px;
|
|
|
- right: 40px;
|
|
|
+ bottom: 15px;
|
|
|
+ right: 20px;
|
|
|
z-index: 10;
|
|
|
.row {
|
|
|
position: relative;
|