Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
educationStu
Project
Project
Details
Activity
Releases
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
向伟
educationStu
Commits
985f4c6b
Commit
985f4c6b
authored
Sep 13, 2021
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
d5d61012
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
34 additions
and
44 deletions
+34
-44
contract.vue
src/pages/contract/contract.vue
+3
-2
askForLeave.vue
src/pages/course/askForLeave.vue
+3
-3
course.vue
src/pages/course/course.vue
+5
-3
index.vue
src/pages/index/index.vue
+5
-10
login.vue
src/pages/login/login.vue
+6
-6
progress.vue
src/pages/progress/progress.vue
+7
-18
surplusTime.vue
src/pages/surplusTime/surplusTime.vue
+5
-2
No files found.
src/pages/contract/contract.vue
View file @
985f4c6b
...
@@ -12,8 +12,8 @@
...
@@ -12,8 +12,8 @@
/>
/>
</view>
</view>
<view
class=
"top-right flex_grow"
>
<view
class=
"top-right flex_grow"
>
<view
class=
"course-name"
>
{{
CourseName
}}
</view>
<view
class=
"course-name
one_line
"
>
{{
CourseName
}}
</view>
<view
class=
"section-name"
>
{{
data
.
length
}}
个合同
</view>
<view
class=
"section-name
one_line
"
>
{{
data
.
length
}}
个合同
</view>
</view>
</view>
</view>
</view>
<van-empty
description=
"暂无数据"
v-if=
"data.length === 0"
/>
<van-empty
description=
"暂无数据"
v-if=
"data.length === 0"
/>
...
@@ -125,6 +125,7 @@ export default {
...
@@ -125,6 +125,7 @@ export default {
height
:
100%
;
height
:
100%
;
}
}
.course-name
{
.course-name
{
box-sizing
:
border-box
;
font-size
:
30
rpx
;
font-size
:
30
rpx
;
font-family
:
PingFang
SC
;
font-family
:
PingFang
SC
;
font-weight
:
bold
;
font-weight
:
bold
;
...
...
src/pages/course/askForLeave.vue
View file @
985f4c6b
...
@@ -204,9 +204,9 @@ export default {
...
@@ -204,9 +204,9 @@ export default {
checkboxList
:
[],
checkboxList
:
[],
checkboxListAll
:
[],
checkboxListAll
:
[],
fileList
:
[
fileList
:
[
{
//
{
url
:
"https://img.yzcdn.cn/vant/leaf.jpg"
,
//
url: "https://img.yzcdn.cn/vant/leaf.jpg",
},
//
},
],
],
totalLeaveTimes
:
0
,
totalLeaveTimes
:
0
,
leaveMsg
:
{
leaveMsg
:
{
...
...
src/pages/course/course.vue
View file @
985f4c6b
...
@@ -11,8 +11,8 @@
...
@@ -11,8 +11,8 @@
/>
/>
</view>
</view>
<view
class=
"top-right flex_grow"
>
<view
class=
"top-right flex_grow"
>
<view
class=
"course-name"
>
{{
CourseName
}}
</view>
<view
class=
"course-name
one_line
"
>
{{
CourseName
}}
</view>
<view
class=
"section-name"
>
{{
data
.
length
}}
个章节
</view>
<view
class=
"section-name
one_line
"
>
{{
data
.
length
}}
个章节
</view>
</view>
</view>
</view>
</view>
<van-empty
description=
"暂无课程"
v-if=
"data.length === 0"
/>
<van-empty
description=
"暂无课程"
v-if=
"data.length === 0"
/>
...
@@ -136,6 +136,7 @@ export default {
...
@@ -136,6 +136,7 @@ export default {
height
:
100%
;
height
:
100%
;
}
}
.course-name
{
.course-name
{
box-sizing
:
border-box
;
font-size
:
30
rpx
;
font-size
:
30
rpx
;
font-family
:
PingFang
SC
;
font-family
:
PingFang
SC
;
font-weight
:
bold
;
font-weight
:
bold
;
...
@@ -184,8 +185,9 @@ export default {
...
@@ -184,8 +185,9 @@ export default {
background-color
:
#f7f8fc
;
background-color
:
#f7f8fc
;
border-radius
:
6
rpx
;
border-radius
:
6
rpx
;
margin-top
:
20
rpx
;
margin-top
:
20
rpx
;
/* margin-left: 46rpx; */
padding-left
:
30
rpx
;
padding-left
:
30
rpx
;
padding-right
:
30
rpx
;
box-sizing
:
border-box
;
font-size
:
24
rpx
;
font-size
:
24
rpx
;
font-family
:
PingFang
SC
;
font-family
:
PingFang
SC
;
font-weight
:
500
;
font-weight
:
500
;
...
...
src/pages/index/index.vue
View file @
985f4c6b
<
template
>
<
template
>
<view>
<view
class=
"page-box"
>
<van-nav-bar
:border=
"fasle"
fixed
:z-index=
"99"
>
<van-nav-bar
:border=
"fasle"
fixed
:z-index=
"99"
>
<view
slot=
"left"
class=
"page-title"
title=
"shouye"
>
首页
</view>
<view
slot=
"left"
class=
"page-title"
title=
"shouye"
>
首页
</view>
</van-nav-bar>
</van-nav-bar>
...
@@ -97,12 +97,11 @@
...
@@ -97,12 +97,11 @@
</view>
</view>
</van-cell>
</van-cell>
</van-cell-group>
</van-cell-group>
<view
class=
"mytest flex"
>
<view
v-if=
"indexData.paperList.length == 0"
<view
v-if=
"indexData.paperList.length == 0"
><van-empty
description=
"暂无数据"
><van-empty
description=
"暂无数据"
/></view>
/></view>
<view
class=
"mytest flex"
v-if=
"indexData.paperList.length > 0"
>
<view
<view
v-if=
"indexData.paperList.length > 0"
v-for=
"(item, index) in indexData.paperList"
v-for=
"(item, index) in indexData.paperList"
:key=
"index"
:key=
"index"
class=
"test-item no_shrink"
class=
"test-item no_shrink"
...
@@ -287,9 +286,6 @@ export default {
...
@@ -287,9 +286,6 @@ export default {
title
:
"首页"
,
title
:
"首页"
,
});
});
},
},
onShow
()
{
// console.log("index Show");
},
};
};
</
script
>
</
script
>
...
@@ -297,7 +293,6 @@ export default {
...
@@ -297,7 +293,6 @@ export default {
.con
{
.con
{
box-sizing
:
border-box
;
box-sizing
:
border-box
;
padding
:
100
rpx
30
rpx
50
rpx
;
padding
:
100
rpx
30
rpx
50
rpx
;
/* padding-top: calc(140rpx + env(safe-area-inset-top)); */
}
}
.page-title
{
.page-title
{
font-size
:
44
rpx
;
font-size
:
44
rpx
;
...
...
src/pages/login/login.vue
View file @
985f4c6b
...
@@ -36,7 +36,7 @@
...
@@ -36,7 +36,7 @@
</van-cell-group>
</van-cell-group>
</view>
</view>
<van-button
block
custom-class=
"loginBtn"
@
click=
"login"
>
登录
</van-button>
<van-button
block
custom-class=
"loginBtn"
@
click=
"login"
>
登录
</van-button>
<
view
class=
"auth"
@
click=
"authLogin"
>
授权手机号一键登录
</view
>
<
!--
<view
class=
"auth"
@
click=
"authLogin"
>
授权手机号一键登录
</view>
--
>
<van-toast
id=
"van-toast"
/>
<van-toast
id=
"van-toast"
/>
</view>
</view>
</
template
>
</
template
>
...
@@ -130,9 +130,9 @@ export default {
...
@@ -130,9 +130,9 @@ export default {
res
.
Data
.
Account
=
msg
.
Account
;
res
.
Data
.
Account
=
msg
.
Account
;
// uni.clearStorage();
// uni.clearStorage();
try
{
try
{
uni
.
setStorageSync
(
'userInfo'
,
res
.
Data
);
uni
.
setStorageSync
(
"userInfo"
,
res
.
Data
);
}
catch
(
e
)
{
}
catch
(
e
)
{
console
.
log
(
e
,
'eeeee'
);
console
.
log
(
e
,
"eeeee"
);
}
}
Toast
.
success
(
"登录成功"
);
Toast
.
success
(
"登录成功"
);
setTimeout
(()
=>
{
setTimeout
(()
=>
{
...
...
src/pages/progress/progress.vue
View file @
985f4c6b
...
@@ -11,8 +11,8 @@
...
@@ -11,8 +11,8 @@
/>
/>
</view>
</view>
<view
class=
"top-right flex_grow"
>
<view
class=
"top-right flex_grow"
>
<view
class=
"course-name"
>
{{
CourseName
}}
</view>
<view
class=
"course-name
one_line
"
>
{{
CourseName
}}
</view>
<view
class=
"section-name"
>
{{
data
.
length
}}
个章节
</view>
<view
class=
"section-name
one_line
"
>
{{
data
.
length
}}
个章节
</view>
</view>
</view>
</view>
</view>
<van-empty
description=
"暂无数据"
v-if=
"data.length === 0"
/>
<van-empty
description=
"暂无数据"
v-if=
"data.length === 0"
/>
...
@@ -39,7 +39,7 @@
...
@@ -39,7 +39,7 @@
<view
<view
v-for=
"(_item, _index) in item.ChapterTreeInfo.ChildList"
v-for=
"(_item, _index) in item.ChapterTreeInfo.ChildList"
:key=
"_index"
:key=
"_index"
class=
"course-list"
class=
"course-list
one_line
"
>
>
{{
_item
.
ChapterName
}}
{{
_item
.
ChapterName
}}
</view>
</view>
...
@@ -69,20 +69,7 @@ export default {
...
@@ -69,20 +69,7 @@ export default {
msg
:
{
msg
:
{
ClassId
:
0
,
ClassId
:
0
,
},
},
data
:
[
data
:
[],
{
name
:
"第一次课"
,
coursetime
:
"4课时"
,
children
:
[
{
name
:
"4.1 第一课活动篇****你好"
,
},
{
name
:
"4.2 第一课理解篇****平假名"
,
},
],
},
],
CourseName
:
""
,
CourseName
:
""
,
});
});
let
methods
=
{
let
methods
=
{
...
@@ -147,6 +134,7 @@ export default {
...
@@ -147,6 +134,7 @@ export default {
height
:
100%
;
height
:
100%
;
}
}
.course-name
{
.course-name
{
box-sizing
:
border-box
;
font-size
:
30
rpx
;
font-size
:
30
rpx
;
font-family
:
PingFang
SC
;
font-family
:
PingFang
SC
;
font-weight
:
bold
;
font-weight
:
bold
;
...
@@ -195,8 +183,9 @@ export default {
...
@@ -195,8 +183,9 @@ export default {
background-color
:
#f7f8fc
;
background-color
:
#f7f8fc
;
border-radius
:
6
rpx
;
border-radius
:
6
rpx
;
margin-top
:
20
rpx
;
margin-top
:
20
rpx
;
/* margin-left: 46rpx; */
padding-left
:
30
rpx
;
padding-left
:
30
rpx
;
padding-right
:
30
rpx
;
box-sizing
:
border-box
;
font-size
:
24
rpx
;
font-size
:
24
rpx
;
font-family
:
PingFang
SC
;
font-family
:
PingFang
SC
;
font-weight
:
500
;
font-weight
:
500
;
...
...
src/pages/surplusTime/surplusTime.vue
View file @
985f4c6b
...
@@ -11,8 +11,8 @@
...
@@ -11,8 +11,8 @@
/>
/>
</view>
</view>
<view
class=
"top-right flex_grow"
>
<view
class=
"top-right flex_grow"
>
<view
class=
"course-name"
>
{{
CourseName
}}
</view>
<view
class=
"course-name
one_line
"
>
{{
CourseName
}}
</view>
<view
class=
"section-name"
>
{{
SurplusHours
}}
课时
</view>
<view
class=
"section-name
one_line
"
>
{{
SurplusHours
}}
课时
</view>
</view>
</view>
</view>
</view>
<van-empty
description=
"暂无数据"
v-if=
"data.length === 0"
/>
<van-empty
description=
"暂无数据"
v-if=
"data.length === 0"
/>
...
@@ -153,6 +153,7 @@ export default {
...
@@ -153,6 +153,7 @@ export default {
height
:
100%
;
height
:
100%
;
}
}
.course-name
{
.course-name
{
box-sizing
:
border-box
;
font-size
:
30
rpx
;
font-size
:
30
rpx
;
font-family
:
PingFang
SC
;
font-family
:
PingFang
SC
;
font-weight
:
bold
;
font-weight
:
bold
;
...
@@ -190,6 +191,8 @@ export default {
...
@@ -190,6 +191,8 @@ export default {
border-radius
:
6
rpx
;
border-radius
:
6
rpx
;
margin-top
:
20
rpx
;
margin-top
:
20
rpx
;
padding-left
:
30
rpx
;
padding-left
:
30
rpx
;
padding-right
:
30
rpx
;
box-sizing
:
border-box
;
font-size
:
22
rpx
;
font-size
:
22
rpx
;
font-family
:
PingFang
SC
;
font-family
:
PingFang
SC
;
font-weight
:
500
;
font-weight
:
500
;
...
...
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