微信

page.scss 7.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361
  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.1rem 0;
  181. }
  182. .qrCode {
  183. width: 0.8rem;
  184. display: block;
  185. }
  186. .lq {
  187. width: 1rem;
  188. margin: 0.1rem 0 0.05rem;
  189. }
  190. .desc {
  191. font-size: 0.12rem;
  192. font-family: Arial, Helvetica, sans-serif;
  193. color: rgba(160, 160, 160, 1);
  194. width: 85%;
  195. margin-top: .1rem;
  196. }
  197. }
  198. }
  199. .paper {
  200. width: 100%;
  201. position: absolute;
  202. top: 5.6rem;
  203. left: 0;
  204. .winningList {
  205. width: 2.8rem;
  206. height: 2.8rem;
  207. position: absolute;
  208. top: 0.8rem;
  209. left: 50%;
  210. transform: translateX(-50%);
  211. .title {
  212. display: flex;
  213. align-items: center;
  214. justify-content: center;
  215. img:nth-of-type(1) {
  216. width: 0.25rem;
  217. }
  218. img:nth-of-type(2) {
  219. width: 0.14rem;
  220. }
  221. span {
  222. font-size: 0.14rem;
  223. padding: 0 0.1rem;
  224. }
  225. }
  226. .list {
  227. overflow-x: hidden;
  228. overflow-y: scroll;
  229. height: 2.6rem;
  230. div {
  231. display: flex;
  232. align-items: center;
  233. justify-content: space-between;
  234. img {
  235. width: 0.18rem;
  236. height: 0.18rem;
  237. border-radius: 50%;
  238. }
  239. span:nth-of-type(1) {
  240. flex: 1;
  241. text-align: left;
  242. margin: 0.1rem 0.1rem;
  243. display: flex;
  244. flex-flow: column nowrap;
  245. div{
  246. text-align: left;
  247. }
  248. div:nth-last-of-type(1){
  249. font-family: initial;
  250. }
  251. }
  252. span:nth-of-type(2) {
  253. text-align: right;
  254. }
  255. // span:nth-of-type(1) {
  256. // text-align: left;
  257. // margin: .1rem;
  258. // width: 28%;
  259. // overflow: hidden;
  260. // text-overflow: ellipsis;
  261. // white-space: nowrap;
  262. // font-size: 12px;
  263. // }
  264. // span:nth-of-type(2) {
  265. // flex: 1;
  266. // margin: .1rem;
  267. // font-size: 12px;
  268. // }
  269. // span:nth-of-type(3) {
  270. // text-align: right;
  271. // width: 13%;
  272. // overflow: hidden;
  273. // text-overflow: ellipsis;
  274. // white-space: nowrap;
  275. // margin: .1rem;
  276. // font-size: 12px;
  277. // }
  278. }
  279. }
  280. }
  281. .rule {
  282. width: 2.8rem;
  283. height: 2.4rem;
  284. position: absolute;
  285. top: 3.8rem;
  286. left: 50%;
  287. transform: translateX(-50%);
  288. .title {
  289. display: flex;
  290. align-items: center;
  291. justify-content: center;
  292. margin-bottom: 0.2rem;
  293. img:nth-of-type(1) {
  294. width: 0.25rem;
  295. }
  296. img:nth-of-type(2) {
  297. width: 0.14rem;
  298. }
  299. span {
  300. font-size: 0.14rem;
  301. padding: 0 0.1rem;
  302. }
  303. }
  304. .content {
  305. pre{
  306. white-space:pre-line;
  307. text-align: left;
  308. line-height: .18rem;
  309. }
  310. }
  311. }
  312. .bird {
  313. position: absolute;
  314. bottom: 0.55rem;
  315. left: 50%;
  316. transform: translateX(-50%);
  317. width: 1.2rem;
  318. }
  319. .quan1 {
  320. position: absolute;
  321. top: 1.1rem;
  322. left: 0;
  323. width: 0.28rem;
  324. }
  325. .quan2 {
  326. position: absolute;
  327. bottom: 4rem;
  328. right: -0.1rem;
  329. width: 0.28rem;
  330. }
  331. .bl1 {
  332. position: absolute;
  333. bottom: 2rem;
  334. right: 0rem;
  335. width: 0.5rem;
  336. height: 0.16rem;
  337. }
  338. .bl2 {
  339. position: absolute;
  340. bottom: 3.6rem;
  341. left: -0.1rem;
  342. width: 0.5rem;
  343. height: 0.16rem;
  344. }
  345. .jx2 {
  346. position: absolute;
  347. bottom: 0.3rem;
  348. left: 0;
  349. width: 0.8rem;
  350. z-index: 1;
  351. }
  352. }
  353. }
  354. .fade-enter-active, .fade-leave-active {
  355. transition: opacity .5s;
  356. }
  357. .fade-enter, .fade-leave-to /* .fade-leave-active below version 2.1.8 */ {
  358. opacity: 0;
  359. }