Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fk_xcx
Overview
Overview
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
李静静
fk_xcx
Commits
d29c5dd7
Commit
d29c5dd7
authored
Oct 14, 2021
by
李静静
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改title
parent
a5c3d659
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
14 deletions
+15
-14
.gitignore
.gitignore
+1
-0
app.js
app.js
+12
-12
app.json
app.json
+1
-1
index.js
pages/freeCourse/index.js
+1
-1
No files found.
.gitignore
0 → 100644
View file @
d29c5dd7
.idea
app.js
View file @
d29c5dd7
//app.js
App
({
onLaunch
:
function
()
{
if
(
!
wx
.
cloud
)
{
console
.
error
(
'请使用 2.2.3 或以上的基础库以使用云能力'
)
}
else
{
wx
.
cloud
.
init
({
// env 参数说明:
// env 参数决定接下来小程序发起的云开发调用(wx.cloud.xxx)会默认请求到哪个云环境的资源
// 此处请填入环境 ID, 环境 ID 可打开云控制台查看
// 如不填则使用默认环境(第一个创建的环境)
// env: 'my-env-id',
traceUser
:
true
,
})
}
//
if (!wx.cloud) {
//
console.error('请使用 2.2.3 或以上的基础库以使用云能力')
//
} else {
//
wx.cloud.init({
//
// env 参数说明:
//
// env 参数决定接下来小程序发起的云开发调用(wx.cloud.xxx)会默认请求到哪个云环境的资源
//
// 此处请填入环境 ID, 环境 ID 可打开云控制台查看
//
// 如不填则使用默认环境(第一个创建的环境)
//
// env: 'my-env-id',
//
traceUser: true,
//
})
//
}
this
.
globalData
=
{}
}
...
...
app.json
View file @
d29c5dd7
...
...
@@ -13,7 +13,7 @@
"backgroundColor"
:
"#F6F6F6"
,
"backgroundTextStyle"
:
"light"
,
"navigationBarBackgroundColor"
:
"#F6F6F6"
,
"navigationBarTitleText"
:
""
,
"navigationBarTitleText"
:
"
万国深蓝法考
"
,
"navigationBarTextStyle"
:
"black"
},
"sitemapLocation"
:
"sitemap.json"
,
...
...
pages/freeCourse/index.js
View file @
d29c5dd7
...
...
@@ -96,7 +96,7 @@ Page({
wx
.
showModal
(
obj
)
},
completemessage
:
function
(
res
){
console
.
log
(
"complete"
,
arguments
,
res
.
detail
.
notifytype
)
console
.
log
(
"complete"
,
arguments
,
res
.
detail
)
if
(
Number
(
res
.
detail
.
errcode
)
===-
3004
){
wxShowModal
({
title
:
'用户信息授权失败'
,
...
...
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