App.vue 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. <script>
  2. import './config/font.js'
  3. import "./config/.env.js"
  4. export default {
  5. onLaunch: function() {
  6. },
  7. onShow: function() {
  8. },
  9. onReady: function() {
  10. console.log("aaa")
  11. },
  12. onHide: function() {
  13. },
  14. methods:{
  15. }
  16. }
  17. </script>
  18. <style lang="scss">
  19. /* 注意要写在第一行,同时给style标签加入lang="scss"属性 */
  20. @import "uview-ui/index.scss";
  21. //
  22. /*每个页面公共css */
  23. //@import 'static/css/style.css';
  24. @import '@/iconfont/iconfont.css';
  25. @import '@/assets/font/iconfont.css';
  26. .uni-icon-success-no-circle:before {
  27. content: "" !important ;
  28. display: none;
  29. }
  30. .uni-toast .uni-toast__content{
  31. margin: -10px 1px 10px 1px;
  32. }
  33. .uni-modal .uni-modal__btn{
  34. flex: 1;
  35. height: 43px;
  36. line-height: 43px !important;;
  37. font-size: 13px !important;
  38. box-sizing: border-box;
  39. cursor: pointer;
  40. text-align: center;
  41. border-radius: 1px;
  42. }
  43. @media screen and (min-width: 320px) {
  44. ::v-deep .u-tabbar__content {
  45. height: 42px!important;
  46. }
  47. }
  48. @media screen and (min-width: 375px) {
  49. ::v-deep .u-tabbar__content {
  50. height: 52px!important;
  51. }
  52. }
  53. @media screen and (min-width: 425px) {
  54. ::v-deep .u-tabbar__content {
  55. height: 62px!important;
  56. }
  57. }
  58. </style>