Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sport-train
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
tangjiale
sport-train
Commits
7d2ce26e
Commit
7d2ce26e
authored
Jul 06, 2022
by
tangjiale
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新代码
parent
f5a027e4
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
13 additions
and
57 deletions
+13
-57
app.js
app.js
+4
-4
login-logo.png
images/login-logo.png
+0
-0
project.private.config.json
project.private.config.json
+2
-44
share.js
subPages/bluetooth/share/share.js
+4
-4
index.wxml
subPages/login/login/index.wxml
+1
-3
ordinDaka.js
subPages/sport/ordinDaka/ordinDaka.js
+1
-1
share.js
subPages/sport/share/share.js
+1
-1
No files found.
app.js
View file @
7d2ce26e
...
@@ -3,11 +3,11 @@
...
@@ -3,11 +3,11 @@
* @eMail: 932055106@qq.com
* @eMail: 932055106@qq.com
* @Date: 2022-01-13 17:47:44
* @Date: 2022-01-13 17:47:44
* @LastEditors: tangjiale
* @LastEditors: tangjiale
* @LastEditTime: 2022-07-06
09:00:14
* @LastEditTime: 2022-07-06
10:30:58
*/
*/
// wx.setStorageSync('host', 'https://sdb.youchengzhang.cn/
'); //正式环境
wx
.
setStorageSync
(
'host'
,
'https://api.xiaobentiyu.cn/pxmobileapi
'
);
//正式环境
// wx.setStorageSync('host', 'https://test.xiaobentiyu.cn'); //测试环境
wx
.
setStorageSync
(
'host'
,
'https://test.xiaobentiyu.cn/pxmobileapi'
);
//测试环境
//
wx.setStorageSync('host', 'https://test.xiaobentiyu.cn/pxmobileapi'); //测试环境
//https://test.xiaobentiyu.cn/pxmobileapi
//https://test.xiaobentiyu.cn/pxmobileapi
//https://test.xiaobentiyu.cn/pxmobileapi/doc.html#/home
//https://test.xiaobentiyu.cn/pxmobileapi/doc.html#/home
...
...
images/login-logo.png
0 → 100644
View file @
7d2ce26e
29.5 KB
project.private.config.json
View file @
7d2ce26e
...
@@ -11,50 +11,7 @@
...
@@ -11,50 +11,7 @@
"list"
:
[]
"list"
:
[]
},
},
"miniprogram"
:
{
"miniprogram"
:
{
"list"
:
[
"list"
:
[]
{
"name"
:
""
,
"pathName"
:
"subPages/organ/destory-student/destory-student"
,
"query"
:
"stuId=16&schId="
,
"launchMode"
:
"default"
,
"scene"
:
null
},
{
"name"
:
""
,
"pathName"
:
"pages/sport/sport"
,
"query"
:
""
,
"launchMode"
:
"default"
,
"scene"
:
null
},
{
"name"
:
""
,
"pathName"
:
"subPages/course/detail/detail"
,
"query"
:
"id=17118"
,
"launchMode"
:
"default"
,
"scene"
:
null
},
{
"name"
:
""
,
"pathName"
:
"subPages/organ/course-list/course-list"
,
"query"
:
"courseType=1"
,
"launchMode"
:
"default"
,
"scene"
:
null
},
{
"name"
:
""
,
"pathName"
:
"subPages/sport/ai-fwc-sport/ai-fwc-sport"
,
"query"
:
"sportTime=60"
,
"launchMode"
:
"default"
,
"scene"
:
null
},
{
"name"
:
""
,
"pathName"
:
"subPages/login/login/index"
,
"query"
:
""
,
"scene"
:
null
,
"launchMode"
:
"default"
}
]
}
}
}
}
}
}
\ No newline at end of file
subPages/bluetooth/share/share.js
View file @
7d2ce26e
...
@@ -153,7 +153,7 @@ Page({
...
@@ -153,7 +153,7 @@ Page({
var
medalContent
=
res
.
target
.
dataset
.
item
.
name
;
var
medalContent
=
res
.
target
.
dataset
.
item
.
name
;
return
{
return
{
title
:
'我在小奔体育获得'
+
medalContent
+
'勋章,快来和我一起训练吧!'
,
title
:
'我在小奔体育获得'
+
medalContent
+
'勋章,快来和我一起训练吧!'
,
path
:
'
packageA/skip/medalShare/medalS
hare?medalId='
+
medalId
,
path
:
'
/subPages/bluetooth/share/s
hare?medalId='
+
medalId
,
imageUrl
:
'https://cdn.xiaobentiyu.cn/sport_minapp_img/medal-share.png'
imageUrl
:
'https://cdn.xiaobentiyu.cn/sport_minapp_img/medal-share.png'
}
}
}
}
...
@@ -169,7 +169,7 @@ Page({
...
@@ -169,7 +169,7 @@ Page({
var
medalContent
=
res
.
target
.
dataset
.
item
.
name
;
var
medalContent
=
res
.
target
.
dataset
.
item
.
name
;
return
{
return
{
title
:
'我在小奔体育获得'
+
medalContent
+
'勋章,快来和我一起训练吧!'
,
title
:
'我在小奔体育获得'
+
medalContent
+
'勋章,快来和我一起训练吧!'
,
path
:
'
packageA/skip/medalShare/medalS
hare?medalId='
+
medalId
,
path
:
'
/subPages/bluetooth/share/s
hare?medalId='
+
medalId
,
imageUrl
:
'https://cdn.xiaobentiyu.cn/sport_minapp_img/medal-share.png'
imageUrl
:
'https://cdn.xiaobentiyu.cn/sport_minapp_img/medal-share.png'
}
}
}
}
...
@@ -187,7 +187,7 @@ Page({
...
@@ -187,7 +187,7 @@ Page({
}
}
return
{
return
{
title
:
that
.
data
.
shareInfo
,
title
:
that
.
data
.
shareInfo
,
path
:
'
packageA/skip
/share/share?shareId='
+
that
.
data
.
shareId
+
'&ordin='
+
model
path
:
'
/subPages/bluetooth
/share/share?shareId='
+
that
.
data
.
shareId
+
'&ordin='
+
model
}
}
}
}
if
(
res
.
target
.
id
==
4
)
{
if
(
res
.
target
.
id
==
4
)
{
...
@@ -201,7 +201,7 @@ Page({
...
@@ -201,7 +201,7 @@ Page({
var
medalContent
=
res
.
target
.
dataset
.
content
;
var
medalContent
=
res
.
target
.
dataset
.
content
;
return
{
return
{
title
:
'我在小奔体育获得'
+
medalContent
+
'勋章,快来和我一起训练吧!'
,
title
:
'我在小奔体育获得'
+
medalContent
+
'勋章,快来和我一起训练吧!'
,
path
:
'
packageA/skip/medalShare/medalS
hare?medalId='
+
medalId
+
'&dan=1'
,
path
:
'
/subPages/bluetooth/share/s
hare?medalId='
+
medalId
+
'&dan=1'
,
imageUrl
:
'https://cdn.xiaobentiyu.cn/sport_minapp_img/medal-share.png'
imageUrl
:
'https://cdn.xiaobentiyu.cn/sport_minapp_img/medal-share.png'
}
}
}
}
...
...
subPages/login/login/index.wxml
View file @
7d2ce26e
<view class='no-login'>
<view class='no-login'>
<view class="login">
<view class="login">
<image class="no-login-top" src='
https://cdn.xiaobentiyu.cn/sport_minapp_img/home/
logo.png'></image>
<image class="no-login-top" src='
/images/login-
logo.png'></image>
</view>
</view>
<button wx:if="{{checkboxValue}}" class="btn" open-type="getPhoneNumber" lang="zh_CN"
<button wx:if="{{checkboxValue}}" class="btn" open-type="getPhoneNumber" lang="zh_CN"
bindgetphonenumber="getPhoneNumber">微信一键登录</button>
bindgetphonenumber="getPhoneNumber">微信一键登录</button>
...
@@ -20,6 +20,5 @@
...
@@ -20,6 +20,5 @@
</checkbox-group>
</checkbox-group>
<view class="instructions">
<view class="instructions">
小程序主要用于中小学生体质健康服务,教育局、学校需进行信息验证,验证通过即可使用相关功能。
</view>
</view>
</view>
</view>
\ No newline at end of file
subPages/sport/ordinDaka/ordinDaka.js
View file @
7d2ce26e
...
@@ -333,7 +333,7 @@ Page({
...
@@ -333,7 +333,7 @@ Page({
success
:
(
res
)
=>
{
success
:
(
res
)
=>
{
if
(
sportType
==
1
){
if
(
sportType
==
1
){
wx
.
redirectTo
({
wx
.
redirectTo
({
url
:
'
../..
/bluetooth/share/share?ordin=1&id='
+
uid
+
'&showMedal=1&sportTime='
+
that
.
data
.
showTime
,
url
:
'
/subPages
/bluetooth/share/share?ordin=1&id='
+
uid
+
'&showMedal=1&sportTime='
+
that
.
data
.
showTime
,
})
})
}
else
{
}
else
{
wx
.
switchTab
({
wx
.
switchTab
({
...
...
subPages/sport/share/share.js
View file @
7d2ce26e
...
@@ -268,7 +268,7 @@ Page({
...
@@ -268,7 +268,7 @@ Page({
return
{
return
{
title
:
name
+
'在“小奔体育”小程序中完成了一次'
+
ai
+
project
+
'训练,邀请您也一起参与!'
,
title
:
name
+
'在“小奔体育”小程序中完成了一次'
+
ai
+
project
+
'训练,邀请您也一起参与!'
,
path
:
'
packageA/sitUp
/share/share?id='
+
that
.
data
.
id
+
'&share=1&showMedal=0&sportTime='
+
that
.
data
.
sportTime
,
path
:
'
/subPages/sport
/share/share?id='
+
that
.
data
.
id
+
'&share=1&showMedal=0&sportTime='
+
that
.
data
.
sportTime
,
imageUrl
:
imageUrl
imageUrl
:
imageUrl
}
}
}
}
...
...
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