Commit fa154d68 authored by 张杰's avatar 张杰

no message

parent 9b4e2ab5
...@@ -9,7 +9,7 @@ const ERR_NOT_ACCESS_TOKEN = 21; ...@@ -9,7 +9,7 @@ const ERR_NOT_ACCESS_TOKEN = 21;
// 取开发环境系统配置 // 取开发环境系统配置
var DEF_APP_CONFIG = { var DEF_APP_CONFIG = {
appId: "wxfc3355043e579968", // 勾芒小程序测试号 appId: "wxe19b38d5dbc061c6", // 勾芒小程序测试号
// 开发环境 // 开发环境
domain: 'https://dev.gomoretech.com/preschool', domain: 'https://dev.gomoretech.com/preschool',
baseUrl: "https://dev.gomoretech.com/preschool" baseUrl: "https://dev.gomoretech.com/preschool"
...@@ -212,6 +212,7 @@ function wx_getUserInfo() { ...@@ -212,6 +212,7 @@ function wx_getUserInfo() {
return new Promise(function (resolve, reject) { return new Promise(function (resolve, reject) {
wx.getUserInfo({ wx.getUserInfo({
success: function (res) { success: function (res) {
console.log(res)
resolve(res); resolve(res);
}, },
fail: function (res) { fail: function (res) {
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
</view> </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}}"> <view wx:if="{{dietIndex == 0}}">
<template is='imgTextView' data="{{img:'eat',text:'饮食'}}"> </template> <template is='imgTextView' data="{{img:'eat',text:'饮食'}}"> </template>
</view> </view>
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
</view> </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 wx:if="{{sleepIndex == 0}}">
<view class='kg-separater' style='height:2rpx;margin-left:80rpx;margin-right:0rpx;'></view> <view class='kg-separater' style='height:2rpx;margin-left:80rpx;margin-right:0rpx;'></view>
<template is='imgTextView' data="{{img:'sleep',text:'睡觉'}}"> </template> <template is='imgTextView' data="{{img:'sleep',text:'睡觉'}}"> </template>
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
</view> </view>
<!-- wc --> <!-- 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 wx:if="{{wcIndex == 0}}">
<view class='kg-separater' style='height:2rpx;margin-left:80rpx;margin-right:0rpx;'></view> <view class='kg-separater' style='height:2rpx;margin-left:80rpx;margin-right:0rpx;'></view>
<template is='imgTextView' data="{{img:'wc',text:'WC'}}"> </template> <template is='imgTextView' data="{{img:'wc',text:'WC'}}"> </template>
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
<!-- 今日照片 --> <!-- 今日照片 -->
<template is='imgTextView' data="{{img:'today',text:'今日照片'}}"> </template> <template is='imgTextView' data="{{img:'today',text:'今日照片'}}"> </template>
<view class='home-student-picture-item' style='margin-left:40rpx;'> <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> <image src='{{picItem}}' class='home-student-picture' catchtap='previewPic' data-picIndex='{{picIndex}}' mode='aspectFill'></image>
</view> </view>
</view> </view>
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
}, },
"compileType": "miniprogram", "compileType": "miniprogram",
"libVersion": "2.4.0", "libVersion": "2.4.0",
"appid": "wxfc3355043e579968", "appid": "wxe19b38d5dbc061c6",
"projectname": "Kindergarten", "projectname": "Kindergarten",
"debugOptions": { "debugOptions": {
"hidedInDevtools": [] "hidedInDevtools": []
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment