improve: 样式及积分下单数量

This commit is contained in:
From-wh 2023-03-27 19:40:15 +08:00
parent 410ab07f58
commit 6061c44c0e
2 changed files with 7 additions and 4 deletions

View File

@ -33,7 +33,7 @@
</view>
</view>
</view>
<view class="cart acea-row row-between-wrapper">
<!-- <view class="cart acea-row row-between-wrapper">
<view class="title">{{$t(`数量`)}}</view>
<view class="carnum acea-row row-left">
<view class="item reduce acea-row row-center-wrapper"
@ -49,7 +49,7 @@
:class='(attr.productSelect.stock >= attr.productSelect.cart_num)? "on":""'
@click='CartNumAdd'>+</view>
</view>
</view>
</view> -->
</view>
</view>

View File

@ -25,7 +25,8 @@
:class="activePic == picList.length ? 'pic-box-color-active' : ''"
@click="picCharge(picList.length)">
<input type="number" :placeholder="$t(`其他`)" v-model="money"
class="pic-box-money pic-number-pic"
class="pic-box-money pic-number-pic"
:placeholder-class="activePic == picList.length ? 'active' :''"
:class="activePic == picList.length ? 'pic-box-color-active' : ''" />
</view>
<view class="tips-box">
@ -676,7 +677,9 @@
margin-right: 10rpx;
text-align: center;
}
.active{
color: #fff !important;
}
.pic-box-color-active {
background-color: var(--view-theme) !important;
color: #fff !important;