buildtextdetail.wxml
3.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<view class="user_comment">
<view class="essaysitem">
<view class="essays_content user_essays_content">
<view class="essays_content_img">
<image src="{{bulidlisttail.avatar}}"></image>
</view>
<view class="essays_content_text">
<view class="user_comment_name">
<view class="essays_name">{{bulidlisttail.user_nickname}}</view>
<view class="user_comment_hostpital" data-hosid="{{bulidlisttail.hospital_id}}" bindtap='enterhostail'>{{bulidlisttail.hospital_name}}</view>
</view>
<view class="essays_date">{{bulidlisttail.auto_generate}}</view>
<view class="essays_text">
<view class="editword">
<!-- 过80字隐藏,图片最多展示3张,评论易让人听到不利于自己的一面,因此评论的话语容易产生对方的逆反心理。但由于可以
较快的表达自己的想法及感受,广为被大众所使用. -->
{{bulidlisttail.content_text}}
</view>
<view wx:if="{{edit_img.length>0}}">
<view class="edit_img small_img" wx:if="{{edit_img.length>1}}">
<view class="edit_small_img" wx:for="{{edit_img}}" wx:key=''>
<image src="{{item}}" data-index='{{index}}' bindtap="viewImg" ></image>
</view>
</view>
<view class="edit_img" wx:else >
<view class="edit_big_img" wx:for="{{edit_img}}" wx:key=''>
<image src="{{item}}" data-index='{{index}}' bindtap="viewImg" ></image>
</view>
</view>
</view>
</view>
<view class="user_bottom">
<view class="user_date">{{bulidlisttail.create_time}}</view>
<view class="user_lsit_img">
<view class="startouch" catchtap="collect" >
<view class="user_img thumb_star" wx:if="{{bulidlisttail.if_collect==0}}">
<image src="http://bronet.ibaby88.cn/bicon28@2x.png"></image>
</view>
<view class="user_img thumb_star" wx:if="{{bulidlisttail.if_collect==1}}">
<image src="http://bronet.ibaby88.cn/bicon29@2x.png"></image>
</view>
</view>
<view class="thumb">
<view class="iscllect" catchtap="touchstar">
<view class="user_img" wx:if="{{bulidlisttail. if_touch==0}}">
<image src="http://bronet.ibaby88.cn/bicon30@2x.png"></image>
</view>
<view class="user_img" wx:if="{{bulidlisttail.if_touch==1}}">
<image src="http://bronet.ibaby88.cn/bicon31@2x.png"></image>
</view>
</view>
<text class="thumb_num">{{bulidlisttail.touch_num}}</text>
</view>
</view>
</view>
</view>
</view>
</view>
</view>
<view class="footbtn">
<button class="lj_share" bindtap="buildshare" open-type='share'>分享</button>
</view>