App.vue 955 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <script>
  2. import { Login } from "./utils/login"
  3. export default {
  4. onLaunch: function () {
  5. require("./utils/tool").mount();
  6. new Login().wechatLogin()
  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. }
  21. </script>
  22. <style lang="scss">
  23. /* 注意要写在第一行,同时给style标签加入lang="scss"属性 */
  24. @import "uview-ui/index.scss";
  25. @import "static/iconfont/iconfont.css";
  26. body,
  27. page {
  28. background: #F7F7F7;
  29. font-size: 14px;
  30. }
  31. /deep/.u-tabs {
  32. height: 44px;
  33. // background: #052E5D;
  34. background: #FFFFFF;
  35. .u-tabs__wrapper__nav {
  36. height: 44px;
  37. align-items: center;
  38. .u-tabs__wrapper__nav__item {
  39. height: 44px;
  40. flex-shrink: 0 !important;
  41. .u-tabs__wrapper__nav__item__text {
  42. font-size: 15px;
  43. }
  44. }
  45. }
  46. }
  47. </style>