微信

page.scss 8.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378
  1. // @import '../../assets/hkhb.ttf'
  2. body * {
  3. font-family: myFont;
  4. }
  5. body{
  6. width: 100%;
  7. height: 100%;
  8. overflow-x: hidden;
  9. overflow-y: scroll;
  10. -webkit-overflow-scrolling: touch;
  11. }
  12. .bg {
  13. position: relative;
  14. width: 100%;
  15. .turntable {
  16. position: absolute;
  17. top: 2.2rem;
  18. width: 100%;
  19. height: 3rem;
  20. display: flex;
  21. justify-content: center;
  22. align-items: center;
  23. > img {
  24. position: absolute;
  25. z-index: 10;
  26. }
  27. .yf1 {
  28. bottom: -0.25rem;
  29. right: 0.05rem;
  30. width: 0.2rem;
  31. }
  32. .yf2 {
  33. bottom: 0;
  34. right: 0.8rem;
  35. width: 0.1rem;
  36. }
  37. .yf3 {
  38. bottom: -0.41rem;
  39. right: 0.45rem;
  40. width: 0.25rem;
  41. }
  42. .yf4 {
  43. bottom: -0.3rem;
  44. right: 1.3rem;
  45. width: 0.25rem;
  46. }
  47. .yf5 {
  48. bottom: 0.15rem;
  49. left: 0.65rem;
  50. width: 0.25rem;
  51. transform: rotate(25deg);
  52. }
  53. .yf6 {
  54. top: 0.3rem;
  55. left: 0.4rem;
  56. width: 0.25rem;
  57. transform: rotate(-60deg);
  58. }
  59. .hx {
  60. top: 0.1rem;
  61. right: 0.7rem;
  62. width: 0.3rem;
  63. }
  64. .hux {
  65. top: 0.45rem;
  66. right: 0.3rem;
  67. width: 0.4rem;
  68. }
  69. .sl {
  70. top: 0.15rem;
  71. right: 0;
  72. width: 1rem;
  73. height: 0.5rem;
  74. z-index: 1;
  75. }
  76. .sl2 {
  77. bottom: -0.4rem;
  78. left: 0;
  79. width: 0.95rem;
  80. height: 0.5rem;
  81. z-index: 1;
  82. }
  83. .jx {
  84. bottom: 0.3rem;
  85. right: 0.02rem;
  86. width: 0.5rem;
  87. height: 0.06rem;
  88. z-index: 1;
  89. transform: rotate(180deg);
  90. }
  91. .down {
  92. top: -0.3rem;
  93. left: 50%;
  94. transform: translateX(-50%);
  95. width: 0.3rem;
  96. z-index: 1;
  97. }
  98. .titleText{
  99. position: absolute;
  100. top: -0.6rem;
  101. left: 50%;
  102. transform: translateX(-50%);
  103. z-index: 1;
  104. font-size: .16rem;
  105. color: #12532d;
  106. }
  107. .turntable-body {
  108. width: 3rem;
  109. height: 3rem;
  110. position: relative;
  111. z-index: 9;
  112. div {
  113. position: absolute;
  114. width: 1.5rem;
  115. height: 1.5rem;
  116. line-height: 0.18rem;
  117. right: 0;
  118. bottom: 0;
  119. img{
  120. width: 93%;
  121. position: absolute;
  122. top: -0.04rem;
  123. left: 0;
  124. }
  125. span{
  126. overflow : hidden;
  127. text-overflow: ellipsis;
  128. display: -webkit-box;
  129. -webkit-line-clamp: 2;
  130. -webkit-box-orient: vertical;
  131. margin: 0 auto;
  132. position: absolute;
  133. top: 0rem;
  134. left: 0rem;
  135. width: 100%;
  136. text-align: right;
  137. padding: 0 .3rem 0 .5rem;
  138. box-sizing: border-box;
  139. }
  140. }
  141. }
  142. .round {
  143. animation: round 10s ease;
  144. animation-fill-mode: forwards;
  145. }
  146. .pointer {
  147. position: absolute;
  148. top: 50%;
  149. left: 50%;
  150. transform: translate(-50%, -60%);
  151. width: 0.8rem;
  152. }
  153. }
  154. .dialog {
  155. width: 100%;
  156. height: 100%;
  157. background: rgba(0, 0, 0, 0.5);
  158. position: fixed;
  159. top: 0;
  160. left: 0;
  161. z-index: 999;
  162. display: flex;
  163. justify-content: center;
  164. align-items: center;
  165. .box {
  166. width: 3.1rem;
  167. height: 2.35rem;
  168. position: relative;
  169. display: flex;
  170. flex-flow: column nowrap;
  171. justify-content: center;
  172. align-items: center;
  173. .dialog-bg {
  174. position: absolute;
  175. top: -0.3rem;
  176. width: 100%;
  177. left: -0.05rem;
  178. z-index: -10;
  179. }
  180. .dialog-title {
  181. font-size: 0.18rem;
  182. span {
  183. font-family: Arial, Helvetica, sans-serif;
  184. }
  185. }
  186. .dialog-name {
  187. font-size: 0.18rem;
  188. margin: 0.1rem 0;
  189. }
  190. .qrCode {
  191. width: 0.8rem;
  192. display: block;
  193. }
  194. .lq {
  195. width: 1rem;
  196. margin: 0.1rem 0 0.05rem;
  197. }
  198. .desc {
  199. font-size: 0.12rem;
  200. font-family: Arial, Helvetica, sans-serif;
  201. color: rgba(160, 160, 160, 1);
  202. width: 85%;
  203. margin-top: .1rem;
  204. }
  205. }
  206. }
  207. .paper {
  208. width: 100%;
  209. position: absolute;
  210. top: 5.6rem;
  211. left: 0;
  212. .winningList {
  213. width: 2.8rem;
  214. height: 2.8rem;
  215. position: absolute;
  216. top: 0.8rem;
  217. left: 50%;
  218. transform: translateX(-50%);
  219. .title {
  220. display: flex;
  221. align-items: center;
  222. justify-content: center;
  223. img:nth-of-type(1) {
  224. width: 0.25rem;
  225. }
  226. img:nth-of-type(2) {
  227. width: 0.14rem;
  228. }
  229. span {
  230. font-size: 0.14rem;
  231. padding: 0 0.1rem;
  232. }
  233. }
  234. .list {
  235. overflow-x: hidden;
  236. overflow-y: scroll;
  237. height: 2.6rem;
  238. div {
  239. display: flex;
  240. align-items: center;
  241. justify-content: space-between;
  242. img {
  243. width: 0.18rem;
  244. height: 0.18rem;
  245. border-radius: 50%;
  246. }
  247. span:nth-of-type(1) {
  248. flex: 1;
  249. text-align: left;
  250. margin: 0.1rem 0.1rem;
  251. display: flex;
  252. flex-flow: column nowrap;
  253. div{
  254. text-align: left;
  255. }
  256. div:nth-last-of-type(1){
  257. font-family: initial;
  258. }
  259. }
  260. span:nth-of-type(2) {
  261. text-align: right;
  262. }
  263. // span:nth-of-type(1) {
  264. // text-align: left;
  265. // margin: .1rem;
  266. // width: 28%;
  267. // overflow: hidden;
  268. // text-overflow: ellipsis;
  269. // white-space: nowrap;
  270. // font-size: 12px;
  271. // }
  272. // span:nth-of-type(2) {
  273. // flex: 1;
  274. // margin: .1rem;
  275. // font-size: 12px;
  276. // }
  277. // span:nth-of-type(3) {
  278. // text-align: right;
  279. // width: 13%;
  280. // overflow: hidden;
  281. // text-overflow: ellipsis;
  282. // white-space: nowrap;
  283. // margin: .1rem;
  284. // font-size: 12px;
  285. // }
  286. }
  287. }
  288. }
  289. .rule {
  290. width: 2.8rem;
  291. height: 2.4rem;
  292. position: absolute;
  293. top: 3.8rem;
  294. left: 50%;
  295. transform: translateX(-50%);
  296. .title {
  297. display: flex;
  298. align-items: center;
  299. justify-content: center;
  300. margin-bottom: 0.2rem;
  301. img:nth-of-type(1) {
  302. width: 0.25rem;
  303. }
  304. img:nth-of-type(2) {
  305. width: 0.14rem;
  306. }
  307. span {
  308. font-size: 0.14rem;
  309. padding: 0 0.1rem;
  310. }
  311. }
  312. .content {
  313. .mb {
  314. margin-bottom: 0.1rem;
  315. }
  316. .mt {
  317. margin-top: 0.1rem;
  318. }
  319. div {
  320. display: flex;
  321. justify-content: space-between;
  322. align-items: center;
  323. margin-bottom: 0.05rem;
  324. text-align: left;
  325. }
  326. }
  327. }
  328. .bird {
  329. position: absolute;
  330. bottom: 0.55rem;
  331. left: 50%;
  332. transform: translateX(-50%);
  333. width: 1.2rem;
  334. }
  335. .quan1 {
  336. position: absolute;
  337. top: 1.1rem;
  338. left: 0;
  339. width: 0.28rem;
  340. }
  341. .quan2 {
  342. position: absolute;
  343. bottom: 4rem;
  344. right: -0.1rem;
  345. width: 0.28rem;
  346. }
  347. .bl1 {
  348. position: absolute;
  349. bottom: 2rem;
  350. right: 0rem;
  351. width: 0.5rem;
  352. height: 0.16rem;
  353. }
  354. .bl2 {
  355. position: absolute;
  356. bottom: 3.6rem;
  357. left: -0.1rem;
  358. width: 0.5rem;
  359. height: 0.16rem;
  360. }
  361. .jx2 {
  362. position: absolute;
  363. bottom: 0.3rem;
  364. left: 0;
  365. width: 0.8rem;
  366. z-index: 1;
  367. }
  368. }
  369. }
  370. .fade-enter-active, .fade-leave-active {
  371. transition: opacity .5s;
  372. }
  373. .fade-enter, .fade-leave-to /* .fade-leave-active below version 2.1.8 */ {
  374. opacity: 0;
  375. }