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 5cf86a23
authored
Jan 26, 2024
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
添加营销提问应答
1 parent
0b0701b2
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
170 additions
and
38 deletions
.postcssrc.js
src/assets/css/index.scss
src/views/lifeSceneDataPage/LifeSceneCenter.vue
src/views/lifeSceneDataPage/components/Maintenance.vue
src/views/lifeSceneDataPage/components/MarketingQuestion.vue
src/views/lifeSceneDataPage/components/Phone.vue
.postcssrc.js
View file @
5cf86a2
/*
* @Description:
* @Author: huyue
* @Date: 2024-01-25 16:52:02
* @LastEditors: huyue
* @LastEditTime: 2024-01-26 16:03:14
*/
// https://github.com/michael-ciniawsky/postcss-load-config
module
.
exports
=
{
plugins
:
{
...
...
@@ -10,7 +17,7 @@ module.exports = {
// selectorBlackList: ['van-','ignore','ign-','.hairlines']
// },
'postcss-px-to-viewport'
:
{
viewportWidth
:
1
44
0
,
// 视窗的宽度,对应的是我们设计稿的宽度,一般是750
viewportWidth
:
1
92
0
,
// 视窗的宽度,对应的是我们设计稿的宽度,一般是750
unitPrecision
:
3
,
// 指定`px`转换为视窗单位值的小数位数(很多时候无法整除)
viewportUnit
:
'vw'
,
// 指定需要转换成的视窗单位,建议使用vw
selectorBlackList
:
[
'.ignore'
,
'.hairlines'
,
'ign-'
],
// 指定不转换为视窗单位的类,可以自定义,可以无限添加,建议定义一至两个通用的类名
...
...
src/assets/css/index.scss
View file @
5cf86a2
...
...
@@ -167,4 +167,10 @@ img {
background-image
:
linear-gradient
(
269deg
,
#5663ff
00
10%
,
#6578ff
d4
49%
,
#079FF1
100%
);
z-index
:
-1
;
}
}
.linear-gradient-text
{
color
:
#5894FF
;
background-image
:
-webkit-linear-gradient
(
left
,
#0185F9
,
#53FAFF
);
-webkit-background-clip
:
text
;
-webkit-text-fill-color
:
transparent
;
}
\ No newline at end of file
src/views/lifeSceneDataPage/LifeSceneCenter.vue
View file @
5cf86a2
<
template
>
<div
class=
"center"
>
<div
class=
"center-top"
>
</div>
<div
class=
"center"
>
<div
class=
"center-top"
></div>
<div
class=
"center-bottom"
>
<Maintenance></Maintenance>
</div>
</
template
>
<
script
>
export
default
{
name
:
'LifeSceneCenter'
,
components
:
{
},
data
()
{
return
{}
},
mounted
()
{},
methods
:
{}
</div>
</
template
>
<
script
>
import
Maintenance
from
'./components/MarketingQuestion.vue'
export
default
{
name
:
'LifeSceneCenter'
,
components
:
{
Maintenance
},
data
()
{
return
{}
},
mounted
()
{},
methods
:
{}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.center
{
width
:
31.67vw
;
&-top
{
display
:
flex
;
justify-content
:
space-between
;
margin-bottom
:
1.78vh
;
}
</
script
>
<
style
lang=
"scss"
scoped
>
.center
{
width
:
31.67vw
;
&-top
{
display
:
flex
;
justify-content
:
space-between
;
margin-bottom
:
1.78vh
;
}
&
-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/Maintenance.vue
0 → 100644
View file @
5cf86a2
<
template
>
<div
class=
"markeing-box"
>
<Phone
:imgName=
"'ai-dialogue'"
>
<div
class=
"dialogue-content"
slot=
"content"
>
<div
class=
"dialog-item"
>
<img
class=
"avatar m-s-l"
src=
"../../../assets//images/user-avatar.png"
alt=
""
>
<div
class=
"user-content m-l"
>
为什么这么贵?不就是一层塑料纸吗?
</div>
</div>
<div
class=
"dialog-item"
>
<div
class=
"user-content m-r"
>
这位先生/女士/老板,一分钱一分货,就像同一款衣服,为什么有上万的,也有几百的,它材质是不一样的,表面上看它可能就是一层塑料,但是它里边的这个结构是非常复杂的,不同的结构,有的膜是五层、有的膜是七层、还有的十几层那都是有区别的,况且我们这个价格是全国统一价,你在官网是能查到的,这对车主来说是最公平合理。
</div>
<img
class=
"avatar m-s-r"
src=
"../../../assets//images/ai-avatar.png"
alt=
""
>
</div>
</div>
</Phone>
<Phone
class=
"enterprise-box"
:imgName=
"'scrip-bg'"
>
<div
class=
"enterprise"
slot=
"content"
>
<div
class=
"enterprise-item"
>
贴膜和车是没有任何关系的,别误会了,车今天开过来没有贴膜,不是一样的开过来了吗,现在您不贴膜直接开回家吃午饭也是一样能够开回去,不是说不贴膜,车子就不能开了,所以贴膜主要是保护车内人的行驶安全、舒适…
</div>
<div
class=
"enterprise-item"
>
材质是不一样的,表面上看它可能就是一层塑料,但是它里边的这个结构是非常复杂的,不同的结构,有的膜是五层、有的膜是七层、还有的十几层那都是有区别的,况且我们这个价格是全国统一价,你在官网是能查到的,这对车主来说是最公平合理。
</div>
</div>
</Phone>
<div
class=
"markeing-descript"
>
<div
class=
"second-title"
>
维保线索推送
</div>
<div
class=
"descript"
>
大模型识别车辆碰撞并将碰撞信息发送给对接的智慧门店系统,门店专员及时和客户联系,引导车辆进厂维修,提升售后维修产值。
</div>
</div>
</div>
</
template
>
<
script
>
import
Phone
from
"./Phone.vue"
export
default
{
name
:
'Maintenance'
,
components
:
{
Phone
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.markeing-box
{
display
:
flex
;
align-items
:
center
;
width
:
100%
;
height
:
100%
;
}
.dialogue-content
{
padding-top
:
3.98vh
;
font-size
:
7.1px
;
line-height
:
9.76px
;
color
:
#fff
;
.dialog-item
{
display
:
flex
;
flex-direction
:
row-reverse
;
align-items
:
center
;
align-items
:
baseline
;
margin
:
0.65vh
0.26vw
0
;
font-size
:
5px
;
width
:
166px
;
.user-content
{
background
:
rgba
(
255
,
255
,
255
,
.1
);
border-radius
:
4.44px
0
4.44px
4.44px
;
padding
:
4px
;
}
}
.avatar
{
width
:
0.47vw
;
height
:
0.47vw
;
}
.m-s-l
{
margin-left
:
5px
;
}
.m-s-r
{
margin-right
:
5px
;
}
.m-r
{
margin-right
:
1.04vw
;
}
.m-l
{
margin-left
:
1.04vw
;
}
}
.enterprise-box
{
margin-left
:
0.42vw
;
}
.enterprise
{
padding-top
:
8vh
;
font-size
:
5px
;
color
:
#FFFFFF
;
&-item
{
background
:
rgba
(
255
,
255
,
255
,
.1
);
border-radius
:
4px
;
margin
:
0.53vh
0.36vw
;
padding
:
4px
;
}
}
.markeing-descript
{
width
:
11.04vw
;
.second-title
{
font-size
:
20px
;
text-align
:
center
;
color
:
#5894FF
;
background-image
:
-webkit-linear-gradient
(
left
,
#0185F9
,
#53FAFF
);
-webkit-background-clip
:
text
;
-webkit-text-fill-color
:
transparent
;
}
.descript
{
color
:
#09AEF2
;
font-size
:
12px
;
}
}
</
style
>
src/views/lifeSceneDataPage/components/MarketingQuestion.vue
View file @
5cf86a2
...
...
@@ -27,13 +27,13 @@
<
script
>
import
Phone
from
"./Phone.vue"
export
default
{
name
:
'
LifeSceneLeft
'
,
name
:
'
MarketingQuestion
'
,
components
:
{
Phone
}
}
</
script
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
scoped
>
.markeing-box
{
display
:
flex
;
align-items
:
center
;
...
...
@@ -50,9 +50,7 @@ export default {
flex-direction
:
row-reverse
;
align-items
:
center
;
align-items
:
baseline
;
margin
:
0.65vh
0.26vw
0
;
font-size
:
5px
;
width
:
166px
;
padding
:
0.65vh
0.26vw
0
;
.user-content
{
background
:
rgba
(
255
,
255
,
255
,
.1
);
border-radius
:
4.44px
0
4.44px
4.44px
;
...
...
@@ -81,7 +79,7 @@ export default {
}
.enterprise
{
padding-top
:
8vh
;
font-size
:
5
px
;
font-size
:
7
px
;
color
:
#FFFFFF
;
&-item
{
background
:
rgba
(
255
,
255
,
255
,
.1
);
...
...
@@ -92,6 +90,7 @@ export default {
}
.markeing-descript
{
width
:
11.04vw
;
margin-left
:
0.83vw
;
.second-title
{
font-size
:
20px
;
text-align
:
center
;
...
...
@@ -99,6 +98,7 @@ export default {
background-image
:
-webkit-linear-gradient
(
left
,
#0185F9
,
#53FAFF
);
-webkit-background-clip
:
text
;
-webkit-text-fill-color
:
transparent
;
margin-bottom
:
2.5vh
;
}
.descript
{
color
:
#09AEF2
;
...
...
src/views/lifeSceneDataPage/components/Phone.vue
View file @
5cf86a2
...
...
@@ -3,7 +3,7 @@
* @Author: huyue
* @Date: 2024-01-26 11:50:52
* @LastEditors: huyue
* @LastEditTime: 2024-01-26 15:
29:14
* @LastEditTime: 2024-01-26 15:
18:05
-->
<
template
>
<div
class=
"phone-box"
:style=
"
{backgroundImage: `url(${require(`assets/images/${imgName}.png`)}`}">
...
...
@@ -30,7 +30,7 @@ export default {
<
style
lang=
"scss"
>
.phone
{
&-box
{
width
:
1
66
px
;
width
:
1
50
px
;
height
:
100%
;
//
height
:
29.81vh
;
//
background
:
url(../../../assets/images/ai-dialogue.png)
;
...
...
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