锦水居民端小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

92 lines
3.8 KiB

<wxs module="filter" src="../../../../utils/filter.wxs"></wxs>
<view class="notice-detail" hidden="{{nodata}}">
<view class="banner" wx:if="{{isNeedBanner && bannerList.length>0}}">
<view class="page-section page-section-spacing swiper">
<swiper indicator-dots="{{indicatorDots}}" autoplay="{{autoplay}}" circular="{{circular}}" interval="{{interval}}" duration="{{duration}}" bindchange="swiperChange">
<block wx:for="{{bannerList}}" wx:for-item="item" wx:for-index="index" wx:key="index">
<swiper-item>
<view data-banner="{{item}}">
<view class="swiper-item" data-id="{{item.id}}">
<!-- <view class="altitle">
<view class="altitle-name">{{item.title}}</view>
</view> -->
<image wx:if="{{item.imgUrl}}" class="banner" src='{{item.imgUrl}}' mode="aspectFill" />
<block wx:elif="{{item.videoUrl}}">
<video id="video{{index}}" src="{{item.videoUrl}}" show-center-play-btn='{{true}}' title="{{item.title}}" bindcontrolstoggle="bindcontrolstoggle" bindpause="bindended" bindplay='bindplay' bindended='bindended'></video>
<view class="video-title" hidden="{{!showTitle}}">{{item.title}}</view>
</block>
</view>
</view>
</swiper-item>
</block>
</swiper>
<!-- 重置小圆点的样式 -->
<view class="dots">
<block wx:for="{{ bannerList }}" wx:key="index">
<view class="dot {{index == currentSwiper ? ' active' : '' }}"></view>
</block>
</view>
</view>
</view>
<view class="selfContent" wx:if="{{!preloadVisible}}">
<view class="detail-title">{{noticeObj.noticeTitle}}</view>
<view class="detail-subtitle">
<view class="left">
<span>{{noticeObj.deptName}}</span>
<span>{{filter.formatTime(noticeObj.noticeTime, 'yyyy-MM-dd')}}</span>
</view>
<view class="right">
<view class="readNum">
<image src="../../images/ic_yueduliang.png" />
</view>
<view class="num">{{noticeObj.readingAmount}}</view>
</view>
</view>
<view class="richContent">
<!-- <rich-text space="nbsp" nodes="{{noticeObjContent}}"></rich-text> -->
<parser html="{{noticeObjContent}}"></parser>
</view>
</view>
<view class="preload" wx:else>
<view class="preload-title"></view>
<view class="preload-content"></view>
</view>
<block wx:if="{{commentFlag == '1'}}">
<detail-remark
remarkObj="{{remarkObj}}"
remarkType="{{remarkType}}"
bind:replyRemark="replyRemark"
bind:supportRemark="debounceSupportRemark"
bind:dispportRemark="debounceDispportRemark"
bind:changeRemarkType="changeRemarkType">
</detail-remark>
<load-more
loadMoreVisible="{{loadMoreVisible}}"
loadMoreType="{{loadMoreType}}"
>
</load-more>
<view class="bottom">
<view class="reply" style="width: {{detailObj.showSatisfactionEvaluation ? '490rpx': '100%'}}">
<image src="../../images/ic_baidataidubianji@2x.png" />
<input disabled bindtap="navigateToReply" placeholder="placeholder-input" type="text" placeholder="快来表达您的态度吧"/>
</view>
<button wx:if="{{detailObj.showSatisfactionEvaluation && detailType == 'project'}}" hover-class="hover-button" bindtap="publishEvaluation">满意度评价</button>
</view>
</block>
</view>
<no-data isShow="{{nodata}}"></no-data>
<tip-dialog
dialogVisible="{{dialogVisible}}"
title="{{dialogTitle}}"
content="{{dialogContent}}"
confirmText="{{dialogConformText}}"
cancelText="{{dialogCancelText}}">
</tip-dialog>
<completeInfo-dialog
completeInfoDialogVisible="{{completeInfoDialogVisible}}">
</completeInfo-dialog>