跳转样式问题

This commit is contained in:
程
2023-01-10 18:44:39 +08:00
parent aaa2deef85
commit 73acb0bc09
14 changed files with 415 additions and 161 deletions

View File

@@ -1,12 +1,9 @@
<template>
<div
class="text-message"
:class="{
left: float == 'left',
right: float == 'right',
'max-width': !fullWidth,
}"
>
<div class="text-message" :class="{
left: float == 'left',
right: float == 'right',
'max-width': !fullWidth,
}">
<div v-if="arrow" class="arrow"></div>
<pre v-html="html" />
</div>
@@ -35,12 +32,12 @@ export default {
default: false,
},
},
data() {
data () {
return {
html: "",
};
},
created() {
created () {
const text = textReplaceLink(
this.content,
this.float == "right" ? "#ffffff" : "rgb(9 149 208)"