App.vue 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <script>
  2. export default {
  3. onLaunch: function () {
  4. console.log('App onLaunch');
  5. },
  6. onShow: function () {
  7. console.log('App Show');
  8. },
  9. onHide: function () {
  10. console.log('App Hide')
  11. }
  12. }
  13. </script>
  14. <style>
  15. /* #ifdef H5 */
  16. *{
  17. font-family: "HanHei SC",PingHei,"PingFang SC","Helvetica Neue",Helvetica,Arial,"Microsoft Yahei","Hiragino Sans GB","Heiti SC","WenQuanYi Micro Hei",sans-serif;;
  18. font-style: normal;
  19. font-weight: normal;
  20. }
  21. /* 隐藏滚动条 */
  22. uni-scroll-view .uni-scroll-view::-webkit-scrollbar {
  23. display: none;
  24. width: 0 !important;
  25. height: 0 !important;
  26. -webkit-appearance: none;
  27. background: transparent;
  28. color: transparent;
  29. }
  30. .uni-page-head .uni-page-head__title{
  31. font-size: 30rpx !important;
  32. }
  33. uni-checkbox .uni-checkbox-input {
  34. color: #d02129 !important;
  35. border-radius: 50% !important;
  36. }
  37. /* #endif */
  38. /* #ifndef APP-NVUE */
  39. page{
  40. height: 100%;
  41. font-family: 'Microsoft Yahei', Arial, sans-serif;
  42. }
  43. /* #endif */
  44. /* #ifdef H5 */
  45. uni-checkbox:not([disabled]) .uni-checkbox-input:hover {
  46. border-color: #d1d1d1 !important;
  47. }
  48. uni-checkbox .uni-checkbox-input {
  49. border-radius: 50% !important;
  50. }
  51. uni-checkbox .uni-checkbox-input.uni-checkbox-input-checked::before {
  52. color: #D02129 !important;
  53. }
  54. /* #endif */
  55. </style>