App.vue 1007 B

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