1 line
1.8 KiB
Plaintext
1 line
1.8 KiB
Plaintext
<view><status-nav vue-id="62ffe691-1" ifReturn="{{true}}" navBarTitle="新闻详情" marginBottom="{{0}}" bind:__l="__l"></status-nav><block wx:if="{{articleDetail.video}}"><view class="news-video-img"><image src="{{articleDetail.cover}}" mode="widthFix"></image><view data-event-opts="{{[['tap',[['playEv',['$0'],['articleDetail.video']]]]]}}" class="news-video-btn" catchtap="__e"><block wx:if="{{videoPlay}}"><image src="/static/public/icon-suspend.png" mode="widthFix"></image></block><block wx:else><image src="/static/public/icon-play.png" mode="widthFix"></image></block></view></view></block><block wx:if="{{videoPlay}}"><view class="news-video-content" style="{{'width:'+(newWidth+'px')+';'}}"></view></block><block wx:if="{{videoPlay}}"><video style="{{'width:'+(newWidth+'px')+';'}}" id="my-video" controls="{{true}}" src="{{articleDetail.video}}" data-event-opts="{{[['fullscreenchange',[['screenChange',['$event']]]]]}}" bindfullscreenchange="__e"></video></block><view class="shop-summary news-summary"><view class="shop-title">{{articleDetail.title}}</view><view class="shop-txt news-txt flex"><view class="left"><view class="news-author">{{"作者:"+articleDetail.author}}</view><view class="news-time">{{"发布时间:"+time}}</view></view><view class="right flex"><view data-event-opts="{{[['tap',[['collectionEv',['$0'],['articleDetail.id']]]]]}}" class="{{['collection-btn','flex',articleDetail.is_collected==1?'active':'']}}" bindtap="__e"><image src="/static/public/icon-collection.png" mode="widthFix"></image><text>收藏</text></view><view class="share-btn flex"><image src="/static/public/icon-share.png" mode="widthFix"></image><text>分享</text><button plain="true" data-name="shareBtn" open-type="share"></button></view></view></view></view><view class="shop-detail news-detail"><rich-text nodes="{{content}}"></rich-text></view></view> |