HHSLinkSLink/HSLink-app/unpackage/dist/build/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-1f41ba4d"><view class="top data-v-1f41ba4d"><view class="title data-v-1f41ba4d">{{''+noticeInfo.title+''}}</view><view class="label data-v-1f41ba4d">{{''+noticeInfo.label+''}}</view><view class="author-and-time data-v-1f41ba4d"><view data-event-opts="{{[['tap',[['goToUserInfo',['$0'],['noticeInfo']]]]]}}" class="author data-v-1f41ba4d" style="padding:0;" bindtap="__e">{{''+noticeInfo.author_name+''}}</view><view class="time data-v-1f41ba4d">{{''+noticeInfo.create_time+''}}</view></view><view class="content data-v-1f41ba4d"><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-1f41ba4d"></textarea></view></view><view class="feedback data-v-1f41ba4d"><view class="reading-volume data-v-1f41ba4d">{{'阅读 '+noticeInfo.read_number+''}}</view><view class="fabulous data-v-1f41ba4d"><uni-fav class="{{['favBtn data-v-1f41ba4d',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="{{isMessage===true&&noMessage===true}}"><view data-event-opts="{{[['tap',[['addMessage',['$event']]]]]}}" class="no-message data-v-1f41ba4d" bindtap="__e">写留言</view></block><block wx:if="{{noMessage===false}}"><view class="leave-message data-v-1f41ba4d"><view class="message-title data-v-1f41ba4d"><view class="left data-v-1f41ba4d">精选留言</view><view data-event-opts="{{[['tap',[['addMessage',['$event']]]]]}}" class="right data-v-1f41ba4d" 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-1f41ba4d"><view class="left data-v-1f41ba4d"><view class="header-photo data-v-1f41ba4d"><avatar vue-id="{{'d4ff1c44-2-'+index}}" userName="{{item.real_name}}" size="50" class="data-v-1f41ba4d" bind:__l="__l"></avatar></view><view class="message data-v-1f41ba4d"><view class="name data-v-1f41ba4d">{{''+item.real_name+''}}</view><view class="message-content data-v-1f41ba4d">{{''+item.content+''}}</view></view></view></view></block></view></block><view class="{{['cu-modal data-v-1f41ba4d',messageDialog?'show':'']}}" style="{{'margin-top:'+(-InputBottom/2+'px')+';'}}"><view class="cu-dialog data-v-1f41ba4d"><view class="cu-bar bg-white justify-end data-v-1f41ba4d"><view class="title-content bg-white data-v-1f41ba4d">留言</view><view data-event-opts="{{[['tap',[['hideModal',['$event']]]]]}}" class="action data-v-1f41ba4d" bindtap="__e"><text class="cuIcon-close text-red data-v-1f41ba4d"></text></view></view><view class="padding-xl data-v-1f41ba4d"><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-1f41ba4d"/></view><view class="cu-bar bg-white justify-end data-v-1f41ba4d"><view class="action data-v-1f41ba4d"><button data-event-opts="{{[['tap',[['hideModal',['$event']]]]]}}" class="cu-btn line-blue text-blue data-v-1f41ba4d" bindtap="__e">取消</button><button data-event-opts="{{[['tap',[['clickPromptConfirm',['$event']]]]]}}" class="cu-btn bg-blue margin-left data-v-1f41ba4d" bindtap="__e">确定</button></view></view></view></view></view>