App.vue 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. <script>
  2. import '.env.js'
  3. import 'font.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 '@/assets/font/iconfont.css';
  25. @import '@/iconfont/iconfont.css';
  26. html, body {
  27. background-color: #F2F4F4;
  28. margin: 0;
  29. padding: 0;
  30. } ygff
  31. // 后退图标
  32. .back{
  33. display: inline-block;
  34. font-size: 18px;
  35. float: left;
  36. margin-left: 11px;
  37. }
  38. .uni-icon-success-no-circle:before {
  39. content: "" !important ;
  40. display: none;
  41. }
  42. .uni-toast .uni-toast__content{
  43. margin: -10px 1px 10px 1px;
  44. }
  45. .uni-modal .uni-modal__btn{
  46. flex: 1;
  47. height: 43px;
  48. line-height: 43px !important;;
  49. font-size: 13px !important;
  50. box-sizing: border-box;
  51. cursor: pointer;
  52. text-align: center;
  53. border-radius: 1px;
  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. </style>