Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
dj-scrm-wx-work-file-upload
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
You need to sign in or sign up before continuing.
Commit 90c63cd4
authored
Feb 15, 2022
by
杨北旺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
完成页面构造
1 parent
d3bc07cb
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
47 additions
and
32 deletions
src/router/routes.js
src/views/services/index.vue
src/views/upload/index.vue
src/router/routes.js
View file @
90c63cd
...
@@ -15,7 +15,7 @@ const pages = {
...
@@ -15,7 +15,7 @@ const pages = {
}]
}]
}
}
const
redirect
=
''
const
redirect
=
'
services
'
let
routes
=
[]
let
routes
=
[]
const
keepAlives
=
[]
const
keepAlives
=
[]
Object
.
keys
(
pages
).
map
(
parent
=>
{
Object
.
keys
(
pages
).
map
(
parent
=>
{
...
...
src/views/services/index.vue
View file @
90c63cd
...
@@ -9,33 +9,35 @@
...
@@ -9,33 +9,35 @@
<div
v-if=
"currentTabIndex == index"
class=
"tab_line"
></div>
<div
v-if=
"currentTabIndex == index"
class=
"tab_line"
></div>
</div>
</div>
</div>
</div>
<div
style=
"height:
4
0px"
></div>
<div
style=
"height:
10
0px"
></div>
<div
class=
"list_widget"
>
<div
class=
"list_widget"
>
<!--
<scroll-view
class=
"content"
@
ReachBottom=
"onReachBottom"
>
-->
<scroll-view
class=
"content"
@
ReachBottom=
"onReachBottom"
ref=
"scrollView"
>
<div
v-for=
"(item, index) in serviceList"
:key=
"index"
class=
"box_wrapper"
@
click=
"jumpPage"
>
<template
v-for=
"(item, index) in serviceList"
>
<div
class=
"header_pannel flex_scb"
>
<div
:key=
"index"
class=
"box_wrapper"
@
click=
"jumpPage"
>
<span
class=
"title text_hide"
>
客户名称
</span>
<div
class=
"header_pannel flex_scb"
>
<p
class=
"status"
:class=
"
{ other_color: index % 2 == 0 }">
<span
class=
"title text_hide"
>
客户名称
</span>
<span
class=
"point"
:style=
"
{ background: index % 2 == 0 ? '#3975C6' : '' }">
</span>
<p
class=
"status"
:class=
"
{ other_color: index % 2 == 0 }">
{{
index
%
2
==
0
?
'已完成'
:
'待上传'
}}
<span
class=
"point"
:style=
"
{ background: index % 2 == 0 ? '#3975C6' : '' }">
</span>
</p>
{{
index
%
2
==
0
?
'已完成'
:
'待上传'
}}
</div>
</p>
<div
class=
"main_pannel"
>
</div>
<img
v-if=
"index % 2"
class=
"iconCover"
:src=
"imgBase + 'unActive_v.png'"
/>
<div
class=
"main_pannel"
>
<img
v-else
class=
"iconCover"
:src=
"imgBase + 'active_v.png'"
/>
<img
v-if=
"index % 2"
class=
"iconCover"
:src=
"imgBase + 'unActive_v.png'"
/>
<div
class=
"info_wrap"
>
<img
v-else
class=
"iconCover"
:src=
"imgBase + 'active_v.png'"
/>
<p>
联系方式:1806446816
</p>
<div
class=
"info_wrap"
>
<p>
车辆品牌:奔驰
</p>
<p>
联系方式:1806446816
</p>
<p>
车辆型号:2022款2022款2022款2022款2022款2022款2022款
</p>
<p>
车辆品牌:奔驰
</p>
<p>
车架号码:LASDLSDKLSDLS
</p>
<p>
车辆型号:2022款2022款2022款2022款2022款2022款2022款
</p>
<p>
车架号码:LASDLSDKLSDLS
</p>
</div>
</div>
<div
class=
"footer_pannel flex_scb"
>
<span>
时间:2021/8/21
</span>
<span>
{{
index
%
2
==
0
?
'查看详情'
:
'去上传'
}}
>>
</span>
</div>
</div>
</div>
</div>
</
template
>
<div
class=
"footer_pannel flex_scb"
>
</scroll-view>
<span>
时间:2021/8/21
</span>
<span>
{{
index
%
2
==
0
?
'查看详情'
:
'去上传'
}}
>>
</span>
</div>
</div>
<!--
</scroll-view>
-->
</div>
</div>
</div>
</div>
</template>
</template>
...
@@ -71,10 +73,10 @@ export default {
...
@@ -71,10 +73,10 @@ export default {
serviceList
:
[
1
,
2
,
3
,
4
,
5
,
6
,
7
]
serviceList
:
[
1
,
2
,
3
,
4
,
5
,
6
,
7
]
}
}
},
},
name
:
'service'
,
created
()
{},
created
()
{},
mounted
()
{},
mounted
()
{
console
.
log
(
new
Date
());
},
methods
:
{
methods
:
{
search
(
e
)
{
search
(
e
)
{
console
.
log
(
e
)
console
.
log
(
e
)
...
@@ -117,10 +119,13 @@ export default {
...
@@ -117,10 +119,13 @@ export default {
z-index
:
2
;
z-index
:
2
;
background-color
:
#fff
;
background-color
:
#fff
;
box-shadow
:
0px
0.5px
0px
0px
rgba
(
233
,
233
,
233
,
1
);
box-shadow
:
0px
0.5px
0px
0px
rgba
(
233
,
233
,
233
,
1
);
position
:
fixed
;
width
:
100%
;
height
:
50px
;
}
}
.tab_widget
{
.tab_widget
{
width
:
100%
;
width
:
100%
;
height
:
45
px
;
height
:
50
px
;
background
:
white
;
background
:
white
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
...
@@ -131,6 +136,7 @@ export default {
...
@@ -131,6 +136,7 @@ export default {
top
:
50px
;
top
:
50px
;
z-index
:
2
;
z-index
:
2
;
padding-bottom
:
2px
;
padding-bottom
:
2px
;
border-top
:
1px
solid
#e9e9e9
;
.tab_pannel
{
.tab_pannel
{
height
:
100%
;
height
:
100%
;
position
:
relative
;
position
:
relative
;
...
@@ -159,6 +165,12 @@ export default {
...
@@ -159,6 +165,12 @@ export default {
}
}
.list_widget
{
.list_widget
{
padding
:
17px
16px
;
padding
:
17px
16px
;
.content{
height
:
calc
(
100vh
-
134px
);
/deep/
.van-list{
background
:
#F7F7F7
;
}
}
.box_wrapper
{
.box_wrapper
{
width
:
100%
;
width
:
100%
;
background
:
#ffffff
;
background
:
#ffffff
;
...
@@ -180,11 +192,14 @@ export default {
...
@@ -180,11 +192,14 @@ export default {
height
:
6px
;
height
:
6px
;
background
:
#fe4b00
;
background
:
#fe4b00
;
border-radius
:
50%
;
border-radius
:
50%
;
margin-right
:
4px
;
}
}
.status
{
.status
{
font-size
:
12px
;
font-size
:
12px
;
color
:
#fe4b00
;
color
:
#fe4b00
;
font-weight
:
500
;
font-weight
:
500
;
display
:
flex
;
align-items
:
center
;
}
}
.other_color
{
.other_color
{
color
:
#3975c6
;
color
:
#3975c6
;
...
@@ -221,4 +236,4 @@ export default {
...
@@ -221,4 +236,4 @@ export default {
}
}
}
}
}
}
</
style
>
\ No newline at end of file
\ No newline at end of file
</
style
>
src/views/upload/index.vue
View file @
90c63cd
...
@@ -60,7 +60,7 @@ export default {
...
@@ -60,7 +60,7 @@ export default {
mounted
()
{},
mounted
()
{},
methods
:
{
methods
:
{
afterRread1
(
file
)
{
afterRread1
(
file
)
{
console
.
log
(
file
)
console
.
log
(
file
)
;
},
},
afterRread2
(
file
)
{
afterRread2
(
file
)
{
console
.
log
(
file
)
console
.
log
(
file
)
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment