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