调整大屏展示内容

This commit is contained in:
2024-01-16 02:53:07 +08:00
parent 194c9e59df
commit b6f7aac2cd
7 changed files with 474 additions and 304 deletions

View File

@@ -2,6 +2,9 @@
const w = 12, h = 10, r = 200
export default {
name: "AiDvSvg",
props: {
title: {default: "慧智会言"},
},
data() {
return {
border: "",
@@ -18,7 +21,7 @@ export default {
this.width = width
this.height = height
this.getBorder(width, height)
const vv = width - w, hh = height - h
const vv = width - w
this.box = {
top: `m${vv - r + 33},${13 + h}l7,0l-2.5,-3l-7,0l2.5,3zm-1.5,0l-4.5,-5.5l-7,0l4.5,5.5l7,0zm-21,-7l6,7l7,0l-6,-7l-7,0z`,
leftBottom: `m46.5,${height + 10}l7,0l-2.5,-3l-7,0l2.5,3zm-1.5,0l-4.5,-5.5l-7,0l4.5,5.5l7,0zm-21,-7l6,7l7,0l-6,-7l-7,0z`,
@@ -96,7 +99,7 @@ export default {
</svg>
<div class="close" @click="$emit('close')"/>
<div class="content">
<div class="header">慧智会言</div>
<div class="header" v-text="title"/>
<slot/>
</div>
</section>