childbirthnotedetail.wxml 3.3 KB

<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>