App.vue 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  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. .springClass {
  27. ::v-deep.u-tabbar__content {
  28. background-image: url("@/assets/img/spring/indexTabbar.png");
  29. background-size: 100% 100%;
  30. background-position: center;
  31. background-repeat: no-repeat;
  32. border: none !important;
  33. }
  34. ::v-deep.u-tabbar__content::after {
  35. border: none !important;
  36. }
  37. }
  38. #__vconsole{
  39. z-index: 99999;
  40. position: absolute;
  41. }
  42. /* 注意要写在第一行,同时给style标签加入lang="scss"属性 */
  43. @import "uview-ui/index.scss";
  44. //
  45. /*每个页面公共css */
  46. //@import 'static/css/style.css';
  47. @import '@/assets/font/iconfont.css';
  48. @import '@/iconfont/iconfont.css';
  49. html, body {
  50. background-color: #F2F4F4;
  51. margin: 0;
  52. padding: 0;
  53. } ygff
  54. // 后退图标
  55. .back{
  56. display: inline-block;
  57. font-size: 18px;
  58. float: left;
  59. margin-left: 11px;
  60. }
  61. .uni-icon-success-no-circle:before {
  62. content: "" !important ;
  63. display: none;
  64. }
  65. .uni-toast .uni-toast__content{
  66. margin: -10px 1px 10px 1px;
  67. }
  68. .uni-modal .uni-modal__btn{
  69. flex: 1;
  70. height: 43px;
  71. line-height: 43px !important;;
  72. font-size: 13px !important;
  73. box-sizing: border-box;
  74. cursor: pointer;
  75. text-align: center;
  76. border-radius: 1px;
  77. }
  78. // @media screen and (min-width: 320px) {
  79. // ::v-deep.u-tabbar__content {
  80. // height: 45px!important;
  81. // }
  82. // }
  83. // @media screen and (min-width: 375px) {
  84. // ::v-deep.u-tabbar__content {
  85. // height: 55px!important;
  86. // }
  87. // }
  88. // @media screen and (min-width: 425px) {
  89. // ::v-deep.u-tabbar__content {
  90. // height: 65px!important;
  91. // }
  92. // }
  93. </style>