Bladeren bron

bug 修复

lilei 2 jaren geleden
bovenliggende
commit
9967ffd01a

+ 2 - 2
pages/shuntBackManage/addBackOrder.vue

@@ -1,7 +1,7 @@
 <template>
 	<view class="content flex flex_column">
-		<u-navbar back-text="新增调回单" :border-bottom="false">
-			<view slot='right' style="padding: 0 30upx;" v-if="recallBillList.length" @click="toChooseProduct">
+		<u-navbar back-text="新增调回单" :border-bottom="false" :background="{backgroundColor: $config('primaryColor')}" back-icon-color="#fff" :back-text-style="{ color: '#fff' }">
+			<view slot='right' style="padding: 0 30upx;color: #ffffff;" v-if="recallBillList.length" @click="toChooseProduct">
 				<u-icon name="chuangjiandingdan" custom-prefix="iscm-icon"></u-icon>
 				<text style="margin-left: 6rpx;">选择产品</text>
 			</view>

+ 13 - 7
pages/shuntBackManage/chooseProduct.vue

@@ -67,7 +67,7 @@
 			</view>
 		</u-popup>
 		<!-- 详情弹窗 -->
-		<u-popup v-model="isDetailShow" mode="bottom" height="800" border-radius="25" :closeable="true">
+		<u-popup v-model="isDetailShow" mode="bottom" :duration="0" height="800" border-radius="25" :closeable="true">
 				<view class="head">
 					已选产品
 					<text @click="clearChoose">清空列表</text>
@@ -90,7 +90,7 @@
 									<view class="productName u-line-2">
 										{{item.productName}}
 									</view>
-									<view class="ptxt flex align_center">
+									<view class="ptxt flex align_center justify_end">
 										<view>
 											最大库容
 											<text class="pnums">{{item.maxQty}}</text>
@@ -177,6 +177,12 @@
 			};
 			this.loadData(ajaxData);
 		},
+		onReady() {
+			uni.setNavigationBarColor({
+				frontColor: '#ffffff',
+				backgroundColor: this.$config('primaryColor')
+			})
+		},
 		computed: {
 			totalCategory () {
 			  return this.chooseList.length
@@ -424,7 +430,7 @@
 	width: 100%;
 	background: #fff;
 	.searchBar{
-		padding: 0 0.8rem 0.3rem;
+		padding: 0.5rem 0.3rem;
 		.p-title{
 			padding: 0 15rpx;
 			display: flex;
@@ -591,7 +597,7 @@
 						}
 						.productName{
 							width: 100%;
-							font-size: 26rpx;
+							font-size: 30rpx;
 							margin:6rpx 0;
 						}
 						.pno {
@@ -603,7 +609,7 @@
 							margin-right: 10rpx;
 						}
 						.ptxt {
-							font-size: 24rpx;
+							font-size: 28rpx;
 							color: #999;
 							.pnums {
 								color: #222;
@@ -613,10 +619,10 @@
 					}
 				}
 				.ptools {
-					margin-top: 30rpx;
+					margin-top: 10rpx;
 					margin-left: 60rpx;
 					.ptools_l{
-						font-size: 24rpx;
+						font-size: 26rpx;
 						color: #999;
 						view{
 							:nth-child(2)::before{

+ 3 - 3
pages/shuntBackManage/productList.vue

@@ -18,7 +18,7 @@
 							<view class="pname pname1">
 								{{item.productName}}
 							</view>
-							<view class="ptxt flex align_center">
+							<view class="ptxt flex align_center justify_end">
 								<view>
 									最大库容
 									<text class="pnums">{{item.maxQty}}</text>
@@ -188,12 +188,12 @@
 					}
 				}
 				.pname1{
-					font-size: 28rpx;
+					font-size: 30rpx;
 				}
 			}
 		}
 		.ptxt{
-			font-size: 24rpx;
+			font-size: 28rpx;
 			color: #999;
 			.pnums{
 				color: #222;