extractBookCurr.wxss 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271
  1. @charset "UTF-8";
  2. /**
  3. * 这里是uni-app内置的常用样式变量
  4. *
  5. * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
  6. * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
  7. *
  8. */
  9. /**
  10. * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
  11. *
  12. * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
  13. */
  14. /* 颜色变量 */
  15. /* 行为相关颜色 */
  16. /* 文字基本颜色 */
  17. /* 背景颜色 */
  18. /* 边框颜色 */
  19. /* 尺寸变量 */
  20. /* 文字尺寸 */
  21. /* 图片尺寸 */
  22. /* Border Radius */
  23. /* 水平间距 */
  24. /* 垂直间距 */
  25. /* 透明度 */
  26. /* 文章场景相关 */
  27. /* uni.scss */
  28. page {
  29. background-color: #FC6E53;
  30. }
  31. .extractBook .bookCurrs {
  32. background-color: #FFFFFF;
  33. margin: 30rpx 14rpx;
  34. border-radius: 22rpx;
  35. min-height: 200rpx;
  36. padding: 20rpx 0 30rpx;
  37. box-sizing: border-box;
  38. }
  39. .extractBook .topContent {
  40. padding: 0 24rpx 20rpx;
  41. border-bottom: 1rpx solid #eee;
  42. display: flex;
  43. justify-content: space-between;
  44. align-items: center;
  45. }
  46. .extractBook .topContent .title {
  47. font-size: 38rpx;
  48. font-weight: 600;
  49. }
  50. .extractBook .bottomContent {
  51. padding: 40rpx 24rpx 0;
  52. }
  53. .extractBook .bottomContent .balance {
  54. font-size: 38rpx;
  55. font-weight: 600;
  56. }
  57. .extractBook .bottomContent .bookCurrNum {
  58. color: #FE604F;
  59. font-size: 38rpx;
  60. font-weight: 600;
  61. margin-top: 26rpx;
  62. }
  63. .extractBook .bottomContent .bookCurrList {
  64. margin-top: 20rpx;
  65. display: grid;
  66. grid-template-columns: 1fr 1fr 1fr 1fr;
  67. grid-gap: 20rpx;
  68. }
  69. .extractBook .bottomContent .bookCurrList > view {
  70. width: 152rpx;
  71. height: 168rpx;
  72. background-color: #FFFFFF;
  73. box-shadow: 0rpx 4rpx 8rpx 0rpx rgba(182, 182, 182, 0.3);
  74. border: 2rpx solid #ececec;
  75. border-radius: 16rpx;
  76. padding: 12rpx;
  77. box-sizing: border-box;
  78. display: flex;
  79. flex-direction: column;
  80. justify-content: flex-start;
  81. align-items: center;
  82. position: relative;
  83. }
  84. .extractBook .bottomContent .bookCurrList > view.select {
  85. background: #FFF7EF;
  86. box-shadow: 0rpx 4rpx 8rpx 0rpx rgba(254, 173, 165, 0.26);
  87. border: 2rpx solid #FFB35C;
  88. }
  89. .extractBook .bottomContent .bookCurrList > view.select .reward {
  90. color: #FE604F;
  91. }
  92. .extractBook .bottomContent .bookCurrList .goldCoins {
  93. height: 68rpx;
  94. margin: 5rpx 0;
  95. }
  96. .extractBook .bottomContent .bookCurrList .reward {
  97. font-size: 28rpx;
  98. font-weight: 500;
  99. color: #000000;
  100. margin-top: 16rpx;
  101. }
  102. .extractBook .bottomContent .extractButton {
  103. height: 80rpx;
  104. margin-top: 60rpx;
  105. font-size: 34rpx;
  106. color: #FFFFFF;
  107. font-weight: 500;
  108. text-align: center;
  109. display: flex;
  110. justify-content: center;
  111. align-items: center;
  112. border-radius: 40rpx;
  113. background: linear-gradient(180deg, #FDC606 0%, #FF8D12 100%);
  114. box-sizing: border-box;
  115. }
  116. .extractBook .bottomContent .extractRecord {
  117. text-align: center;
  118. color: #5084f5;
  119. margin-top: 24rpx;
  120. }
  121. .extractBook .popupCenter {
  122. width: 650rpx;
  123. padding: 26rpx;
  124. background-color: #DC8182;
  125. color: #FFFFFF;
  126. }
  127. .extractBook .popupCenter .popupTitle {
  128. font-size: 36rpx;
  129. font-weight: 600;
  130. color: #FFFFFF;
  131. text-align: center;
  132. }
  133. .extractBook .popupCenter .bottom {
  134. margin-top: 30rpx;
  135. padding: 0 28rpx 30rpx;
  136. box-sizing: border-box;
  137. }
  138. .extractBook .popupCenter .bottom > view {
  139. margin-bottom: 12rpx;
  140. font-size: 28rpx;
  141. font-weight: 400;
  142. color: #FFFFFF;
  143. line-height: 46rpx;
  144. }
  145. .extractBook .popupCount {
  146. width: 540rpx;
  147. padding: 60rpx 0 0;
  148. min-height: 100rpx;
  149. display: flex;
  150. flex-direction: column;
  151. align-items: center;
  152. }
  153. .extractBook .popupCount > image {
  154. height: 200rpx;
  155. }
  156. .extractBook .popupCount > .title {
  157. margin-top: 28rpx;
  158. font-size: 36rpx;
  159. }
  160. .extractBook .popupCount > .subTitle {
  161. color: #909090;
  162. margin-top: 20rpx;
  163. font-size: 24rpx;
  164. }
  165. .extractBook .popupCount > .bt {
  166. margin-top: 30rpx;
  167. width: 100%;
  168. border-radius: 0;
  169. background-color: #FFFFFF;
  170. }
  171. .extractBook .popupCount > .bt::after {
  172. border-top-left-radius: 0;
  173. border-top-right-radius: 0;
  174. border-left-width: 0;
  175. border-right-width: 0;
  176. border-bottom-width: 0;
  177. }
  178. .popup {
  179. position: fixed;
  180. width: 100%;
  181. height: 100vh;
  182. background: rgba(0, 0, 0, 0.8);
  183. top: 0;
  184. left: 0;
  185. right: 0;
  186. bottom: 0;
  187. z-index: 999999;
  188. }
  189. .popup .popupContent {
  190. width: 632rpx;
  191. position: absolute;
  192. top: 55%;
  193. left: 50%;
  194. -webkit-transform: translate(-50%, -50%);
  195. transform: translate(-50%, -50%);
  196. text-align: center;
  197. z-index: 99999;
  198. }
  199. .popup .popupContent > .content {
  200. position: relative;
  201. }
  202. .popup .popupContent > .content > image {
  203. width: 100%;
  204. height: 652rpx;
  205. }
  206. .popup .popupContent > .content > .textCon {
  207. position: absolute;
  208. width: 100%;
  209. top: 0;
  210. left: 0;
  211. right: 0;
  212. bottom: 0;
  213. padding: 192rpx 106rpx 0;
  214. box-sizing: border-box;
  215. display: flex;
  216. align-items: center;
  217. flex-direction: column;
  218. }
  219. .popup .popupContent > .content > .textCon .ts {
  220. font-size: 40rpx;
  221. font-weight: 500;
  222. color: #F5631D;
  223. }
  224. .popup .popupContent > .content > .textCon .reward {
  225. height: 60rpx;
  226. background: #FFD9A2;
  227. border-radius: 31rpx;
  228. font-size: 32rpx;
  229. font-weight: 400;
  230. display: inline-block;
  231. padding: 0 32rpx;
  232. color: #F5631E;
  233. line-height: 60rpx;
  234. margin-top: 20rpx;
  235. }
  236. .popup .popupContent > .content > .textCon .doubleBt {
  237. width: 456rpx;
  238. height: 104rpx;
  239. margin-top: 90rpx;
  240. transition: all linear .5s;
  241. }
  242. .popup .popupContent > .content > .textCon .bt {
  243. width: 386rpx;
  244. height: 104rpx;
  245. text-align: center;
  246. line-height: 104rpx;
  247. margin-top: 184rpx;
  248. font-size: 36rpx;
  249. font-weight: 400;
  250. color: #831902;
  251. box-shadow: 0rpx 3rpx 4rpx 0rpx rgba(211, 63, 22, 0.58);
  252. background-color: #fede77;
  253. border-radius: 52rpx;
  254. }
  255. .popup .popupContent > .close {
  256. width: 54rpx;
  257. height: 54rpx;
  258. margin-top: 56rpx;
  259. }
  260. .popup .ad {
  261. position: absolute;
  262. top: 50rpx;
  263. width: 750rpx;
  264. padding: 0 30rpx;
  265. box-sizing: border-box;
  266. }
  267. .footer {
  268. padding: 0 30rpx 28rpx;
  269. box-sizing: border-box;
  270. }