| | |
| | | <template>
|
| | | <view class="index">
|
| | | <template> |
| | | <page-meta :page-style="ban ?'overflow: hidden;': ''"/>
|
| | | <view class="index" > |
| | | <!-- :class="ban?'scroll-ban': ''" --> |
| | | <!-- <view class="mask" @tap="tapMask" @touchmove="moveHandle"></view> -->
|
| | | <!-- <web-view v-if="show" @onPostMessage="onMessage" :src="'https://dmtest.ahapp.net/doumeeplant_h5/#/appletLogin?code=' + code"></web-view> -->
|
| | | <!-- {{$store.state.statusbarHeight}} -->
|
| | |
|
| | |
| | | 待办</view>
|
| | | <div class="content_search"> |
| | | <v-Search @searchInput="searchInput" @submit="confirm" @reset="resetType" :isShow="true" |
| | | placeholder="搜索关键字"> |
| | | placeholder="搜索关键字" @scrollerBan="$event => ban=$event"> |
| | | <template v-slot:content> |
| | | <view class="rp contanir"> |
| | | <view class="c2 b">类型</view> |
| | |
| | | </view>
|
| | | </u-sticky> |
| | |
|
| | | <scroll-view :style="{height: height}" v-if="projectList.length" scroll-y refresher-enabled="true" :refresher-triggered="triggered" @scrolltolower="loadMore"
|
| | | <scroll-view :style="{height: height}" v-if="projectList.length" scroll-y refresher-enabled="true" :refresher-triggered="triggered" @scrolltolower="loadMore"
|
| | | @refresherrefresh="refresh" |
| | | >
|
| | | <view v-for="(item, index) in projectList" :key="index">
|
| | |
| | | </view>
|
| | | </scroll-view>
|
| | | <view v-else class="tc c6">暂无数据...</view>
|
| | | <u-popup :show="show" @close="close" :round="8" zIndex="20000">
|
| | | <!-- <u-popup :show="show" @close="close" :round="8" zIndex="20000">
|
| | | <view class="rp p40 contanir">
|
| | | <view class="c2 b">类型</view>
|
| | | <view class="content">
|
| | |
| | | <view class="fx1 ptb20 sbtn_gray c9" @click="resetType">重置</view>
|
| | | <view class="fx1 ml20 ptb20 sbtn_green" @click="confirm">确定</view>
|
| | | </view>
|
| | | </view>
|
| | | </view> -->
|
| | | </u-popup>
|
| | | <myTabbar :index="0" />
|
| | | </view>
|
| | |
| | | },
|
| | | data() {
|
| | | return { |
| | | ban: false, |
| | | height: '', |
| | | top: '',
|
| | | code: '',
|
| | |
| | | .in(this) |
| | | .select('.content_search') |
| | | .boundingClientRect((rect) => { |
| | | that.height = `calc(100vh - ${rect.height + 80}px)` |
| | | that.height = `calc(100vh - ${rect.height + 150}px)` |
| | | that.top = `${rect.height}px` |
| | | }) |
| | | .exec() |
| | |
| | | .then(res => { |
| | | this.tagList[0].num = res.data.startNum |
| | | this.tagList[1].num = res.data.endNum |
| | | this.$store.commit('SETNUM', {
|
| | | d: res.data.startNum,
|
| | | y: res.data.endNum
|
| | | }) |
| | | }) |
| | | .catch(err => {}) |
| | | },
|
| | |
| | | },
|
| | | resetType() {
|
| | | this.type = ''
|
| | | this.searchForm.type = ''
|
| | | this.searchForm.type = '' |
| | | this.ban =false
|
| | | this.confirm() |
| | |
|
| | | },
|
| | | confirm() {
|
| | | this.searchForm.type = this.type
|
| | | this.show = false |
| | | this.ban =false |
| | | this.search()
|
| | | }, |
| | | search() { |
| | |
| | | } |
| | | .content_search_x { |
| | | height: 24rpx; |
| | | } |
| | | .mask { |
| | | z-index: 8000; |
| | | position: fixed; |
| | | left: 0; |
| | | top: 0; |
| | | right: 0; |
| | | bottom: 0; |
| | | height: 100vh; |
| | | background-color: rgba(0, 0, 0, 0.5); |
| | | }
|
| | | </style> |