Commit 5144f962 by 匡雅琴

Merge branch 'v1.0.0' of http://192.168.3.233:8090/h5/glsk-data-view-scene into v1.0.0

2 parents 5b7d193a e940944c
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
</div> </div>
</div> </div>
</div> </div>
<el-carousel class="swiper-box" ref="slideCarousel" :interval="10000"> <el-carousel class="swiper-box" ref="slideCarousel" :interval="4000" autoplay>
<el-carousel-item v-for="(item, index) in Introduce.booksList" :key="'sw' + index"> <el-carousel-item v-for="(item, index) in Introduce.booksList" :key="'sw' + index">
<div class="swiper-body"> <div class="swiper-body">
<div class="books-item" v-for="(i, idx) in 6" :key="'book' + idx"> <div class="books-item" v-for="(i, idx) in 6" :key="'book' + idx">
...@@ -54,33 +54,33 @@ export default { ...@@ -54,33 +54,33 @@ export default {
} }
}, },
mounted() { mounted() {
//调用方法 // 调用方法
this.slideBanner() this.slideBanner()
}, },
methods: { methods: {
// 滑动切换 // 滑动切换
slideBanner() { slideBanner() {
//选中的轮播图 // 选中的轮播图
var box = document.querySelector('.swiper-box') var box = document.querySelector('.swiper-box')
var startPoint = 0 var startPoint = 0
var stopPoint = 0 var stopPoint = 0
//重置坐标 // 重置坐标
var resetPoint = function () { var resetPoint = function () {
startPoint = 0 startPoint = 0
stopPoint = 0 stopPoint = 0
} }
//手指按下 // 手指按下
box.addEventListener('touchstart', function (e) { box.addEventListener('touchstart', function (e) {
//手指点击位置的X坐标 // 手指点击位置的X坐标
startPoint = e.changedTouches[0].pageX startPoint = e.changedTouches[0].pageX
}) })
//手指滑动 // 手指滑动
box.addEventListener('touchmove', function (e) { box.addEventListener('touchmove', function (e) {
//手指滑动后终点位置X的坐标 // 手指滑动后终点位置X的坐标
stopPoint = e.changedTouches[0].pageX stopPoint = e.changedTouches[0].pageX
}) })
//当手指抬起的时候,判断图片滚动离左右的距离 // 当手指抬起的时候,判断图片滚动离左右的距离
let that = this const that = this
box.addEventListener('touchend', function (e) { box.addEventListener('touchend', function (e) {
console.log('1:' + startPoint) console.log('1:' + startPoint)
console.log('2:' + stopPoint) console.log('2:' + stopPoint)
...@@ -112,6 +112,7 @@ export default { ...@@ -112,6 +112,7 @@ export default {
background-size: 100% 100%; background-size: 100% 100%;
padding: 12px 52px; padding: 12px 52px;
box-sizing: border-box; box-sizing: border-box;
&-title { &-title {
font-weight: 700; font-weight: 700;
font-size: 28px; font-size: 28px;
...@@ -120,10 +121,12 @@ export default { ...@@ -120,10 +121,12 @@ export default {
line-height: 40px; line-height: 40px;
text-align: center; text-align: center;
} }
.books-line img { .books-line img {
width: 436px; width: 436px;
height: 6px; height: 6px;
} }
&-content { &-content {
margin-top: 50px; margin-top: 50px;
font-size: 18px; font-size: 18px;
...@@ -132,6 +135,7 @@ export default { ...@@ -132,6 +135,7 @@ export default {
line-height: 40px; line-height: 40px;
} }
} }
.books-box { .books-box {
margin-top: 24px; margin-top: 24px;
width: 492px; width: 492px;
...@@ -140,16 +144,19 @@ export default { ...@@ -140,16 +144,19 @@ export default {
background-size: 100% 100%; background-size: 100% 100%;
padding: 28px; padding: 28px;
box-sizing: border-box; box-sizing: border-box;
&-title { &-title {
font-size: 22px; font-size: 22px;
color: #44ffff; color: #44ffff;
letter-spacing: 0; letter-spacing: 0;
line-height: 32px; line-height: 32px;
} }
.qualifications-list { .qualifications-list {
display: flex; display: flex;
gap: 17px; gap: 17px;
margin-top: 20px; margin-top: 20px;
.qualifications-item { .qualifications-item {
width: 134px; width: 134px;
height: 100px; height: 100px;
...@@ -157,21 +164,25 @@ export default { ...@@ -157,21 +164,25 @@ export default {
background-size: 100% 100%; background-size: 100% 100%;
padding: 16px 20px; padding: 16px 20px;
box-sizing: border-box; box-sizing: border-box;
.qualifications-title { .qualifications-title {
font-size: 13px; font-size: 13px;
color: #ffffff; color: #ffffff;
} }
.qualifications-num { .qualifications-num {
font-size: 36px; font-size: 36px;
color: #6578ff; color: #6578ff;
line-height: 36px; line-height: 36px;
margin-top: 10px; margin-top: 10px;
font-weight: 700; font-weight: 700;
span { span {
font-weight: 500; font-weight: 500;
font-size: 16px; font-size: 16px;
color: #0ffadf; color: #0ffadf;
margin-left: -10px; margin-left: -10px;
&.f28 { &.f28 {
font-size: 28px; font-size: 28px;
} }
...@@ -179,16 +190,20 @@ export default { ...@@ -179,16 +190,20 @@ export default {
} }
} }
} }
.swiper-box { .swiper-box {
padding-top: 28px; padding-top: 28px;
height: 250px; height: 250px;
/deep/ { /deep/ {
.el-carousel__container { .el-carousel__container {
height: 100%; height: 100%;
} }
.el-carousel__arrow { .el-carousel__arrow {
display: none; display: none;
} }
.el-carousel__button { .el-carousel__button {
width: 24px; width: 24px;
height: 4px; height: 4px;
...@@ -196,16 +211,19 @@ export default { ...@@ -196,16 +211,19 @@ export default {
transform: scaleY(-1) rotate(-180deg); transform: scaleY(-1) rotate(-180deg);
background-image: linear-gradient(90deg, #00c8ff 0%, #0069f2 100%); background-image: linear-gradient(90deg, #00c8ff 0%, #0069f2 100%);
} }
.is-active { .is-active {
.el-carousel__button { .el-carousel__button {
opacity: 1; opacity: 1;
} }
} }
} }
.swiper-body { .swiper-body {
display: flex; display: flex;
gap: 28px 17px; gap: 28px 17px;
flex-wrap: wrap; flex-wrap: wrap;
.books-item { .books-item {
width: 134px; width: 134px;
height: 96px; height: 96px;
...@@ -214,6 +232,7 @@ export default { ...@@ -214,6 +232,7 @@ export default {
position: relative; position: relative;
padding: 8px; padding: 8px;
box-sizing: border-box; box-sizing: border-box;
img { img {
width: 118px; width: 118px;
height: 80px; height: 80px;
......
...@@ -82,7 +82,7 @@ export default { ...@@ -82,7 +82,7 @@ export default {
nextClick() { nextClick() {
let index = this.current let index = this.current
if (index == 3) { if (index == 3) {
this.current = 1; this.current = 0;
return false return false
} }
this.current = index + 1 this.current = index + 1
......
...@@ -253,6 +253,7 @@ export default { ...@@ -253,6 +253,7 @@ export default {
} }
.item { .item {
box-sizing: border-box;
width: 84px; width: 84px;
height: 84px; height: 84px;
background-image: url(../../../assets/images/viewEntireLifecycleOfCar/ring.png); background-image: url(../../../assets/images/viewEntireLifecycleOfCar/ring.png);
...@@ -540,8 +541,8 @@ ul { ...@@ -540,8 +541,8 @@ ul {
@keyframes spin { @keyframes spin {
to { to {
transform: rotateX(0deg) rotateY(360deg); // transform: rotateX(0deg) rotateY(360deg);
// transform: rotateX(-10deg) rotateY(360deg); transform: rotateX(-10deg) rotateY(360deg);
} }
} }
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @Author: huyue * @Author: huyue
* @Date: 2024-01-26 21:05:56 * @Date: 2024-01-26 21:05:56
* @LastEditors: huyue * @LastEditors: huyue
* @LastEditTime: 2024-01-29 14:15:07 * @LastEditTime: 2024-01-29 14:54:02
--> -->
<template> <template>
<div class="big-module-marketing-box"> <div class="big-module-marketing-box">
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
</div> </div>
<img :src="require(`../../../assets/images/${hasAvtivity ? 'activity-matekting' : 'big-module-marketing-img'}.png`)" alt="" /> <img :src="require(`../../../assets/images/${hasAvtivity ? 'activity-matekting' : 'big-module-marketing-img'}.png`)" alt="" />
<img v-show="showQ" class="ask-question" src="../../../assets/images/ask-question.png" alt="" /> <img v-show="showQ" class="ask-question" src="../../../assets/images/ask-question.png" alt="" />
<p v-show="showR" class="ai-reply"></p> <p id="qestion-2" v-show="showR" class="ai-reply"></p>
</div> </div>
</template> </template>
...@@ -43,7 +43,7 @@ export default { ...@@ -43,7 +43,7 @@ export default {
}, },
mounted() { mounted() {
this.pNode = document.querySelector('p') this.pNode = document.getElementById('qestion-2')
this.send() this.send()
t = setInterval(this.send, 7000) t = setInterval(this.send, 7000)
}, },
...@@ -150,18 +150,18 @@ p { ...@@ -150,18 +150,18 @@ p {
background-color: #eee; background-color: #eee;
box-sizing: border-box; box-sizing: border-box;
padding: 3px 5px; padding: 3px 5px;
font-size: 8px; font-size: 7px;
color: #333; color: #333;
border-radius: 3px; border-radius: 3px;
} }
.loadding { .loadding {
position: absolute; position: absolute;
left: 2dvw; right: 4.6vw;
} }
.wrap { .wrap {
margin: 120px 0 0 240px; margin: 120px 0 0 240px;
width: 75px; width: 25px;
height: 75px; height: 25px;
position: relative; position: relative;
/* transform-origin: 设置的效果搭配边框看,效果更加明显 */ /* transform-origin: 设置的效果搭配边框看,效果更加明显 */
/* border: 1px solid #e9e9e9; */ /* border: 1px solid #e9e9e9; */
...@@ -169,14 +169,14 @@ p { ...@@ -169,14 +169,14 @@ p {
.round { .round {
position: absolute; position: absolute;
width: 13px; width: 11px;
height: 13px; height: 11px;
border-radius: 50%; border-radius: 50%;
background-color: rgb(241, 141, 157); background-color: rgb(241, 141, 157);
/* 加上动画效果 */ /* 加上动画效果 */
animation: circleRound 2.8s ease infinite; animation: circleRound 2.8s ease infinite;
/* 设置旋转中心,搭配.wrap的border看 */ /* 设置旋转中心,搭配.wrap的border看 */
transform-origin: 50% 75px; transform-origin: 50% 25px;
} }
/* 注意z-index层级关系,依次递减 */ /* 注意z-index层级关系,依次递减 */
...@@ -187,48 +187,48 @@ p { ...@@ -187,48 +187,48 @@ p {
/* 注意动画延后animation-delay播放,依次递增 */ /* 注意动画延后animation-delay播放,依次递增 */
/* 至于小圆球则越来越小 */ /* 至于小圆球则越来越小 */
.round:nth-child(2) { .round:nth-child(2) {
height: 12px; height: 10px;
width: 12px; width: 10px;
background-color: rgb(199, 136, 185); background-color: rgb(199, 136, 185);
animation-delay: 0.2s; animation-delay: 0.2s;
z-index: 6; z-index: 6;
} }
.round:nth-child(3) { .round:nth-child(3) {
height: 11px; height: 9px;
width: 11px; width: 9px;
background-color: rgb(153, 69, 223); background-color: rgb(153, 69, 223);
animation-delay: 0.4s; animation-delay: 0.4s;
z-index: 5; z-index: 5;
} }
.round:nth-child(4) { .round:nth-child(4) {
height: 10px; height: 8px;
width: 10px; width: 8px;
background-color: rgb(69, 141, 223); background-color: rgb(69, 141, 223);
animation-delay: 0.6s; animation-delay: 0.6s;
z-index: 4; z-index: 4;
} }
.round:nth-child(5) { .round:nth-child(5) {
height: 9px; height: 7px;
width: 9px; width: 7px;
background-color: rgb(69, 223, 203); background-color: rgb(69, 223, 203);
animation-delay: 0.8s; animation-delay: 0.8s;
z-index: 3; z-index: 3;
} }
.round:nth-child(6) { .round:nth-child(6) {
height: 8px; height: 6px;
width: 8px; width: 6px;
background-color: rgb(100, 223, 69); background-color: rgb(100, 223, 69);
animation-delay: 1s; animation-delay: 1s;
z-index: 2; z-index: 2;
} }
.round:nth-child(7) { .round:nth-child(7) {
height: 7px; height: 5px;
width: 7px; width: 5px;
background-color: rgb(223, 200, 69); background-color: rgb(223, 200, 69);
animation-delay: 1.2s; animation-delay: 1.2s;
z-index: 1; z-index: 1;
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @Author: huyue * @Author: huyue
* @Date: 2024-01-26 11:36:05 * @Date: 2024-01-26 11:36:05
* @LastEditors: huyue * @LastEditors: huyue
* @LastEditTime: 2024-01-26 21:56:54 * @LastEditTime: 2024-01-29 14:39:00
--> -->
<template> <template>
<div class="hot-box"> <div class="hot-box">
...@@ -41,7 +41,8 @@ export default { ...@@ -41,7 +41,8 @@ export default {
}, },
mounted() { mounted() {
TagCloud('.tagcloud', texts, { TagCloud('.tagcloud', texts, {
radius: 100 radius: 100,
maxSpeed: 'slow'
}) })
} }
} }
......
...@@ -3,12 +3,12 @@ ...@@ -3,12 +3,12 @@
<Phone :imgName="'ai-dialogue'"> <Phone :imgName="'ai-dialogue'">
<div class="dialogue-content" slot="content"> <div class="dialogue-content" slot="content">
<div class="dialog-item"> <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 class="user-content m-l">为什么这么贵?不就是一层塑料纸吗?</div>
<img class="avatar m-s-l" src="../../../assets//images/user-avatar.png" alt="">
</div> </div>
<div class="dialog-item"> <div class="dialog-item">
<div class="user-content m-r">这位先生/女士/老板,一分钱一分货,就像同一款衣服,为什么有上万的,也有几百的,它材质是不一样的,表面上看它可能就是一层塑料,但是它里边的这个结构是非常复杂的,不同的结构,有的膜是五层、有的膜是七层、还有的十几层那都是有区别的,况且我们这个价格是全国统一价,你在官网是能查到的,这对车主来说是最公平合理。</div>
<img class="avatar m-s-r" src="../../../assets//images/ai-avatar.png" alt=""> <img class="avatar m-s-r" src="../../../assets//images/ai-avatar.png" alt="">
<div class="user-content m-r" id="qestion-1"></div>
</div> </div>
</div> </div>
</Phone> </Phone>
...@@ -20,16 +20,38 @@ ...@@ -20,16 +20,38 @@
</Phone> </Phone>
<div class="markeing-descript"> <div class="markeing-descript">
<div class="second-title">营销提问应答</div> <div class="second-title">营销提问应答</div>
<div class="descript">基于大量行业数据的训练和GPT的技术,智能知识库为从事汽车增值服务的销售人员提供专业的销售话术生成以及客户销售建议。</div> <div class="descript">
基于大量行业数据的训练和GPT的技术,智能知识库为从事汽车增值服务的销售人员提供专业的销售话术生成以及客户销售建议。
</div>
</div> </div>
</div> </div>
</template> </template>
<script> <script>
let pNode = null
import Phone from "./Phone.vue" import Phone from "./Phone.vue"
export default { export default {
name: 'MarketingQuestion', name: 'MarketingQuestion',
components: { components: {
Phone Phone
},
mounted() {
pNode = document.getElementById('qestion-1')
const str = '这位先生/女士/老板,一分钱一分货,就像同一款衣服,为什么有上万的,也有几百的,它材质是不一样的,表面上看它可能就是一层塑料,但是它里边的这个结构是非常复杂的,不同的结构,有的膜是五层、有的膜是七层、还有的十几层那都是有区别的,况且我们这个价格是全国统一价,你在官网是能查到的,这对车主来说是最公平合理。'
this.addText(str)
},
methods: {
addText(str) {
// const str = '这位先生/女士/老板,一分钱一分货,就像同一款衣服,为什么有上万的,也有几百的,它材质是不一样的,表面上看它可能就是一层塑料,但是它里边的这个结构是非常复杂的,不同的结构,有的膜是五层、有的膜是七层、还有的十几层那都是有区别的,况且我们这个价格是全国统一价,你在官网是能查到的,这对车主来说是最公平合理。'
let i = 0
const timer = setInterval(() => {
if (i < str.length - 1) {
pNode.innerHTML = pNode.innerHTML + str[i]
i = i + 1
} else {
clearInterval(timer)
}
}, 30)
}
} }
} }
</script> </script>
...@@ -52,7 +74,7 @@ export default { ...@@ -52,7 +74,7 @@ export default {
color: #fff; color: #fff;
.dialog-item { .dialog-item {
display: flex; display: flex;
flex-direction: row-reverse; // flex-direction: row-reverse;
align-items: center; align-items: center;
align-items: baseline; align-items: baseline;
padding: 0.65vh 0.26vw 0; padding: 0.65vh 0.26vw 0;
......
...@@ -36,6 +36,7 @@ export default { ...@@ -36,6 +36,7 @@ export default {
// background: url(../../../assets/images/ai-dialogue.png) ; // background: url(../../../assets/images/ai-dialogue.png) ;
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: contain; background-size: contain;
background-position: center;
} }
} }
</style> </style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!