childbirthnotedetail.wxml
3.3 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
<view class="user_comment">
<view class="essaysitem">
<view class="essays_content user_essays_content">
<view class="essays_content_img">
<image src="{{childtail.avatar}}"></image>
</view>
<view class="essays_content_text">
<view class="user_comment_name">
<view class="essays_name">{{childtail.user_nickname}}</view>
<view class="user_comment_hostpital" data-hosid="{{childtail.hospital_id}}" bindtap='enterhostail'>{{childtail.hospital_name}}</view>
</view>
<view class="essays_date">{{childtail.auto_generate}} {{childtail.production_type}} {{childtail.sex}}</view>
<view class="essays_text">
<view class="editword">
{{childtail.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">{{childtail.create_time}}</view>
<view class="user_lsit_img">
<view class="startouch" catchtap="collect" >
<view class="user_img thumb_star" wx:if="{{childtail.if_collect==0}}">
<image src="http://bronet.ibaby88.cn/bicon28@2x.png"></image>
</view>
<view class="user_img thumb_star" wx:if="{{childtail.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="{{childtail.if_touch==0}}">
<image src="http://bronet.ibaby88.cn/bicon30@2x.png"></image>
</view>
<view class="user_img" wx:if="{{childtail.if_touch==1}}">
<image src="http://bronet.ibaby88.cn/bicon31@2x.png"></image>
</view>
</view>
<text class="thumb_num">{{childtail.touch_num}}</text>
</view>
</view>
</view>
</view>
</view>
</view>
</view>
<view class="footbtn">
<button class="lj_share" bindtap="childshare" open-type='share'>分享</button>
</view>