|
@@ -148,7 +148,7 @@
|
|
|
</el-tooltip>
|
|
|
</div>
|
|
|
</div>
|
|
|
-<!--
|
|
|
+
|
|
|
<div class="f_aRow f_ar_icon">
|
|
|
<span>默认图标</span>
|
|
|
<div class="f_icon" style="margin-left: 10px">
|
|
@@ -201,7 +201,34 @@
|
|
|
</el-image>
|
|
|
</el-tooltip>
|
|
|
</div>
|
|
|
- </div> -->
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="f_aRow f_ar_icon">
|
|
|
+ <span>hover图标</span>
|
|
|
+ <div class="f_icon" style="margin-left: 10px">
|
|
|
+ <el-tooltip
|
|
|
+ class="item"
|
|
|
+ effect="dark"
|
|
|
+ :content="item.hoverIcon ? '更改图标' : '上传图标'"
|
|
|
+ placement="top"
|
|
|
+ >
|
|
|
+ <el-image
|
|
|
+ style="width: 100%; height: 100%"
|
|
|
+ :src="item.hoverIcon"
|
|
|
+ fit="cover"
|
|
|
+ @click="addUrlIcon(index, 'hoverIcon')"
|
|
|
+ >
|
|
|
+ <div
|
|
|
+ slot="error"
|
|
|
+ class="image-slot"
|
|
|
+ @click="addUrlIcon(index, 'hoverIcon')"
|
|
|
+ >
|
|
|
+ <i class="el-icon-picture-outline"></i>
|
|
|
+ </div>
|
|
|
+ </el-image>
|
|
|
+ </el-tooltip>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<div class="f_hr"></div>
|
|
|
</div>
|
|
@@ -237,8 +264,9 @@ export default {
|
|
|
icon: "",
|
|
|
name: "",
|
|
|
platformIcon: "",
|
|
|
- // activeIcon: "",
|
|
|
- // defaultIcon: "",
|
|
|
+ activeIcon: "",
|
|
|
+ defaultIcon: "",
|
|
|
+ hoverIcon:""
|
|
|
},
|
|
|
{
|
|
|
region: "beta",
|
|
@@ -246,8 +274,9 @@ export default {
|
|
|
icon: "",
|
|
|
name: "",
|
|
|
platformIcon: "",
|
|
|
- // activeIcon: "",
|
|
|
- // defaultIcon: "",
|
|
|
+ activeIcon: "",
|
|
|
+ defaultIcon: "",
|
|
|
+ hoverIcon:""
|
|
|
},
|
|
|
{
|
|
|
region: "hk",
|
|
@@ -255,8 +284,9 @@ export default {
|
|
|
icon: "",
|
|
|
name: "",
|
|
|
platformIcon: "",
|
|
|
- // activeIcon: "",
|
|
|
- // defaultIcon: "",
|
|
|
+ activeIcon: "",
|
|
|
+ defaultIcon: "",
|
|
|
+ hoverIcon:""
|
|
|
},
|
|
|
{
|
|
|
region: "com",
|
|
@@ -264,8 +294,9 @@ export default {
|
|
|
icon: "",
|
|
|
name: "",
|
|
|
platformIcon: "",
|
|
|
- // activeIcon: "",
|
|
|
- // defaultIcon: "",
|
|
|
+ activeIcon: "",
|
|
|
+ defaultIcon: "",
|
|
|
+ hoverIcon:""
|
|
|
},
|
|
|
],
|
|
|
json: "",
|
|
@@ -311,8 +342,9 @@ export default {
|
|
|
icon: "",
|
|
|
name: "",
|
|
|
platformIcon: "",
|
|
|
- // activeIcon: "",
|
|
|
- // defaultIcon: "",
|
|
|
+ activeIcon: "",
|
|
|
+ defaultIcon: "",
|
|
|
+ hoverIcon:""
|
|
|
},
|
|
|
{
|
|
|
region: "beta",
|
|
@@ -320,8 +352,9 @@ export default {
|
|
|
icon: "",
|
|
|
name: "",
|
|
|
platformIcon: "",
|
|
|
- // activeIcon: "",
|
|
|
- // defaultIcon: "",
|
|
|
+ activeIcon: "",
|
|
|
+ defaultIcon: "",
|
|
|
+ hoverIcon:""
|
|
|
},
|
|
|
{
|
|
|
region: "hk",
|
|
@@ -329,8 +362,9 @@ export default {
|
|
|
icon: "",
|
|
|
name: "",
|
|
|
platformIcon: "",
|
|
|
- // activeIcon: "",
|
|
|
- // defaultIcon: "",
|
|
|
+ activeIcon: "",
|
|
|
+ defaultIcon: "",
|
|
|
+ hoverIcon:""
|
|
|
},
|
|
|
{
|
|
|
region: "com",
|
|
@@ -338,8 +372,9 @@ export default {
|
|
|
icon: "",
|
|
|
name: "",
|
|
|
platformIcon: "",
|
|
|
- // activeIcon: "",
|
|
|
- // defaultIcon: "",
|
|
|
+ activeIcon: "",
|
|
|
+ defaultIcon: "",
|
|
|
+ hoverIcon:""
|
|
|
},
|
|
|
],
|
|
|
json: "",
|
|
@@ -363,6 +398,7 @@ export default {
|
|
|
let _url = await this.uploadFile("image/*");
|
|
|
if (_url) {
|
|
|
this.form.url[index][type] = _url;
|
|
|
+ this.$forceUpdate();
|
|
|
} else {
|
|
|
return console.log("无图片");
|
|
|
}
|