Skip to content

Commit 1eee961

Browse files
committed
chore: chore update
2 parents e35c533 + 6b50a21 commit 1eee961

40 files changed

+101
-342
lines changed

.vscode/extensions.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
"uni-helper.uni-highlight-vscode",
1313
"uni-helper.uni-ui-snippets-vscode",
1414
"uni-helper.uni-app-snippets-vscode",
15-
"mrmlnc.vscode-json5",
1615
"streetsidesoftware.code-spell-checker",
1716
"foxundermoon.shell-format",
1817
"christian-kohler.path-intellisense"

.vscode/settings.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@
55
"manifest.json": "jsonc" // manifest.json 可以写注释
66
},
77

8+
"stylelint.enable": false, // 禁用 stylelint
9+
"css.validate": false, // 禁用 CSS 内置验证
10+
"scss.validate": false, // 禁用 SCSS 内置验证
11+
"less.validate": false, // 禁用 LESS 内置验证
12+
813
"typescript.tsdk": "node_modules\\typescript\\lib",
914
"explorer.fileNesting.enabled": true,
1015
"explorer.fileNesting.expand": false,
@@ -49,7 +54,6 @@
4954
"html",
5055
"markdown",
5156
"json",
52-
"json5",
5357
"jsonc",
5458
"yaml",
5559
"toml",

.vscode/vue3.code-snippets

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@
1919
"scope": "vue",
2020
"prefix": "v3",
2121
"body": [
22-
"<route lang=\"json5\" type=\"page\">",
22+
"<route lang=\"jsonc\" type=\"page\">",
2323
"{",
24-
" layout: 'default',",
25-
" style: {",
26-
" navigationBarTitleText: '$1',",
27-
" },",
24+
" \"layout\": \"default\",",
25+
" \"style\": {",
26+
" \"navigationBarTitleText\": \"$1\"",
27+
" }",
2828
"}",
2929
"</route>\n",
3030
"<script lang=\"ts\" setup>",

manifest.config.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,9 @@ export default defineManifestConfig({
124124
es6: true,
125125
minified: true,
126126
},
127+
optimization: {
128+
subPackages: true,
129+
},
127130
usingComponents: true,
128131
// __usePrivacyCheck__: true,
129132
},

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
{
22
"name": "unibest",
33
"type": "commonjs",
4-
"version": "3.2.0",
4+
"version": "3.3.0",
5+
"packageManager": "[email protected]",
56
"description": "unibest - 最好的 uniapp 开发模板",
6-
"update-time": "2025-06-21",
7+
"update-time": "2025-07-08",
78
"author": {
89
"name": "feige996",
910
"zhName": "菲鸽",

src/App.vue

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,6 @@ onHide(() => {
1717
</script>
1818

1919
<style lang="scss">
20-
button::after {
21-
border: none;
22-
}
23-
2420
swiper,
2521
scroll-view {
2622
flex: 1;
@@ -33,29 +29,4 @@ image {
3329
height: 100%;
3430
vertical-align: middle;
3531
}
36-
37-
// 单行省略,优先使用 unocss: text-ellipsis
38-
.ellipsis {
39-
overflow: hidden;
40-
text-overflow: ellipsis;
41-
white-space: nowrap;
42-
}
43-
44-
// 两行省略
45-
.ellipsis-2 {
46-
display: -webkit-box;
47-
overflow: hidden;
48-
text-overflow: ellipsis;
49-
-webkit-line-clamp: 2;
50-
-webkit-box-orient: vertical;
51-
}
52-
53-
// 三行省略
54-
.ellipsis-3 {
55-
display: -webkit-box;
56-
overflow: hidden;
57-
text-overflow: ellipsis;
58-
-webkit-line-clamp: 3;
59-
-webkit-box-orient: vertical;
60-
}
6132
</style>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { API_DOMAINS, http } from '@/utils/request/alova'
1+
import { API_DOMAINS, http } from '@/http/request/alova'
22

33
export interface IFoo {
44
id: number

src/api/foo.ts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import { http } from '@/http/http'
2+
3+
export interface IFoo {
4+
id: number
5+
name: string
6+
}
7+
8+
export function foo() {
9+
return http.Get<IFoo>('/foo', {
10+
params: {
11+
name: '菲鸽',
12+
page: 1,
13+
pageSize: 10,
14+
},
15+
})
16+
}

src/api/login.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { ICaptcha, IUpdateInfo, IUpdatePassword, IUserInfoVo, IUserLogin } from './types/login'
2-
import { http } from '@/utils/http'
2+
import { http } from '@/http/http'
33

44
/**
55
* 登录表单

src/components/fg-navbar/fg-navbar.vue

Lines changed: 0 additions & 58 deletions
This file was deleted.

0 commit comments

Comments
 (0)