فهرست منبع

更改图标-加大字体、图标

jf 5 سال پیش
والد
کامیت
0ca89b8c59

+ 3 - 5
ghsApp/src/admin/billing/index.vue

@@ -75,7 +75,7 @@
 				<view class="select-cmd_bx" v-if="customData">
 					<view class="kc"> 库存{{ customData.stock }} </view>
 					<view class="num_bx">
-						<input v-model="customData.bigCount" type="number" focus />扎
+						<input v-model="customData.bigCount" type="number" />扎
 						<input v-model="customData.smallCount" type="number" style="margin-left:24upx" />支
 					</view>
 				</view>
@@ -179,10 +179,7 @@ export default {
 				const ratioNum = Number(ratio);
 
 				//超过库存时 设置为库存最大值
-				if (
-					Number(bigCount) * ratioNum + Number(smallCount) >
-					Number(bigNum) * ratioNum + Number(smallNum)
-				) {
+				if (Number(bigCount) * ratioNum + Number(smallCount) > Number(bigNum) * ratioNum + Number(smallNum)) {
 					uni.showToast({
 						title: `库存只有${bigNum}${bigUnit}${smallNum}${smallUnit}`,
 						icon: "none"
@@ -325,6 +322,7 @@ export default {
 				border-radius: 4px;
 				text-align: center;
 				margin-right: 24px;
+				font-size: 40rpx;
 			}
 		}
 	}

+ 8 - 5
ghsApp/src/components/module/app-commodity.vue

@@ -10,7 +10,7 @@
 				<view class="price">¥{{ info.price }}</view>
 				<view class="open-bx" v-if="type == COMMODITY_TYPE.COMMON">
 					<i
-						class="iconfont iconjianqu"
+						class="iconfont iconjian"
 						@click="delEvent"
 						v-if="bigCount > 0 || smallCount > 0"
 					></i>
@@ -19,7 +19,7 @@
 						<text v-if="smallCount > 0">/</text>
 						<text v-if="smallCount > 0">{{ `${smallCount}` }}</text>
 					</text>
-					<i class="iconfont icontianjia" @click="addEvent"></i>
+					<i class="iconfont iconzeng" @click="addEvent"></i>
 				</view>
 				<view class="open-bx" v-else-if="type == COMMODITY_TYPE.CHANGE">
 					<input
@@ -138,7 +138,7 @@ export default {
 				align-items: center;
 				& .iconfont {
 					color: #3385ff;
-					font-size: 40px;
+					font-size: 50px;
 				}
 				.iconcachu {
 					margin: 0 6px 0 20px;
@@ -149,11 +149,14 @@ export default {
 				}
 				& > .num {
 					display: inline-block;
+					width: 120rpx;
+					text-align:center;
 					margin: 0 8px;
-					color: #333333;
+					color: #5C5C5C;
 					border-radius: 22px;
 					background-color: #f5f5f5;
-					padding: 5px 36px;
+					padding: 10px 0;
+					font-size: 32rpx;
 				}
 				.change-input {
 					width: 164px;

+ 2 - 5
ghsApp/src/pagesPurchase/add.vue

@@ -118,11 +118,7 @@
 								数量
 							</view>
 							<input v-model="customData.bigCount" type="number" focus />扎
-							<input
-								v-model="customData.smallCount"
-								type="number"
-								style="margin-left:24upx"
-							/>支
+							<input v-model="customData.smallCount" type="number" style="margin-left:24upx"/>支
 						</view>
 					</view>
 				</view>
@@ -336,6 +332,7 @@ export default {
 				border-radius: 4px;
 				text-align: center;
 				margin-right: 24px;
+				font-size: 40rpx;
 			}
 		}
 	}

+ 6 - 3
ghsApp/src/pagesPurchase/components/CommodityPurchase.vue

@@ -135,7 +135,7 @@ export default {
 				align-items: center;
 				& .iconfont {
 					color: #4db0e4;
-					font-size: 40px;
+					font-size: 50px;
 				}
 				.icondelete {
 					margin: 0 10px 0 30px;
@@ -146,11 +146,14 @@ export default {
 				}
 				& > .num {
 					display: inline-block;
+					width: 120rpx;
+					text-align:center;
 					margin: 0 8px;
-					color: #333333;
+					color: #5C5C5C;
 					border-radius: 22px;
 					background-color: #f5f5f5;
-					padding: 5px 36px;
+					padding: 10px 0;
+					font-size: 32rpx;
 				}
 				.change-input {
 					width: 164px;