App.vue 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. <style lang="scss">
  2. /* 注意要写在第一行,同时给style标签加入lang="scss"属性 */
  3. @import "@/uni_modules/uview-ui/index.scss";
  4. //@import '@/assets/font/font.css';
  5. </style>
  6. <script>
  7. import './config/.env.js'
  8. import './assets/js/font.js'
  9. export default {
  10. onLaunch: function() {
  11. console.log('App Launch')
  12. },
  13. onShow: function() {
  14. console.log('App Show ---- App Show')
  15. },
  16. onHide: function() {
  17. console.log('App Hide -- App Hide -App Hide')
  18. }
  19. }
  20. </script>
  21. <style>
  22. #__vconsole{
  23. z-index: 99999;
  24. position: absolute;
  25. }
  26. /*每个页面公共css */
  27. html, body {
  28. background-color: #F2F4F4;
  29. margin: 0;
  30. padding: 0;
  31. }
  32. /deep/.u-divider{
  33. color: rgba(182, 189, 195, 1);
  34. font-size: 12px;
  35. font-family: 'Regular';
  36. }
  37. .uni-icon-success-no-circle:before {
  38. content: "" !important ;
  39. display: none;
  40. }
  41. .uni-toast .uni-toast__content{
  42. margin: -10px 1px 10px 1px;
  43. }
  44. .uni-modal .uni-modal__btn{
  45. flex: 1;
  46. height: 43px;
  47. line-height: 43px !important;;
  48. font-size: 13px !important;
  49. box-sizing: border-box;
  50. cursor: pointer;
  51. text-align: center;
  52. border-radius: 1px;
  53. }
  54. /deep/.u-navbar-content-title{
  55. font-family: 'Medium';
  56. }
  57. /* @media screen and (min-width: 320px) {
  58. /deep/.u-tabbar__content {
  59. height: 45px!important;
  60. }
  61. }
  62. @media screen and (min-width: 375px) {
  63. /deep/.u-tabbar__content {
  64. height: 55px!important;
  65. }
  66. }
  67. @media screen and (min-width: 425px) {
  68. /deep/.u-tabbar__content {
  69. height: 65px!important;
  70. }
  71. } */
  72. .u-back-text{
  73. color: #101010 !important;
  74. font-size: 17px !important
  75. }
  76. </style>