App.vue 1.7 KB

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