...
|
...
|
@@ -38,17 +38,46 @@ |
|
|
</div>
|
|
|
</div>
|
|
|
<div class="but-url">
|
|
|
<span>默认跳转链接</span>
|
|
|
<span style="font-weight: 600;color: #1890ff;">默认行为</span>
|
|
|
<a-radio-group v-model="defaultBehavior">
|
|
|
<a-radio :value="0">跳转链接地址</a-radio>
|
|
|
<a-radio :value="1">弹窗提示信息</a-radio>
|
|
|
</a-radio-group>
|
|
|
<br/>
|
|
|
<a-input
|
|
|
v-if="url"
|
|
|
class="right-center"
|
|
|
type="text"
|
|
|
placeholder="url链接"
|
|
|
placeholder=""
|
|
|
v-model="item.url"
|
|
|
/>
|
|
|
</div>
|
|
|
<div class="but-renage">
|
|
|
<span style="font-weight: 600;">是否受活动时间影响</span>
|
|
|
<div class="ren">
|
|
|
<a-radio-group v-model="item.isOpenActivityPersonCount">
|
|
|
<a-radio :value="1">开启</a-radio>
|
|
|
<a-radio :value="0">关闭</a-radio>
|
|
|
</a-radio-group>
|
|
|
</div>
|
|
|
<p class="renage">
|
|
|
活动未开始:按钮失效,点击提示文字(活动暂未开始);活动已结束:按钮失效,点击提示文字(活动已经结束)
|
|
|
</p>
|
|
|
</div>
|
|
|
<div class="but-renage">
|
|
|
<span style="font-weight: 600;">是否受活动人数影响</span>
|
|
|
<div class="ren">
|
|
|
<a-radio-group v-model="item.isOpenActivityPersonCount">
|
|
|
<a-radio :value="1">开启</a-radio>
|
|
|
<a-radio :value="0">关闭</a-radio>
|
|
|
</a-radio-group>
|
|
|
</div>
|
|
|
<p class="renage">
|
|
|
开启后:达到人数上限后,按钮失效,点击提示文字(人数已达上线);关闭后:将不限制人数,执行默认行为
|
|
|
</p>
|
|
|
</div>
|
|
|
<div class="but-kaihu">
|
|
|
<span>是否受开户影响</span>
|
|
|
<span style="font-weight: 600;">是否受开户影响</span>
|
|
|
<div class="kaihu-right">
|
|
|
<a-radio-group v-model="item.isOpenAccount">
|
|
|
<a-radio :value="1">开启</a-radio>
|
...
|
...
|
@@ -56,42 +85,52 @@ |
|
|
</a-radio-group>
|
|
|
<div class="kaihu-shifou">
|
|
|
<div>
|
|
|
<span>已开户</span>
|
|
|
<span>已开户(在本活动)</span>
|
|
|
<a-radio-group v-model="defaultBehaviorYZ">
|
|
|
<a-radio :value="0">跳转链接地址</a-radio>
|
|
|
<a-radio :value="1">弹窗提示信息</a-radio>
|
|
|
</a-radio-group>
|
|
|
<a-input
|
|
|
v-if="url"
|
|
|
class="right-center"
|
|
|
type="text"
|
|
|
placeholder="url链接"
|
|
|
placeholder=""
|
|
|
v-model="item.openAccountUrl"
|
|
|
/>
|
|
|
</div>
|
|
|
<div>
|
|
|
<span>已开户(非本活动)</span>
|
|
|
<a-radio-group v-model="defaultBehaviorYF">
|
|
|
<a-radio :value="0">跳转链接地址</a-radio>
|
|
|
<a-radio :value="1">弹窗提示信息</a-radio>
|
|
|
</a-radio-group>
|
|
|
<a-input
|
|
|
v-if="url"
|
|
|
class="right-center"
|
|
|
type="text"
|
|
|
placeholder=""
|
|
|
v-model="item.openAccountUrl"
|
|
|
/>
|
|
|
</div>
|
|
|
<div>
|
|
|
<span>未开户</span>
|
|
|
<a-radio-group v-model="defaultBehaviorWZ">
|
|
|
<a-radio :value="0">跳转链接地址</a-radio>
|
|
|
<a-radio :value="1">弹窗提示信息</a-radio>
|
|
|
</a-radio-group>
|
|
|
<a-input
|
|
|
v-if="url"
|
|
|
class="right-center"
|
|
|
type="text"
|
|
|
placeholder="url链接"
|
|
|
placeholder=""
|
|
|
v-model="item.notOpenAccountUrl"
|
|
|
/>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="but-renage">
|
|
|
<span>是否受活动人数限制</span>
|
|
|
<div class="ren">
|
|
|
<a-radio-group v-model="item.isOpenActivityPersonCount">
|
|
|
<a-radio :value="1">开启</a-radio>
|
|
|
<a-radio :value="0">关闭</a-radio>
|
|
|
</a-radio-group>
|
|
|
</div>
|
|
|
<p class="renage">
|
|
|
开启后:达到人数上限后,按钮失效,点击提示文字(人数已达上线);关闭后:将不限制人数,执行默认链接跳转
|
|
|
</p>
|
|
|
</div>
|
|
|
<div class="but-show">
|
|
|
<span>显示当前参与人数</span>
|
|
|
<span style="font-weight: 600;">显示当前参与人数</span>
|
|
|
<div class="show">
|
|
|
<a-radio-group class="radio-w" v-model="item.isDisplayActivityPersonCount">
|
|
|
<a-radio :value="1">开启</a-radio>
|
...
|
...
|
@@ -172,7 +211,7 @@ export default { |
|
|
// 自定义按钮名
|
|
|
Button: {
|
|
|
type: String,
|
|
|
default: '自定义按钮配置'
|
|
|
default: ''
|
|
|
},
|
|
|
// 是否显示icon
|
|
|
icon: {
|
...
|
...
|
@@ -189,7 +228,11 @@ export default { |
|
|
4: '时光机规则按钮',
|
|
|
5: '点击时光机按钮',
|
|
|
6: '点击时光机按钮'
|
|
|
}
|
|
|
},
|
|
|
defaultBehavior: 0, // 自定义按钮的默认行为 0:跳转链接 1:弹窗提示
|
|
|
defaultBehaviorYZ: 0,
|
|
|
defaultBehaviorYF: 0,
|
|
|
defaultBehaviorWZ: 0
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
...
|
...
|
@@ -209,6 +252,7 @@ export default { |
|
|
span {
|
|
|
margin-right: 10px;
|
|
|
width: 115px;
|
|
|
white-space: nowrap;
|
|
|
}
|
|
|
.custombutton-style {
|
|
|
position: relative;
|
...
|
...
|
@@ -236,7 +280,8 @@ span { |
|
|
}
|
|
|
.but-url {
|
|
|
display: flex;
|
|
|
|
|
|
flex-wrap: wrap;
|
|
|
align-items: center;
|
|
|
}
|
|
|
.but-kaihu {
|
|
|
display: flex;
|
...
|
...
|
@@ -248,8 +293,10 @@ span { |
|
|
flex-direction: column;
|
|
|
div {
|
|
|
display: flex;
|
|
|
flex-wrap: wrap;
|
|
|
align-items: center;
|
|
|
span {
|
|
|
width: 70px;
|
|
|
width: 120px;
|
|
|
}
|
|
|
}
|
|
|
}
|
...
|
...
|
@@ -257,6 +304,8 @@ span { |
|
|
}
|
|
|
.but-renage {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
flex-wrap: wrap;
|
|
|
.ren {
|
|
|
margin-left: 14px;
|
|
|
width: 215px;
|
...
|
...
|
@@ -289,4 +338,7 @@ span { |
|
|
margin: 0 5px;
|
|
|
}
|
|
|
}
|
|
|
.ant-radio-group{
|
|
|
white-space: nowrap;
|
|
|
}
|
|
|
</style> |
...
|
...
|
|