Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
K
Kindergarten
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张杰
Kindergarten
Commits
fa154d68
Commit
fa154d68
authored
Jan 16, 2019
by
张杰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
9b4e2ab5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
6 deletions
+7
-6
request.js
api/request.js
+2
-1
index.wxml
pages/review_student/index.wxml
+4
-4
project.config.json
project.config.json
+1
-1
No files found.
api/request.js
View file @
fa154d68
...
...
@@ -9,7 +9,7 @@ const ERR_NOT_ACCESS_TOKEN = 21;
// 取开发环境系统配置
var
DEF_APP_CONFIG
=
{
appId
:
"wx
fc3355043e579968
"
,
// 勾芒小程序测试号
appId
:
"wx
e19b38d5dbc061c6
"
,
// 勾芒小程序测试号
// 开发环境
domain
:
'https://dev.gomoretech.com/preschool'
,
baseUrl
:
"https://dev.gomoretech.com/preschool"
...
...
@@ -212,6 +212,7 @@ function wx_getUserInfo() {
return
new
Promise
(
function
(
resolve
,
reject
)
{
wx
.
getUserInfo
({
success
:
function
(
res
)
{
console
.
log
(
res
)
resolve
(
res
);
},
fail
:
function
(
res
)
{
...
...
pages/review_student/index.wxml
View file @
fa154d68
...
...
@@ -16,7 +16,7 @@
</view>
<!-- 饮食 -->
<view wx:for="{{recordDetail.dietRecord}}" wx:for-item="dietItem" wx:for-index="dietIndex">
<view wx:for="{{recordDetail.dietRecord}}" wx:for-item="dietItem" wx:for-index="dietIndex"
wx:key="item.id"
>
<view wx:if="{{dietIndex == 0}}">
<template is='imgTextView' data="{{img:'eat',text:'饮食'}}"> </template>
</view>
...
...
@@ -27,7 +27,7 @@
</view>
<!-- 睡觉 -->
<view wx:for="{{recordDetail.sleepRecord}}" wx:for-item="sleepItem" wx:for-index="sleepIndex">
<view wx:for="{{recordDetail.sleepRecord}}" wx:for-item="sleepItem" wx:for-index="sleepIndex"
wx:key="item.id"
>
<view wx:if="{{sleepIndex == 0}}">
<view class='kg-separater' style='height:2rpx;margin-left:80rpx;margin-right:0rpx;'></view>
<template is='imgTextView' data="{{img:'sleep',text:'睡觉'}}"> </template>
...
...
@@ -39,7 +39,7 @@
</view>
<!-- wc -->
<view wx:for="{{recordDetail.wcRecord}}" wx:for-item="wcItem" wx:for-index="wcIndex">
<view wx:for="{{recordDetail.wcRecord}}" wx:for-item="wcItem" wx:for-index="wcIndex"
wx:key="item.id"
>
<view wx:if="{{wcIndex == 0}}">
<view class='kg-separater' style='height:2rpx;margin-left:80rpx;margin-right:0rpx;'></view>
<template is='imgTextView' data="{{img:'wc',text:'WC'}}"> </template>
...
...
@@ -54,7 +54,7 @@
<!-- 今日照片 -->
<template is='imgTextView' data="{{img:'today',text:'今日照片'}}"> </template>
<view class='home-student-picture-item' style='margin-left:40rpx;'>
<view wx:for="{{arrPic}}" wx:for-item="picItem" wx:for-index="picIndex">
<view wx:for="{{arrPic}}" wx:for-item="picItem" wx:for-index="picIndex"
wx:key="item.id"
>
<image src='{{picItem}}' class='home-student-picture' catchtap='previewPic' data-picIndex='{{picIndex}}' mode='aspectFill'></image>
</view>
</view>
...
...
project.config.json
View file @
fa154d68
...
...
@@ -12,7 +12,7 @@
},
"compileType"
:
"miniprogram"
,
"libVersion"
:
"2.4.0"
,
"appid"
:
"wx
fc3355043e579968
"
,
"appid"
:
"wx
e19b38d5dbc061c6
"
,
"projectname"
:
"Kindergarten"
,
"debugOptions"
:
{
"hidedInDevtools"
:
[]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment