u
This commit is contained in:
1 parent
60c02402b9
commit
330c4d09fa
22 files changed
+485
-1
No files matched your search
@@ -2,7 +2,7 @@
|
||||
|
||||
在 `pages.json` 中设置 `backgroundColor` 并未生效。
|
||||
|
||||
设置全局背景色在 `App.vue` 中进行设置,设置单个页面背景色就在对应的页面中设置。
|
||||
设置全局背景色在 `App.vue` 中进行设置
|
||||
|
||||
```vue
|
||||
<!--此标签需要新建,不要和样式搞在一起-->
|
||||
@@ -13,3 +13,21 @@ page {
|
||||
</style>
|
||||
```
|
||||
|
||||
设置单个页面背景色就在对应的页面中设置
|
||||
|
||||
```vue
|
||||
<!--此标签需要新建,不要和样式搞在一起-->
|
||||
<style scoped>
|
||||
page {
|
||||
background-color: red;
|
||||
}
|
||||
</style>
|
||||
```
|
||||
|
||||
|
||||
|
||||
<style>
|
||||
page {
|
||||
background-color: #f5f7fa;
|
||||
}
|
||||
</style>
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 34 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 54 KiB |
@@ -0,0 +1,13 @@
|
||||
# IDEA 注释设置行首缩进
|
||||
|
||||
## Java 文件注释设置
|
||||
|
||||
依次点击菜单 *File -> Settings -> Editor -> Code Style -> Java -> Code Generation*, 去除勾选的 *Line comment at first column* 并勾选 *Add a space at line comment start*, 然后点击 *Apply* 按钮应用设置
|
||||
|
||||

|
||||
|
||||
## Xml 文件注释设置
|
||||
|
||||
依次点击菜单 *File -> Settings -> Editor -> Code Style -> XML -> Code Generation*, 勾选如下设置,然后点击 *Apply* 按钮应用设置
|
||||
|
||||

|
||||
Reference in new issue
Block a user