App.vue 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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. mounted() {
  19. }
  20. }
  21. </script>
  22. <style lang="scss">
  23. @import "uview-ui/index.scss";
  24. /*每个页面公共css */
  25. * {
  26. padding: 0;
  27. margin: 0;
  28. box-sizing: border-box;
  29. }
  30. .one-row {
  31. display: inline-block;
  32. white-space: nowrap;
  33. overflow: hidden;
  34. text-overflow: ellipsis;
  35. }
  36. .tdt-label {
  37. // display: block;
  38. // min-width: 100rpx;
  39. // width: 1;
  40. min-width: 300rpx;
  41. max-width: 500rpx;
  42. border-radius: 14rpx;
  43. padding: 15rpx !important;
  44. line-height: 1.3 !important;
  45. white-space: pre-wrap !important;
  46. text-align: center;
  47. // transform: translateX(-50%) !important;
  48. }
  49. .map-label {
  50. // white-space: pre-wrap;
  51. display: block;
  52. }
  53. </style>