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
46dfb092
Commit
46dfb092
authored
Jun 29, 2022
by
tangjiale
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
2095ac3e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
7 deletions
+3
-7
collect-list.wxml
subPages/course/collect-list/collect-list.wxml
+1
-1
index.js
subPages/login/login/index.js
+1
-5
detail.js
subPages/sport/detail/detail.js
+1
-1
No files found.
subPages/course/collect-list/collect-list.wxml
View file @
46dfb092
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
<view class="course-img">
<view class="course-img">
<view class="course-type {{item.type==1?'gree-c':'yell-c'}}">{{item.type==1?'正式班课':'体验课'}}</view>
<view class="course-type {{item.type==1?'gree-c':'yell-c'}}">{{item.type==1?'正式班课':'体验课'}}</view>
<image class="course-img" mode="aspectFill" src="{{item.poster}}" />
<image class="course-img" mode="aspectFill" src="{{item.poster}}" />
<view class="course-nums">{{item.type
==1?'已购' + (item.peopleNum || 0) + '人': item.peopleNum || 0 +
'已体验'}}</view>
<view class="course-nums">{{item.type
== 1 ? '已购'+ (item.peopleNum || 0) +'人' : (item.peopleNum || 0)+
'已体验'}}</view>
</view>
</view>
<view class="course-info">
<view class="course-info">
<view class="course-h">
<view class="course-h">
...
...
subPages/login/login/index.js
View file @
46dfb092
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
* @eMail: 932055106@qq.com
* @eMail: 932055106@qq.com
* @Date: 2022-06-06 15:52:31
* @Date: 2022-06-06 15:52:31
* @LastEditors: tangjiale
* @LastEditors: tangjiale
* @LastEditTime: 2022-06-2
2 09:50:40
* @LastEditTime: 2022-06-2
9 10:39:56
*/
*/
var
API
=
require
(
"../../../utils/request.js"
);
var
API
=
require
(
"../../../utils/request.js"
);
var
postData
=
{};
var
postData
=
{};
...
@@ -71,8 +71,6 @@ Page({
...
@@ -71,8 +71,6 @@ Page({
if
(
res
.
data
.
birthday
&&
res
.
data
.
birthday
.
length
){
if
(
res
.
data
.
birthday
&&
res
.
data
.
birthday
.
length
){
res
.
data
.
birthday
=
res
.
data
.
birthday
.
slice
(
0
,
10
)
res
.
data
.
birthday
=
res
.
data
.
birthday
.
slice
(
0
,
10
)
}
}
//TODO 开发阶段写死身份
// res.data.peopleType = 'employ'
wx
.
setStorageSync
(
'userInfo'
,
res
.
data
)
wx
.
setStorageSync
(
'userInfo'
,
res
.
data
)
}
}
});
});
...
@@ -145,8 +143,6 @@ Page({
...
@@ -145,8 +143,6 @@ Page({
}
}
})
})
}
}
//TODO 开发阶段写死身份
// res.data.peopleType = 'employ'
wx
.
setStorageSync
(
'token'
,
res
.
data
.
token
)
wx
.
setStorageSync
(
'token'
,
res
.
data
.
token
)
wx
.
setStorageSync
(
'peopleType'
,
res
.
data
.
peopleType
)
wx
.
setStorageSync
(
'peopleType'
,
res
.
data
.
peopleType
)
//获取用户微信相关的详细信息
//获取用户微信相关的详细信息
...
...
subPages/sport/detail/detail.js
View file @
46dfb092
...
@@ -125,7 +125,7 @@ Page({
...
@@ -125,7 +125,7 @@ Page({
16
:
'ydtt'
,
//原地踢腿
16
:
'ydtt'
,
//原地踢腿
17
:
'ydp'
,
//原地跑
17
:
'ydp'
,
//原地跑
}
}
// TOD
U
由于原生小程序受限,无法动态配置mixins和behaviors来做逻辑混淆,所以AI页面只能逐一列出
// TOD
O
由于原生小程序受限,无法动态配置mixins和behaviors来做逻辑混淆,所以AI页面只能逐一列出
if
([
1
,
2
,
3
,
11
,
13
,
14
,
15
,
16
,
17
].
includes
(
this
.
data
.
sportDetail
.
id
)){
if
([
1
,
2
,
3
,
11
,
13
,
14
,
15
,
16
,
17
].
includes
(
this
.
data
.
sportDetail
.
id
)){
wx
.
navigateTo
({
wx
.
navigateTo
({
url
:
`../../../subPages/sport/ai-
${
sportName
[
this
.
data
.
sportDetail
.
id
]}
-sport/ai-
${
sportName
[
this
.
data
.
sportDetail
.
id
]}
-sport?sportTime=
${
time
}
`
,
url
:
`../../../subPages/sport/ai-
${
sportName
[
this
.
data
.
sportDetail
.
id
]}
-sport/ai-
${
sportName
[
this
.
data
.
sportDetail
.
id
]}
-sport?sportTime=
${
time
}
`
,
...
...
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