| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091 |
- <template>
- <view class="content-box">
-
- <uni-nav-bar fixed="true" statusBar="true" left-icon="back" title="领料" background-color="#F7F9FA"
- color="#404446" @clickLeft="back">
- <block slot="right">
- <button @click="openSearch" class="search_btn">搜索</button>
- </block>
- </uni-nav-bar>
-
- <view class="list_box">
- <u-list @scrolltolower="scrolltolower">
- <view v-for="(item,index) in 100" :key='index'>
- {{item}}
- </view>
- </u-list>
- </view>
- <view class="bottom-wrapper">
- <view class="btn_box"></view>
- </view>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- show: false,
- searchFrom: {
- keyWord: ''
- }
- }
- },
- methods: {
- scrolltolower() {},
- openSearch() {},
- }
- }
- </script>
- <style lang="scss" scoped>
- .content-box {
- height: 100vh;
- overflow: hidden;
- display: flex;
- flex-direction: column;
- background-color: $page-bg;
- }
- .search_btn {
- width: 120rpx;
- height: 70rpx;
- line-height: 70rpx;
- padding: 0 24rpx;
- background: $theme-color;
- font-size: 32rpx;
- color: #fff;
- margin: 0;
- }
- .list_box {
- flex: 1;
- overflow: hidden;
- padding: 4rpx 0;
- .u-list {
- height: 100% !important;
- }
- }
- .btn_box {
- width: 750rpx;
- height: 112rpx;
- background: #fff;
- }
- </style>
|