childbirthnote.wxml 4.5 KB
<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>