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
585dc3de
Commit
585dc3de
authored
Jan 14, 2022
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2
parent
d55f4bf6
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
113 additions
and
54 deletions
+113
-54
orderList.vue
src/pages/contract/orderList.vue
+92
-49
person.vue
src/pages/person/person.vue
+1
-1
iconfont.css
src/static/font/iconfont.css
+20
-4
No files found.
src/pages/contract/orderList.vue
View file @
585dc3de
...
...
@@ -7,7 +7,7 @@
background-color
:
#fff
;
}
.Order
_List
{
.Order
Item
{
width
:
100%
;
height
:
auto
;
background-color
:
#fff
;
...
...
@@ -20,18 +20,25 @@
.Order_Top
{
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
margin
:
30
rpx
0
;
}
.Order_Number
{
color
:
#111111
;
font-size
:
26
rpx
;
.Order_label
{
color
:
#AFB0B5
;
font-size
:
24
rpx
;
}
.Order_Name
{
.Order_Number
{
color
:
#0000ff
;
font-size
:
28
rpx
;
}
.courseName
{
font-size
:
40
rpx
;
margin-bottom
:
20
rpx
;
font-weight
:
500
;
color
:
#000000
;
white-space
:
nowrap
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
...
...
@@ -49,67 +56,103 @@
color
:
#2FB4FB
;
}
.
Order_Bottom
{
.
p-lc-c
{
display
:
flex
;
justify-content
:
space-between
;
margin-top
:
32
rpx
;
}
align-items
:
center
;
color
:
#B3B3B5
;
.text_tree
{
white-space
:
normal
;
color
:
#111111
;
font-size
:
20
rpx
;
font-weight
:
bold
;
margin-bottom
:
20
rpx
;
}
.
Order_TipList
{
margin-bottom
:
17
rpx
;
color
:
#111111
;
.
p-lc-item
{
flex
:
1
;
text-align
:
center
;
font-size
:
24
rpx
;
display
:
inline-block
;
}
.Order_tips
{
margin-right
:
30
rpx
;
display
:
inline-block
;
width
:
120
rpx
;
text-align-last
:
justify
;
color
:
#999999
;
.p-lc-item
:last-child
.item-val
{
border
:
none
;
}
.Order_Status
{
font-size
:
36
rpx
;
.item-val
{
color
:
#8E8D92
;
font-size
:
32
rpx
;
font-weight
:
bold
;
box-sizing
:
border-box
;
padding
:
10
rpx
0
;
margin
:
10
rpx
0
;
display
:
block
;
border-right
:
1
rpx
solid
#C7C7C7
;
}
.di
{
white-space
:
nowrap
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
max-width
:
100%
}
/* image {
width: 20px;
height: 20px;
} */
</
style
>
<
template
>
<view
class=
"orderList"
>
<van-empty
description=
"暂无数据"
v-if=
"orderList.length === 0"
/>
<view
v-if=
"orderList.length > 0"
>
<view
class=
"Order_List"
v-for=
"(item,index) in orderList"
:key=
"index"
>
<view
class=
"OrderItem"
v-for=
"(item,index) in orderList"
:key=
"index"
>
<view
class=
"courseName"
>
{{
item
.
CourseName
}}
</view>
<view
class=
"Order_Top"
>
<view
class=
"Order_Number"
>
订单号:
{{
item
.
OrderId
}}
</view>
<view
class=
"Order_Status"
>
<text
class=
"Order_Complete"
v-if=
"item.OrderState==1"
>
正常
</text>
<text
class=
"Order_Cancel"
v-if=
"item.OrderState==2"
>
退学
</text>
<text
class=
"Order_Cancel"
v-if=
"item.OrderState==3"
>
取消
</text>
<text
class=
"Order_noPay"
v-if=
"item.OrderState==4"
>
待付款
</text>
</view>
<view
class=
"Order_label"
>
订单号:
</view>
<view
class=
"Order_Number"
>
#
{{
item
.
OrderId
}}
</view>
</view>
<view
class=
"Order_Bottom"
>
<view
style=
"width:100%;"
>
<view
class=
"Order_Name"
>
{{
item
.
CourseName
}}
</view>
<view
class=
"text_tree"
>
{{
item
.
ClassName
}}
</view>
<view
class=
"Order_TipList"
>
<view
class=
"Order_tips"
>
客户
</view>
<text>
{{
item
.
GuestName
}}
</text>
<view
class=
"p-lc-c"
>
<view
class=
"p-lc-item"
>
<view>
客户
</view>
<view
class=
"item-val"
>
{{
item
.
GuestName
}}
</view>
<view
class=
"di"
>
学员
</view>
</view>
<view
class=
"p-lc-item"
>
<view>
总课时
</view>
<view
class=
"item-val"
>
{{
item
.
TotalHours
}}
</view>
<view
class=
"Order_TipList"
>
<view
class=
"Order_tips"
>
完成课时
</view>
<text>
{{
item
.
CompleteHours
}}
</text>
<view
class=
"di"
>
课时
</view>
</view>
<view
class=
"p-lc-item"
>
<view>
完成课时
</view>
<view
class=
"item-val"
>
{{
item
.
CompleteHours
}}
</view>
<view
class=
"di"
>
课时
</view>
</view>
<view
class=
"p-lc-item"
>
<view>
状态
</view>
<view
class=
"item-val"
>
<image
src=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/educationStu/zhengchang.png"
mode=
"heightFix"
style=
"height:36rpx"
v-if=
"item.OrderState==1"
></image>
<image
src=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/educationStu/tuixue.png"
mode=
"heightFix"
style=
"height:36rpx"
v-if=
"item.OrderState==2"
></image>
<image
src=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/educationStu/quxiao.png"
mode=
"heightFix"
style=
"height:36rpx"
v-if=
"item.OrderState==3"
></image>
<image
src=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/educationStu/daifukuan.png"
mode=
"heightFix"
style=
"height:36rpx"
v-if=
"item.OrderState==4"
></image>
</view>
<view
class=
"Order_TipList"
>
<view
class=
"Order_tips"
>
总课时
</view>
<text>
{{
item
.
TotalHours
}}
</text>
<view
class=
"di"
>
<text
v-if=
"item.OrderState==1"
>
正常
</text>
<text
v-if=
"item.OrderState==2"
>
退学
</text>
<text
v-if=
"item.OrderState==3"
>
取消
</text>
<text
v-if=
"item.OrderState==4"
>
待付款
</text>
</view>
</view>
</view>
...
...
src/pages/person/person.vue
View file @
585dc3de
...
...
@@ -279,7 +279,7 @@
.courseInfo
{
/* height: 535rpx; */
background-color
:
#ebebeb
;
padding
:
35
rpx
;
padding
:
40
rpx
35
rpx
;
margin-bottom
:
70
rpx
;
}
...
...
src/static/font/iconfont.css
View file @
585dc3de
@font-face
{
font-family
:
"iconfont"
;
/* Project id 2734547 */
src
:
url('//at.alicdn.com/t/font_2734547_d
xj3l449tva.woff2?t=1631176297771
')
format
(
'woff2'
),
url('//at.alicdn.com/t/font_2734547_d
xj3l449tva.woff?t=1631176297771
')
format
(
'woff'
),
url('//at.alicdn.com/t/font_2734547_d
xj3l449tva.ttf?t=1631176297771
')
format
(
'truetype'
);
src
:
url('//at.alicdn.com/t/font_2734547_d
mciakf5o5.woff2?t=1642156587432
')
format
(
'woff2'
),
url('//at.alicdn.com/t/font_2734547_d
mciakf5o5.woff?t=1642156587432
')
format
(
'woff'
),
url('//at.alicdn.com/t/font_2734547_d
mciakf5o5.ttf?t=1642156587432
')
format
(
'truetype'
);
}
.iconfont
{
...
...
@@ -13,6 +13,22 @@
-moz-osx-font-smoothing
:
grayscale
;
}
.icon-tuixue
:before
{
content
:
"\e639"
;
}
.icon-quxiao
:before
{
content
:
"\e933"
;
}
.icon-daifukuai
:before
{
content
:
"\e650"
;
}
.icon-zhengchang
:before
{
content
:
"\e616"
;
}
.icon-caidanzu
:before
{
content
:
"\e647"
;
}
...
...
@@ -35,4 +51,4 @@
.icon-radio1
:before
{
content
:
"\e600"
;
}
}
\ No newline at end of file
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