App.vue 838 B

12345678910111213141516171819202122232425262728293031323334
  1. <script>
  2. export default {
  3. // 此处globalData为了演示其作用,不是uView框架的一部分
  4. globalData: {
  5. username: '白居易'
  6. },
  7. onLaunch() {
  8. // 1.1.0版本之前关于http拦截器代码,已平滑移动到/common/http.interceptor.js中
  9. // 注意,需要在/main.js中实例化Vue之后引入如下(详见文档说明):
  10. // import httpInterceptor from '@/common/http.interceptor.js'
  11. // Vue.use(httpInterceptor, app)
  12. },
  13. }
  14. </script>
  15. <style lang="scss">
  16. @import "uview-ui/index.scss";
  17. @import "common/demo.scss";
  18. /*每个页面公共css */
  19. // uni-page-head
  20. // {
  21. // display: none;
  22. // }
  23. .u-checkbox__label[data-v-54acf820] {
  24. color: #B2B2B2 !important;
  25. }
  26. .uni-input-placeholder {
  27. color: #B2B2B2 !important;
  28. }
  29. page{
  30. height: 100%;
  31. background-color: #F4F4F4;
  32. }
  33. </style>