App.vue 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. <script>
  2. import './config/font.js'
  3. import "./config/.env.js"
  4. export default {
  5. data() {
  6. return {
  7. projectName: "",
  8. }
  9. },
  10. onLoad() {
  11. },
  12. onLaunch: function() {
  13. },
  14. onShow: function() {
  15. },
  16. onReady: function() {
  17. console.log("aaa")
  18. },
  19. onHide: function() {
  20. },
  21. methods:{
  22. }
  23. }
  24. </script>
  25. <style lang="scss">
  26. #__vconsole{
  27. z-index: 99999;
  28. position: absolute;
  29. }
  30. /* 注意要写在第一行,同时给style标签加入lang="scss"属性 */
  31. @import "uview-ui/index.scss";
  32. //
  33. /*每个页面公共css */
  34. //@import 'static/css/style.css';
  35. @import '@/assets/font/iconfont.css';
  36. @import '@/iconfont/iconfont.css';
  37. html, body {
  38. background-color: #F2F4F4;
  39. margin: 0;
  40. padding: 0;
  41. } ygff
  42. // 后退图标
  43. .back{
  44. display: inline-block;
  45. font-size: 18px;
  46. float: left;
  47. margin-left: 11px;
  48. }
  49. .uni-icon-success-no-circle:before {
  50. content: "" !important ;
  51. display: none;
  52. }
  53. .uni-toast .uni-toast__content{
  54. margin: -10px 1px 10px 1px;
  55. }
  56. .uni-modal .uni-modal__btn{
  57. flex: 1;
  58. height: 43px;
  59. line-height: 43px !important;;
  60. font-size: 13px !important;
  61. box-sizing: border-box;
  62. cursor: pointer;
  63. text-align: center;
  64. border-radius: 1px;
  65. }
  66. @media screen and (min-width: 320px) {
  67. /deep/.u-tabbar__content {
  68. height: 45px!important;
  69. }
  70. }
  71. @media screen and (min-width: 375px) {
  72. /deep/.u-tabbar__content {
  73. height: 55px!important;
  74. }
  75. }
  76. @media screen and (min-width: 425px) {
  77. /deep/.u-tabbar__content {
  78. height: 65px!important;
  79. }
  80. }
  81. </style>