优化管理端校园币管理和等级管理界面UI

dev
zhangqibo 2024-08-13 18:33:24 +08:00 committed by QB
parent 4860951d1d
commit f6521d7150
2 changed files with 9 additions and 8 deletions

View File

@ -7,7 +7,7 @@
<view class="input_box" v-if="item.cut == 0">
<p style="width: 45%;">每日可获取奖励次数:</p>
<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" style="width: 395rpx;">
</input>
</view>
<view class="input_box" v-else>
@ -20,7 +20,7 @@
:customStyle="{
borderColor:'#ff0004 !important',
width: '100%',
height: '58rpx'
height: '55rpx'
}"
fontSize="22rpx" color="#999999"
>
@ -32,7 +32,7 @@
<!-- 第二个输入 -->
<view class="input_box">
<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" style="width: 58%;"/>
v-model.number="item.rewards" :disabled="change_id == item.id ? false : true" style="width: 360rpx;"/>
</view>
<!-- 按钮 -->
<view class="item_btns" v-if="change_id == item.id">

View File

@ -7,7 +7,7 @@
<view class="input_box" v-if="item.cut == 0">
<p>每日可获取奖励次数:</p>
<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" style="width: 350rpx;">
</input>
</view>
@ -21,9 +21,9 @@
<up-input v-model="item.cutInfo" disabled="true" disabledColor="#F4F5F6" :customStyle="{
borderRadius: '4px !important',
borderColor:'#FA3939 !important',
width: '100%',
height: '66rpx'
}" fontSize="22rpx" color="#999999">
width: '100% !important',
height: '55rpx',
}" fontSize="22rpx" color="#999999" style="width: 350rpx;">
<template #suffix>
<view class="cut1">不可修改</view>
</template>
@ -32,7 +32,7 @@
<!-- 第二个输入 -->
<view class="input_box">
<p>每次可获得活跃度:</p><input type="number" :class="change_id == item.id ? 'input_active' : ''" placeholder="1"
v-model.number="item.livelySum" :disabled="change_id == item.id ? false : true" />
v-model.number="item.livelySum" :disabled="change_id == item.id ? false : true" style="width: 350rpx;"/>
</view>
<!-- 按钮 -->
<view class="item_btns" v-if="change_id == item.id">
@ -282,6 +282,7 @@
}
input {
height: 50rpx;
background-color: #F4F5F6;
border-radius: 8rpx 8rpx 8rpx 8rpx;
padding-left: 10rpx;