App.vue 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <script>
  2. export default {
  3. globalData: {
  4. //shareUrl: 'https://gdoctor.xazhima.com/api/v1.0/api.php', //开发环境全局接口域名 线上:https://guolu.xazhima.com/
  5. shareUrl: "https://kiq.xazhima.com/",
  6. globalTimestamp: Date.now().toString(),
  7. secret: "AirQK_weichat_app_zhima",
  8. selectedIndex:0
  9. },
  10. onLaunch: function () {
  11. console.log("App Launch");
  12. },
  13. onShow: function () {
  14. console.log("App Show");
  15. },
  16. onHide: function () {
  17. console.log("App Hide");
  18. },
  19. };
  20. </script>
  21. <style>
  22. /*每个页面公共css */
  23. .display-flex-start {
  24. display: flex;
  25. align-items: center;
  26. }
  27. .display-flex-end {
  28. display: flex;
  29. justify-content: flex-end;
  30. align-items: center;
  31. }
  32. .display-between {
  33. display: flex;
  34. justify-content: space-between;
  35. }
  36. .display-around {
  37. display: flex;
  38. justify-content: space-around;
  39. }
  40. .display-between-column {
  41. display: flex;
  42. flex-direction: column;
  43. justify-content: space-between;
  44. }
  45. .display-around-column {
  46. display: flex;
  47. flex-direction: column;
  48. justify-content: space-around;
  49. }
  50. .display-wrap {
  51. display: flex;
  52. flex-wrap: wrap;
  53. }
  54. .items-center {
  55. align-items: center;
  56. }
  57. </style>