App.vue 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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. /*每个页面公共css */
  23. html, body {
  24. background-color: #F2F4F4;
  25. margin: 0;
  26. padding: 0;
  27. }
  28. /deep/.u-divider{
  29. color: rgba(182, 189, 195, 1);
  30. font-size: 12px;
  31. font-family: 'Regular';
  32. }
  33. .uni-icon-success-no-circle:before {
  34. content: "" !important ;
  35. display: none;
  36. }
  37. .uni-toast .uni-toast__content{
  38. margin: -10px 1px 10px 1px;
  39. }
  40. .uni-modal .uni-modal__btn{
  41. flex: 1;
  42. height: 43px;
  43. line-height: 43px !important;;
  44. font-size: 13px !important;
  45. box-sizing: border-box;
  46. cursor: pointer;
  47. text-align: center;
  48. border-radius: 1px;
  49. }
  50. /deep/.u-navbar-content-title{
  51. font-family: 'Medium';
  52. }
  53. /* @media screen and (min-width: 320px) {
  54. /deep/.u-tabbar__content {
  55. height: 45px!important;
  56. }
  57. }
  58. @media screen and (min-width: 375px) {
  59. /deep/.u-tabbar__content {
  60. height: 55px!important;
  61. }
  62. }
  63. @media screen and (min-width: 425px) {
  64. /deep/.u-tabbar__content {
  65. height: 65px!important;
  66. }
  67. } */
  68. .u-back-text{
  69. color: #101010 !important;
  70. font-size: 17px !important
  71. }
  72. </style>