App.vue 1.6 KB

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