App.vue 958 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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. globalData: {
  19. qrCodePrefix: "https://www.jiushengboard.cc/"
  20. }
  21. }
  22. </script>
  23. <style lang="scss">
  24. /* 注意要写在第一行,同时给style标签加入lang="scss"属性 */
  25. @import "uview-ui/index.scss";
  26. @import "static/iconfont/iconfont.css";
  27. body,
  28. page {
  29. background: #F7F7F7;
  30. font-size: 14px;
  31. }
  32. /deep/.u-tabs {
  33. height: 44px;
  34. // background: #052E5D;
  35. background: #FFFFFF;
  36. .u-tabs__wrapper__nav {
  37. height: 44px;
  38. align-items: center;
  39. .u-tabs__wrapper__nav__item {
  40. height: 44px;
  41. flex-shrink: 0 !important;
  42. .u-tabs__wrapper__nav__item__text {
  43. font-size: 15px;
  44. }
  45. }
  46. }
  47. }
  48. </style>