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
e298b48c
Commit
e298b48c
authored
Jan 06, 2022
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2
parent
ca53f6d4
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
238 additions
and
13 deletions
+238
-13
bottom.vue
src/components/bottom.vue
+18
-0
pages.json
src/pages.json
+2
-1
person.vue
src/pages/person/person.vue
+210
-12
common.css
src/static/css/common.css
+8
-0
bottomlogo.png
src/static/image/bottomlogo.png
+0
-0
order3.png
src/static/image/person/order3.png
+0
-0
No files found.
src/components/bottom.vue
0 → 100644
View file @
e298b48c
<
template
>
<view
class=
"bottom"
>
<image
src=
"../static/image/bottomlogo.png"
mode=
""
class=
"img"
/>
</view>
</
template
>
<
style
scoped
>
.bottom
{
width
:
100vw
;
height
:
130
rpx
;
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
}
.img
{
width
:
165
rpx
;
height
:
55
rpx
;
}
</
style
>
src/pages.json
View file @
e298b48c
...
@@ -30,7 +30,8 @@
...
@@ -30,7 +30,8 @@
"path"
:
"pages/person/person"
,
"path"
:
"pages/person/person"
,
"style"
:{
"style"
:{
"navigationBarTitleText"
:
"个人中心"
,
"navigationBarTitleText"
:
"个人中心"
,
"backgroundColor"
:
"#f5f5f5"
"backgroundColor"
:
"#f5f5f5"
,
"navigationBarBackgroundColor"
:
"#f5f5f5"
}
}
}],
}],
"subPackages"
:
[{
"subPackages"
:
[{
...
...
src/pages/person/person.vue
View file @
e298b48c
...
@@ -12,7 +12,8 @@
...
@@ -12,7 +12,8 @@
:src=
"pageData.StuIcon"
:src=
"pageData.StuIcon"
mode=
"aspectFill"
mode=
"aspectFill"
style=
"width:100%;height:100%;border-radius: 50%;"
style=
"width:100%;height:100%;border-radius: 50%;"
></image>
>
</image>
</view>
</view>
</view>
</view>
<view
class=
"orderInfo flex_between_center"
>
<view
class=
"orderInfo flex_between_center"
>
...
@@ -23,8 +24,8 @@
...
@@ -23,8 +24,8 @@
src=
"../../static/image/person/order1.png"
src=
"../../static/image/person/order1.png"
mode=
"aspectFill"
mode=
"aspectFill"
class=
"orderIcon"
class=
"orderIcon"
></image
></image
>
>
</view>
</view>
<view
class=
"orderName"
>
<view
class=
"orderName"
>
语培订单
语培订单
</view>
</view>
...
@@ -36,8 +37,8 @@
...
@@ -36,8 +37,8 @@
src=
"../../static/image/person/order2.png"
src=
"../../static/image/person/order2.png"
mode=
"aspectFill"
mode=
"aspectFill"
class=
"orderIcon"
class=
"orderIcon"
></image
></image
>
>
</view>
</view>
<view
class=
"orderName"
>
<view
class=
"orderName"
>
留学订单
留学订单
</view>
</view>
...
@@ -46,11 +47,11 @@
...
@@ -46,11 +47,11 @@
<view
class=
" flex_between_center"
style=
"width:100%"
>
<view
class=
" flex_between_center"
style=
"width:100%"
>
<view
class=
"orderNum"
>
{{
pageData
.
ContractNum
}}
</view>
<view
class=
"orderNum"
>
{{
pageData
.
ContractNum
}}
</view>
<image
<image
src=
"../../static/image/person/order
1
.png"
src=
"../../static/image/person/order
3
.png"
mode=
"aspectFill"
mode=
"aspectFill"
class=
"orderIcon"
class=
"orderIcon"
></image
></image
>
>
</view>
</view>
<view
class=
"orderName"
>
<view
class=
"orderName"
>
合同信息
合同信息
</view>
</view>
...
@@ -89,10 +90,67 @@
...
@@ -89,10 +90,67 @@
</view>
</view>
</view>
</view>
<view
class=
"courseBox"
>
<view
class=
"courseBox"
>
<view
class=
"left"
></view>
<view
class=
"left"
>
<view
class=
"right"
>
</view>
<image
:src=
"pageData.CourseInfo.B2BIcon"
mode=
"aspectFill"
style=
"width:100%;height:100%;border-radius: 30rpx;"
></image>
</view>
<view
class=
"right"
>
<view
class=
"className one_line"
>
{{
pageData
.
CourseInfo
.
CourseName
}}
</view>
<view
class=
"Grade"
style=
"margin-bottom:20rpx"
>
{{
pageData
.
CourseInfo
.
ClassName
}}
</view>
<view
class=
"Grade"
>
等级:
{{
pageData
.
CourseInfo
.
CourseRate
}}
</view>
<view
><text
class=
"Grade"
>
状态:
</text>
<text
class=
"StatusName"
>
{{
pageData
.
CourseInfo
.
ClassStatusName
}}
</text>
</view>
</view>
</view>
</view>
</view>
</view>
<view
class=
"serve"
>
<view
class=
"serveSubTitle"
>
随时电话联系哟
</view>
<view
class=
"serveTitle"
>
服务人员信息
</view>
<view
v-for=
"(item,index) in AssistList"
:key=
"index"
class=
"serviceItem"
>
<view
class=
"headimg"
>
<image
:src=
"item.UserIcon"
mode=
"aspectFill"
style=
"width:100%;height:100%;border-radius: 24rpx;"
v-if=
"item.UserIcon"
/>
<view
class=
"flex_center_center"
style=
"width:100%;height:100%;border-radius: 24rpx;font-size: 46rpx;font-weight: bold;color: #FFFFFF;background-color: #4c50e7;"
v-else
>
{{
item
.
EmployeeName
.
slice
(
0
,
1
)
}}
</view
>
</view>
<view
class=
"serviceInfo flex_between_center"
>
<view
class=
"flex_start_around"
style=
"width:380rpx;height:100%"
>
<view
class=
"flex_start_center"
style=
"height:32rpx"
>
<text
class=
"EmployeeName"
>
{{
item
.
EmployeeName
}}
</text
><text
class=
"AssistTypeName"
>
{{
item
.
AssistTypeName
}}
</text>
</view>
<view
class=
"Mobile"
>
{{
item
.
Mobile
}}
</view>
</view>
<view
style=
"width:60rpx;height:40rpx;"
@
click=
"callphone(item.Mobile)"
>
<image
src=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/educationStu/callphone.png"
mode=
"aspectFit"
style=
"width:100%;height:100%"
/>
</view>
</view>
</view>
</view>
<bottom
/>
</view>
</view>
</
template
>
</
template
>
...
@@ -108,11 +166,35 @@ import {
...
@@ -108,11 +166,35 @@ import {
onMounted
,
onMounted
,
inject
,
inject
,
}
from
"vue"
;
}
from
"vue"
;
import
bottom
from
"../../components/bottom"
;
export
default
{
export
default
{
components
:
{
bottom
,
},
setup
(
props
,
context
)
{
setup
(
props
,
context
)
{
let
{
proxy
}
=
getCurrentInstance
();
let
{
proxy
}
=
getCurrentInstance
();
let
data
=
reactive
({
let
data
=
reactive
({
pageData
:
{},
pageData
:
{},
AssistList
:
[
{
AssistTypeName
:
"市场经理"
,
EmployeeName
:
"阿里粑粑"
,
UserIcon
:
""
,
Mobile
:
"18011251414"
,
},
{
AssistTypeName
:
"市场经理"
,
EmployeeName
:
"阿里粑粑"
,
UserIcon
:
""
,
Mobile
:
"18011251414"
,
},
{
AssistTypeName
:
"市场经理"
,
EmployeeName
:
"阿里粑粑"
,
UserIcon
:
""
,
Mobile
:
"18011251414"
,
},
],
});
});
const
methods
=
{
const
methods
=
{
async
getData
()
{
async
getData
()
{
...
@@ -121,6 +203,11 @@ export default {
...
@@ -121,6 +203,11 @@ export default {
console
.
log
(
431
,
data
.
pageData
);
console
.
log
(
431
,
data
.
pageData
);
});
});
},
},
callphone
(
num
)
{
uni
.
makePhoneCall
({
phoneNumber
:
num
,
});
},
};
};
onMounted
(()
=>
{
onMounted
(()
=>
{
...
@@ -129,6 +216,7 @@ export default {
...
@@ -129,6 +216,7 @@ export default {
let
that
=
methods
;
let
that
=
methods
;
return
{
return
{
...
toRefs
(
data
),
...
toRefs
(
data
),
...
methods
};
};
},
},
};
};
...
@@ -136,7 +224,7 @@ export default {
...
@@ -136,7 +224,7 @@ export default {
<
style
scoped
>
<
style
scoped
>
.person
{
.person
{
height
:
100vh
;
min-
height
:
100vh
;
background-color
:
#f5f5f5
;
background-color
:
#f5f5f5
;
}
}
...
@@ -188,38 +276,46 @@ export default {
...
@@ -188,38 +276,46 @@ export default {
flex-wrap
:
wrap
;
flex-wrap
:
wrap
;
align-content
:
space-between
;
align-content
:
space-between
;
}
}
.orderItem
.orderNum
{
.orderItem
.orderNum
{
font-size
:
46
rpx
;
font-size
:
46
rpx
;
font-weight
:
800
;
font-weight
:
800
;
font-style
:
italic
;
font-style
:
italic
;
color
:
#111111
;
color
:
#111111
;
}
}
.orderItem
.orderIcon
{
.orderItem
.orderIcon
{
width
:
65
rpx
;
width
:
65
rpx
;
height
:
65
rpx
;
height
:
65
rpx
;
background-color
:
#fff
;
background-color
:
#fff
;
}
}
.orderItem
.orderName
{
.orderItem
.orderName
{
font-size
:
24
rpx
;
font-size
:
24
rpx
;
font-weight
:
500
;
font-weight
:
500
;
color
:
#666666
;
color
:
#666666
;
}
}
.courseInfo
{
.courseInfo
{
height
:
535
rpx
;
/* height: 535rpx; */
background-color
:
#ebebeb
;
background-color
:
#ebebeb
;
padding
:
35
rpx
;
padding
:
35
rpx
;
margin-bottom
:
50
rpx
;
}
}
.courseInfo
.title
{
.courseInfo
.title
{
font-size
:
28
rpx
;
font-size
:
28
rpx
;
font-weight
:
bold
;
font-weight
:
bold
;
color
:
#111111
;
color
:
#111111
;
margin-bottom
:
30
rpx
;
margin-bottom
:
30
rpx
;
}
}
.statistic
{
.statistic
{
/* height: 70rpx; */
/* height: 70rpx; */
display
:
flex
;
display
:
flex
;
margin-bottom
:
50
rpx
;
margin-bottom
:
50
rpx
;
}
}
.statisticItem
{
.statisticItem
{
min-width
:
80
rpx
;
min-width
:
80
rpx
;
/* height: 70rpx; */
/* height: 70rpx; */
...
@@ -228,6 +324,7 @@ export default {
...
@@ -228,6 +324,7 @@ export default {
align-content
:
space-between
;
align-content
:
space-between
;
margin-right
:
100
rpx
;
margin-right
:
100
rpx
;
}
}
.statisticItem
.time
{
.statisticItem
.time
{
width
:
100%
;
width
:
100%
;
font-size
:
46
rpx
;
font-size
:
46
rpx
;
...
@@ -236,6 +333,7 @@ export default {
...
@@ -236,6 +333,7 @@ export default {
font-style
:
italic
;
font-style
:
italic
;
color
:
#111111
;
color
:
#111111
;
}
}
.statisticItem
.unit
{
.statisticItem
.unit
{
font-size
:
20
rpx
;
font-size
:
20
rpx
;
font-weight
:
500
;
font-weight
:
500
;
...
@@ -243,19 +341,119 @@ export default {
...
@@ -243,19 +341,119 @@ export default {
font-style
:
normal
;
font-style
:
normal
;
margin-left
:
10
rpx
;
margin-left
:
10
rpx
;
}
}
.statisticName
{
.statisticName
{
font-size
:
20
rpx
;
font-size
:
20
rpx
;
font-weight
:
500
;
font-weight
:
500
;
color
:
#666666
;
color
:
#666666
;
white-space
:
nowrap
;
white-space
:
nowrap
;
}
}
.courseBox
{
.courseBox
{
display
:
flex
;
display
:
flex
;
}
}
.courseBox
.left
{
.courseBox
.left
{
width
:
215
rpx
;
width
:
215
rpx
;
height
:
275
rpx
;
height
:
275
rpx
;
background
:
#d5f3e9
;
background
:
#d5f3e9
;
border-radius
:
30
rpx
;
border-radius
:
30
rpx
;
margin-right
:
40
rpx
;
}
.courseBox
.right
{
width
:
420
rpx
;
padding-top
:
25
rpx
;
}
.courseBox
.className
{
font-size
:
36
rpx
;
font-weight
:
bold
;
color
:
#111111
;
}
.courseBox
.Grade
{
font-size
:
22
rpx
;
font-weight
:
500
;
color
:
#666666
;
margin
:
10
rpx
0
;
}
.courseBox
.StatusName
{
/* height: 30rpx; */
line-height
:
30
rpx
;
font-size
:
22
rpx
;
font-weight
:
500
;
color
:
#333333
;
background-color
:
#5de3a6
;
box-sizing
:
border-box
;
border-radius
:
4
rpx
;
padding
:
5
rpx
10
rpx
;
}
.serve
{
padding
:
0
35
rpx
;
background-color
:
#f5f5f5
;
}
.serveTitle
{
font-size
:
46
rpx
;
font-weight
:
bold
;
color
:
#111111
;
}
.serveSubTitle
{
font-size
:
28
rpx
;
font-weight
:
500
;
color
:
#666666
;
margin-bottom
:
20
rpx
;
}
.serviceItem
{
box-sizing
:
border-box
;
width
:
680
rpx
;
height
:
185
rpx
;
background-color
:
#ffffff
;
border-radius
:
24
rpx
;
margin-top
:
30
rpx
;
display
:
flex
;
/* justify-content: space-between; */
align-items
:
center
;
padding
:
25
rpx
;
}
.serviceItem
.headimg
{
width
:
130
rpx
;
height
:
130
rpx
;
border-radius
:
24
rpx
;
margin-right
:
30
rpx
;
}
.serviceInfo
{
width
:
435
rpx
;
height
:
100%
;
}
.EmployeeName
{
font-size
:
34
rpx
;
font-weight
:
bold
;
color
:
#111111
;
}
.AssistTypeName
{
height
:
26
rpx
;
background-color
:
#fa9717
;
border-radius
:
6
rpx
;
font-size
:
20
rpx
;
font-weight
:
500
;
color
:
#ffffff
;
box-sizing
:
border-box
;
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
margin-left
:
15
rpx
;
padding
:
3
rpx
6
rpx
;
}
.Mobile
{
font-size
:
28
rpx
;
font-weight
:
500
;
color
:
#111111
;
}
}
</
style
>
</
style
>
src/static/css/common.css
View file @
e298b48c
...
@@ -12,6 +12,7 @@
...
@@ -12,6 +12,7 @@
}
}
.flex_center_center
{
.flex_center_center
{
display
:
flex
;
justify-content
:
center
;
justify-content
:
center
;
align-items
:
center
;
align-items
:
center
;
flex-flow
:
column
wrap
flex-flow
:
column
wrap
...
@@ -35,6 +36,7 @@
...
@@ -35,6 +36,7 @@
}
}
.flex_start_center
{
.flex_start_center
{
display
:
flex
;
justify-content
:
flex-start
;
justify-content
:
flex-start
;
align-items
:
center
;
align-items
:
center
;
}
}
...
@@ -64,6 +66,12 @@
...
@@ -64,6 +66,12 @@
justify-content
:
flex-start
;
justify-content
:
flex-start
;
align-content
:
space-between
;
align-content
:
space-between
;
}
}
.flex_start_around
{
display
:
flex
;
flex-wrap
:
wrap
;
justify-content
:
flex-start
;
align-content
:
space-around
;
}
.flex_direction
{
.flex_direction
{
flex-direction
:
column
;
flex-direction
:
column
;
...
...
src/static/image/bottomlogo.png
0 → 100644
View file @
e298b48c
7.2 KB
src/static/image/person/order3.png
0 → 100644
View file @
e298b48c
1.31 KB
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