index.wxml 4.01 KB
<!--pages/home/reviewer/index.wxml-->
<import src='/template/operate_btn/index.wxml'></import>

<view class='kg-separater' style='height:2rpx;'></view>
<view class='kg-home-header kg-flex-row'>
  <template is='userInfo' data="{{userImg:'/src/img/defaut_teacher_icon.png',title:'张小华',subTitle:'向日葵小班',sex:'m'}}"></template>
  <view></view>
</view>
<view class='kg-separater'></view>

<scroll-view style='height:calc(100vh - 200rpx)' scroll-y='true'>
  <template is="section_header" data="{{title:'2018-09-12'}}"></template>

  <view class="category">
    <view wx:for="{{className}}">
      <view class="eat_category_btn {{selectIndex == index ? 'selected' : ''}}" bindtap='tapCategory' data-index='{{index}}'>
        {{item}}
      </view>
    </view>
  </view>
  <view class='kg-separater'></view>

<!-- 记录的信息 -->
  <view class='kg-quantity-cell' style="margin:10px;padding:10rpx 30rpx;" bindtap='tapStudent'>
    <view class='textImg'></view>
    <view class='kg-flex-row' style='justify-content:flex-start;margin-bottom:10rpx;'>
      <view class='kg-text-title'>王小明</view>
      <template is="sex" data="{{sex:'f'}}"></template>
    </view>

    <view class='home-student-picture-item' style='margin-left:0rpx;'>
      <image src='/src/img/student_picture.png' class='home-student-picture' mode='aspectFill'></image>
      <image src='/src/img/student_picture.png' class='home-student-picture' mode='aspectFill'></image>
      <image src='/src/img/student_picture.png' class='home-student-picture' mode='aspectFill'></image>
    </view>

    <view class='kg-flex-row' style='justify-content: space-between;margin:0rpx 20rpx; margin-top:10rpx'>
      <template is='imgTextView' data="{{img:'eat',text:'12' }}"> </template>
      <template is='imgTextView' data="{{img:'sleep',text:'2' }}"> </template>
      <template is='imgTextView' data="{{img:'wc',text:'2' }}"> </template>
    </view>
  </view>

  <!-- <view class='kg-quantity-cell' style="margin:10px;padding:10rpx 30rpx;">
    <view class='textImg'></view>
    <view class='kg-flex-row' style='justify-content:flex-start;margin-bottom:10rpx;'>
      <view class='kg-text-title'>王小明</view>
      <template is="sex" data="{{sex:'f'}}"></template>
    </view>

    <view class='home-student-picture-item' style='margin-left:0rpx;'>
      <image src='/src/img/student_picture.png' class='home-student-picture' mode='aspectFill'></image>
      <image src='/src/img/student_picture.png' class='home-student-picture' mode='aspectFill'></image>
      <image src='/src/img/student_picture.png' class='home-student-picture' mode='aspectFill'></image>
    </view>

    <view class='kg-flex-row' style='justify-content: space-between;margin:0rpx 20rpx; margin-top:10rpx'>
      <template is='imgTextView' data="{{img:'eat',text:'12' }}"> </template>
      <template is='imgTextView' data="{{img:'sleep',text:'2' }}"> </template>
      <template is='imgTextView' data="{{img:'wc',text:'2' }}"> </template>
    </view>
  </view>

  <view class='kg-quantity-cell' style="margin:10px;padding:10rpx 30rpx;">
    <view class='textImg'></view>
    <view class='kg-flex-row' style='justify-content:flex-start;margin-bottom:10rpx;'>
      <view class='kg-text-title'>王小明</view>
      <template is="sex" data="{{sex:'f'}}"></template>
    </view>

    <view class='home-student-picture-item' style='margin-left:0rpx;'>
      <image src='/src/img/student_picture.png' class='home-student-picture' mode='aspectFill'></image>
      <image src='/src/img/student_picture.png' class='home-student-picture' mode='aspectFill'></image>
      <image src='/src/img/student_picture.png' class='home-student-picture' mode='aspectFill'></image>
    </view>

    <view class='kg-flex-row' style='justify-content: space-between;margin:0rpx 20rpx; margin-top:10rpx'>
      <template is='imgTextView' data="{{img:'eat',text:'12' }}"> </template>
      <template is='imgTextView' data="{{img:'sleep',text:'2' }}"> </template>
      <template is='imgTextView' data="{{img:'wc',text:'2' }}"> </template>
    </view>
  </view> -->

</scroll-view>