App.vue 1.7 KB

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