From 3d082eb458cbc1010a024687a01e341549a677cf Mon Sep 17 00:00:00 2001 From: "guoqi.sun" Date: Sun, 11 Feb 2024 06:44:17 +0800 Subject: [PATCH] :sparkles: feat: add nav and others --- src/App.vue | 127 +++++++++++++++++++++++++++++++++++++--- src/assets/css/main.css | 4 ++ uno.config.js | 4 ++ 3 files changed, 128 insertions(+), 7 deletions(-) diff --git a/src/App.vue b/src/App.vue index 3a18b7c..d924178 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,25 +1,138 @@ diff --git a/src/assets/css/main.css b/src/assets/css/main.css index 9173d05..00a424d 100644 --- a/src/assets/css/main.css +++ b/src/assets/css/main.css @@ -13,3 +13,7 @@ body { line-height: 1.6; color: #333; } + +a { + text-decoration: none; +} diff --git a/uno.config.js b/uno.config.js index 125df30..180c63a 100644 --- a/uno.config.js +++ b/uno.config.js @@ -14,6 +14,10 @@ export default defineConfig({ // 排版 presetTypography(), ], + rules: [ + // 自定义规则 + ['wv', { 'writing-mode': 'vertical-rl' }], + ], shortcuts: [ ['wh-full', 'w-full h-full'], ['f-b-c', 'flex justify-between items-center'],