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
920c7a31
Commit
920c7a31
authored
Apr 12, 2019
by
jie zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复登陆页登陆按钮在某些机型上被遮挡问题、课表界面报错界面
parent
3bc30253
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
8 deletions
+10
-8
request.js
api/request.js
+4
-4
index.js
pages/home/parents/index.js
+5
-3
index.wxml
pages/login/index.wxml
+1
-1
No files found.
api/request.js
View file @
920c7a31
...
...
@@ -11,14 +11,14 @@ const ERR_NOT_ACCESS_TOKEN = 21;
var
DEF_APP_CONFIG
=
{
appId
:
"wxe19b38d5dbc061c6"
,
// 勾芒小程序测试号
// 开发环境
domain
:
'https://dev.gomoretech.com/preschool'
,
baseUrl
:
"https://dev.gomoretech.com/preschool"
//
domain: 'https://dev.gomoretech.com/preschool',
//
baseUrl: "https://dev.gomoretech.com/preschool"
// 川哥本地环境
// domain: 'http://192.168.199.230:8080/preschool',
// baseUrl: "http://192.168.199.230:8080/preschool",
// 正式环境
//
domain: 'https://preschool.gomoretech.com/preschool',
//
baseUrl: "https://preschool.gomoretech.com/preschool"
domain
:
'https://preschool.gomoretech.com/preschool'
,
baseUrl
:
"https://preschool.gomoretech.com/preschool"
}
const
extConfig
=
wx
.
getExtConfigSync
?
wx
.
getExtConfigSync
()
:
DEF_APP_CONFIG
;
const
APP_ID
=
extConfig
.
appId
||
DEF_APP_CONFIG
.
appId
;
...
...
pages/home/parents/index.js
View file @
920c7a31
...
...
@@ -90,6 +90,7 @@ Page({
})
}).
catch
(
function
(
err
)
{
console
.
log
(
err
)
wx
.
showToast
({
title
:
err
.
message
,
icon
:
'none'
,
...
...
@@ -112,9 +113,9 @@ Page({
var
classId
=
student
.
classId
request
.
getSchedule
(
classId
).
then
(
res
=>
{
console
.
log
(
"ddd"
)
let
b
=
res
.
attachment
==
null
console
.
log
(
b
)
if
(
res
==
null
)
{
return
}
this
.
setData
({
attachment
:
res
.
attachment
,
...
...
@@ -150,6 +151,7 @@ Page({
})
}).
catch
(
function
(
err
)
{
console
.
log
(
err
)
wx
.
showToast
({
title
:
err
.
message
,
icon
:
'none'
,
...
...
pages/login/index.wxml
View file @
920c7a31
<!--pages/login/index.wxml-->
<import src='/template/operate_btn/index.wxml'></import>
<image class='login_bottom' src='/src/img/login_bottom.png' mode='widthFix'></image>
<view class='kg-separater' style='height:2rpx;'></view>
<image class='login_logo' src='/src/img/login_top.png' mode='widthFix' ></image>
<view class='login-board'>
...
...
@@ -13,4 +14,3 @@
<view class='kg-operate-btn-bg'>
<button class='kg-operate-btn kg-btn-no-border' bindtap='operateTap' open-type='getUserInfo' >登录</button>
</view>
<image class='login_bottom' src='/src/img/login_bottom.png' mode='widthFix'></image>
\ No newline at end of file
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