App.vue 858 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <script>
  2. export default {
  3. onLaunch: function () {
  4. require("./utils/tool").mount();
  5. /* uni.addInterceptor('navigateTo', {//监听跳转
  6. success(e) {
  7. console.log("监听页面跳转", e)
  8. }
  9. }) */
  10. /* wx.onAppRoute((res) => {
  11. console.log("onAppRoute", res)
  12. }) */
  13. },
  14. onShow: function () {
  15. },
  16. onHide: function () {
  17. }
  18. }
  19. </script>
  20. <style lang="scss">
  21. /* 注意要写在第一行,同时给style标签加入lang="scss"属性 */
  22. @import "uview-ui/index.scss";
  23. @import "static/iconfont/iconfont.css";
  24. body,
  25. page {
  26. background: #F7F7F7;
  27. font-size: 14px;
  28. }
  29. /deep/.u-tabs {
  30. height: 44px;
  31. // background: #052E5D;
  32. background: #FFFFFF;
  33. .u-tabs__wrapper__nav {
  34. height: 44px;
  35. align-items: center;
  36. .u-tabs__wrapper__nav__item {
  37. height: 44px;
  38. .u-tabs__wrapper__nav__item__text {
  39. font-size: 15px;
  40. }
  41. }
  42. }
  43. }
  44. </style>