Commit 49301228 by 匡雅琴

新样式调整

1 parent da3fb7f5
...@@ -8,8 +8,8 @@ ...@@ -8,8 +8,8 @@
<template> <template>
<div class="view-content"> <div class="view-content">
<div class="content"> <div class="content">
<LifeSceneLeft></LifeSceneLeft>
<LifeSceneCenter></LifeSceneCenter> <LifeSceneCenter></LifeSceneCenter>
<LifeSceneLeft></LifeSceneLeft>
<LifeSceneRight></LifeSceneRight> <LifeSceneRight></LifeSceneRight>
</div> </div>
</div> </div>
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
* @LastEditTime: 2024-01-29 14:54:02 * @LastEditTime: 2024-01-29 14:54:02
--> -->
<template> <template>
<div class="big-module-marketing-box"> <div class="big-module-marketing-box" @click="openDia">
<BoxTitle :title="'基于大模型生成营销活动话术'" :textAlign="'center'" class="top-title" :fontSize="20"></BoxTitle> <BoxTitle :title="'基于大模型生成营销活动话术'" :textAlign="'center'" class="top-title" :fontSize="20"></BoxTitle>
<div>基于大模型的能力,快速生成个性化的活动标题、</div> <div>基于大模型的能力,快速生成个性化的活动标题、</div>
<div>营销文案和活动海报,提升门店营销效率。</div> <div>营销文案和活动海报,提升门店营销效率。</div>
...@@ -24,21 +24,26 @@ ...@@ -24,21 +24,26 @@
<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 id="qestion-2" v-show="showR" class="ai-reply"></p> <p id="qestion-2" v-show="showR" class="ai-reply"></p>
<BigModuleMarketingDia v-if="dialogShow" :isShow="dialogShow" @closeDialog="closeDialog"></BigModuleMarketingDia>
</div> </div>
</template> </template>
<script> <script>
let t = null let t = null
import BigModuleMarketingDia from './BigModuleMarketingDia.vue'
export default { export default {
name: 'BigModuleMarketing', name: 'BigModuleMarketing',
components: {
BigModuleMarketingDia
},
data() { data() {
return { return {
showQ: false, showQ: false,
showR: false, showR: false,
pNode: null, pNode: null,
isLoading: false, isLoading: false,
hasAvtivity: false hasAvtivity: false,
dialogShow: false
} }
}, },
...@@ -88,6 +93,14 @@ export default { ...@@ -88,6 +93,14 @@ export default {
clearInterval(timer) clearInterval(timer)
} }
}, 17) }, 17)
},
openDia() {
this.dialogShow = true
console.log(111)
},
closeDialog() {
console.log(7777777);
this.dialogShow = false
} }
}, },
destroyed() { destroyed() {
...@@ -126,9 +139,9 @@ export default { ...@@ -126,9 +139,9 @@ export default {
.ask-question { .ask-question {
position: absolute; position: absolute;
right: 9vw; right: 9vw;
width: 160px; width: 120px;
height: 22px; height: 16px;
top: 13.5vh; top: 14vh;
} }
.ai-reply { .ai-reply {
position: absolute; position: absolute;
......
<template>
<div class="mask" v-if="isShow">
<div class="dialog-wrap">
<div class="dialog">
<div class="dialog-title">
基于大模型生成营销活动话术{{ isShow }}
<div class="close" @click.stop="closeHandle">
<img src="@/assets/images/close.png" />
</div>
</div>
<div class="content-box">
<!-- <BoxTitle :title="'基于大模型生成营销活动话术'" :textAlign="'center'" class="top-title" :fontSize="20"></BoxTitle> -->
<div>基于大模型的能力,快速生成个性化的活动标题、</div>
<div>营销文案和活动海报,提升门店营销效率。</div>
<div v-show="isLoading" class="loadding">
<div class="wrap">
<div class="round"></div>
<div class="round"></div>
<div class="round"></div>
<div class="round"></div>
<div class="round"></div>
<div class="round"></div>
<div class="round"></div>
</div>
</div>
<img :src="require(`../../../assets/images/${hasAvtivity ? 'activity-matekting-big' : 'big-module-marketing-img'}.png`)" alt="" />
<img v-show="showQ" class="ask-question" src="../../../assets/images/ask-question.png" alt="" />
<p id="qestion-3" v-show="showR" class="ai-reply"></p>
</div>
</div>
</div>
</div>
</template>
<script>
let t = null
export default {
name: 'BigModuleMarketingDia',
props: {
isShow: Boolean
},
data() {
return {
showQ: false,
showR: false,
pNode: null,
isLoading: false,
hasAvtivity: false
}
},
watch: {
isShow(val) {
console.log(val, '------------弹窗');
}
},
mounted() {
this.pNode = document.getElementById('qestion-3')
this.send()
t = setInterval(this.send, 7000)
},
methods: {
send() {
if (!this.showQ) {
this.showText()
} else {
this.showQ = false
this.showR = false
this.isLoading = false
this.hasAvtivity = false
this.pNode.innerHTML = ''
setTimeout(() => {
this.showText()
}, 1000)
}
},
showText() {
this.showQ = true
setTimeout(() => {
this.showR = true
this.addText()
setTimeout(() => {
this.isLoading = true
setTimeout(() => {
this.isLoading = false
this.hasAvtivity = true
this.showR = false
}, 3000)
}, 1000)
}, 1000)
},
addText() {
const str = '我们为您生成以下方案,请查看“营销模型解析”'
let i = 0
const timer = setInterval(() => {
if (i < str.length - 1) {
this.pNode.innerHTML = this.pNode.innerHTML + str[i]
i = i + 1
} else {
clearInterval(timer)
}
}, 17)
},
closeHandle() {
this.$emit('closeDialog')
}
},
destroyed() {
clearInterval(t)
}
}
</script>
<style lang="scss" scoped>
.mask {
width: 100%;
height: 100%;
position: fixed;
z-index: 99;
left: 0px;
top: 0px;
background: rgba(0, 0, 0, 0.8);
}
.dialog-wrap {
width: 61.11vw;
height: 73.29vh;
position: absolute;
z-index: 1;
left: 50%;
top: 50%;
background-image: url('../../../assets/images/bg-5.png');
background-repeat: no-repeat;
background-size: 100% 100%;
transform: translate(-50%, -50%);
border-radius: 5px;
padding: 3.9vh 3.67vw;
box-sizing: border-box;
.close {
width: 20px;
height: 20px;
position: absolute;
right: -18vw;
top: -1vw;
cursor: pointer;
}
.dialog-title {
width: 20.19vw;
height: 4.39vh;
background-image: url('../../../assets/images/title-dialog.png');
background-repeat: no-repeat;
background-size: 100% 100%;
text-align: center;
font-size: 20px;
color: #ffffff;
margin: 0 auto;
position: relative;
line-height: 4.39vh;
}
.content-box {
position: relative;
padding-top: 2.33vh;
img {
width: 45.18vw;
height: 52.5vh;
margin-top: 1.48vh;
}
.send {
display: inline-block;
position: absolute;
right: 9vw;
top: 22vh;
}
.ask-question {
position: absolute;
right: 14.5vw;
width: 200px;
height: 26px;
top: 13.5vh;
}
.ai-reply {
position: absolute;
// width: 155px;
// height: 22px;
left: 13vw;
top: 18vh;
}
.activity-form {
position: absolute;
width: 293px;
height: 133px;
bottom: 1.33vh;
left: 7.7vw;
}
}
p {
margin: 0;
background-color: #eee;
box-sizing: border-box;
padding: 3px 5px;
font-size: 7px;
color: #333;
border-radius: 3px;
}
.loadding {
position: absolute;
right: 7.6vw;
top: 15vh;
}
.wrap {
margin: 120px 0 0 240px;
width: 25px;
height: 25px;
position: relative;
/* transform-origin: 设置的效果搭配边框看,效果更加明显 */
/* border: 1px solid #e9e9e9; */
}
.round {
position: absolute;
width: 11px;
height: 11px;
border-radius: 50%;
background-color: rgb(241, 141, 157);
/* 加上动画效果 */
animation: circleRound 2.8s ease infinite;
/* 设置旋转中心,搭配.wrap的border看 */
transform-origin: 50% 25px;
}
/* 注意z-index层级关系,依次递减 */
.round:nth-child(1) {
z-index: 7;
}
/* 注意动画延后animation-delay播放,依次递增 */
/* 至于小圆球则越来越小 */
.round:nth-child(2) {
height: 10px;
width: 10px;
background-color: rgb(199, 136, 185);
animation-delay: 0.2s;
z-index: 6;
}
.round:nth-child(3) {
height: 9px;
width: 9px;
background-color: rgb(153, 69, 223);
animation-delay: 0.4s;
z-index: 5;
}
.round:nth-child(4) {
height: 8px;
width: 8px;
background-color: rgb(69, 141, 223);
animation-delay: 0.6s;
z-index: 4;
}
.round:nth-child(5) {
height: 7px;
width: 7px;
background-color: rgb(69, 223, 203);
animation-delay: 0.8s;
z-index: 3;
}
.round:nth-child(6) {
height: 6px;
width: 6px;
background-color: rgb(100, 223, 69);
animation-delay: 1s;
z-index: 2;
}
.round:nth-child(7) {
height: 5px;
width: 5px;
background-color: rgb(223, 200, 69);
animation-delay: 1.2s;
z-index: 1;
}
@keyframes circleRound {
to {
transform: rotate(1turn);
}
}
}
</style>
...@@ -4,30 +4,35 @@ ...@@ -4,30 +4,35 @@
<div class="dialogue-content" slot="content"> <div class="dialogue-content" slot="content">
<div v-if="showQ" class="dialog-item"> <div v-if="showQ" class="dialog-item">
<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=""> <img class="avatar m-s-l" src="../../../assets//images/user-avatar.png" alt="" />
</div> </div>
<div v-show="showR" class="dialog-item"> <div v-show="showR" class="dialog-item">
<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 class="user-content m-r" id="qestion-1"></div>
</div> </div>
</div> </div>
</Phone> </Phone>
<Phone class="enterprise-box" :imgName="'scrip-bg'"> <Phone class="enterprise-box" :imgName="'scrip-bg'">
<div class="enterprise" slot="content"> <div class="enterprise" slot="content">
<div class="enterprise-item">贴膜和车是没有任何关系的,别误会了,车今天开过来没有贴膜,不是一样的开过来了吗,现在您不贴膜直接开回家吃午饭也是一样能够开回去,不是说不贴膜,车子就不能开了,所以贴膜主要是保护车内人的行驶安全、舒适…</div> <div class="enterprise-item">
<div class="enterprise-item">材质是不一样的,表面上看它可能就是一层塑料,但是它里边的这个结构是非常复杂的,不同的结构,有的膜是五层、有的膜是七层、还有的十几层那都是有区别的,况且我们这个价格是全国统一价,你在官网是能查到的,这对车主来说是最公平合理。</div> 贴膜和车是没有任何关系的,别误会了,车今天开过来没有贴膜,不是一样的开过来了吗,现在您不贴膜直接开回家吃午饭也是一样能够开回去,不是说不贴膜,车子就不能开了,所以贴膜主要是保护车内人的行驶安全、舒适…
</div>
<div class="enterprise-item">
材质是不一样的,表面上看它可能就是一层塑料,但是它里边的这个结构是非常复杂的,不同的结构,有的膜是五层、有的膜是七层、还有的十几层那都是有区别的,况且我们这个价格是全国统一价,你在官网是能查到的,这对车主来说是最公平合理。
</div>
</div> </div>
</Phone> </Phone>
<div class="markeing-descript"> <div class="markeing-descript">
<div class="second-title">营销提问应答</div> <div class="second-title">营销提问应答</div>
<div class="descript"> <div class="descript">基于大量行业数据的训练和GPT的技术,智能知识库为从事汽车增值服务的销售人员提供专业的销售话术生成以及客户销售建议。</div>
基于大量行业数据的训练和GPT的技术,智能知识库为从事汽车增值服务的销售人员提供专业的销售话术生成以及客户销售建议。 <div class="qr-code">
<img src="../../../assets//images/QR-code.png" alt="" />
</div> </div>
</div> </div>
</div> </div>
</template> </template>
<script> <script>
import Phone from "./Phone.vue" import Phone from './Phone.vue'
export default { export default {
name: 'MarketingQuestion', name: 'MarketingQuestion',
components: { components: {
...@@ -56,7 +61,8 @@ export default { ...@@ -56,7 +61,8 @@ export default {
}, 1000) }, 1000)
}, },
addText() { addText() {
const str = '这位先生/女士/老板,一分钱一分货,就像同一款衣服,为什么有上万的,也有几百的,它材质是不一样的,表面上看它可能就是一层塑料,但是它里边的这个结构是非常复杂的,不同的结构,有的膜是五层、有的膜是七层、还有的十几层那都是有区别的,况且我们这个价格是全国统一价,你在官网是能查到的,这对车主来说是最公平合理。' const str =
'这位先生/女士/老板,一分钱一分货,就像同一款衣服,为什么有上万的,也有几百的,它材质是不一样的,表面上看它可能就是一层塑料,但是它里边的这个结构是非常复杂的,不同的结构,有的膜是五层、有的膜是七层、还有的十几层那都是有区别的,况且我们这个价格是全国统一价,你在官网是能查到的,这对车主来说是最公平合理。'
let i = 0 let i = 0
this.timer = setInterval(() => { this.timer = setInterval(() => {
if (i < str.length - 1) { if (i < str.length - 1) {
...@@ -108,7 +114,7 @@ export default { ...@@ -108,7 +114,7 @@ export default {
align-items: baseline; align-items: baseline;
padding: 0.65vh 0.26vw 0; padding: 0.65vh 0.26vw 0;
.user-content { .user-content {
background: rgba(255, 255, 255, .1); background: rgba(255, 255, 255, 0.1);
border-radius: 4.44px 0 4.44px 4.44px; border-radius: 4.44px 0 4.44px 4.44px;
padding: 4px; padding: 4px;
} }
...@@ -136,9 +142,9 @@ export default { ...@@ -136,9 +142,9 @@ export default {
.enterprise { .enterprise {
padding-top: 8vh; padding-top: 8vh;
font-size: 7px; font-size: 7px;
color: #FFFFFF; color: #ffffff;
&-item { &-item {
background: rgba(255, 255, 255, .1); background: rgba(255, 255, 255, 0.1);
border-radius: 4px; border-radius: 4px;
margin: 0.53vh 0.36vw; margin: 0.53vh 0.36vw;
padding: 4px; padding: 4px;
...@@ -150,15 +156,22 @@ export default { ...@@ -150,15 +156,22 @@ export default {
.second-title { .second-title {
font-size: 20px; font-size: 20px;
text-align: center; text-align: center;
color: #5894FF; color: #5894ff;
background-image: -webkit-linear-gradient(left, #0185F9, #53FAFF); background-image: -webkit-linear-gradient(left, #0185f9, #53faff);
-webkit-background-clip: text; -webkit-background-clip: text;
-webkit-text-fill-color: transparent; -webkit-text-fill-color: transparent;
margin-bottom: 2.5vh; margin-bottom: 2.5vh;
} }
.descript { .descript {
color: #09AEF2; color: #09aef2;
font-size: 12px; font-size: 12px;
} }
.qr-code {
width: 7.29vw;
height: 7.29vw;
// border: 1px solid;
// border-image: linear-gradient(to right, #01A4F9, #6DF5F9) 4;
margin: 1.78vh auto 0;
}
} }
</style> </style>
...@@ -8,13 +8,27 @@ ...@@ -8,13 +8,27 @@
--> -->
<template> <template>
<div class="project-wrap flex"> <div class="project-wrap flex">
<div class="project-item flex" v-for="(item, index) in projectList" :key="index"> <div class="project-item" v-for="(item, index) in projectList" :key="index">
<div class="project-left"> <div class="project-title">{{ item.name }}</div>
<div :class="['project-title', { fontSmall: index == 3 }]">{{ item.name }}</div> <div class="project-subtitle">
<div class="project-icon"><img src="@/assets/images/arrow.png" alt="" /></div> <img class="img-icon" src="@/assets/images/left-icon.png" />
<span>{{ item.subName }}</span>
<img class="img-icon" src="@/assets/images/right-icon.png" />
</div> </div>
<div class="project-right flex"> <div class="project-right">
<div class="project-content-item"> <div class="project-content-item flex">
<div class="project-content-desc">转化率</div>
<div class="project-content-num">{{ item.rate }}</div>
</div>
<div class="project-content-item flex">
<div class="project-content-desc">客单价</div>
<div class="project-content-num">{{ item.value }}</div>
</div>
<div class="project-content-item flex">
<div class="project-content-desc">产值</div>
<div class="project-content-num">{{ item.output }}</div>
</div>
<!-- <div class="project-content-item">
<div class="project-content-desc">展业门店数</div> <div class="project-content-desc">展业门店数</div>
<div class="project-content-num">{{ item.totalNum }}</div> <div class="project-content-num">{{ item.totalNum }}</div>
</div> </div>
...@@ -33,7 +47,7 @@ ...@@ -33,7 +47,7 @@
<div class="project-content-item"> <div class="project-content-item">
<div class="project-content-desc">GMV</div> <div class="project-content-desc">GMV</div>
<div class="project-content-num">{{ numAddSymbol(item.outputValue) }}</div> <div class="project-content-num">{{ numAddSymbol(item.outputValue) }}</div>
</div> </div> -->
</div> </div>
</div> </div>
</div> </div>
...@@ -44,15 +58,51 @@ export default { ...@@ -44,15 +58,51 @@ export default {
name: 'Project', name: 'Project',
data() { data() {
return { return {
projectList: [{}, {}, {}, {}] projectList: [
{
name: '数字化轻改',
subName: '1.1新车轻改升级',
rate: '50%',
value: '1,500',
output: '13,920,000'
},
{
name: '数字化轻改',
subName: '1.1新车轻改升级',
rate: '50%',
value: '1,500',
output: '13,920,000'
},
{
name: '数字化轻改',
subName: '1.1新车轻改升级',
rate: '50%',
value: '1,500',
output: '13,920,000'
},
{
name: '数字化轻改',
subName: '1.1新车轻改升级',
rate: '50%',
value: '1,500',
output: '13,920,000'
},
{
name: '数字化轻改',
subName: '1.1新车轻改升级',
rate: '50%',
value: '1,500',
output: '13,920,000'
}
]
} }
}, },
mounted() { mounted() {
this.getBusinessType() // this.getBusinessType()
}, },
methods: { methods: {
toFixRatio(val) { toFixRatio(val) {
if(!val){ if (!val) {
return '0.00%' return '0.00%'
} }
return (val * 100).toFixed(2) + '%' return (val * 100).toFixed(2) + '%'
...@@ -78,61 +128,49 @@ export default { ...@@ -78,61 +128,49 @@ export default {
flex-wrap: wrap; flex-wrap: wrap;
justify-content: space-between; justify-content: space-between;
.project-item { .project-item {
width: 49.6%; width: 10vw;
background: #0E2141; height: 12vh;
.project-left { background-image: url(../../../assets/images/bg@2x.png);
width: 2.8vw; background-size: 100% 100%;
padding: 0px 0.4vw;
height: 5.61vh;
background-image: linear-gradient(270deg, #6578FF 0%, #079FF1 100%);
text-align: center;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
.project-title { .project-title {
color: #e8e8e8; margin-top: 1.8vh;
font-size: 12px; font-weight: 600;
line-height: 12px; font-size: 14px;
margin-top: 0.4vh; background: linear-gradient(to right, #01a4f9, #6df5f9); /* 从左到右渐变 */
// &.fontSmall { -webkit-background-clip: text; /* Safari/Chrome支持该属性 */
// font-size: 9px; color: transparent; /* 将文本颜色设置为透明 */
// } text-align: center;
} }
.project-icon { .project-subtitle {
width: 0.83vw; font-weight: 400;
height: 0.98vh; font-size: 10px;
margin: 0 auto; background: linear-gradient(to right, #01a4f9, #6df5f9); /* 从左到右渐变 */
margin-top: 0.24vh; -webkit-background-clip: text; /* Safari/Chrome支持该属性 */
color: transparent; /* 将文本颜色设置为透明 */
text-align: center;
.img-icon {
width: 0.52vw;
height: 0.19vh;
vertical-align: middle;
}
span {
margin: 0 0.34vw;
} }
} }
.project-right { .project-right {
flex: 1; flex: 1;
padding: 0 1.2vw;
.project-content-item { .project-content-item {
&:first-child { justify-content: space-between;
width: 22%; // margin-bottom: 0.14vh;
}
&:nth-child(2) {
width: 16%;
}
&:nth-child(3) {
width: 16%;
}
&:nth-child(4) {
width: 17%;
}
&:nth-child(5) {
width: 28%;
}
padding-left: 0.5vw;
.project-content-desc { .project-content-desc {
font-size: 12px; font-size: 9px;
color: #dddddd; color: #dddddd;
} }
.project-content-num { .project-content-num {
font-weight: 700;
font-size: 12px; font-size: 12px;
color: #ffffff; color: #ffffff;
text-align: right;
} }
} }
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!