App.vue 2.7 KB

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