App.vue 846 B

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