球星卡微信小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
811 B

  1. <script>
  2. export default {
  3. globalData: {
  4. loginRedirectPage: ''
  5. },
  6. onLaunch: function() {
  7. console.log('App Launch');
  8. // 检查非生产环境下是否打开了调试模式,没有打开时自动打开
  9. if(process.env.NODE_ENV !== 'production'){
  10. let baseInfo = (uni.canIUse('getAppBaseInfo') && uni.getAppBaseInfo()) || {};
  11. !baseInfo.enableDebug && uni.setEnableDebug({enableDebug: true});
  12. }
  13. },
  14. onShow: function() {
  15. console.log('App Show')
  16. },
  17. onHide: function() {
  18. console.log('App Hide')
  19. }
  20. }
  21. </script>
  22. <style>
  23. @import url("styles/common.css");
  24. @import url("styles/lanhu.css");
  25. @import url("styles/iconFont.css");
  26. /*每个页面公共css */
  27. page{
  28. background-color: #F6F6F6;
  29. }
  30. .splitLine{
  31. background-color: rgba(0,0,0,0.06);
  32. height: 1rpx;
  33. }
  34. </style>