소스 검색

排版优化

shish 4 년 전
부모
커밋
79bf891a74
3개의 변경된 파일4개의 추가작업 그리고 5개의 파일을 삭제
  1. 2 3
      ghsApp/src/admin/stat/stock.vue
  2. 1 1
      ghsApp/src/admin/stat/wastage.vue
  3. 1 1
      ghsApp/src/api/stat/index.js

+ 2 - 3
ghsApp/src/admin/stat/stock.vue

@@ -6,8 +6,7 @@
                 <AppSearchModule placeholder="输入拼音首字母搜索" @input="searchFn"/>
             </view>
         </view>
-        <!-- <view class="top-bar"><DateSelect class="bar" top="0" @selectDateFn="selectDateFn" /></view> -->
-        <view class="top-bar" style="margin-left:150upx;">今天</view>
+        <view class="top-bar" style="margin-left:115upx;">实时</view>
 		<scroll-view scroll-y scroll-with-animation class="main-view">
 			<view class="space-view ex-table">
                 <t-table :headerBackgroundColor="'#F0F2F6'">
@@ -101,7 +100,7 @@ export default {
 		left: 0;
 		display: flex;
 		width: 100%;
-		top:116upx;
+		top:135upx;
 		z-index: 20;
 		.bar{
 			width: 50%;

+ 1 - 1
ghsApp/src/admin/stat/wastage.vue

@@ -19,7 +19,7 @@
 					</t-table>
 				</block>
 			</view>
-			<view style="margin-top:30upx;margin-left:80upx;font-size:30upx;">合计:{{totalNum}}扎 <text style="margin-left:18upx;">{{totalCost}}元</text></view>
+			<view style="margin-top:30upx;margin-bottom:30upx;margin-left:80upx;font-size:30upx;">合计:{{totalNum}}扎 <text style="margin-left:18upx;">{{totalCost}}元</text></view>
 		</view>
 	</view>
 </view>

+ 1 - 1
ghsApp/src/api/stat/index.js

@@ -1,7 +1,7 @@
 import https from '@/plugins/luch-request_0.0.7/request'
 
 //报损统计
-export const getWastage = data => {
+export const getWastage = async data => {
 	return https.get('/stat/wastage', data)
 }