From 929cf4c7be11bfd1e134d0cb0d7cbbe94772ebdf Mon Sep 17 00:00:00 2001 From: zhangzengfei <zhangzengfei@iotlink.com> Date: 星期一, 07 九月 2020 15:35:14 +0800 Subject: [PATCH] 摄像机树增加导入功能 --- src/components/searching/SearchLeft.vue | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/components/searching/SearchLeft.vue b/src/components/searching/SearchLeft.vue index c04226f..060eaed 100644 --- a/src/components/searching/SearchLeft.vue +++ b/src/components/searching/SearchLeft.vue @@ -140,8 +140,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, @@ -211,7 +211,6 @@ if (res.data.smImage.length % 3 !== 0) { // 鐢ㄨ櫄鎷熶汉鍍忚ˉ鍏ㄦ暣琛� const length = res.data.smImage.length % 3 - console.log("鐪嬬湅length鐨勫��", length) this.unrealSmallPath.length = 0 for (var i = 0; i < 3 - length; i++) { this.unrealSmallPath.push(this.tempImg) @@ -335,6 +334,8 @@ padding: 5px; box-sizing: border-box; position: relative; + // display: inline-block; + // vertical-align: middle; img { width: 100%; cursor: pointer; -- Gitblit v1.8.0