childbirthnote.wxml
4.5 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
<view class="attention">
<view class="attentintext">关注公众号,回复医院名称查询笔记</view>
<view class="attentinword" bindtap="attention">关注</view>
</view>
<view class="setnode" >
<view class="process record childbirth">
<view class="bitmat" bindtap="enter" data-url="{{placeurl}}">
<image src="{{placeimg}}" ></image>
</view>
</view>
<view class="user_comment">
<view class="use use_comment suinotes">
<view class="new_left">
<view class="search">
<view class="search_hospital">
<input placeholder="搜索医院" class="enterword" bindinput="search" />
</view>
<view class="searchimg" bindtap="searchlist">
<image src="http://bronet.ibaby88.cn/aicon02@2x.png"></image>
</view>
</view>
</view>
<view class="mew_right">
<view class="new {{status==1?'new_active':''}}" bindtap="new">最新</view>
<view class="new {{status==2?'new_active':''}}" bindtap="hot">最热</view>
</view>
</view>
<view class="nodata" wx:if="{{buildlist.length==0}}">暂无数据</view>
<view class="childlist" wx:else>
<view class="essaysitem" bindtap="buildtextdetail" wx:for="{{buildlist}}" data-id="{{item.childbirth_id}} " wx:key="" wx:for-index="par">
<view class="essays_content user_essays_content">
<view class="essays_content_img">
<image src="{{item.avatar}}"></image>
</view>
<view class="essays_content_text">
<view class="user_comment_name">
<view class="essays_name">{{item.user_nickname}}</view>
<view class="user_comment_hostpital" data-hosid="{{item.hospital_id}}" catchtap="enterhostail">{{item.hospital_name}}</view>
</view>
<view class="essays_date">{{item.auto_generate}} {{item.production_type}} {{item.weight}}斤 {{item.sex}}</view>
<view class="essays_text">
<view class="editword">{{item.content_text}}<text wx:if="{{item.openword}}">{{item.showword?'...':''}}</text>
<view class="openword" catchtap='operaword' data-childbirth_id="{{item.childbirth_id}}" wx:if="{{item.openword}}" data-showword="{{item.showword}}">{{item.showword?'展开':'收起'}}</view>
</view>
<view vx:if="item.content_imgs.length!=0">
<view class="edit_img small_img" wx:if="{{item.content_imgs.length>1}}">
<view class="edit_small_img" wx:for="{{item.content_imgs}}" wx:key="">
<image src="{{item}}" data-index='{{index}}' data-paridx="{{par}}" catchtap="viewImg"></image>
</view>
</view>
<view class="edit_img" wx:if="{{item.content_imgs.length==1}}">
<view class="edit_big_img" wx:for="{{item.content_imgs}}" wx:key="">
<image src="{{item}}" data-index='{{index}}' data-paridx="{{par}}" catchtap="viewImg"></image>
</view>
</view>
</view>
</view>
<view class="user_bottom">
<view class="user_date">{{item.create_time}}</view>
<view class="user_lsit_img">
<view class="startouch" catchtap="collect" data-id="{{item.childbirth_id}}">
<view class="user_img thumb_star" wx:if="{{item.if_collect==0}}">
<image src="http://bronet.ibaby88.cn/bicon28@2x.png"></image>
</view>
<view class="user_img thumb_star" wx:else>
<image src="http://bronet.ibaby88.cn/bicon29@2x.png"></image>
</view>
</view>
<view class="thumb">
<view class="iscllect" catchtap="touchstar" data-id="{{item.childbirth_id}}">
<view class="user_img" wx:if="{{item.if_touch==0}}">
<image src="http://bronet.ibaby88.cn/bicon30@2x.png"></image>
</view>
<view class="user_img" wx:else>
<image src="http://bronet.ibaby88.cn/bicon31@2x.png"></image>
</view>
</view>
<text class="thumb_num">{{item.touch_num}}</text>
</view>
</view>
</view>
</view>
</view>
</view>
</view>
</view>
</view>
<view class="footbtn">
<button class="lj_mecomment" bindtap="childnotedetail">顺利卸货,我要上榜</button>
</view>