Commit d0a377d5 by zhangzhen

细节优化

parent d4a02383
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<view class="header-content" :style="{paddingTop:statusBarHeight+'px' }"> <view class="header-content" :style="{paddingTop:statusBarHeight+'px' }">
<image class="logo-bg" :src="assetsPath +'/logo_v1.png'" mode="widthFix"></image> <image class="logo-bg" :src="assetsPath +'/logo_v1.png'" mode="widthFix"></image>
</view> </view>
<view class="container-box" :style="{top: statusBarHeight+'px'}"> <view class="container-box" :style="{paddingTop: statusBarHeight+'px'}">
<view class="store-name-box"> <view class="store-name-box">
<view class="flex-row"> <view class="flex-row">
<text class="cuIcon-back text-white text-bold" @tap="onBack"></text> <text class="cuIcon-back text-white text-bold" @tap="onBack"></text>
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
</view> </view>
</picker> </picker>
</view> </view>
<scroll-view scroll-y="true" class="scroll-view">
<view class="data-statistics-content"> <view class="data-statistics-content">
<view class="statistics"> <view class="statistics">
<view class="date-list"> <view class="date-list">
...@@ -158,6 +159,7 @@ ...@@ -158,6 +159,7 @@
</view> </view>
</view> </view>
</view> </view>
</scroll-view>
</view> </view>
<u-calendar :show="show" :minDate="minDate" :maxDate="maxDate" mode="range" :defaultDate="defaultDate" :monthNum='13' @confirm="onConfirm" @close="onCancel" ></u-calendar> <u-calendar :show="show" :minDate="minDate" :maxDate="maxDate" mode="range" :defaultDate="defaultDate" :monthNum='13' @confirm="onConfirm" @close="onCancel" ></u-calendar>
</view> </view>
...@@ -314,6 +316,8 @@ ...@@ -314,6 +316,8 @@
display: flex; display: flex;
flex-direction: column; flex-direction: column;
width: 100%; width: 100%;
height: 100vh;
overflow: hidden;
.header-content { .header-content {
position: fixed; position: fixed;
top: 0; top: 0;
...@@ -332,8 +336,10 @@ ...@@ -332,8 +336,10 @@
.container-box{ .container-box{
position: absolute; position: absolute;
left: 0; left: 0;
display: flex;
flex-direction: column;
width: 100%; width: 100%;
min-height: 90vh; height: 100%;
} }
} }
.store-name-box{ .store-name-box{
...@@ -370,6 +376,8 @@ ...@@ -370,6 +376,8 @@
} }
} }
.data-statistics-content{ .data-statistics-content{
position: absolute;
left: 0;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
width: 100%; width: 100%;
...@@ -477,4 +485,9 @@ ...@@ -477,4 +485,9 @@
} }
} }
} }
.scroll-view{
display: flex;
flex: 1;
width: 100%;
}
</style> </style>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment