App.vue 749 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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. @import "./static/iconfont/iconfont.css";
  17. /*每个页面公共css */
  18. :root {
  19. --main-color:rgb(17, 209, 131);
  20. --bg-color:#f7f7f7;
  21. }
  22. .main-color-btn {
  23. background-color: var(--main-color) !important;
  24. }
  25. .text-color-red{
  26. color: #fa3534;
  27. }
  28. .wrap{
  29. padding: 24rpx;
  30. }
  31. .fixed-button{
  32. height: 80px;
  33. .u-btn{
  34. position: fixed!important;
  35. left: 0;
  36. bottom: 0;
  37. right: 0;
  38. z-index: 100!important;
  39. }
  40. }
  41. .screen-box{
  42. margin: 24rpx 24rpx 0;
  43. }
  44. </style>