Commit d0a377d5 by zhangzhen

细节优化

parent d4a02383
......@@ -3,7 +3,7 @@
<view class="header-content" :style="{paddingTop:statusBarHeight+'px' }">
<image class="logo-bg" :src="assetsPath +'/logo_v1.png'" mode="widthFix"></image>
</view>
<view class="container-box" :style="{top: statusBarHeight+'px'}">
<view class="container-box" :style="{paddingTop: statusBarHeight+'px'}">
<view class="store-name-box">
<view class="flex-row">
<text class="cuIcon-back text-white text-bold" @tap="onBack"></text>
......@@ -20,6 +20,7 @@
</view>
</picker>
</view>
<scroll-view scroll-y="true" class="scroll-view">
<view class="data-statistics-content">
<view class="statistics">
<view class="date-list">
......@@ -158,6 +159,7 @@
</view>
</view>
</view>
</scroll-view>
</view>
<u-calendar :show="show" :minDate="minDate" :maxDate="maxDate" mode="range" :defaultDate="defaultDate" :monthNum='13' @confirm="onConfirm" @close="onCancel" ></u-calendar>
</view>
......@@ -314,6 +316,8 @@
display: flex;
flex-direction: column;
width: 100%;
height: 100vh;
overflow: hidden;
.header-content {
position: fixed;
top: 0;
......@@ -332,8 +336,10 @@
.container-box{
position: absolute;
left: 0;
display: flex;
flex-direction: column;
width: 100%;
min-height: 90vh;
height: 100%;
}
}
.store-name-box{
......@@ -370,6 +376,8 @@
}
}
.data-statistics-content{
position: absolute;
left: 0;
display: flex;
flex-direction: column;
width: 100%;
......@@ -477,4 +485,9 @@
}
}
}
.scroll-view{
display: flex;
flex: 1;
width: 100%;
}
</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