show-result.wxss 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354
  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. width: 176rpx;
  35. border-radius: 13rpx;
  36. background-color: #fff;
  37. }
  38. .result-popup-main {
  39. z-index: 9999;
  40. }
  41. .result-popup-main .result-popup {
  42. background-image: url("https://www.chaomangdao.com/image/kjbg.jpg");
  43. position: fixed;
  44. bottom: 0;
  45. left: 0;
  46. background-repeat: no-repeat;
  47. background-size: 100% 100%;
  48. }
  49. .prize {
  50. -webkit-transform: scale(0);
  51. transform: scale(0);
  52. opacity: 0;
  53. transition: 0.2s;
  54. width: 750rpx;
  55. height: 100vh;
  56. display: flex;
  57. justify-content: center;
  58. }
  59. .prize.show {
  60. -webkit-transform: scale(1);
  61. transform: scale(1);
  62. opacity: 1;
  63. }
  64. .prize .prize_box {
  65. width: 100%;
  66. height: 1120rpx;
  67. position: relative;
  68. flex-direction: column;
  69. background-size: 100% auto;
  70. background-position: top;
  71. background-repeat: no-repeat;
  72. }
  73. .prize .prize_box .prize_close {
  74. width: 64rpx;
  75. height: 64rpx;
  76. top: 280rpx;
  77. right: 30rpx;
  78. position: absolute;
  79. z-index: 999999;
  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: -200rpx;
  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(https://www.chaomangdao.com/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. display: flex;
  151. flex-direction: column;
  152. align-items: center;
  153. justify-content: center;
  154. display: flex;
  155. padding: 8rpx;
  156. box-sizing: border-box;
  157. }
  158. .prize .prize_ul_li .two {
  159. width: 176rpx;
  160. height: 176rpx;
  161. }
  162. .prize .prize_ul_li .a {
  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 .price {
  172. margin-top: 6rpx;
  173. font-size: 24rpx;
  174. font-weight: 500;
  175. color: #171a20;
  176. }
  177. .prize .prize_ul_li .left-top-tag {
  178. position: absolute;
  179. top: 0;
  180. left: 0;
  181. z-index: 9999999;
  182. width: 3rem;
  183. height: 3rem;
  184. }
  185. .prize .prize_ul_li .left-top-tag .tag-img {
  186. width: 100%;
  187. height: 100%;
  188. }
  189. .prize .prize_ul_li .left-top-tag .tag-text {
  190. font-size: 0.6rem !important;
  191. position: absolute;
  192. position: absolute;
  193. top: 30%;
  194. left: 30%;
  195. color: #fff !important;
  196. width: auto !important;
  197. -webkit-transform: translateX(-50%) translateY(-50%) rotate(-45deg);
  198. transform: translateX(-50%) translateY(-50%) rotate(-45deg);
  199. }
  200. .prize .prize_shop {
  201. transition: 1s;
  202. position: absolute;
  203. top: 336rpx;
  204. left: 198rpx;
  205. display: flex;
  206. flex-direction: column;
  207. }
  208. .prize .prize_shop .spining {
  209. z-index: -1;
  210. height: 150vh;
  211. width: 150vh;
  212. background-image: url(https://www.chaomangdao.com/image/result/spining.png);
  213. background-repeat: no-repeat;
  214. background-size: 100% 100%;
  215. position: absolute;
  216. }
  217. .prize .prize_shop image {
  218. width: 174rpx;
  219. height: 235rpx;
  220. margin-bottom: 20rpx;
  221. }
  222. .prize .prize_shop text {
  223. width: 70%;
  224. font-size: 16rpx;
  225. font-family: PingFangSC-Medium, PingFang SC;
  226. font-weight: 500;
  227. color: #171a20;
  228. overflow: hidden;
  229. white-space: nowrap;
  230. text-overflow: ellipsis;
  231. text-align: center;
  232. }
  233. .prize .prize_shop .colorblack {
  234. font-size: 32rpx !important;
  235. font-family: PingFangSC-Medium, PingFang SC;
  236. font-weight: 500;
  237. color: #171a20;
  238. }
  239. .prize .prize_shop .left-top-tag {
  240. position: absolute;
  241. top: -2rpx;
  242. left: -2rpx;
  243. z-index: 9999999;
  244. width: 5rem;
  245. height: 5rem;
  246. }
  247. .prize .prize_shop .left-top-tag .tag-img {
  248. width: 100%;
  249. height: 100%;
  250. }
  251. .prize .prize_shop .left-top-tag .tag-text {
  252. font-size: 1rem;
  253. position: absolute;
  254. top: 30%;
  255. left: 30%;
  256. color: #fff !important;
  257. width: auto !important;
  258. -webkit-transform: translateX(-50%) translateY(-50%) rotate(-45deg);
  259. transform: translateX(-50%) translateY(-50%) rotate(-45deg);
  260. }
  261. .prize .tag-normal {
  262. box-shadow: 0 0 40rpx 18rpx #9d85ff;
  263. }
  264. .prize .tag-rare {
  265. box-shadow: 0 0 40rpx 18rpx #47a8ff;
  266. }
  267. .prize .tag-supreme {
  268. box-shadow: 0 0 40rpx 32rpx #feb337;
  269. }
  270. .prize .tag-legend {
  271. box-shadow: 0 0 40rpx 32rpx #fe615e;
  272. }
  273. .prize .shiwan {
  274. width: 399rpx;
  275. height: 48rpx;
  276. color: #ffffff;
  277. font-size: 30rpx;
  278. margin-top: 40rpx;
  279. background: #000000;
  280. border-radius: 27rpx 27rpx 27rpx 27rpx;
  281. }
  282. .prize_shop_scale {
  283. -webkit-transform: scale(1.3);
  284. transform: scale(1.3);
  285. }
  286. .loading-mask {
  287. z-index: 999;
  288. position: fixed;
  289. top: -180rpx;
  290. left: 0;
  291. height: 100vh;
  292. width: 100vw;
  293. display: flex;
  294. align-items: flex-end;
  295. justify-content: center;
  296. }
  297. .loading-mask .shouzhi {
  298. position: absolute;
  299. bottom: 100rpx;
  300. width: 400rpx;
  301. height: 400rpx;
  302. }
  303. .loading-mask .animation-wrapper {
  304. margin-bottom: 10vh;
  305. }
  306. .loading-mask .animation-wrapper image {
  307. height: 360rpx;
  308. }
  309. .loading-mask .animation-wrapper .halo {
  310. opacity: 1;
  311. -webkit-transform: scale(0);
  312. transform: scale(0);
  313. position: absolute;
  314. top: 0;
  315. }
  316. .loading-mask .animation-wrapper.explode .box {
  317. transition: 0.3s;
  318. opacity: 0;
  319. -webkit-transform: scale(0);
  320. transform: scale(0);
  321. }
  322. .loading-mask .animation-wrapper.explode .halo {
  323. transition: 1.2s;
  324. opacity: 0;
  325. -webkit-transform: scale(5);
  326. transform: scale(5);
  327. }
  328. @-webkit-keyframes rotate {
  329. from {
  330. -webkit-transform: rotate(0deg);
  331. transform: rotate(0deg);
  332. }
  333. to {
  334. -webkit-transform: rotate(360deg);
  335. transform: rotate(360deg);
  336. }
  337. }
  338. @keyframes rotate {
  339. from {
  340. -webkit-transform: rotate(0deg);
  341. transform: rotate(0deg);
  342. }
  343. to {
  344. -webkit-transform: rotate(360deg);
  345. transform: rotate(360deg);
  346. }
  347. }
  348. .spining {
  349. transition: 0.3s;
  350. -webkit-animation: rotate 10s linear infinite;
  351. animation: rotate 10s linear infinite;
  352. /*开始动画后无限循环,用来控制rotate*/
  353. }