App.vue 1.2 KB

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