1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- <script>
- export default {
- onLaunch: function (options) {
- console.log("onLaunch", options.query);
- let { mount, setBar, setLink } = require("./utils/tool");
- mount();
- setBar();
- setLink(this.globalData.systemclient);
- /* uni.addInterceptor('navigateTo', {//监听跳转
- success(e) {
- console.log("监听页面跳转", e)
- }
- }) */
- /* wx.onAppRoute((res) => {
- console.log("onAppRoute", res)
- }) */
- },
- onShow: function () {},
- onHide: function () {},
- globalData: {
- systemInitIsComplete: null,
- HomePageStartRendering: [],
- systemclient: "demo2",
- // systemclient: "demo",
- // systemclient:'marketingtool',
- },
- };
- </script>
- <style lang="scss">
- /* 注意要写在第一行,同时给style标签加入lang="scss"属性 */
- @import "uview-ui/index.scss";
- @import "static/iconfont/iconfont.css";
- body,
- page {
- background: #f7f7f7;
- font-size: 14px;
- }
- /deep/.u-tabs {
- height: 44px;
- // background: #052E5D;
- background: #ffffff;
- .u-tabs__wrapper__nav {
- height: 44px;
- align-items: center;
- .u-tabs__wrapper__nav__item {
- height: 44px;
- flex-shrink: 0 !important;
- .u-tabs__wrapper__nav__item__text {
- font-size: 15px;
- }
- }
- }
- }
- </style>
|