feat: 调整了markdown 的样式

This commit is contained in:
2025-08-03 14:55:25 +08:00
parent 6c9fc5f222
commit a88d909a90
2 changed files with 17 additions and 17 deletions

View File

@@ -15,7 +15,7 @@ function quickBookingComponent(selectedData) {
/// 探索发现卡片组件 /// 探索发现卡片组件
function discoveryCradComponent() { function discoveryCradComponent() {
return request.get('/hotelBiz/mainScene//discoveryComponent', {}); return request.get('/hotelBiz/mainScene/discoveryComponent', {});
} }

View File

@@ -30,7 +30,7 @@ export default {
}, },
themeColor: { themeColor: {
type: String, type: String,
default: '#007AFF' default: '#00A6FF'
}, },
codeBgColor: { codeBgColor: {
type: String, type: String,
@@ -200,51 +200,51 @@ export default {
`, `,
// 一级标题 // 一级标题
h1: ` h1: `
margin:18px 0 10px 0; margin:12px 0 10px 0;
font-size: 24px; font-size: 22px;
color: ${themeColor}; color: ${themeColor};
`, `,
// 二级标题 // 二级标题
h2: ` h2: `
margin:14px 0 10px 0; margin:10px 0 10px 0;
font-size: 20px; font-size: 20px;
color: ${themeColor}; color: ${themeColor};
`, `,
// 三级标题 // 三级标题
h3: ` h3: `
margin:12x 0 8px 0; margin:8x 0 8px 0;
font-size: 18px; font-size: 18px;
color: ${themeColor}; color: ${themeColor};
`, `,
// 四级标题 // 四级标题
h4: ` h4: `
margin:12px 0 8px 0; margin:6px 0 8px 0;
font-size: 16px; font-size: 16px;
color: ${themeColor}; color: ${themeColor};
`, `,
// 五级标题 // 五级标题
h5: ` h5: `
margin:10px 0 8px 0; margin:6px 0 8px 0;
font-size: 16px; font-size: 16px;
color: ${themeColor}; color: ${themeColor};
`, `,
// 六级标题 // 六级标题
h6: ` h6: `
margin:8px 0 8px 0; margin:6px 0 8px 0;
font-size: 16px; font-size: 16px;
color: ${themeColor} color: ${themeColor}
`, `,
// 引用 // 引用
blockquote: ` blockquote: `
margin:15px 0; margin:12px 0;
font-size:15px; font-size:14px;
color: #777777; color: #777777;
border-left: 4px solid #dddddd; border-left: 4px solid #dddddd;
padding: 0 10px; padding: 0 10px;
`, `,
// 列表 // 列表
ul: ` ul: `
margin: 10px 0; margin: 8px 0;
color: #555; color: #555;
`, `,
li: ` li: `
@@ -272,14 +272,14 @@ export default {
border:none; border:none;
text-align:center; text-align:center;
background-image:linear-gradient(to right,rgba(248,57,41,0),${themeColor},rgba(248,57,41,0)); background-image:linear-gradient(to right,rgba(248,57,41,0),${themeColor},rgba(248,57,41,0));
margin:10px 0; margin:8px 0;
`, `,
// 表格 // 表格
table: ` table: `
border-spacing:0; border-spacing:0;
overflow:auto; overflow:auto;
min-width:100%; min-width:100%;
margin:10px 0; margin:8px 0;
border-collapse: collapse; border-collapse: collapse;
`, `,
th: ` th: `