feat:课程库授权名单样式 以及项目基础信息抽屉中输入框最大最小值正整数限制

This commit is contained in:
dongwug
2022-10-25 17:19:28 +08:00
parent 287596f2ae
commit 2393e223a5
6 changed files with 79 additions and 42 deletions

View File

@@ -90,9 +90,16 @@
<span style="margin-right: 3px">活动时长</span>
</div>
<div class="btnbox">
<a-input
<a-input-number
:min="0"
:precision="0"
style="
width: 388px;
height: 32px;
border-radius: 8px;
overflow: hidden;
"
v-model:value="inputV2"
style="width: 388px; height: 32px"
/>
<span style="margin-left: 5px">分钟</span>
</div>
@@ -126,18 +133,34 @@
<div class="setbox">
<div class="timerbox">
<span>开始前</span>
<a-input
style="width: 88px; height: 32px"
<a-input-number
:min="0"
:max="30"
:precision="0"
style="
width: 88px;
height: 32px;
border-radius: 8px;
overflow: hidden;
"
:v-model:value="inputV4"
></a-input>
/>
<span style="color: #999999; margin-left: 8px">分钟</span>
</div>
<div class="timerbox">
<span>开始后</span>
<a-input
style="width: 88px; height: 32px"
<a-input-number
:min="0"
:max="30"
:precision="0"
style="
width: 88px;
height: 32px;
border-radius: 8px;
overflow: hidden;
"
:v-model:value="inputV5"
></a-input>
/>
<span style="color: #999999; margin-left: 8px">分钟</span>
</div>
</div>
@@ -147,10 +170,18 @@
<div class="setbox">
<div class="timerbox">
<span>结束前</span>
<a-input
style="width: 88px; height: 32px"
<a-input-number
:min="0"
:max="30"
:precision="0"
style="
width: 88px;
height: 32px;
border-radius: 8px;
overflow: hidden;
"
:v-model:value="inputV6"
></a-input>
/>
<span style="color: #999999; margin-left: 8px"
>分钟提前签退则记为早退</span
>
@@ -164,9 +195,11 @@
</div>
<div class="btnbox">
<a-radio-group v-model:value="radioV1">
<a-radio v-model:checked="checked" :value="1" @click="cloradio1">仅签到</a-radio>
<a-radio v-model:checked="checked" :value="1" @click="cloradio1"
>仅签到</a-radio
>
<a-radio v-model:checked="checked" :value="2" @click="cloradio1"
>签到签退全部完成</a-radio
>签到签退全部完成</a-radio
>
</a-radio-group>
</div>
@@ -231,7 +264,7 @@ export default {
if (value != "") {
state.radioV1 = "";
}
}
};
return {
...toRefs(state),
afterVisibleChange,