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