1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- <script>
- export default {
- onLaunch: function() {
- console.log('App Launch');
- // if (!this.$store.state.userLoginFlag) {
- // uni.reLaunch({
- // url: '/pages/index/index',
- // })
- // }
-
- },
- onShow: function() {
- console.log('App onShow');
- },
- onHide: function() {
- console.log('App Hide');
- }
- };
- </script>
- <style lang="scss">
- @import "uview-ui/index.scss";
- /* uni图标库 */
- @import '/common/iconfont.css';
- /* 公共样式库 */
- @import '/common/global.css';
- /* 解决头条小程序组件内引入字体不生效的问题 */
- /* #ifdef MP-TOUTIAO */
- @font-face {
- font-family: uniicons;
- src: url('/iconFont/uni.ttf');
- }
-
- page {
- width: 100%;
- height: 100%;
- background-color: #42349A;
- }
- /* #endif */
- ::-webkit-scrollbar {
- display: none;
- width: 0 !important;
- height: 0 !important;
- -webkit-appearance: none;
- // background: transparent;
- }
- </style>
|