Commit 6dd4917d authored by 李驰骋's avatar 李驰骋

票账管理页面调整

parent 3fe467ff
/.DS_Store /.DS_Store
/unpackage /unpackage
/unpackage/ /unpackage/
/unpackage/dist/
/unpackage/
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
"type" : "uniCloud" "type" : "uniCloud"
}, },
{ {
"playground" : "standard", "playground" : "custom",
"type" : "uni-app:app-android" "type" : "uni-app:app-android"
}, },
{ {
......
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
<text class="btn-text">查询</text> <text class="btn-text">查询</text>
</button> </button>
</view> </view>
<list :style='scrollHeight' class="scroll-area view" scrollable loadmoreoffset='100' show-scrollbar='false' @loadmore="scrolltolower"> <list class="scroll-area view" scrollable loadmoreoffset='100' show-scrollbar='false' @loadmore="scrolltolower">
<cell class="list-cell" v-for="(item,index) in lists" :key='index'> <cell class="list-cell" v-for="(item,index) in lists" :key='index'>
<view class="middle view planout-block-item"> <view class="middle view planout-block-item">
<view class="text-block"> <view class="text-block">
...@@ -162,14 +162,6 @@ ...@@ -162,14 +162,6 @@
'height': `${this.sysinfo.safeArea.height }px`, 'height': `${this.sysinfo.safeArea.height }px`,
} }
}, },
scrollHeight() {
// 计算滚动区域高度:屏幕高度 - 状态栏和导航栏 - 查询条件区域 - 查询按钮区域
// 查询条件区域大约 300rpx,查询按钮区域大约 120rpx,总共约 420rpx,转换为px约210px
const queryAreaHeight = 210;
return {
'height': `${this.sysinfo.safeArea.height - this.sysinfo.safeArea.top - 44 - queryAreaHeight}px`
}
},
...mapState(['sysinfo', 'userInfo', 'userBpData']) ...mapState(['sysinfo', 'userInfo', 'userBpData'])
}, },
created() { created() {
...@@ -349,8 +341,10 @@ ...@@ -349,8 +341,10 @@
.main { .main {
position: relative; position: relative;
flex-direction: column; flex-direction: column;
flex: 1;
margin-top: -164rpx; margin-top: -164rpx;
padding: 0 16rpx; padding: 0 16rpx;
min-height: 0;
} }
.middle { .middle {
......
...@@ -35,6 +35,13 @@ ...@@ -35,6 +35,13 @@
</view> </view>
<text class="entry-bill-text">销售订单</text> <text class="entry-bill-text">销售订单</text>
</view> </view>
<view class="entry-block" @click="goPage('ticket-order')" v-if='!isChildCustomer'>
<view class="entry-bill">
<image class="entry-bill-icon entry-bill-icon_billing"
src="@/static/image/usercenter_ticketorder@3x.png" mode=""></image>
</view>
<text class="entry-bill-text">制票通知单</text>
</view>
<view class="entry-block" @click="goPage('billing-invoice')"> <view class="entry-block" @click="goPage('billing-invoice')">
<view class="entry-bill"> <view class="entry-bill">
...@@ -44,13 +51,6 @@ ...@@ -44,13 +51,6 @@
</view> </view>
<text class="entry-bill-text">账票管理</text> <text class="entry-bill-text">账票管理</text>
</view> </view>
<view class="entry-block" @click="goPage('ticket-order')" v-if='!isChildCustomer'>
<view class="entry-bill">
<image class="entry-bill-icon entry-bill-icon_billing"
src="@/static/image/usercenter_ticketorder@3x.png" mode=""></image>
</view>
<text class="entry-bill-text">制票通知单</text>
</view>
<!-- <view class="entry-block" @click="goPage('produce-order')"> <!-- <view class="entry-block" @click="goPage('produce-order')">
<view class="entry-bill"> <view class="entry-bill">
......
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