提交
This commit is contained in:
parent
91c617fe77
commit
c6309a63cf
13
App.vue
13
App.vue
@ -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>
|
||||
|
||||
2
main.js
2
main.js
@ -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
|
||||
})
|
||||
|
||||
@ -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"
|
||||
}
|
||||
}
|
||||
],
|
||||
|
||||
Loading…
Reference in New Issue
Block a user