1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- <script>
- export default {
- onLaunch: function (options) {
- console.log("onLaunch", options.query)
- let { mount, setBar } = require("./utils/tool");
- mount()
- setBar()
- /* uni.addInterceptor('navigateTo', {//监听跳转
- success(e) {
- console.log("监听页面跳转", e)
- }
- }) */
- /* wx.onAppRoute((res) => {
- console.log("onAppRoute", res)
- }) */
- },
- onShow: function () {
- },
- onHide: function () {
- },
- globalData: {
- systemInitIsComplete: null,
- HomePageStartRendering: [],
- },
- }
- </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>
|