App.vue 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <script>
  2. export default {
  3. onLaunch: function() {
  4. console.log('App Launch')
  5. // const { aplus_queue } = window;
  6. // console.log("aplus_queue" , aplus_queue)
  7. // aplus_queue.push({
  8. // action: 'aplus.sendPV',
  9. // arguments: [{ is_auto: false }]
  10. // });
  11. },
  12. onShow: function() {
  13. console.log('App Show')
  14. },
  15. onHide: function() {
  16. console.log('App Hide')
  17. }
  18. }
  19. </script>
  20. <style lang="scss">
  21. @import "uview-ui/index.scss";
  22. /*每个页面公共css */
  23. * {
  24. padding: 0;
  25. margin: 0;
  26. box-sizing: border-box;
  27. }
  28. .one-row {
  29. display: inline-block;
  30. white-space: nowrap;
  31. overflow: hidden;
  32. text-overflow: ellipsis;
  33. }
  34. .tdt-label {
  35. // display: block;
  36. // min-width: 100rpx;
  37. // width: 1;
  38. min-width: 300rpx;
  39. max-width: 500rpx;
  40. border-radius: 14rpx;
  41. padding: 15rpx !important;
  42. line-height: 1.3 !important;
  43. white-space: pre-wrap !important;
  44. text-align: center;
  45. // transform: translateX(-50%) !important;
  46. }
  47. .map-label {
  48. // white-space: pre-wrap;
  49. display: block;
  50. }
  51. </style>