校园币管理页面,输入框对齐

dev
zhangqibo 2024-08-12 22:23:05 +08:00 committed by QB
parent f0d61dfa15
commit 048b46ca13
1 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@
<p class="box_title">{{ item.title }}</p> <p class="box_title">{{ item.title }}</p>
<!-- 输入 --> <!-- 输入 -->
<view class="input_box" v-if="item.cut == 0"> <view class="input_box" v-if="item.cut == 0">
<p>每日可获取奖励次数:</p> <p style="width: 45%;">每日可获取奖励次数:</p>
<input :class="change_id == item.id ? 'input_active' : ''" type="number" placeholder="1" <input :class="change_id == item.id ? 'input_active' : ''" type="number" placeholder="1"
v-model.number="item.dayCount" :disabled="change_id == item.id & item.cut == 0 ? false : true"> v-model.number="item.dayCount" :disabled="change_id == item.id & item.cut == 0 ? false : true">
</input> </input>
@ -20,7 +20,7 @@
:customStyle="{ :customStyle="{
borderColor:'#ff0004 !important', borderColor:'#ff0004 !important',
width: '100%', width: '100%',
height: '66rpx' height: '58rpx'
}" }"
fontSize="22rpx" color="#999999" fontSize="22rpx" color="#999999"
> >
@ -32,7 +32,7 @@
<!-- 第二个输入 --> <!-- 第二个输入 -->
<view class="input_box"> <view class="input_box">
<p>每次可获得校园币:</p><input type="number" :class="change_id == item.id ? 'input_active' : ''" placeholder="1" <p>每次可获得校园币:</p><input type="number" :class="change_id == item.id ? 'input_active' : ''" placeholder="1"
v-model.number="item.rewards" :disabled="change_id == item.id ? false : true" /> v-model.number="item.rewards" :disabled="change_id == item.id ? false : true" style="width: 58%;"/>
</view> </view>
<!-- 按钮 --> <!-- 按钮 -->
<view class="item_btns" v-if="change_id == item.id"> <view class="item_btns" v-if="change_id == item.id">