百富门答题小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

203 lines
3.2 KiB

5 months ago
5 months ago
3 months ago
2 weeks ago
5 months ago
5 months ago
3 months ago
5 months ago
5 months ago
2 weeks ago
5 months ago
3 months ago
2 weeks ago
3 months ago
2 weeks ago
3 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
3 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
2 weeks ago
3 months ago
2 weeks ago
5 months ago
5 months ago
5 months ago
5 months ago
2 weeks ago
5 months ago
3 months ago
5 months ago
3 months ago
5 months ago
3 months ago
5 months ago
3 months ago
5 months ago
3 months ago
  1. <script>
  2. export default {
  3. onLaunch: function() {},
  4. onShow: function() {
  5. this.$store.commit('initConfig')
  6. // this.$store.commit('getBanner')
  7. // this.$store.commit('getArticleList')
  8. // this.$store.commit('getProblemList')
  9. },
  10. onHide: function() {}
  11. }
  12. </script>
  13. <style lang="scss">
  14. /*每个页面公共css */
  15. body {
  16. background-color: #f7f7f7;
  17. font-size: 30rpx;
  18. }
  19. .background {
  20. background-color: #f7f7f7;
  21. }
  22. .page {
  23. padding-top: var(--window-top);
  24. }
  25. .page-bg{
  26. height: 100vh;
  27. width: 100vw;
  28. position: absolute;
  29. top: 0;
  30. left: 0;
  31. z-index: -1;
  32. }
  33. // .logo {
  34. // width: 120rpx;
  35. // height: 120rpx;
  36. // border-radius: 10rpx;
  37. // background-color: $uni-color;
  38. // }
  39. img {
  40. width: 100%;
  41. height: 100%;
  42. }
  43. .title {
  44. font-size: 40rpx;
  45. font-weight: bold;
  46. margin: 40rpx 0 20rpx 0;
  47. }
  48. /* 布局 */
  49. .flex-center {
  50. display: flex;
  51. justify-content: center;
  52. align-items: center;
  53. }
  54. /* 水平居左,垂直居中 间距 20rpx */
  55. .flex-start {
  56. display: flex;
  57. align-items: center;
  58. justify-content: start;
  59. gap: 20rpx;
  60. }
  61. /* 垂直居中 */
  62. .flex-col {
  63. width: 100%;
  64. height: 100%;
  65. display: flex;
  66. flex-direction: column;
  67. align-items: center;
  68. justify-content: center;
  69. gap: 20rpx;
  70. }
  71. /* 垂直居左 */
  72. .flex-start-col {
  73. display: flex;
  74. flex-direction: column;
  75. align-items: start;
  76. justify-content: center;
  77. gap: 20rpx;
  78. }
  79. /* 两段对齐 */
  80. .flex-sb {
  81. display: flex;
  82. align-items: center;
  83. width: 100%;
  84. justify-content: space-between;
  85. }
  86. /* 两段对齐 */
  87. .flex-sa {
  88. display: flex;
  89. align-items: center;
  90. width: 100%;
  91. justify-content: space-around;
  92. }
  93. /* 字体加粗 */
  94. .font-bold {
  95. font-weight: bold;
  96. letter-spacing: 2rpx;
  97. }
  98. .home {
  99. /* background-image: url('./static/image/home/home-background.png'); */
  100. /* background-size: cover;
  101. background-repeat: no-repeat;
  102. background-position: center;
  103. width: 100%;
  104. height: 100vh;
  105. overflow: hidden; */
  106. }
  107. // .content {
  108. // display: flex;
  109. // flex-direction: column;
  110. // align-items: center;
  111. // padding-top: 480rpx;
  112. // position: relative;
  113. // }
  114. .content_now{
  115. display: flex;
  116. flex-direction: column;
  117. align-items: center;
  118. justify-content: center;
  119. text-align: center;
  120. position: fixed;
  121. top: 46%;
  122. transform: translate(0, -50%);
  123. padding: 0 70rpx;
  124. box-sizing: border-box;
  125. width: 100%;
  126. --color2 : #000;
  127. }
  128. .mian-btn {
  129. border: 4rpx solid #e6bf7f;
  130. padding: 16rpx 66rpx;
  131. border-radius: 66rpx;
  132. margin-top: 30rpx;
  133. color: #e6bf7f;
  134. }
  135. .active {
  136. background-color: #e6bf7f;
  137. color: white;
  138. }
  139. .second-color {
  140. color: #d2d2d2;
  141. // margin-top: 40rpx;
  142. font-size: 26rpx;
  143. }
  144. .btn2 {
  145. border: 4rpx solid $uni-color;
  146. display: flex;
  147. align-items: center;
  148. justify-content: center;
  149. padding: 16rpx 200rpx;
  150. color: $uni-color;
  151. border-radius: 10rpx;
  152. }
  153. .btn3 {
  154. border: 4rpx solid $uni-color;
  155. display: flex;
  156. align-items: center;
  157. justify-content: center;
  158. padding: 16rpx 100rpx;
  159. color: $uni-color;
  160. border-radius: 10rpx;
  161. }
  162. .mb-60 {
  163. margin-bottom: 60rpx;
  164. }
  165. .mt-60 {
  166. margin-top: 60rpx;
  167. }
  168. .mt-40 {
  169. margin-top: 40rpx;
  170. }
  171. .mt-20 {
  172. margin-top: 340rpx;
  173. }
  174. .content-text {
  175. line-height: 50rpx;
  176. font-size: 28rpx;
  177. }
  178. </style>