HHSLinkSLink/HSLink-wx/unpackage/dist/dev/mp-weixin/pages/tabbar/homepage/data-details.wxml

1 line
3.6 KiB
Plaintext
Raw Normal View History

2020-12-19 12:13:27 +08:00
<view class="page data-v-04d29428"><view class="top data-v-04d29428"><view class="title data-v-04d29428">{{''+noticeInfo.title+''}}</view><view class="label data-v-04d29428">{{''+noticeInfo.label+''}}</view><view class="author-and-time data-v-04d29428"><view data-event-opts="{{[['tap',[['goToUserInfo',['$0'],['noticeInfo']]]]]}}" class="author data-v-04d29428" style="padding:0;" bindtap="__e">{{''+noticeInfo.author_name+''}}</view><view class="time data-v-04d29428">{{''+noticeInfo.create_time+''}}</view></view><view class="content data-v-04d29428"><textarea placeholder="请输入文章内容" auto-height="true" disabled="true" data-event-opts="{{[['input',[['__set_model',['$0','content','$event',[]],['noticeInfo']]]]]}}" value="{{noticeInfo.content}}" bindinput="__e" class="data-v-04d29428"></textarea></view></view><view class="feedback data-v-04d29428"><view class="reading-volume data-v-04d29428">{{'阅读 '+noticeInfo.read_number+''}}</view><view class="fabulous data-v-04d29428"><uni-fav class="{{['favBtn data-v-04d29428',noticeInfo.isCollection===0?'grey':'blue']}}" vue-id="d4ff1c44-1" checked="{{noticeInfo.isCollection===0?false:true}}" circle="true" bg-color="#FFFFFF" bg-color-checked="#1296DB" data-event-opts="{{[['^tap',[['collection',['$0'],['noticeInfo.isCollection']]]]]}}" bind:tap="__e" bind:__l="__l"></uni-fav></view></view><block wx:if="{{noMessage===true}}"><view data-event-opts="{{[['tap',[['addMessage',['$event']]]]]}}" class="no-message data-v-04d29428" bindtap="__e">写留言</view></block><block wx:if="{{noMessage===false}}"><view class="leave-message data-v-04d29428"><view class="message-title data-v-04d29428"><view class="left data-v-04d29428">精选留言</view><view data-event-opts="{{[['tap',[['addMessage',['$event']]]]]}}" class="right data-v-04d29428" bindtap="__e">写留言</view></view><block wx:for="{{messageList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="one-message data-v-04d29428"><view class="left data-v-04d29428"><view class="header-photo data-v-04d29428"><avatar vue-id="{{'d4ff1c44-2-'+index}}" userName="{{item.real_name}}" size="50" class="data-v-04d29428" bind:__l="__l"></avatar></view><view class="message data-v-04d29428"><view class="name data-v-04d29428">{{''+item.real_name+''}}</view><view class="message-content data-v-04d29428">{{''+item.content+''}}</view></view></view></view></block></view></block><view class="{{['cu-modal data-v-04d29428',messageDialog?'show':'']}}" style="{{'margin-top:'+(-InputBottom/2+'px')+';'}}"><view class="cu-dialog data-v-04d29428"><view class="cu-bar bg-white justify-end data-v-04d29428"><view class="title-content bg-white data-v-04d29428">留言</view><view data-event-opts="{{[['tap',[['hideModal',['$event']]]]]}}" class="action data-v-04d29428" bindtap="__e"><text class="cuIcon-close text-red data-v-04d29428"></text></view></view><view class="padding-xl data-v-04d29428"><input type="text" adjust-position="{{false}}" focus="{{false}}" placeholder="请输入留言" data-event-opts="{{[['focus',[['InputFocus',['$event']]]],['blur',[['InputBlur',['$event']]]],['input',[['__set_model',['','messageContent','$event',[]]]]]]}}" value="{{messageContent}}" bindfocus="__e" bindblur="__e" bindinput="__e" class="data-v-04d29428"/></view><view class="cu-bar bg-white justify-end data-v-04d29428"><view class="action data-v-04d29428"><button data-event-opts="{{[['tap',[['hideModal',['$event']]]]]}}" class="cu-btn line-blue text-blue data-v-04d29428" bindtap="__e">取消</button><button data-event-opts="{{[['tap',[['clickPromptConfirm',['$event']]]]]}}" class="cu-btn bg-blue margin-left data-v-04d29428" bindtap="__e">确定</button></view></view></view></view></view>