广告位
This commit is contained in:
parent
948118329d
commit
5620443d72
@ -1,10 +1,7 @@
|
||||
<template>
|
||||
<div class="main-content">
|
||||
<el-row>
|
||||
<el-col
|
||||
:span="12"
|
||||
:gutter="32"
|
||||
>
|
||||
<el-col :span="12">
|
||||
<div>
|
||||
<el-select
|
||||
v-model="platform_id"
|
||||
@ -150,8 +147,8 @@
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<div class="al-c mgl-20">
|
||||
<img src="https://resource.kingsome.cn/game_icon/5d39261f2002595e07b5cf42.png">
|
||||
<span class="dis-b">(广告位置坐标系)</span>
|
||||
<img src="https://resource.kingsome.cn/game_icon/5d3a9b3f85c9ac337d93dca6.png">
|
||||
<span class="dis-b c-t-4">广告位置坐标系</span>
|
||||
</div>
|
||||
|
||||
</el-col>
|
||||
@ -184,19 +181,19 @@ export default {
|
||||
areaList: [
|
||||
{
|
||||
name: '首页',
|
||||
value: 1
|
||||
value: '1'
|
||||
},
|
||||
{
|
||||
name: '游戏中',
|
||||
value: 2
|
||||
value: '2'
|
||||
},
|
||||
{
|
||||
name: '结算页',
|
||||
value: 3
|
||||
value: '3'
|
||||
},
|
||||
{
|
||||
name: '关闭',
|
||||
value: 4
|
||||
value: '4'
|
||||
}
|
||||
],
|
||||
typeList: [
|
||||
@ -396,9 +393,8 @@ export default {
|
||||
const data = res.data
|
||||
if (data.errcode === 0) {
|
||||
this.$message.success('广告位修改成功!')
|
||||
setTimeout(function() {
|
||||
self.$router.go(0)
|
||||
}, 1000)
|
||||
this.$refs[`adPos${index}`][0].clearValidate()
|
||||
this.getAdPosList()
|
||||
}
|
||||
})
|
||||
.catch(err => {
|
||||
@ -425,9 +421,8 @@ export default {
|
||||
const data = res.data
|
||||
if (data.errcode === 0) {
|
||||
this.$message.success('广告位新增成功!')
|
||||
setTimeout(function() {
|
||||
self.$router.go(0)
|
||||
}, 1000)
|
||||
this.$refs[`adPos${index}`][0].clearValidate()
|
||||
this.getAdPosList()
|
||||
}
|
||||
})
|
||||
.catch(err => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user