show-result.wxss 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330
  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. .onebox {
  28. height: 372rpx;
  29. width: 352rpx;
  30. border-radius: 26rpx;
  31. background-color: #fff;
  32. }
  33. .twobox {
  34. height: 186rpx;
  35. width: 176rpx;
  36. border-radius: 13rpx;
  37. background-color: #fff;
  38. }
  39. .result-popup-main {
  40. z-index: 9999;
  41. }
  42. .result-popup-main .result-popup {
  43. background-image: url("https://chaomd.liuniu946.com/image/kjbg.jpg");
  44. position: fixed;
  45. bottom: 0;
  46. left: 0;
  47. background-repeat: no-repeat;
  48. background-size: 100% 100%;
  49. }
  50. .prize {
  51. -webkit-transform: scale(0);
  52. transform: scale(0);
  53. opacity: 0;
  54. transition: 0.2s;
  55. width: 750rpx;
  56. height: 100vh;
  57. display: flex;
  58. justify-content: center;
  59. }
  60. .prize.show {
  61. -webkit-transform: scale(1);
  62. transform: scale(1);
  63. opacity: 1;
  64. }
  65. .prize .prize_box {
  66. width: 100%;
  67. height: 1120rpx;
  68. position: relative;
  69. flex-direction: column;
  70. background-size: 100% auto;
  71. background-position: top;
  72. background-repeat: no-repeat;
  73. }
  74. .prize .prize_box .prize_close {
  75. width: 64rpx;
  76. height: 64rpx;
  77. top: 280rpx;
  78. right: 30rpx;
  79. position: absolute;
  80. }
  81. .prize .prize_box .prize-top {
  82. width: 528rpx;
  83. height: 270rpx;
  84. position: absolute;
  85. top: 120rpx;
  86. left: 118rpx;
  87. }
  88. .prize .prize_box .prize-top-2 {
  89. top: 40rpx;
  90. }
  91. .prize .prize_box .prize_footer {
  92. width: 100%;
  93. }
  94. .prize .prize_box .prize_footer-2 {
  95. bottom: -114rpx;
  96. }
  97. .prize .prize_box .prize_footer .btn {
  98. height: 84rpx;
  99. border-radius: 16rpx;
  100. position: absolute;
  101. }
  102. .prize .prize_box .prize_footer .btn-1 {
  103. bottom: 0rpx;
  104. background-image: -webkit-linear-gradient(0deg, #89f7fe 0%, #66a6ff 100%);
  105. font-size: 38rpx;
  106. text-align: center;
  107. line-height: 86rpx;
  108. width: 159px;
  109. border-radius: 8px;
  110. position: absolute;
  111. left: 40rpx;
  112. color: #ffffff;
  113. font-weight: bold;
  114. }
  115. .prize .prize_box .prize_footer .btn-0 {
  116. bottom: 0rpx;
  117. background-image: -webkit-linear-gradient(60deg, #ffc8de 0%, #ff67a4 100%);
  118. font-size: 38rpx;
  119. text-align: center;
  120. line-height: 86rpx;
  121. right: 40rpx;
  122. width: 159px;
  123. color: #ffffff;
  124. font-weight: bold;
  125. }
  126. .prize .shiwan {
  127. background: url(/static/image/open/tanchuangbeijing@2x.png) no-repeat;
  128. background-size: cover;
  129. }
  130. .prize .prize_ul {
  131. width: 566rpx;
  132. display: flex;
  133. flex-wrap: wrap;
  134. justify-content: space-between;
  135. position: absolute;
  136. top: 336rpx;
  137. left: 92rpx;
  138. }
  139. .prize .prize_ul-2 {
  140. top: 360rpx;
  141. }
  142. .prize .prize_ul::after {
  143. content: '';
  144. width: 176rpx;
  145. }
  146. .prize .prize_ul_li {
  147. margin-bottom: 16rpx;
  148. position: relative;
  149. width: 176rpx;
  150. height: 186rpx;
  151. display: flex;
  152. flex-direction: column;
  153. align-items: center;
  154. justify-content: center;
  155. display: flex;
  156. padding: 8rpx 0;
  157. box-sizing: border-box;
  158. }
  159. .prize .prize_ul_li image {
  160. margin: 0 auto;
  161. }
  162. .prize .prize_ul_li text {
  163. font-size: 24rpx;
  164. font-weight: 500;
  165. color: #171a20;
  166. width: 146rpx;
  167. overflow: hidden;
  168. white-space: nowrap;
  169. text-overflow: ellipsis;
  170. }
  171. .prize .prize_ul_li .left-top-tag {
  172. width: 3rem;
  173. height: 3rem;
  174. }
  175. .prize .prize_ul_li .left-top-tag .tag-text {
  176. font-size: 0.6rem !important;
  177. }
  178. .prize .prize_shop {
  179. transition: 1s;
  180. position: absolute;
  181. top: 336rpx;
  182. left: 198rpx;
  183. display: flex;
  184. flex-direction: column;
  185. }
  186. .prize .prize_shop .spining {
  187. z-index: -1;
  188. height: 150vh;
  189. width: 150vh;
  190. background-image: url(/static/image/result/spining.png);
  191. background-repeat: no-repeat;
  192. background-size: 100% 100%;
  193. position: absolute;
  194. }
  195. .prize .prize_shop image {
  196. width: 174rpx;
  197. height: 235rpx;
  198. margin-bottom: 20rpx;
  199. }
  200. .prize .prize_shop text {
  201. width: 70%;
  202. font-size: 16rpx;
  203. font-family: PingFangSC-Medium, PingFang SC;
  204. font-weight: 500;
  205. color: #171a20;
  206. overflow: hidden;
  207. white-space: nowrap;
  208. text-overflow: ellipsis;
  209. text-align: center;
  210. }
  211. .prize .prize_shop .colorblack {
  212. font-size: 32rpx !important;
  213. font-family: PingFangSC-Medium, PingFang SC;
  214. font-weight: 500;
  215. color: #171a20;
  216. }
  217. .prize .prize_shop .left-top-tag {
  218. width: 5rem;
  219. height: 5rem;
  220. }
  221. .prize .prize_shop .left-top-tag .tag-text {
  222. font-size: 1rem;
  223. }
  224. .prize .tag-normal {
  225. box-shadow: 0 0 40rpx 18rpx #9d85ff;
  226. }
  227. .prize .tag-rare {
  228. box-shadow: 0 0 40rpx 18rpx #47a8ff;
  229. }
  230. .prize .tag-supreme {
  231. box-shadow: 0 0 40rpx 32rpx #feb337;
  232. }
  233. .prize .tag-legend {
  234. box-shadow: 0 0 40rpx 32rpx #fe615e;
  235. }
  236. .prize .shiwan {
  237. width: 399rpx;
  238. height: 48rpx;
  239. color: #ffffff;
  240. font-size: 30rpx;
  241. margin-top: 40rpx;
  242. background: #000000;
  243. border-radius: 27rpx 27rpx 27rpx 27rpx;
  244. }
  245. .left-top-tag {
  246. z-index: 999999;
  247. position: absolute;
  248. left: -2px;
  249. top: -3px;
  250. }
  251. .left-top-tag .tag-img {
  252. height: 100% !important;
  253. width: 100% !important;
  254. }
  255. .left-top-tag .tag-text {
  256. position: absolute;
  257. top: 30%;
  258. left: 30%;
  259. color: #fff !important;
  260. width: auto !important;
  261. -webkit-transform: translateX(-50%) translateY(-50%) rotate(-45deg);
  262. transform: translateX(-50%) translateY(-50%) rotate(-45deg);
  263. }
  264. .prize_shop_scale {
  265. -webkit-transform: scale(1.3);
  266. transform: scale(1.3);
  267. }
  268. .loading-mask {
  269. z-index: 999;
  270. position: fixed;
  271. top: -180rpx;
  272. left: 0;
  273. height: 100vh;
  274. width: 100vw;
  275. display: flex;
  276. align-items: flex-end;
  277. justify-content: center;
  278. }
  279. .loading-mask .animation-wrapper {
  280. margin-bottom: 10vh;
  281. }
  282. .loading-mask .animation-wrapper image {
  283. height: 360rpx;
  284. }
  285. .loading-mask .animation-wrapper .halo {
  286. opacity: 1;
  287. -webkit-transform: scale(0);
  288. transform: scale(0);
  289. position: absolute;
  290. top: 0;
  291. }
  292. .loading-mask .animation-wrapper.explode .box {
  293. transition: 0.3s;
  294. opacity: 0;
  295. -webkit-transform: scale(0);
  296. transform: scale(0);
  297. }
  298. .loading-mask .animation-wrapper.explode .halo {
  299. transition: 1.2s;
  300. opacity: 0;
  301. -webkit-transform: scale(5);
  302. transform: scale(5);
  303. }
  304. @-webkit-keyframes rotate {
  305. from {
  306. -webkit-transform: rotate(0deg);
  307. transform: rotate(0deg);
  308. }
  309. to {
  310. -webkit-transform: rotate(360deg);
  311. transform: rotate(360deg);
  312. }
  313. }
  314. @keyframes rotate {
  315. from {
  316. -webkit-transform: rotate(0deg);
  317. transform: rotate(0deg);
  318. }
  319. to {
  320. -webkit-transform: rotate(360deg);
  321. transform: rotate(360deg);
  322. }
  323. }
  324. .spining {
  325. transition: 0.3s;
  326. -webkit-animation: rotate 10s linear infinite;
  327. animation: rotate 10s linear infinite;
  328. /*开始动画后无限循环,用来控制rotate*/
  329. }