style: 在App.vue中为ol元素添加样式
为ol元素添加了list-style-type和padding样式,以改善列表的可读性和布局
Showing
1 changed file
with
8 additions
and
2 deletions
| 1 | <!-- | 1 | <!-- |
| 2 | * @Date: 2025-03-20 19:53:12 | 2 | * @Date: 2025-03-20 19:53:12 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2025-03-26 11:30:48 | 4 | + * @LastEditTime: 2025-05-08 09:45:37 |
| 5 | * @FilePath: /mlaj/src/App.vue | 5 | * @FilePath: /mlaj/src/App.vue |
| 6 | * @Description: 入口文件 | 6 | * @Description: 入口文件 |
| 7 | --> | 7 | --> |
| ... | @@ -66,9 +66,15 @@ if (!import.meta.env.DEV && wxInfo().isWeiXin) { | ... | @@ -66,9 +66,15 @@ if (!import.meta.env.DEV && wxInfo().isWeiXin) { |
| 66 | </van-config-provider> | 66 | </van-config-provider> |
| 67 | </template> | 67 | </template> |
| 68 | 68 | ||
| 69 | -<style> | 69 | +<style lang="less"> |
| 70 | #app { | 70 | #app { |
| 71 | width: 100%; | 71 | width: 100%; |
| 72 | min-height: 100vh; | 72 | min-height: 100vh; |
| 73 | + | ||
| 74 | + ol { | ||
| 75 | + list-style-type: decimal; | ||
| 76 | + padding: 0.25rem 1rem; | ||
| 77 | + } | ||
| 73 | } | 78 | } |
| 79 | + | ||
| 74 | </style> | 80 | </style> | ... | ... |
-
Please register or login to post a comment