App.vue 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  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. }
  28. /deep/.u-divider{
  29. color: rgba(182, 189, 195, 1);
  30. font-size: 12px;
  31. font-weight: bold;
  32. font-family: 'Regular';
  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-navbar-content-title{
  52. font-family: 'Medium';
  53. }
  54. @media screen and (min-width: 320px) {
  55. /deep/.u-tabbar__content {
  56. height: 45px!important;
  57. }
  58. }
  59. @media screen and (min-width: 375px) {
  60. /deep/.u-tabbar__content {
  61. height: 55px!important;
  62. }
  63. }
  64. @media screen and (min-width: 425px) {
  65. /deep/.u-tabbar__content {
  66. height: 65px!important;
  67. }
  68. }
  69. .u-back-text{
  70. color: #101010 !important;
  71. font-size: 17px !important
  72. }
  73. </style>