This commit is contained in:
shidongli 2023-10-23 09:34:16 +08:00
parent 91c617fe77
commit c6309a63cf
4 changed files with 23 additions and 2 deletions

13
App.vue
View File

@ -11,7 +11,18 @@
}
}
</script>
<style lang="scss">
@import "uview-ui/index.scss";
<style>
/*每个页面公共css */
// page {
// background-color: #F4F5F7;
// }
// .app {
// width: 100%;
// height: 100%;
// text-align: justify;
// color: #000000;
// }
</style>

View File

@ -2,9 +2,11 @@ import App from './App'
// #ifndef VUE3
import Vue from 'vue'
import uView from "uview-ui";
import './uni.promisify.adaptor'
Vue.config.productionTip = false
App.mpType = 'app'
Vue.use(uView);
const app = new Vue({
...App
})

View File

@ -1,9 +1,15 @@
{
"easycom": {
"^u-(.*)": "uview-ui/components/u-$1/u-$1.vue"
},
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
{
"path": "pages/index/index",
"style": {
"navigationBarTitleText": "uni-app"
"navigationBarTitleText": "",
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
}
],

View File

@ -74,3 +74,5 @@ $uni-color-subtitle: #555555; // 二级标题颜色
$uni-font-size-subtitle:26px;
$uni-color-paragraph: #3F536E; // 文章段落颜色
$uni-font-size-paragraph:15px;
/* uni.scss */
@import 'uview-ui/theme.scss';