chore: 完善项目配置

master
SuJiehao 2 years ago committed by dongmu
parent 2e3ff65e27
commit 4548f70abc

@ -15,6 +15,7 @@ module.exports = {
wx: true, wx: true,
WechatMiniprogram: true, WechatMiniprogram: true,
getCurrentPages: true, getCurrentPages: true,
UniHelper: true,
}, },
parserOptions: { parserOptions: {
ecmaVersion: 'latest', ecmaVersion: 'latest',

@ -1,7 +1,7 @@
{ {
"singleQuote": true, "singleQuote": true,
"semi": false, "semi": false,
"printWidth": 80, "printWidth": 100,
"trailingComma": "all", "trailingComma": "all",
"endOfLine": "auto" "endOfLine": "auto"
} }

@ -10,7 +10,7 @@
'<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + '<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' +
(coverSupport ? ', viewport-fit=cover' : '') + '" />') (coverSupport ? ', viewport-fit=cover' : '') + '" />')
</script> </script>
<title></title> <title>小兔鲜儿</title>
<!--preload-links--> <!--preload-links-->
<!--app-context--> <!--app-context-->
</head> </head>
@ -22,4 +22,4 @@
<script type="module" src="/src/main.ts"></script> <script type="module" src="/src/main.ts"></script>
</body> </body>
</html> </html>

@ -1,9 +1,9 @@
{ {
"name": "uni-app-xiaotuxian", "name": "小兔鲜儿",
"appid": "", "appid": "",
"description": "", "description": "",
"versionName": "1.0.0", "versionName": "1.0.0",
"versionCode": "100", "versionCode": 1,
"transformPx": false, "transformPx": false,
/* 5+App */ /* 5+App */
"app-plus": { "app-plus": {

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

@ -1,140 +1,147 @@
@font-face {font-family: "erabbit"; @font-face {
src: url('https://at.alicdn.com/t/font_2232762_u2xb7up9h5.woff?t=1614588039709') format('woff'), font-family: 'erabbit';
url('https://at.alicdn.com/t/font_2232762_u2xb7up9h5.ttf?t=1614588039709') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+ */ src: url('https://at.alicdn.com/t/c/font_4009193_lnbhmo3yos.woff?t=1681201348304') format('woff'),
url('https://at.alicdn.com/t/font_2232762_u2xb7up9h5.svg?t=1614588039709#erabbit') format('svg'); /* iOS 4.1- */ url('https://at.alicdn.com/t/c/font_4009193_lnbhmo3yos.ttf?t=1681201348304') format('truetype'),
url('https://at.alicdn.com/t/c/font_4009193_lnbhmo3yos.svg?t=1681201348304#erabbit')
format('svg');
} }
[class^="icon-"], [class*=" icon-"] { [class^='icon-'],
font-family: "erabbit" !important; [class*=' icon-'] {
font-family: 'erabbit' !important;
font-style: normal; font-style: normal;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
} }
.icon-mail:before { .icon-mail:before {
content: "\e644"; content: '\e644';
} }
.icon-weixin:before { .icon-weixin:before {
content: "\e620"; content: '\e620';
} }
.icon-phone:before { .icon-phone:before {
content: "\e618"; content: '\e618';
} }
.icon-camera-plus:before { .icon-camera-plus:before {
content: "\e636"; content: '\e636';
} }
.icon-close:before { .icon-close:before {
content: "\e6e1"; content: '\e6e1';
} }
.icon-help:before { .icon-help:before {
content: "\e617"; content: '\e617';
} }
.icon-cart:before { .icon-cart:before {
content: "\e6d1"; content: '\e6d1';
} }
.icon-settings:before { .icon-settings:before {
content: "\e6cf"; content: '\e6cf';
} }
.icon-clock:before { .icon-clock:before {
content: "\e609"; content: '\e609';
} }
.icon-delete:before { .icon-delete:before {
content: "\e6ce"; content: '\e6ce';
} }
.icon-checked:before { .icon-checked:before {
content: "\e6cc"; content: '\e6cc';
} }
.icon-ring:before { .icon-ring:before {
content: "\e6cd"; content: '\e6cd';
} }
.icon-locate:before { .icon-locate:before {
content: "\e6cb"; content: '\e6cb';
} }
.icon-mark:before { .icon-mark:before {
content: "\e6ca"; content: '\e6ca';
} }
.icon-check:before { .icon-check:before {
content: "\e6c9"; content: '\e6c9';
} }
.icon-handset:before { .icon-handset:before {
content: "\e6c8"; content: '\e6c8';
} }
.icon-gift:before { .icon-gift:before {
content: "\e6c7"; content: '\e6c7';
} }
.icon-currency:before { .icon-currency:before {
content: "\e6c6"; content: '\e6c6';
} }
.icon-comment:before { .icon-comment:before {
content: "\e6c5"; content: '\e6c5';
} }
.icon-caret:before { .icon-caret:before {
content: "\e6c3"; content: '\e6c3';
} }
.icon-right:before { .icon-right:before {
content: "\e6c2"; content: '\e6c2';
} }
.icon-left:before { .icon-left:before {
content: "\e6c1"; content: '\e6c1';
} }
.icon-down:before { .icon-down:before {
content: "\e6c0"; content: '\e6c0';
} }
.icon-up:before { .icon-up:before {
content: "\e6bf"; content: '\e6bf';
} }
.icon-sort:before { .icon-sort:before {
content: "\e616"; content: '\e616';
} }
.icon-clear:before { .icon-clear:before {
content: "\e6be"; content: '\e6be';
} }
.icon-user:before { .icon-user:before {
content: "\e6bb"; content: '\e6bb';
} }
.icon-scan:before { .icon-scan:before {
content: "\e6bc"; content: '\e6bc';
} }
.icon-search:before { .icon-search:before {
content: "\e632"; content: '\e632';
} }
.icon-preview:before { .icon-preview:before {
content: "\e61d"; content: '\e61d';
} }
.icon-heart:before { .icon-heart:before {
content: "\e647"; content: '\e647';
} }
.icon-filter:before { .icon-filter:before {
content: "\e629"; content: '\e629';
}
.icon-home:before {
content: '\e8b9';
} }

@ -1,24 +1,17 @@
{ {
"extends": "@vue/tsconfig/tsconfig.json",
"compilerOptions": { "compilerOptions": {
"target": "esnext",
"useDefineForClassFields": true,
"module": "esnext",
"moduleResolution": "node",
"strict": true,
"jsx": "preserve",
"sourceMap": true, "sourceMap": true,
"resolveJsonModule": true, "baseUrl": ".",
"esModuleInterop": true, "paths": {
"@/*": ["./src/*"]
},
"lib": ["esnext", "dom"], "lib": ["esnext", "dom"],
"types": [ "types": [
"@dcloudio/types", "@dcloudio/types",
"@types/wechat-miniprogram", "@types/wechat-miniprogram",
"@uni-helper/uni-app-types" "@uni-helper/uni-app-types"
], ]
"baseUrl": ".",
"paths": {
"@/*": ["src/*"]
}
}, },
"vueCompilerOptions": { "vueCompilerOptions": {
"nativeTags": ["block", "component", "template", "slot"] "nativeTags": ["block", "component", "template", "slot"]

Loading…
Cancel
Save