修改求房源列表筛选的判断

This commit is contained in:
A1300399510 2023-07-21 11:27:36 +08:00
parent 1885c660c1
commit 95913f7bf3
3 changed files with 7 additions and 8 deletions

View File

@ -2,9 +2,9 @@
<view class="container">
<header-nav notShowIndex="{{ true }}" bgcolor="{{ headerSearchTop ? '#fff' : 'transparent' }}">求房源</header-nav>
<view class="header-bj"></view>
<view wx:if="{{ allowsearch }}" style="position: relative;">
<view wx:if="{{ identity == 1 }}" style="position: relative;">
<view class="" style="width: 100%;height: 100%;position: absolute;z-index: 111;" catchtap="publicJumps" data-url="/pages/search/search?isAskingSearch=true"></view>
<view wx:if="{{ intermediary != 1 }}" catchtap="setValue" data-key="authenticationPopState" data-value="{{ true }}" class="mengcheng"></view>
<view wx:if="{{ !allowsearch }}" catchtap="setValue" data-key="authenticationPopState" data-value="{{ true }}" class="mengcheng"></view>
<template is="list-header-search" data="{{ kw:'', isNeedMap: isMapFindState,disabled: true }}"></template>
</view>
@ -12,9 +12,9 @@
<xin-head-swiper bindrecordSwiperHeight="recordSwiperHeight" data="{{ attachment }}"></xin-head-swiper>
</view>
<view wx:if="{{ allowsearch }}" id="list-operations" class="list-operations {{ operationsTop ? 'list-operations-top' : '' }}" style="top: {{ screen_data.totalTopHeight }}px;">
<view wx:if="{{ identity == 1 }}" id="list-operations" class="list-operations {{ operationsTop ? 'list-operations-top' : '' }}" style="top: {{ screen_data.totalTopHeight }}px;">
<!-- <view id="list-operations" class="list-operations {{ operationsTop ? 'list-operations-top' : '' }}" style="top: {{ screen_data.totalTopHeight }}px;"> -->
<view wx:if="{{ intermediary != 1 }}" class="mengcheng" bindtap="setValue" data-key="authenticationPopState" data-value="{{ true }}"></view>
<view wx:if="{{ !allowsearch }}" class="mengcheng" bindtap="setValue" data-key="authenticationPopState" data-value="{{ true }}"></view>
<list-operations tabTitle="求房源" property="{{ property }}" school="{{ school }}" types="{{ types }}" location="{{ {data:langs.location} }}" operationstype="askinghousing" money="{{ money }}" brands="{{ brands }}" screen_data="{{ screen_data }}" roomtype="{{ roomtype }}" roomlistings="{{ roomlistings }}" bindsubmit="submitOperations"></list-operations>
</view>

View File

@ -90,7 +90,6 @@ Page({
"-7": {
text: "身份变化,已下架",
btn: -2,
// btn: 2,
},
"-5": {
text: "超出发布期限,已自动下架",

View File

@ -56,16 +56,16 @@
</view>
<view class="house-id flexacenter" wx:if="{{ ispublish }}">
<!-- <view >2023年07月04日发布</view> -->
<view >{{ item['timestamp'] }}发布</view>
<view>{{ item['timestamp'] }}发布</view>
</view>
</view>
<view class="right flexflex">
<image wx:if="{{ item.ispic }}" class="image" mode="widthFix" lazy-load src="{{ item.imageurl }}"></image>
<view wx:elif="{{ item.isvideo }}" class="video flexflex">
<view wx:if="{{ item.isvideo }}" class="video flexflex">
<view class="mask"></view>
<image class="image" mode="widthFix" lazy-load src="{{ item.imageurl }}"></image>
<image class="video-icon" src="/img/videoplay.png"></image>
</view>
<image wx:elif="{{ item.ispic }}" class="image" mode="widthFix" lazy-load src="{{ item.imageurl }}"></image>
</view>
</view>
</view>