添加组件及页面

This commit is contained in:
zhengw
2026-01-21 17:05:30 +08:00
parent a89e69c381
commit 7ff1a911dd
54 changed files with 1078 additions and 1009 deletions

36
.vscode/settings.json vendored
View File

@@ -1,20 +1,5 @@
{
"window.title": "普惠版小程序开发",
"[wxml]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[wxss]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"prettier.documentSelectors": [
// "**/*.wxml",
"**/*.wxss",
"**/*.wxs"
],
"files.associations": {
// "*.wxml": "html",
"*.wxss": "css"
},
"search.exclude": {
"**/node_modules": true,
"**/bower_components": true,
@@ -23,23 +8,6 @@
"**/miniprogram_npm": true,
"**/typings": true
},
"wxmlConfig.onSaveFormat": true,
"wxmlConfig.format": {
"brace_style": "collapse",
"end_with_newline": false,
"indent_char": " ",
"indent_handlebars": false,
"indent_inner_html": false,
"indent_scripts": "keep",
"indent_size": 2,
"indent_with_tabs": false,
"max_preserve_newlines": 1,
"wrap_attributes_count": 4,
"unformatted": "['text']",
"disable_automatic_closing_labels": false,
"preserve_newlines": true,
"wrap_attributes": "force-expand-multiline"
},
"cSpell.words": [
"bindchange",
"binddragend",
@@ -58,5 +26,7 @@
"Sesskey",
"showmenu",
"unionid"
]
],
"wxml.format.maxPreserveNewLines": null,
"wxml.format.wrapLineLength": 100
}