App.vue 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. <script>
  2. export default {
  3. data() {
  4. return {
  5. }
  6. },
  7. methods: {
  8. },
  9. onLaunch: function() {
  10. },
  11. onShow: function() {
  12. // if(uni.getStorageSync('userInfo')){
  13. // uni.reLaunch({
  14. // url:'/pages/home'
  15. // })
  16. // }else{
  17. // uni.reLaunch({
  18. // url:'/pages/login'
  19. // })
  20. // }
  21. },
  22. onHide: function() {
  23. }
  24. }
  25. </script>
  26. <style lang="scss">
  27. /*每个页面公共css */
  28. @import "@/uni_modules/uview-ui/index.scss";
  29. * {
  30. box-sizing: border-box;
  31. }
  32. uni-page-body,
  33. html,
  34. body {
  35. height: 100%;
  36. width: 750rpx;
  37. background: #F6F6F6;
  38. }
  39. .u-button--primary {
  40. background-color: #5776E6;
  41. }
  42. .uni-input-placeholder {
  43. text-align: right;
  44. }
  45. .ml5 {
  46. margin-left: 10rpx;
  47. }
  48. .contain {
  49. height: 100%;
  50. padding-bottom: 120rpx;
  51. padding-top: 24rpx;
  52. overflow-y: auto;
  53. .main {
  54. padding: 0 32rpx;
  55. background-color: #fff;
  56. }
  57. .tijiao {
  58. position: fixed;
  59. width: 100%;
  60. bottom: 0;
  61. left: 0;
  62. background-color: #fff;
  63. padding: 16rpx 32rpx;
  64. box-sizing: border-box;
  65. box-shadow: 0 -6px 12px 0 rgba(153, 153, 153, 0.10);
  66. }
  67. .u-cell__value {
  68. color: #333 !important;
  69. }
  70. }
  71. .tabPage{
  72. width: 100%;
  73. padding-bottom: 172rpx;
  74. box-sizing: border-box;
  75. overflow: hidden;
  76. }
  77. .page{
  78. overflow: hidden;
  79. }
  80. .adf{
  81. display: flex;
  82. }
  83. .adfac{
  84. display: flex;
  85. align-items: center;
  86. }
  87. .adfacjc{
  88. display: flex;
  89. align-items: center;
  90. justify-content: center;
  91. }
  92. .adfacjb{
  93. display: flex;
  94. align-items: center;
  95. justify-content: space-between;
  96. }
  97. .adffcjb{
  98. display: flex;
  99. flex-direction: column;
  100. justify-content: space-between;
  101. }
  102. .adffcacjc{
  103. display: flex;
  104. flex-direction: column;
  105. align-items: center;
  106. justify-content: center;
  107. }
  108. .adffcacjb{
  109. display: flex;
  110. flex-direction: column;
  111. align-items: center;
  112. justify-content: space-between;
  113. }
  114. .zt_btn{
  115. width: 100%;
  116. height: 90rpx;
  117. background: #D9F159;
  118. border-radius: 24rpx;
  119. font-family: PingFangSC, PingFang SC;
  120. font-weight: bold;
  121. font-size: 32rpx;
  122. color: #111111;
  123. line-height: 90rpx;
  124. text-align: center;
  125. letter-spacing: 2rpx;
  126. }
  127. .qx_btn{
  128. width: 100%;
  129. height: 90rpx;
  130. background: #FAFAFA;
  131. border-radius: 24rpx;
  132. font-family: PingFangSC, PingFang SC;
  133. font-weight: 400;
  134. font-size: 32rpx;
  135. color: #393939;
  136. line-height: 90rpx;
  137. text-align: center;
  138. letter-spacing: 2rpx;
  139. }
  140. </style>