隐私协议单独加个页面
This commit is contained in:
@@ -17,7 +17,7 @@ import { fetchAgreement } from '@/api/common'
|
||||
import markdownit from 'markdown-it'
|
||||
|
||||
/** markdown-it 实例 */
|
||||
const md = markdownit({ html: false, breaks: true, linkify: true })
|
||||
const md = markdownit({ html: true, breaks: true, linkify: true })
|
||||
|
||||
/** 渲染后的 HTML 内容 */
|
||||
const contentHtml = ref('')
|
||||
@@ -105,6 +105,23 @@ onMounted(async () => {
|
||||
margin-bottom: 0.06rem;
|
||||
}
|
||||
|
||||
:deep(table) {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
margin-bottom: 0.16rem;
|
||||
}
|
||||
|
||||
:deep(th), :deep(td) {
|
||||
border: 1px solid $border-color;
|
||||
padding: 0.08rem 0.12rem;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
:deep(th) {
|
||||
background: $bg-main;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
:deep(a) {
|
||||
color: $accent;
|
||||
text-decoration: underline;
|
||||
|
||||
Reference in New Issue
Block a user