You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
94 lines
6.3 KiB
Plaintext
94 lines
6.3 KiB
Plaintext
<view class="weui-search-bar weui-search-bar_focusing" id="searchBar" style="line-height: 1;background-color: #fff;border-radius:0;">
|
|
<form class="weui-search-bar__form flex-1">
|
|
<view class="weui-search-bar__box" catchtap="goSearch" style="background-color: #f5f5f5;border-radius: 17px;">
|
|
<i class="iconfont icon-sousuo"></i>
|
|
<!-- <input type="text" class="weui-search-bar__input" placeholder-style="color:#999;" placeholder="搜索企业名称" value="{{inputVal}}" focus="{{inputShowed}}" bindinput="inputTyping" bindconfirm="searchKey" confirm-type="search" />
|
|
<view class="iconfont icon-qingchu" wx:if="{{inputVal.length > 0}}" bindtap="clearInput"></view>
|
|
<view class="search" bindtap="searchKey">搜索</view> -->
|
|
<view class="weui-search-bar__input {{!chaShowed ? 'c9' : 'c3'}}" style="width: 160px;">{{inputVal}}</view>
|
|
<view class="iconfont icon-qingchu" wx:if="{{chaShowed}}" catchtap="clearInput"></view>
|
|
<view class="search" catchtap="searchKey">搜索</view>
|
|
</view>
|
|
</form>
|
|
|
|
</view>
|
|
|
|
|
|
<scroll-view class="container" scroll-y enable-back-to-top="true" refresher-enabled bindscrolltolower="onScrollToLower" bindrefresherrefresh="onScrollRefresh" scroll-with-animation="true" scroll-top="{{idNull}}" refresher-triggered="{{isTrigger}}" style="height:calc(100vh - 50px)">
|
|
<view>
|
|
<!-- <view class="display-flex bgf mb10" hover-class="hcb" style="border:1rpx solid #eee;border-radius:8px;padding:16px 12px;" bindtap="goDetail">
|
|
<view class="v-center">
|
|
<view class="v-center phoneOut pr" catchtap="makePhone" hover-stop-propagation hover-class="thover">
|
|
<icon class="iconfont icon-xiaoxi-xuanzhong" style="color:#027aff;font-size:18px;"></icon>
|
|
<view class="phone-circle"></view>
|
|
</view>
|
|
</view>
|
|
<view class="flex-1">
|
|
<view class="f14 mb8"><text class="mr8 f16">滴滴滴</text><text class="c045 fr">2022-02-24</text></view>
|
|
<view style="white-space:nowrap; overflow:hidden; text-overflow:ellipsis;width:calc(100vw - 120px);" class="c065 mt8 f14">
|
|
嘟嘟嘟嘟嘟嘟嘟嘟嘟嘟多多多多多多多多多多多多多多多多多多多多多多多多多
|
|
</view>
|
|
</view>
|
|
</view> -->
|
|
<view class="underreview" hover-class="hcb" bindtap='tounderReview' wx:if="{{!roleOf132 || roleOf41 || managerRoleClassify}}">
|
|
<view class="" hover-class="none" hover-stop-propagation="false">审核中</view>
|
|
<view class="display-flex" hover-class="none" hover-stop-propagation="false">
|
|
<text class="circleNum" style="padding:{{underReviewNum > 9 ? '0 4px' :''}};border-radius:{{underReviewNum > 9 ? '12px' :'50%'}}">{{underReviewNum}}</text>
|
|
<i class="iconfont icon-xiayiye"></i>
|
|
</view>
|
|
</view>
|
|
<view class="titlelist {{(roleOf132 && !managerRoleClassify)?'mt10':''}}">
|
|
<view class="{{navlist == 10? 'activelist':''}} pr flex-1" hover-class="none" hover-stop-propagation="false" mark:ind='{{10}}' bindtap='changeactive'>通告库<view class="menuBorder"></view>
|
|
</view>
|
|
<view class="{{navlist == 30? 'activelist':''}} pr flex-1" hover-class="none" hover-stop-propagation="false" mark:ind='{{30}}' bindtap='changeactive'>待发布<view class="menuBorder"></view>
|
|
</view>
|
|
<view class="{{navlist == 40? 'activelist':''}} pr flex-1" hover-class="none" hover-stop-propagation="false" mark:ind='{{40}}' bindtap='changeactive'>已发布<view class="menuBorder"></view>
|
|
</view>
|
|
</view>
|
|
<view id="scId"></view>
|
|
<!-- <view style="background-color: #fff;height: 16px;" wx:if="{{navlist == 40 && recordList.length != 0}}"></view> -->
|
|
<block wx:if="{{recordList != null && recordList.length > 0}}">
|
|
<view class="" style=" border-bottom-left-radius: 8px;border-bottom-right-radius: 8px;">
|
|
<!-- <view class="f16 ml12" style="line-height: 32px;" wx:if="{{navlist == 40}}">2022-12-24</view> -->
|
|
<view hover-class="hcb" class="viewList bgf" style="padding:10px 12px 0;" wx:for="{{recordList}}" wx:for-item="item" wx:for-index="idx" data-id="{{item.id}}" bindtap="goDetail">
|
|
<view class="display-flex htc">
|
|
<view class="v-center">
|
|
<view class="v-center phoneOut pr" data-content="{{item.content}}" catchtap="setCopy" hover-stop-propagation hover-class="thover">
|
|
<icon class="iconfont icon-fuzhi" style="color:#00bebe;font-size:24px;margin-top: -2px;"></icon>
|
|
</view>
|
|
</view>
|
|
<view class="flex-1">
|
|
<view style="display: flex;">
|
|
|
|
<view class="flex-1" style="display: flex;align-items: center;">
|
|
<text class="" style="font-size:16px;color:#000;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;width: calc(100vw - 168px);display: inline-block;line-height:30px;font-weight: 603;">{{item.title}}</text>
|
|
</view>
|
|
<text class="c045 fr f12" style="position: relative;top: 5px;">{{item.updateTimeStr}}</text>
|
|
</view>
|
|
<view class="c9" style="font-size:14px;white-space:nowrap; overflow:hidden; text-overflow:ellipsis;width:calc(100vw - 80px);margin-bottom:12px;line-height: 24px;">
|
|
{{item.content}}
|
|
<!-- <rich-text nodes="{{item.userServeRecordDespLatest == null ? '' : item.userServeRecordDespLatest}}" class="c065 f14 mt8"></rich-text> -->
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view style="padding-bottom: 0px;">
|
|
<view wx:if="{{!hasMoreData && !isLoading}}" class="f12 c9 tc p20">暂无更多数据</view>
|
|
<view wx:else class="f12 c9 tc p20">上滑加载更多</view>
|
|
</view>
|
|
<!-- <view wx:if="{{!hasMoreData && !isLoading}}" class="f12 c9 tc p20">暂无更多数据</view>
|
|
<view wx:if="{{isLoading}}" class="f12 c9 tc p20">加载中...</view>
|
|
<view wx:if="{{hasMoreData}}" bindtap="loadMoreData" class="loadMore" hover-class="hcb">点击加载更多</view> -->
|
|
</block>
|
|
<block wx:if="{{(recordList == null || recordList.length == 0) && !isLoading}}">
|
|
<view style="margin-top:128rpx;">
|
|
<view class="center">
|
|
<icon class='t-icon cccc t-icon-zanwu' style='width:86px;height:86px;margin-bottom:20px;margin-top:30px'></icon>
|
|
<view class="f16 cccc">暂无通告</view>
|
|
</view>
|
|
</view>
|
|
</block>
|
|
</view>
|
|
</scroll-view> |