信达小程序
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.
 
 
 
 

43 lines
1.8 KiB

<view class="page" style="padding-top:{{bottom+30}}px">
<navBar background="{{background}}" title="" fixed home="{{false}}"></navBar>
<view class="card-list">
<view
class="card"
wx:for="{{list}}"
wx:key="*this"
bind:tap="routerTo"
data-url="/patient/pages/publishStoryDetail/index?id={{item.Id}}"
>
<view class="photo">
<image class="photo-img" mode="aspectFill" src="{{item.ListPicLink}}" />
<view class="my-read" wx:if="{{item.AllRead==2}}">仅本人可见</view>
</view>
<view class="inner">
<view class="title">{{item.Title}}</view>
<view class="content">{{item.Introduction}}</view>
<view class="i-footer">
<view class="f-item">
<image class="icon" src="{{imageUrl}}za-images//1/view.png?t={{Timestamp}}"></image>
<block wx:if="{{~~item.BasicNum + ~~item.OpenNum}}">{{~~item.BasicNum + ~~item.OpenNum}}</block>
</view>
<view class="f-item" catch:tap="handleStar" data-index="{{index}}">
<image
wx:if="{{item.IsCompliment==1}}"
class="icon"
src="{{imageUrl}}za-images/1/star-active.png?t={{Timestamp}}"
></image>
<image wx:else class="icon" src="{{imageUrl}}za-images/1/star.png?t={{Timestamp}}"></image>
<block wx:if="{{item.ComplimentNum>0}}">{{item.ComplimentNum}}</block>
</view>
</view>
</view>
</view>
<pagination pagination="{{pagination}}"></pagination>
</view>
<view class="more" bind:tap="routerTo" data-url="/patient/pages/storyGuide/index">
<image class="icon" src="{{imageUrl}}za-images//{{theme === 'DRUG'?1.5:1}}/story-share.png?t={{Timestamp}}"></image>
</view>
</view>
<patient-tab-bar></patient-tab-bar>