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