微信

page.scss 7.2KB

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