Commit 606bc30f by caoyanzhi

update: ai营销

parent 04160a16
......@@ -12,9 +12,9 @@
<div class="temp-title">
<el-tooltip placement="top" v-if="el.overflow">
<p style="max-width: 400px" slot="content">{{ el.name }}</p>
<p class="temp-title-text">{{ el.name }}</p>
<span class="temp-title-text">{{ el.name }}</span>
</el-tooltip>
<template v-else>{{ el.name }}</template>
<span class="temp-title-text" v-else>{{ el.name }}</span>
</div>
<div class="temp-info">
<p class="temp-info-text">话术ID:{{ el.aiTemplateId }}</p>
......@@ -118,7 +118,7 @@ export default {
document.body.appendChild(textDom);
this.tempList = list.map(el => {
textDom.innerHTML = el.name;
el.overflow = textDom.offsetWidth > 230;
el.overflow = textDom.offsetWidth > 225;
return el;
});
document.body.removeChild(textDom);
......@@ -214,7 +214,7 @@ export default {
margin-top: 10px;
margin-right: 20px;
margin-bottom: 10px;
width: 276px;
width: 270px;
background: #f2f3f5;
border-radius: 8px;
overflow: hidden;
......@@ -225,13 +225,13 @@ export default {
padding: 0 16px;
height: 60px;
font-size: 15px;
font-weight: 500;
color: #ffffff;
line-height: 21px;
background: linear-gradient(319deg, #5e50ea 0%, #2f54eb 100%);
opacity: 0.9;
.temp-title-text {
width: 100%;
font-weight: 500;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment