Browse Source

采购页优化

shish 3 years ago
parent
commit
8c766f74c1

+ 2 - 5
hdApp/src/pagesPurchase/bookProduct.vue

@@ -31,7 +31,7 @@
 					<text v-if="item.classId=='-1' || item.classId=='-3'" style="color: red">{{ item.className || "" }}</text>
 					<text v-else>{{ item.className }}</text>
 				</div>
-				<view style="height: 120upx"></view>
+				<view style="height:150upx"></view>
 			</scroll-view>
 			<scroll-view scroll-y class="right-box" :scroll-into-view="scroll_into_view" scroll-with-animation="true"
 																@scroll="scroll_detail"
@@ -772,10 +772,7 @@ export default {
 		box-sizing: border-box;
 	}
 	.item_list_bx {
-		padding: 40upx 16upx;
-		&:last-child{
-			margin-bottom: 70upx;
-		}
+		padding: 40upx 16upx 80upx 16upx;
 		.box{
 			height: 185upx
 		}

+ 3 - 5
hdApp/src/pagesPurchase/ghsProduct.vue

@@ -31,7 +31,7 @@
 					<text v-if="item.classId=='-1' || item.classId=='-3'" style="color: red;font-weight:bold;">{{ item.className || "" }}</text>
 					<text v-else>{{ item.className }}</text>
 				</div>
-				<view style="height: 120upx"></view>
+				<view style="height:150upx"></view>
 			</scroll-view>
 			<scroll-view scroll-y class="right-box" :scroll-into-view="scroll_into_view" scroll-with-animation="true"
 																@scroll="scroll_detail"
@@ -865,10 +865,7 @@ export default {
 		box-sizing: border-box;
 	}
 	.item_list_bx {
-		padding: 20upx 16upx;
-		&:last-child{
-			margin-bottom: 70upx;
-		}
+		padding: 20upx 16upx 80upx 16upx;
 		.box{
 			height: 185upx
 		}
@@ -891,6 +888,7 @@ export default {
 				padding:13upx 16upx;
 				font-size:30upx;
 				color:#3385ff;
+				z-index:999;
 			}
 		}
 	}

+ 3 - 19
hdApp/src/pagesPurchase/xj.vue

@@ -3,7 +3,7 @@
     	<view class="input-wrap">
 			<text>剩余:{{parseFloat(xjStock)}}扎</text><text style="margin-left:50upx;">单价:¥{{parseFloat(xjPrice)}}</text>
 		</view>
-		<view class="scroll-middle_bx">
+		<view style="margin-top:20upx;">
 			<block>
 				<view class="item_list_bx"  style="width: 100%;">
 					<view v-for="(xjItem,xjIndex) in xjList" :key="xjIndex">
@@ -32,7 +32,7 @@
 		</view>
 		<div class="app-footer footer-button">
 			<button class="admin-button-com big default" @click="clearXj()">清除全部</button>
-			<button class="admin-button-com big blue" @click="goBack()" style="margin-left:58upx;padding:30upx 55upx 30upx 55upx;">返回</button>
+			<button class="admin-button-com big default" @click="goBack()" style="margin-left:58upx;padding:30upx 55upx 30upx 55upx;">返回</button>
 			<button class="admin-button-com big blue" @click="confirmXj()" style="margin-left:58upx;padding:30upx 65upx; 30upx 65upx;" >确认</button>
 		</div>
 	</view>
@@ -189,23 +189,7 @@ export default {
 	flex-direction: column;
 	.input-wrap {
 		font-size:30upx;
-		display: flex;
-		padding: 22upx 20upx 22upx 30upx;
-		.search-bar {
-			flex: 1;
-		}
-		.city-select {
-			display: flex;
-			flex-shrink: 0;
-			align-items: center;
-			margin-right: 15upx;
-			margin-left: 45upx;
-			background-color: #ffff;
-			.iconfont {
-				margin-left: 20upx;
-				font-size: 30upx;
-			}
-		}
+		padding: 22upx 20upx 0upx 30upx;
 	}
 	.tab-view {
 		height: 100%;