Skip to content

Commit

Permalink
perf: ♻️ 性能优化及依赖更新
Browse files Browse the repository at this point in the history
  • Loading branch information
viarotel committed Feb 20, 2024
1 parent 705c794 commit 1eccb37
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 14 deletions.
6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"build:quickapp-webview-union": "uni build -p quickapp-webview-union"
},
"dependencies": {
"@climblee/uv-ui": "^1.1.19",
"@climblee/uv-ui": "^1.1.20",
"@dcloudio/uni-app": "3.0.0-3090920231225001",
"@dcloudio/uni-app-plus": "3.0.0-3090920231225001",
"@dcloudio/uni-components": "3.0.0-3090920231225001",
Expand All @@ -73,7 +73,7 @@
"lodash-es": "^4.17.21",
"pinia": "2.0.33",
"query-string": "^8.2.0",
"uniapp-router-next": "^1.2.4",
"uniapp-router-next": "^1.2.7",
"uview-plus": "^3.1.35",
"vue": "3.2.47",
"vue-i18n": "^9.9.1",
Expand All @@ -91,11 +91,9 @@
"@unocss/transformer-directives": "0.58.0",
"@viarotel-org/unocss-preset-shades": "^0.7.4",
"@vue/runtime-core": "^3.4.15",
"add": "^2.0.6",
"eslint": "^8.54.0",
"mini-types": "^0.1.7",
"miniprogram-api-typings": "^3.10.0",
"pnpm": "^8.15.1",
"postcss": "^8.4.24",
"postcss-import": "^15.1.0",
"postcss-nested": "^6.0.1",
Expand Down
4 changes: 2 additions & 2 deletions src/mixins/share/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { appName } from '@/configs/index'
import { appName, homePage } from '@/configs/index'

export default {
data() {
Expand All @@ -10,7 +10,7 @@ export default {
onShareAppMessage() {
return {
title: appName,
path: '/pages/index/index',
path: homePage,
...this.shareAppMessageProps,
}
},
Expand Down
8 changes: 0 additions & 8 deletions src/styles/css/applet.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,4 @@ navigator {

button {
background-color: transparent;
}

.pt-topbar {
padding-top: var(--status-bar-height);
}

.mt-topbar {
margin-top: var(--status-bar-height);
}
1 change: 1 addition & 0 deletions unocss.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,6 @@ export default defineConfig({
'inset-x-center': 'absolute left-1/2 transform -translate-x-1/2',
'inset-y-center': 'absolute top-1/2 transform -translate-y-1/2',
'h-safe-bottom': 'h-[constant(safe-area-inset-bottom)] h-[env(safe-area-inset-bottom)]',
'h-safe-top': 'h-[var(--status-bar-height)]',
},
})

0 comments on commit 1eccb37

Please sign in to comment.