Skip to content

Commit

Permalink
🔨 重构项目
Browse files Browse the repository at this point in the history
  • Loading branch information
axbug committed Aug 3, 2022
1 parent 274862b commit dec61e8
Show file tree
Hide file tree
Showing 769 changed files with 131,259 additions and 560 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/node_modules/
/unpackage/
/.idea/
/dist/
41 changes: 22 additions & 19 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,34 +36,37 @@
"build:quickapp-webview-union": "uni build -p quickapp-webview-union"
},
"dependencies": {
"@dcloudio/uni-app": "3.0.0-alpha-3050320220727002",
"@dcloudio/uni-app-plus": "3.0.0-alpha-3050320220727002",
"@dcloudio/uni-components": "3.0.0-alpha-3050320220727002",
"@dcloudio/uni-h5": "3.0.0-alpha-3050320220727002",
"@dcloudio/uni-mp-alipay": "3.0.0-alpha-3050320220727002",
"@dcloudio/uni-mp-baidu": "3.0.0-alpha-3050320220727002",
"@dcloudio/uni-mp-kuaishou": "3.0.0-alpha-3050320220727002",
"@dcloudio/uni-mp-lark": "3.0.0-alpha-3050320220727002",
"@dcloudio/uni-mp-qq": "3.0.0-alpha-3050320220727002",
"@dcloudio/uni-mp-toutiao": "3.0.0-alpha-3050320220727002",
"@dcloudio/uni-mp-weixin": "3.0.0-alpha-3050320220727002",
"@dcloudio/uni-quickapp-webview": "3.0.0-alpha-3050320220727002",
"vue": "^3.2.37",
"@dcloudio/uni-app": "3.0.0-alpha-3050320220729001",
"@dcloudio/uni-app-plus": "3.0.0-alpha-3050320220729001",
"@dcloudio/uni-components": "3.0.0-alpha-3050320220729001",
"@dcloudio/uni-h5": "3.0.0-alpha-3050320220729001",
"@dcloudio/uni-mp-alipay": "3.0.0-alpha-3050320220729001",
"@dcloudio/uni-mp-baidu": "3.0.0-alpha-3050320220729001",
"@dcloudio/uni-mp-kuaishou": "3.0.0-alpha-3050320220729001",
"@dcloudio/uni-mp-lark": "3.0.0-alpha-3050320220729001",
"@dcloudio/uni-mp-qq": "3.0.0-alpha-3050320220729001",
"@dcloudio/uni-mp-toutiao": "3.0.0-alpha-3050320220729001",
"@dcloudio/uni-mp-weixin": "3.0.0-alpha-3050320220729001",
"@dcloudio/uni-quickapp-webview": "3.0.0-alpha-3050320220729001",
"echarts": "^5.3.3",
"lunar-javascript": "^1.2.32",
"pinia": "^2.0.17"
"pinia": "^2.0.17",
"vue": "^3.2.37",
"vue-i18n": "^9.1.9",
"vuex": "^4.0.2"
},
"devDependencies": {
"@dcloudio/types": "^3.0.7",
"@dcloudio/uni-automator": "3.0.0-alpha-3050320220727002",
"@dcloudio/uni-cli-shared": "3.0.0-alpha-3050320220727002",
"@dcloudio/vite-plugin-uni": "3.0.0-alpha-3050320220727002",
"typescript": "^4.7.4",
"vite": "^2.9.14",
"@dcloudio/uni-automator": "3.0.0-alpha-3050320220729001",
"@dcloudio/uni-cli-shared": "3.0.0-alpha-3050320220729001",
"@dcloudio/uni-stacktracey": "3.0.0-alpha-3050320220729001",
"@dcloudio/vite-plugin-uni": "3.0.0-alpha-3050320220729001",
"autoprefixer": "^10.4.7",
"sass": "^1.53.0",
"sass-loader": "10",
"typescript": "^4.7.4",
"unplugin-vue-components": "^0.18.5",
"vite": "^2.9.14",
"vite-plugin-progress": "^0.0.3"
}
}
54 changes: 44 additions & 10 deletions src/App.vue
Original file line number Diff line number Diff line change
@@ -1,13 +1,47 @@
<script setup lang="ts">
import { onLaunch, onShow, onHide } from "@dcloudio/uni-app";
onLaunch(() => {
console.log("App Launch");
});
onShow(() => {
console.log("App Show");
});
onHide(() => {
console.log("App Hide");
import { onPageNotFound } from '@dcloudio/uni-app';
onPageNotFound(() => {
uni.redirectTo({
url: '/pages/index/index'
});
});
</script>
<style></style>

<style>
/* #ifdef APP-NVUE */
@import './tmui/scss/nvue.css';
/* #endif */
/* #ifndef APP-NVUE */
@import './tmui/scss/noNvue.css';
/* #endif */
/* #ifdef H5 */
body::-webkit-scrollbar,
div::-webkit-scrollbar,
*::-webkit-scrollbar {
display: none;
}
body.pages-index-index uni-page-body,
body {
padding-bottom: 0 !important;
}
/* #endif */
@font-face{
font-family: PingFangSC-Medium;
src: url('./static/font/pingfang-font.ttf')
}
view,
text,
label,
input,
uni-view,
uni-text,
uni-label,
uni-input {
font-family: 'PingFangSC-Medium';
}
</style>
3 changes: 3 additions & 0 deletions src/androidPrivacy.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"prompt": "template"
}
Loading

0 comments on commit dec61e8

Please sign in to comment.