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
95d22c35
Commit
95d22c35
authored
Jan 13, 2022
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2
parent
506ac1eb
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
326 additions
and
300 deletions
+326
-300
index.vue
src/pages/index/index.vue
+2
-2
login.vue
src/pages/login/login.vue
+289
-290
person.vue
src/pages/person/person.vue
+35
-8
No files found.
src/pages/index/index.vue
View file @
95d22c35
...
...
@@ -2,7 +2,7 @@
<view
class=
"indexpage"
>
<navbar
class=
"navbarSticky"
bg=
"#F5F5F5"
>
<view
class=
"navbarCon"
>
<view
class=
"pagetitle"
@
click=
"jumpPage('/pages/login/login')"
>
<view
class=
"pagetitle"
>
首页
</view>
<view
class=
"loginBox"
>
...
...
@@ -249,7 +249,7 @@
return
obj
},
againdata
()
{
data
.
pageData
=
uni
.
getStorageSync
(
"userInfo"
);
data
.
userData
=
uni
.
getStorageSync
(
'userInfo'
);
methods
.
getIndexData
();
methods
.
getActivityData
();
},
...
...
src/pages/login/login.vue
View file @
95d22c35
This diff is collapsed.
Click to expand it.
src/pages/person/person.vue
View file @
95d22c35
...
...
@@ -5,7 +5,9 @@
<!--
<view
class=
"date"
>
2021年12月30日
</view>
-->
<view
class=
"name"
>
Hello,
{{
pageData
.
StuName
||
''
}}
</view>
<view
class=
"name"
>
<text
v-if=
"pageData.StuName"
>
Hello,
{{
pageData
.
StuName
}}
</text><text
v-if=
"!pageData.StuName&&pageData.StuName!==''"
@
click=
"jumpPage('/pages/login/login')"
>
未登录
</text>
</view>
</view>
<view
class=
"right"
>
<image
:src=
"pageData.StuIcon"
mode=
"aspectFill"
style=
"width:100%;height:100%;border-radius: 50%;"
>
...
...
@@ -15,7 +17,7 @@
<view
class=
"orderInfo flex_between_center"
>
<view
class=
"orderItem "
>
<view
class=
" flex_between_center"
style=
"width:100%"
>
<view
class=
"orderNum"
>
{{
pageData
.
OrderNum
}}
</view>
<view
class=
"orderNum"
>
{{
pageData
.
OrderNum
||
0
}}
</view>
<image
src=
"../../static/image/person/order1.png"
mode=
"aspectFill"
class=
"orderIcon"
></image>
</view>
<view
class=
"orderName"
>
...
...
@@ -24,16 +26,16 @@
</view>
<view
class=
"orderItem "
>
<view
class=
" flex_between_center"
style=
"width:100%"
>
<view
class=
"orderNum"
>
{{
pageData
.
StudyAbroadNum
}}
</view>
<view
class=
"orderNum"
>
{{
pageData
.
StudyAbroadNum
||
0
}}
</view>
<image
src=
"../../static/image/person/order2.png"
mode=
"aspectFill"
class=
"orderIcon"
></image>
</view>
<view
class=
"orderName"
>
留学订单
</view>
</view>
<view
class=
"orderItem "
>
<view
class=
"orderItem "
>
<view
class=
" flex_between_center"
style=
"width:100%"
>
<view
class=
"orderNum"
>
{{
pageData
.
ContractNum
}}
</view>
<view
class=
"orderNum"
>
{{
pageData
.
ContractNum
||
0
}}
</view>
<image
src=
"../../static/image/person/order3.png"
mode=
"aspectFill"
class=
"orderIcon"
></image>
</view>
<view
class=
"orderName"
>
...
...
@@ -71,8 +73,29 @@
</view>
<view
class=
"courseBox"
>
<view
class=
"left"
>
<view
style=
"width: 115rpx;
height: 13rpx;
background-color: #9CD4C1;
border-radius: 6rpx;
margin-bottom: 20rpx;
"
>
</view>
<view
style=
"width: 90rpx;
height: 13rpx;
background-color: #9CD4C1;
border-radius: 6rpx;
margin-bottom: 20rpx;
"
>
</view>
<view
style=
"width: 60rpx;
height: 13rpx;
background-color: #9CD4C1;
border-radius: 6rpx;
"
>
</view>
<image
:src=
"pageData.CourseInfo.B2BIcon"
mode=
"aspectFill"
style=
"width:100%;height:100%;border-radius: 30rpx;"
></image>
style=
"width:115rpx;height:115rpx;border-radius: 6rpx; position: absolute;bottom:10rpx;right: 18rpx;"
>
</image>
</view>
<view
class=
"right"
>
<view
class=
"className one_line"
>
{{
...
...
@@ -144,7 +167,7 @@
}
=
getCurrentInstance
();
let
data
=
reactive
({
pageData
:
{
AssistList
:[]
AssistList
:
[]
},
});
const
methods
=
{
...
...
@@ -171,7 +194,7 @@
};
},
onShow
()
{
if
(
this
.
$isLogin
())
{
if
(
this
.
$isLogin
())
{
this
.
getData
();
}
}
...
...
@@ -316,6 +339,10 @@
background
:
#d5f3e9
;
border-radius
:
30
rpx
;
margin-right
:
40
rpx
;
box-sizing
:
border-box
;
padding-top
:
40
rpx
;
padding-left
:
30
rpx
;
position
:
relative
;
}
.courseBox
.right
{
...
...
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