App.vue 977 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <script>
  2. export default {
  3. onLaunch: function(e) {
  4. // console.log(e)
  5. console.log('App Launch')
  6. },
  7. onShow: function() {
  8. console.log('App Show')
  9. },
  10. onHide: function() {
  11. console.log('App Hide')
  12. }
  13. }
  14. </script>
  15. <style lang="scss">
  16. /*每个页面公共css */
  17. .uni-table{
  18. &{
  19. position: relative;
  20. width: 100%;
  21. border-radius: 5px;
  22. background-color: #fff;
  23. box-sizing: border-box;
  24. display: table;
  25. overflow-x: auto;
  26. }
  27. .uni-table-tr{
  28. display: table-row;
  29. transition: all 0.3s;
  30. box-sizing: border-box;
  31. }
  32. .uni-table-th{
  33. padding: 12px 10px;
  34. display: table-cell;
  35. box-sizing: border-box;
  36. font-size: 14px;
  37. font-weight: bold;
  38. color: #909399;
  39. border-bottom: 1px #ebeef5 solid;
  40. }
  41. .uni-table-td{
  42. display: table-cell;
  43. padding: 8px 10px;
  44. font-size: 14px;
  45. border-bottom: 1px #EBEEF5 solid;
  46. font-weight: 400;
  47. color: #606266;
  48. line-height: 23px;
  49. box-sizing: border-box;
  50. }
  51. }
  52. </style>