App.vue 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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/api/api.php',
  6. globalTimestamp: (Date.now()).toString(),
  7. secret:'AirQK_weichat_app_zhima',
  8. },
  9. onLaunch: function() {
  10. console.log('App Launch')
  11. },
  12. onShow: function() {
  13. console.log('App Show')
  14. },
  15. onHide: function() {
  16. console.log('App Hide')
  17. }
  18. }
  19. </script>
  20. <style>
  21. /*每个页面公共css */
  22. .display-flex-start {
  23. display: flex;
  24. align-items: center;
  25. }
  26. .display-flex-end {
  27. display: flex;
  28. justify-content: flex-end;
  29. align-items: center;
  30. }
  31. .display-between {
  32. display: flex;
  33. justify-content: space-between;
  34. }
  35. .display-around{
  36. display: flex;
  37. justify-content: space-around;
  38. }
  39. .display-between-column {
  40. display: flex;
  41. flex-direction: column;
  42. justify-content: space-between;
  43. }
  44. .display-around-column {
  45. display: flex;
  46. flex-direction: column;
  47. justify-content: space-around;
  48. }
  49. .display-wrap {
  50. display: flex;
  51. flex-wrap: wrap;
  52. }
  53. .items-center {
  54. align-items: center;
  55. }
  56. </style>