Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
gh
/
data-view
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
Commit 3da7c835
authored
Jun 24, 2022
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改样式,组件
1 parent
1cfff723
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
35 additions
and
17 deletions
src/assets/css/index.scss
src/components/ViewContentRight.vue
src/components/ViewLineGroup.vue
src/utils/data.js
src/assets/css/index.scss
View file @
3da7c83
...
...
@@ -80,9 +80,10 @@ img {
.title
{
font-size
:
12px
;
color
:
#E8E8E8
;
line-height
:
16px
;
line-height
:
2
.1vh
;
font-weight
:
400
;
padding
:
4px
8px
;
padding
:
0
.5vh
0
.6vh
;
user-select
:
none
;
}
.title-icon
{
display
:
flex
;
...
...
src/components/ViewContentRight.vue
View file @
3da7c83
...
...
@@ -3,31 +3,32 @@
* @Author: huyue
* @Date: 2022-06-23 10:52:23
* @LastEditors: huyue
* @LastEditTime: 2022-06-2
3 17:27:16
* @LastEditTime: 2022-06-2
4 10:49:55
-->
<
template
>
<div
class=
"right"
>
<view-sub-title
title=
"售后数据总览"
/>
<view-line-group>
<div
slot=
"1"
><File></File></div>
<div
slot=
"2"
><Efficient></Efficient></div>
<div
slot=
"1"
><File
:height=
"defaultHeight"
></File></div>
<div
slot=
"2"
><Efficient
:height=
"defaultHeight"
></Efficient></div>
</view-line-group>
<view-line-group>
<div
slot=
"1"
><Keep></Keep></div>
<div
slot=
"2"
><Lost></Lost></div>
<div
slot=
"1"
><Keep
:height=
"defaultHeight"
></Keep></div>
<div
slot=
"2"
><Lost
:height=
"defaultHeight"
></Lost></div>
</view-line-group>
<view-line-group>
<div
slot=
"1"
><First></First></div>
<div
slot=
"2"
><Sadayasu></Sadayasu></div>
<div
slot=
"1"
><First
:height=
"defaultHeight"
></First></div>
<div
slot=
"2"
><Sadayasu
:height=
"defaultHeight"
></Sadayasu></div>
</view-line-group>
<view-line-group
height=
"25.6vh"
hideMargin
>
<div
slot=
"1"
><Analyze></Analyze></div>
<div
slot=
"2"
><Mileage></Mileage></div>
<div
slot=
"1"
><Analyze
height=
"25.6vh"
></Analyze></div>
<div
slot=
"2"
><Mileage
height=
"25.6vh"
></Mileage></div>
</view-line-group>
</div>
</
template
>
<
script
type=
"text/ecmascript-6"
>
import
datas
from
'../utils/data'
import
Analyze
from
'../views/afterSales/analyze'
import
Efficient
from
'../views/afterSales/efficient'
import
File
from
'../views/afterSales/file'
...
...
@@ -48,11 +49,12 @@ export default {
Mileage
,
Sadayasu
},
data
()
{
data
()
{
return
{
defaultHeight
:
datas
.
DefaultData
.
defaultLineHeight
}
},
mounted
()
{
mounted
()
{
},
methods
:
{
}
...
...
src/components/ViewLineGroup.vue
View file @
3da7c83
...
...
@@ -3,7 +3,7 @@
* @Author: huyue
* @Date: 2022-06-23 11:28:03
* @LastEditors: huyue
* @LastEditTime: 2022-06-2
3 17:07:20
* @LastEditTime: 2022-06-2
4 10:51:16
-->
<
template
>
<div
class=
"line-group"
>
...
...
@@ -16,21 +16,22 @@
</template>
<
script
type=
"text/ecmascript-6"
>
import
datas
from
'../utils/data'
export
default
{
name
:
'ViewLineGroup'
,
props
:
{
height
:
{
type
:
String
,
default
:
'19.8vh'
default
:
datas
.
DefaultData
.
defaultLineHeight
},
hideMargin
:
Boolean
},
data
()
{
data
()
{
return
{
items
:
[
1
,
2
]
}
},
mounted
()
{
mounted
()
{
},
methods
:
{
}
...
...
src/utils/data.js
0 → 100644
View file @
3da7c83
/*
* @Description: 公共数据
* @Author: huyue
* @Date: 2022-06-23 17:38:33
* @LastEditors: huyue
* @LastEditTime: 2022-06-24 10:40:00
*/
const
DefaultData
=
{
defaultLineHeight
:
'19.8vh'
}
export
default
Object
.
freeze
({
DefaultData
})
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