From d093a961992dd932884015bd5282ba4ca20b97a0 Mon Sep 17 00:00:00 2001 From: hanbaoshan <hanbaoshan@aiotlink.com> Date: 星期四, 26 十一月 2020 11:42:30 +0800 Subject: [PATCH] ModalCard组件单独维护大图/视频切换字段,多个实例互不影响切换效果 --- src/components/searching/uploadForModel.vue | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/searching/uploadForModel.vue b/src/components/searching/uploadForModel.vue index dc764fa..85365f2 100644 --- a/src/components/searching/uploadForModel.vue +++ b/src/components/searching/uploadForModel.vue @@ -116,8 +116,8 @@ data() { return { tempUploadImg: "", - tempImg: require("../../assets/nobody.png"), - selectedIcon: require("../../assets/duihao.png"), + tempImg: "/images/search/nobody.png", + selectedIcon: "/images/search/duihao.png", bigPhoto: [], displayUpload: true, clickNum: 0, @@ -319,6 +319,8 @@ padding: 5px; box-sizing: border-box; position: relative; + // display: inline-block; + // vertical-align: middle; img { width: 100%; cursor: pointer; -- Gitblit v1.8.0