Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
h5
/
glsk-data-view-scene
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 4417c16b
authored
Jan 26, 2024
by
匡雅琴
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
提交
1 parent
7d011225
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
126 additions
and
112 deletions
src/assets/images/near-bg.png
src/views/lifeSceneDataPage/LifeSceneCenter.vue
src/views/lifeSceneDataPage/LifeSceneLeft.vue
src/views/lifeSceneDataPage/components/AIMerchant.vue
src/views/lifeSceneDataPage/components/HotWords.vue
src/views/lifeSceneDataPage/components/KnownlageBase.vue
src/views/lifeSceneDataPage/components/Maintenance.vue
src/views/lifeSceneDataPage/components/MarketingQuestion.vue
src/views/lifeSceneDataPage/components/NearThread.vue
src/views/lifeSceneDataPage/components/StatisticBox.vue
src/assets/images/near-bg.png
0 → 100644
View file @
4417c16
32.1 KB
src/views/lifeSceneDataPage/LifeSceneCenter.vue
View file @
4417c16
<
template
>
<div
class=
"center"
>
<div
class=
"center-top"
></div>
<BoxTitle
:title=
"'智能维保'"
:textAlign=
"'center'"
class=
"top-title"
></BoxTitle>
<StatisticBox
:list=
"maintenanceStatisData"
></StatisticBox>
<BoxTitle
:title=
"'智能维保'"
:textAlign=
"'center'"
></BoxTitle>
<div
class=
"center-top"
>
<StatisticBox
:list=
"maintenanceStatisData"
></StatisticBox>
</div>
<NearThread
/>
<div
class=
"center-bottom"
>
<Maintenance></Maintenance>
...
...
@@ -38,20 +39,10 @@ export default {
.center
{
width
:
31.67vw
;
&-top
{
display
:
flex
;
justify-content
:
space-between
;
margin-bottom
:
1.78vh
;
margin
:
1.48vh
0
0.74vh
;
}
&
-bottom
{
box-sizing
:
border-box
;
padding
:
2.59vh
1.04vw
;
width
:
100%
;
height
:
38.52vh
;
border
:
1px
solid
;
border-image
:
linear-gradient
(
to
right
,
#1f5387
,
#73eaff
,
#275fca
)
1
;
.top-title
{
margin-bottom
:
1.48vh
;
}
margin-top
:
0.74vh
;
}
}
</
style
>
src/views/lifeSceneDataPage/LifeSceneLeft.vue
View file @
4417c16
<
template
>
<div
class=
"left"
>
<BoxTitle
:title=
"'智能知识库'"
:textAlign=
"'center'"
></BoxTitle>
<div
class=
"left"
>
<BoxTitle
:title=
"'智能知识库'"
:textAlign=
"'center'"
></BoxTitle>
<div
class=
"left-top"
>
<KnownlageBase
:title=
"'权益知识库'"
:dataObj=
"equityDataObj"
:data=
"'knownledge1'"
/>
<KnownlageBase
:title=
"'轻改知识库'"
:dataObj=
"equityDataObj"
:data=
"'knownledge2'"
/>
...
...
@@ -11,60 +11,58 @@
<HotWords
/>
</div>
<div
class=
"left-bottom"
>
<MarketingQuestion>
</MarketingQuestion>
<MarketingQuestion></MarketingQuestion>
</div>
</div>
</
template
>
<
script
>
import
AIMerchant
from
'./components/AIMerchant.vue'
;
import
MarketingQuestion
from
'./components/MarketingQuestion.vue'
import
KnownlageBase
from
'./components/KnownlageBase.vue'
;
import
HotWords
from
'./components/HotWords.vue'
;
</div>
</
template
>
<
script
>
import
AIMerchant
from
'./components/AIMerchant.vue'
import
MarketingQuestion
from
'./components/MarketingQuestion.vue'
import
KnownlageBase
from
'./components/KnownlageBase.vue'
import
HotWords
from
'./components/HotWords.vue'
import
{
equityData
,
equityDataObj
}
from
'./const/index'
export
default
{
name
:
'LifeSceneLeft'
,
components
:
{
export
default
{
name
:
'LifeSceneLeft'
,
components
:
{
AIMerchant
,
HotWords
,
KnownlageBase
,
MarketingQuestion
},
data
()
{
return
{
equityData
,
data
()
{
return
{
equityData
,
equityDataObj
}
},
mounted
()
{},
methods
:
{}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.left
{
width
:
31.67vw
;
&-top
{
display
:
flex
;
justify-content
:
space-between
;
margin-bottom
:
1.78vh
;
}
&
-center
{
},
mounted
()
{},
methods
:
{}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.left
{
width
:
31.67vw
;
&-top
{
display
:
flex
;
justify-content
:
space-between
;
margin
-bottom
:
1.78vh
;
margin
:
1.48vh
0
0.74vh
0
;
}
&
-bottom
{
box-sizing
:
border-box
;
padding
:
2.59vh
1.04vw
;
width
:
100%
;
height
:
38.52vh
;
border
:
1px
solid
;
border-image
:
linear-gradient
(
to
right
,
#1F5387
,
#73EAFF
,
#275FCA
)
1
;
&
-center
{
display
:
flex
;
justify-content
:
space-between
;
margin-bottom
:
0.74vh
;
}
&
-bottom
{
//
box-sizing
:
border-box
;
//
padding
:
2.59vh
1.04vw
;
//
width
:
100%
;
//
height
:
38.52vh
;
//
border
:
1px
solid
;
//
border-image
:
linear-gradient
(
to
right
,
#1f5387
,
#73eaff
,
#275fca
)
1
;
}
</
style
>
\ No newline at end of file
}
</
style
>
src/views/lifeSceneDataPage/components/AIMerchant.vue
View file @
4417c16
...
...
@@ -30,6 +30,9 @@ export default {
width
:
21.04vw
;
height
:
23.8vh
;
padding
:
1.85vh
;
box-sizing
:
border-box
;
background-image
:
url(../../../assets/images/AI-bg.png)
;
background-size
:
100%
100%
;
.bottom-line
{
width
:
16.28vw
;
height
:
0.23vh
;
...
...
src/views/lifeSceneDataPage/components/HotWords.vue
View file @
4417c16
...
...
@@ -49,13 +49,13 @@ export default {
.hot-box
{
width
:
10.31vw
;
height
:
23.8vh
;
background-image
:
url(../../../assets/images/hot-words-bg.png)
;
background-size
:
100%
100%
;
}
.tagcloud
{
width
:
8.85vw
!important
;
height
:
8.85vw
!important
;
background-image
:
url(../../../assets/images/hot-words-bg.png)
;
background-size
:
100%
100%
;
span
{
color
:
#5894FF
;
...
...
src/views/lifeSceneDataPage/components/KnownlageBase.vue
View file @
4417c16
...
...
@@ -42,8 +42,9 @@ export default {
<
style
lang=
"scss"
scoped
>
.knownledge-box
{
width
:
10.31vw
;
//
height
:
19.72vh
;
height
:
19.72vh
;
padding
:
1.85vh
;
box-sizing
:
border-box
;
background-image
:
url(../../../assets/images/knownledge-bg.png)
;
background-size
:
100%
100%
;
.trend-img
{
...
...
src/views/lifeSceneDataPage/components/Maintenance.vue
View file @
4417c16
...
...
@@ -39,6 +39,8 @@ export default {
align-items
:
center
;
width
:
100%
;
height
:
100%
;
background-image
:
url(../../../assets/images/marketing-ask-bg.png)
;
background-size
:
100%
100%
;
}
.dialogue-content
{
padding-top
:
3.98vh
;
...
...
src/views/lifeSceneDataPage/components/MarketingQuestion.vue
View file @
4417c16
...
...
@@ -37,8 +37,13 @@ export default {
.markeing-box
{
display
:
flex
;
align-items
:
center
;
box-sizing
:
border-box
;
padding
:
2.59vh
1.04vw
;
width
:
100%
;
height
:
100%
;
height
:
38.52vh
;
border-image
:
linear-gradient
(
to
right
,
#1f5387
,
#73eaff
,
#275fca
)
1
;
background-image
:
url(../../../assets/images/marketing-ask-bg.png)
;
background-size
:
100%
100%
;
}
.dialogue-content
{
padding-top
:
3.98vh
;
...
...
src/views/lifeSceneDataPage/components/NearThread.vue
View file @
4417c16
...
...
@@ -31,6 +31,9 @@ export default {
width
:
31.67vw
;
height
:
35.37vh
;
padding
:
1.85vh
;
box-sizing
:
border-box
;
background-image
:
url(../../../assets/images/near-bg.png)
;
background-size
:
100%
100%
;
.bottom-line
{
width
:
16.28vw
;
height
:
0.23vh
;
...
...
src/views/lifeSceneDataPage/components/StatisticBox.vue
View file @
4417c16
<
template
>
<div
class=
"statistics"
>
<div
class=
"statistics-item"
v-for=
"(item, index) in list"
:key=
"index"
:style=
"
{'width': 100 / list.length + '%'}">
<div
class=
"statistics-top"
>
<div
class=
"statistics-name"
>
{{
item
.
name
}}
</div>
<div
class=
"statistic-text"
>
{{
numAddSymbol
(
item
.
value
)
}}{{
item
.
unit
}}
</div>
</div>
</div>
<div
class=
"statistics"
>
<div
class=
"statistics-item"
v-for=
"(item, index) in list"
:key=
"index"
:style=
"
{ width: 100 / list.length + '%' }">
<div
class=
"statistics-top"
>
<div
class=
"statistics-name"
>
{{
item
.
name
}}
</div>
<div
class=
"statistics-text"
>
{{
numAddSymbol
(
item
.
value
)
}}{{
item
.
unit
}}
</div>
</div>
</
template
>
<
script
>
export
default
{
name
:
'StatisticsBox'
,
props
:
{
list
:
{
type
:
Array
}
// bottomType: {
// type: String,
// default: 'default'
// }
},
data
()
{
return
{
}
},
mounted
()
{},
methods
:
{}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.statistics
{
display
:
flex
;
height
:
8.15vh
;
color
:
#E8E8E8
;
&-item
{
width
:
10.26vw
;
padding
:
1.48vh
1.04vw
;
margin-right
:
0.42vw
;
background-image
:
url(../../../assets/images/statistic-bg.png)
;
background-size
:
100%
100%
;
&:last-child
{
margin-right
:
0
;
}
</div
>
</div>
</
template
>
<
script
>
export
default
{
name
:
'StatisticsBox'
,
props
:
{
list
:
{
type
:
Array
}
// bottomType: {
// type: String,
// default: 'default'
// }
},
data
()
{
return
{}
},
mounted
()
{},
methods
:
{
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.statistics
{
display
:
flex
;
height
:
8.15vh
;
&-item
{
width
:
10.26vw
;
padding
:
1.48vh
1.04vw
;
box-sizing
:
border-box
;
margin-right
:
0.42vw
;
background-image
:
url(../../../assets/images/statistic-bg.png)
;
background-size
:
100%
100%
;
&:last-child
{
margin-right
:
0
;
}
}
</
style
>
\ No newline at end of file
&
-name
{
font-weight
:
500
;
font-size
:
14px
;
color
:
#e8e8e8
;
}
&
-text
{
font-weight
:
600
;
font-size
:
18px
;
background
:
linear-gradient
(
to
right
,
#01a4f9
,
#6df5f9
);
/* 从左到右渐变 */
-webkit-background-clip
:
text
;
/* Safari/Chrome支持该属性 */
color
:
transparent
;
/* 将文本颜色设置为透明 */
margin-top
:
1.1vh
;
}
}
</
style
>
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