bchao.wxml 1.7 KB
<!--pages/bchao/bchao.wxml-->
<view class='z_container'>
  <view class='top_note'>
  详细记录孕期B超检查结果,密切关注宝宝的每一个动向。
  </view>
  <view class='add_record' bindtap='addbchao'>
    添加B超记录
  </view>
  <view class='record_lists'>
    <view class='nodata' wx:if="{{recordsList.length==0}}">
      无记录
    </view>

    <block wx:for="{{recordsList}}" wx:key="">
      <view class='record_list'>
        <view class='record_container'>
          <view class='top_date'>
            <view>{{item.create_date}}</view>
            <view class='edit' bindtap='changeRecord' id='{{item.id}}'>修改</view>
          </view>
          <!--label  -->
          <view class='record_label'>
            <view class='lable_item'>
              <view>头围</view> 
              <view>mm</view> 
            </view>
            <view class='lable_item'>
              <view>腹围</view> 
              <view>mm</view> 
            </view>
            <view class='lable_item'>
              <view>股骨长</view> 
              <view>mm</view> 
            </view>
            <view class='lable_item'>
              <view>双顶径</view> 
              <view>mm</view> 
            </view>
          </view>
          <view class='label_detail_value'>
            <view class='detail_value'>
              {{item.head_circumference}}
            </view>
            <view class='detail_value'>
              {{item.abdominal_circumference}}
            </view>
            <view class='detail_value'>
              {{item.femur_length}}
            </view>
            <view class='detail_value'>
              {{item.neck_length}}
            </view>
          </view>
        </view>
      </view>      
    </block>
    
  </view>
</view>