App.vue 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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. document.title="荆州市地方铁路有限公司微官网"
  13. },
  14. onShow: function() {
  15. console.log('App Show')
  16. },
  17. onHide: function() {
  18. console.log('App Hide')
  19. }
  20. }
  21. </script>
  22. <style>
  23. /*每个页面公共css */
  24. html, body {
  25. background-color: #F2F4F4;
  26. margin: 0;
  27. padding: 0;
  28. }
  29. /deep/.u-divider{
  30. color: rgba(182, 189, 195, 1);
  31. font-size: 12px;
  32. font-weight: bold;
  33. font-family: 'Regular';
  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. /deep/.u-navbar-content-title{
  53. font-family: 'Medium';
  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. </style>