Bladeren bron

improve: 样式及积分下单数量

From-wh 2 jaren geleden
bovenliggende
commit
6061c44c0e

+ 2 - 2
template/uni-app/pages/points_mall/component/productWindow.vue

@@ -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>

+ 5 - 2
template/uni-app/pages/users/user_payment/index.vue

@@ -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;