Commit 0c42955f authored by 黄奎's avatar 黄奎

页面

parent 8b7106a1
...@@ -30,15 +30,18 @@ ...@@ -30,15 +30,18 @@
</div> </div>
</el-form-item> </el-form-item>
<el-form-item label="热区"> <el-form-item label="热区">
<choiceArea :multiple="true" :max="2" :pic-url="addMsg.imgUrl==''?domainManager().ImageUrl+'/Static/auth-default.png':getIconLink(addMsg.imgUrl)" mode='auth' :hotspot-array="addMsg.hotspot" <choiceArea :multiple="true" :max="2"
width="650px" height="700px" @confirm="selectHotspot" :is-link="false"> :pic-url="addMsg.imgUrl==''?domainManager().ImageUrl+'/Static/auth-default.png':getIconLink(addMsg.imgUrl)"
mode='auth' :hotspot-array="addMsg.hotspot" width="650px" height="700px" @confirm="selectHotspot"
:is-link="false">
<el-button size="mini">划分热区</el-button> <el-button size="mini">划分热区</el-button>
</choiceArea> </choiceArea>
<div>注:需要划分两个热区:一个是登录按钮热区,一个是暂不登录按钮热区</div> <div>注:需要划分两个热区:一个是登录按钮热区,一个是暂不登录按钮热区</div>
</el-form-item> </el-form-item>
</el-form> </el-form>
</el-card> </el-card>
<el-button type="primary" style="margin-top:20px;padding:9px 25px" size="small" @click="saveMsg">保存</el-button> <el-button type="primary" style="margin-top:20px;padding:9px 25px" size="small" @click="saveMsg">保存
</el-button>
</div> </div>
</div> </div>
</div> </div>
...@@ -79,15 +82,16 @@ ...@@ -79,15 +82,16 @@
methods: { methods: {
//保存 //保存
saveMsg() { saveMsg() {
this.apipost("/api/Tenant/SetMallMagic", this.addMsg, res => { console.log("this.addMsg", this.addMsg);
if (res.data.resultCode == 1) { // this.apipost("/api/Tenant/SetMallMagic", this.addMsg, res => {
this.getList(); // if (res.data.resultCode == 1) {
this.clearInfo(); // this.getList();
this.authorizaAdd = true; // this.clearInfo();
} else { // this.authorizaAdd = true;
this.Info(res.data.message); // } else {
} // this.Info(res.data.message);
}) // }
// })
}, },
//选择图片 //选择图片
SelectId(msg) { SelectId(msg) {
...@@ -98,10 +102,8 @@ ...@@ -98,10 +102,8 @@
selectHotspot(list) { selectHotspot(list) {
this.addMsg.hotspot = list; this.addMsg.hotspot = list;
}, },
}, },
mounted() { mounted() {}
}
}; };
</script> </script>
...@@ -134,7 +136,7 @@ ...@@ -134,7 +136,7 @@
transform: scale(0.5); transform: scale(0.5);
} }
.authoriza .Auth_imgList{ .authoriza .Auth_imgList {
height: 222px; height: 222px;
width: 125px; width: 125px;
border: 1px solid #e3e3e3; border: 1px solid #e3e3e3;
...@@ -143,14 +145,17 @@ ...@@ -143,14 +145,17 @@
margin-bottom: 10px; margin-bottom: 10px;
position: relative; position: relative;
} }
.authoriza .Auth_imgList img{
.authoriza .Auth_imgList img {
max-width: 100%; max-width: 100%;
max-height: 100%; max-height: 100%;
} }
.authoriza .image-delete{
.authoriza .image-delete {
position: absolute; position: absolute;
right: -8px; right: -8px;
top: -8px; top: -8px;
padding: 4px 4px; padding: 4px 4px;
} }
</style> </style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment