App.vue 955 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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. /*每个页面公共css */
  16. .uni-table{
  17. &{
  18. position: relative;
  19. width: 100%;
  20. border-radius: 5px;
  21. background-color: #fff;
  22. box-sizing: border-box;
  23. display: table;
  24. overflow-x: auto;
  25. }
  26. .uni-table-tr{
  27. display: table-row;
  28. transition: all 0.3s;
  29. box-sizing: border-box;
  30. }
  31. .uni-table-th{
  32. padding: 12px 10px;
  33. display: table-cell;
  34. box-sizing: border-box;
  35. font-size: 14px;
  36. font-weight: bold;
  37. color: #909399;
  38. border-bottom: 1px #ebeef5 solid;
  39. }
  40. .uni-table-td{
  41. display: table-cell;
  42. padding: 8px 10px;
  43. font-size: 14px;
  44. border-bottom: 1px #EBEEF5 solid;
  45. font-weight: 400;
  46. color: #606266;
  47. line-height: 23px;
  48. box-sizing: border-box;
  49. }
  50. }
  51. </style>