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. },
  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: 24rpx;
  32. }
  33. /* tabs标签 */
  34. /deep/.u-tab-item{
  35. font-weight: normal !important;
  36. }
  37. .uni-icon-success-no-circle:before {
  38. content: "" !important ;
  39. display: none;
  40. }
  41. .uni-toast .uni-toast__content{
  42. margin: -10px 1px 10px 1px;
  43. }
  44. .uni-modal .uni-modal__btn{
  45. flex: 1;
  46. height: 43px;
  47. line-height: 43px !important;;
  48. font-size: 13px !important;
  49. box-sizing: border-box;
  50. cursor: pointer;
  51. text-align: center;
  52. border-radius: 1px;
  53. }
  54. /deep/.u-title{
  55. font-size:36rpx !important;
  56. color: rgba(51, 51, 51, 1) !important;
  57. }
  58. /deep/.uicon-nav-back {
  59. color: #101010 !important;
  60. }
  61. @media screen and (min-width: 320px) {
  62. /deep/.u-tabbar__content {
  63. height: 45px!important;
  64. }
  65. }
  66. @media screen and (min-width: 375px) {
  67. /deep/.u-tabbar__content {
  68. height: 55px!important;
  69. }
  70. }
  71. @media screen and (min-width: 425px) {
  72. /deep/.u-tabbar__content {
  73. height: 65px!important;
  74. }
  75. }
  76. .u-back-text{
  77. color: #101010 !important;
  78. font-size: 17px !important
  79. }
  80. </style>