Selaa lähdekoodia

app 显示优化

shish 4 vuotta sitten
vanhempi
commit
8b07c97af3

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

@@ -302,7 +302,7 @@ export default {
 				}
 				let customName = this.option.customName ? this.option.customName : '';
 
-				let orderId = this.option.orderId  ? this.option.orderId : 0 
+				let orderId = this.option.orderId  ? this.option.orderId : 0
 
 				uni.navigateTo({url: "/admin/billing/affirm?customId="+this.option.customId+"&customName="+customName+"&orderId="+orderId});
 			} else {
@@ -335,7 +335,7 @@ export default {
 	}
 	.tab-view {
 		position: relative;
-		height: 1000upx;
+		height: calc(100vh - 140upx);
 		width: 170upx;
 		flex-shrink: 0;
 		background-color: #f0f2f6;
@@ -382,7 +382,7 @@ export default {
 		}
 	}
 	.right-box {
-		height: 1000upx;
+		height: calc(100vh - 140upx);
 		flex: 1;
 		box-sizing: border-box;
 	}

+ 2 - 2
ghsApp/src/admin/breakage/index.vue

@@ -261,7 +261,7 @@ export default {
 	}
 	.tab-view {
 		position: relative;
-		height: 1000upx;
+		height: calc(100vh - 140upx);
 		width: 170upx;
 		flex-shrink: 0;
 		background-color: #f0f2f6;
@@ -308,7 +308,7 @@ export default {
 		}
 	}
 	.right-box {
-		height: 1000upx;
+		height: calc(100vh - 140upx);
 		flex: 1;
 		box-sizing: border-box;
 

+ 2 - 2
ghsApp/src/admin/item/list.vue

@@ -233,7 +233,7 @@ export default {
 		overflow: hidden;
 	}
 	.tab-view {
-		height: 1000upx;
+		height: calc(100vh - 140upx);
 		width: 170upx;
 		flex-shrink: 0;
 		background-color: #f0f2f6;
@@ -282,7 +282,7 @@ export default {
 		}
 	}
 	.right-box {
-		height: 1000upx;
+		height: calc(100vh - 140upx);
 		flex: 1;
 		box-sizing: border-box;
 	}

+ 0 - 1
ghsApp/src/main.js

@@ -3,7 +3,6 @@ import App from "./App";
 
 import constants from "@/constant/index";
 Vue.prototype.$constant = constants;
-import "./static/iconfont/iconfont.css";
 import "@/filters/index";
 
 import util from "./utils/util";

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

@@ -316,7 +316,7 @@ export default {
 		overflow: hidden;
 	}
 	.tab-view {
-		height: 1000upx;
+		height: calc(100vh - 140upx);
 		width: 170upx;
 		flex-shrink: 0;
 		background-color: #f0f2f6;
@@ -365,7 +365,7 @@ export default {
 		}
 	}
 	.right-box {
-		height: 1000upx;
+		height: calc(100vh - 140upx);
 		flex: 1;
 		box-sizing: border-box;
 	}

+ 2 - 2
ghsApp/src/pagesStorehouse/allot/exSelect.vue

@@ -277,7 +277,7 @@ export default {
 		overflow: hidden;
 	}
 	.tab-view {
-		height: 1000upx;
+		height: calc(100vh - 140upx);
 		width: 170upx;
 		flex-shrink: 0;
 		background-color: #f0f2f6;
@@ -324,7 +324,7 @@ export default {
 		}
 	}
 	.right-box {
-		height: 1000upx;
+		height: calc(100vh - 140upx);
 		flex: 1;
 		box-sizing: border-box;
 	}

+ 2 - 2
ghsApp/src/pagesStorehouse/inventory/select.vue

@@ -262,7 +262,7 @@ export default {
 		overflow: hidden;
 	}
 	.tab-view {
-		height: 1000upx;
+		height: calc(100vh - 140upx);
 		width: 170upx;
 		flex-shrink: 0;
 		background-color: #f0f2f6;
@@ -309,7 +309,7 @@ export default {
 		}
 	}
 	.right-box {
-		height: 1000upx;
+		height: calc(100vh - 140upx);
 		flex: 1;
 		box-sizing: border-box;
 	}

+ 2 - 9
ghsApp/src/pagesStorehouse/stockWarn/manage.vue

@@ -10,14 +10,7 @@
 				<scroll-view scroll-y class="item_list_bx" @scrolltolower="loadMore" lower-threshold="100" style="width: 100%">
 					<template v-for="(productItem, productIndex) in filterProductInfoContrapose">
 						<view style="padding: 20rpx 0">
-						<CommodityStock
-							:isPrice="false"
-							:type="STOCK_TYPE.WARN"
-							:key="productIndex"
-							:info="productItem"
-							:isEdit="true"
-							:modifyStock="modifyStock"
-						></CommodityStock>
+							<CommodityStock :isPrice="false" :type="STOCK_TYPE.WARN" :key="productIndex" :info="productItem" :isEdit="true" :modifyStock="modifyStock" ></CommodityStock>
 						</view>
 					</template>
 				</scroll-view>
@@ -124,7 +117,7 @@ export default {
 	flex-direction: column;
 	.input-wrap {
 		display: flex;
-		padding: 22px 20px 22px 30upx;
+		padding: 22upx 20upx 22upx 30upx;
 		.search-bar {
 			flex: 1;
 		}