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 e8907648
authored
Feb 28, 2024
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'hotfix_v1.1.1' of
http://192.168.3.233:8090/h5/glsk-data-view-scene
into hotfix_v1.1.1
2 parents
ea699140
3cc94822
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
35 additions
and
4 deletions
src/views/lifeSceneDataPage/components/Dialog.vue
src/views/lifeSceneDataPage/components/MarketingQuestion.vue
src/views/lifeSceneDataPage/components/Dialog.vue
View file @
e890764
...
...
@@ -8,7 +8,7 @@
<img
src=
"@/assets/images/close.png"
/>
</div>
</div>
<video
id=
"
videos"
muted=
"muted"
autoplay
class=
"video-box"
>
<video
id=
"
aivideos"
ref=
"aivideos"
muted=
"false"
controls
autoplay
class=
"video-box"
>
<!--
<source
src=
"/media/cc0-videos/flower.webm"
type=
"video/webm"
/>
-->
<source
v-if=
"type == 1"
src=
"../../../assets/images/video(1).mp4"
type=
"video/mp4"
/>
<source
v-if=
"type == 2"
:src=
"`https://img02.glsx.com.cn/weapp/resource/miniprogram/material/ai-practice.mp4?v=$
{version}`" type="video/mp4" />
...
...
@@ -32,12 +32,24 @@ export default {
}
},
mounted
()
{
this
.
version
=
Math
.
random
()
*
10
this
.
version
=
Math
.
random
()
*
10
},
watch
:
{
isShow
(
val
)
{
if
(
val
)
{
this
.
$nextTick
(()
=>
{
this
.
$refs
.
aivideos
.
muted
=
!
val
})
}
}
},
methods
:
{
closeHandle
()
{
this
.
$emit
(
'closeDialog'
)
}
},
beforeDestroy
()
{
document
.
getElementById
(
'aivideos'
).
muted
=
true
}
}
</
script
>
...
...
@@ -92,4 +104,7 @@ export default {
height
:
63.29vh
;
}
}
video
::-webkit-media-controls-fullscreen-button
{
display
:
none
;
}
</
style
>
src/views/lifeSceneDataPage/components/MarketingQuestion.vue
View file @
e890764
...
...
@@ -40,7 +40,7 @@
<div
class=
"AI-box-desc"
>
AI模拟对练为线下驻店人员提供了一个高效的培训平台,通过模拟真实的客户互动场景,帮助员工提升服务技能,增强自信心,同时降低培训成本。它通过个性化反馈和实时评估,加速员工对新产品或服务的掌握,确保服务标准化。
</div>
<video
@
click=
"openVideoDia"
class=
"ai-video-box"
ref=
"AIvideoRef"
id=
"videos"
muted=
"muted
"
controls
autoplay
loop
>
<video
@
click=
"openVideoDia"
muted=
"true"
class=
"ai-video-box"
ref=
"AIvideoRef"
id=
"aivideosOut
"
controls
autoplay
loop
>
<!--
<source
src=
"/media/cc0-videos/flower.webm"
type=
"video/webm"
/>
-->
<source
:src=
"`https://img02.glsx.com.cn/weapp/resource/miniprogram/material/ai-practice.mp4?v=$
{version}`" type="video/mp4" />
</video>
...
...
@@ -65,7 +65,8 @@ export default {
showR
:
false
,
pNode
:
null
,
timer
:
null
,
dialogShow
:
false
dialogShow
:
false
,
version
:
undefined
}
},
mounted
()
{
...
...
@@ -107,6 +108,8 @@ export default {
},
openVideoDia
()
{
this
.
dialogShow
=
true
document
.
getElementById
(
"aivideosOut"
).
muted
=
true
;
console
.
log
(
document
.
getElementById
(
"aivideosOut"
).
muted
);
},
closeDialog
()
{
this
.
dialogShow
=
false
...
...
@@ -241,8 +244,21 @@ export default {
.swiper-box
{
width
:
100%
;
}
/
deep
/
.el-carousel__indicator
button
{
width
:
3vw
;
height
:
0.93vh
;
border-radius
:
4px
;
}
/
deep
/
.el-carousel__indicator.is-active
button
{
width
:
3vw
;
height
:
0.93vh
;
background-image
:
linear-gradient
(
90deg
,
#01a4f9
1%
,
#6df5f9
100%
);
border-radius
:
4px
;
}
/
deep
/
.el-carousel__indicator--horizontal
{
padding
:
0.625vw
0.808vw
;
}
video
::-webkit-media-controls-fullscreen-button
{
display
:
none
;
}
</
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