index.wxss 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483
  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. /* uni.scss */
  28. page {
  29. background-color: #FC6E53;
  30. }
  31. .sign {
  32. position: relative;
  33. }
  34. .sign > .back {
  35. width: 100%;
  36. margin-top: 104rpx;
  37. }
  38. .sign .signCenter {
  39. position: absolute;
  40. top: 0;
  41. margin: 40rpx 0 60rpx;
  42. font-family: PingFangSC-Medium, PingFang SC;
  43. }
  44. .sign .signTop {
  45. padding: 0 28rpx;
  46. height: 104rpx;
  47. display: flex;
  48. justify-content: space-between;
  49. align-items: center;
  50. }
  51. .sign .signTop .left {
  52. display: flex;
  53. justify-content: flex-start;
  54. align-items: center;
  55. }
  56. .sign .signTop .left .avatarView {
  57. width: 104rpx;
  58. height: 104rpx;
  59. overflow: hidden;
  60. border-radius: 10px;
  61. }
  62. .sign .signTop .left .avatarView .avatar {
  63. width: 104rpx;
  64. height: 104rpx;
  65. background: #D8D8D8;
  66. }
  67. .sign .signTop .left .avatarView > image {
  68. width: 100%;
  69. height: 100%;
  70. }
  71. .sign .signTop .left .userInfo {
  72. margin-left: 28rpx;
  73. }
  74. .sign .signTop .left .userInfo > view {
  75. font-size: 28rpx;
  76. font-weight: 400;
  77. color: #FFFFFF;
  78. }
  79. .sign .signTop .left .userInfo > view.ID {
  80. margin-top: 4rpx;
  81. display: flex;
  82. justify-content: flex-start;
  83. align-items: center;
  84. }
  85. .sign .signTop .left .userInfo > view .extract {
  86. font-size: 30rpx;
  87. margin-left: 30rpx;
  88. background-color: #d533ba;
  89. padding: 6rpx 16rpx;
  90. border-radius: 26rpx;
  91. }
  92. .sign .signTop .right {
  93. width: 212rpx;
  94. height: 68rpx;
  95. background-color: #FFFFFF;
  96. border-radius: 40rpx;
  97. display: flex;
  98. justify-content: center;
  99. align-items: center;
  100. }
  101. .sign .signTop .right > image {
  102. width: 28rpx;
  103. height: 32rpx;
  104. }
  105. .sign .signTop .right > text {
  106. font-size: 28rpx;
  107. font-weight: 400;
  108. color: #FD9C01;
  109. margin-left: 18rpx;
  110. }
  111. .sign .notice {
  112. width: 656rpx;
  113. height: 68rpx;
  114. background: #C7322C;
  115. box-shadow: 0px 4rpx 8rpx 0rpx rgba(49, 49, 49, 0.08);
  116. border-radius: 38rpx;
  117. opacity: 0.53;
  118. margin: 58rpx auto 0;
  119. padding: 0 30rpx;
  120. box-sizing: border-box;
  121. display: flex;
  122. justify-content: flex-start;
  123. align-items: center;
  124. margin-bottom: 30rpx;
  125. }
  126. .sign .notice .horn {
  127. width: 28rpx;
  128. height: 28rpx;
  129. }
  130. .sign .notice .txts {
  131. height: 68rpx;
  132. width: 600rpx;
  133. }
  134. .sign .signBottom {
  135. margin: 0 14rpx;
  136. margin-top: 160rpx;
  137. width: 722rpx;
  138. }
  139. .sign .exhibitionContent {
  140. padding: 26rpx 26rpx 40rpx;
  141. box-sizing: border-box;
  142. background-color: #FFFFFF;
  143. border-radius: 22rpx;
  144. box-shadow: 0px 4rpx 8rpx 0rpx rgba(230, 230, 230, 0.5);
  145. }
  146. .sign .exhibitionContent > .ts {
  147. font-size: 28rpx;
  148. font-weight: 400;
  149. color: #666666;
  150. }
  151. .sign .exhibitionContent > .signinExhibition {
  152. margin-top: 18rpx;
  153. display: flex;
  154. justify-content: space-between;
  155. flex-wrap: wrap;
  156. }
  157. .sign .exhibitionContent > .signinExhibition > view {
  158. width: 152rpx;
  159. height: 168rpx;
  160. background: #FFF7EF;
  161. box-shadow: 0rpx 4rpx 8rpx 0rpx rgba(254, 173, 165, 0.26);
  162. border-radius: 16rpx;
  163. border: 2rpx solid #FFB35C;
  164. margin-bottom: 20rpx;
  165. padding: 12rpx;
  166. box-sizing: border-box;
  167. display: flex;
  168. flex-direction: column;
  169. justify-content: flex-start;
  170. align-items: center;
  171. position: relative;
  172. }
  173. .sign .exhibitionContent > .signinExhibition > view .day {
  174. font-size: 24rpx;
  175. font-weight: 500;
  176. color: #FF9011;
  177. }
  178. .sign .exhibitionContent > .signinExhibition > view > .goldCoins {
  179. height: 68rpx;
  180. margin: 5rpx 0;
  181. }
  182. .sign .exhibitionContent > .signinExhibition > view .reward {
  183. font-size: 24rpx;
  184. font-weight: 500;
  185. color: #FE604F;
  186. }
  187. .sign .exhibitionContent > .signinExhibition > view:last-child {
  188. width: 322rpx;
  189. display: flex;
  190. justify-content: space-between;
  191. flex-direction: row;
  192. }
  193. .sign .exhibitionContent > .signinExhibition > view:last-child > .left {
  194. display: flex;
  195. flex-direction: column;
  196. align-items: flex-start;
  197. margin-left: 35rpx;
  198. height: 100%;
  199. flex: 1;
  200. }
  201. .sign .exhibitionContent > .signinExhibition > view:last-child > .left .reward {
  202. margin-top: 28rpx;
  203. font-size: 32rpx;
  204. font-weight: 500;
  205. }
  206. .sign .exhibitionContent > .signinExhibition > view:last-child > .right {
  207. width: 115rpx;
  208. height: 100%;
  209. display: flex;
  210. justify-content: center;
  211. align-items: center;
  212. }
  213. .sign .exhibitionContent > .signinExhibition > view:last-child > .right > image {
  214. width: 108rpx;
  215. height: 128rpx;
  216. }
  217. .sign .exhibitionContent > .signinExhibition > view.select {
  218. overflow: hidden;
  219. border: 2rpx solid #D2D2D2;
  220. background: #F2F2F2;
  221. }
  222. .sign .exhibitionContent > .signinExhibition > view.select .day, .sign .exhibitionContent > .signinExhibition > view.select .reward {
  223. color: #999999;
  224. }
  225. .sign .exhibitionContent > .signinExhibition > view .signSub {
  226. position: absolute;
  227. bottom: 0;
  228. right: 0;
  229. width: 72rpx;
  230. }
  231. .sign .exhibitionContent > .signinExhibition > view.repairSign {
  232. position: relative;
  233. }
  234. .sign .exhibitionContent > .signinExhibition > view.repairSign .repair {
  235. position: absolute;
  236. width: calc(100% + 2rpx);
  237. left: -1rpx;
  238. top: -1rpx;
  239. text-align: center;
  240. line-height: 46rpx;
  241. height: 46rpx;
  242. background: #FE604F;
  243. font-size: 24rpx;
  244. font-weight: 500;
  245. color: #FFFFFF;
  246. border-radius: 16rpx 16rpx 0 0;
  247. }
  248. .sign .exhibitionContent > .gignBt {
  249. width: 456rpx;
  250. height: 80rpx;
  251. line-height: 80rpx;
  252. text-align: center;
  253. background: linear-gradient(180deg, #FDC606 0%, #FF8D12 100%);
  254. box-shadow: 0rpx 4rpx 8rpx 0rpx rgba(241, 139, 11, 0.61);
  255. margin: 40rpx auto 0;
  256. font-size: 32rpx;
  257. font-weight: 500;
  258. color: #FFFFFF;
  259. border-radius: 40rpx;
  260. }
  261. .sign .exhibitionContent > .already {
  262. margin: 40rpx auto 0;
  263. width: 456rpx;
  264. height: 80rpx;
  265. background: #D8D8D8;
  266. border-radius: 40rpx;
  267. font-size: 32rpx;
  268. font-weight: 500;
  269. color: #FFFFFF;
  270. line-height: 80rpx;
  271. text-align: center;
  272. }
  273. .sign .signRemind {
  274. margin-top: 40rpx;
  275. height: 92rpx;
  276. background: rgba(255, 255, 255, 0.15);
  277. border-radius: 20rpx;
  278. line-height: 92rpx;
  279. color: #FFFFFF;
  280. font-size: 32rpx;
  281. padding: 0 28rpx;
  282. box-sizing: border-box;
  283. display: flex;
  284. font-weight: 400;
  285. justify-content: space-between;
  286. }
  287. .sign .signRemind .remindSwitch {
  288. display: flex;
  289. justify-content: flex-start;
  290. align-items: center;
  291. }
  292. .sign .signRemind .remindSwitch > view {
  293. display: flex;
  294. justify-content: flex-start;
  295. align-items: center;
  296. }
  297. .sign .signRemind .remindSwitch > view > text {
  298. font-weight: 400;
  299. font-size: 32rpx;
  300. margin-left: 12rpx;
  301. }
  302. .sign .signRemind .remindSwitch > view.open > .select {
  303. width: 24rpx;
  304. height: 24rpx;
  305. background: #FFFFFF;
  306. border-radius: 24rpx;
  307. }
  308. .sign .signRemind .remindSwitch > view.close > .select {
  309. width: 24rpx;
  310. height: 24rpx;
  311. border: 2rpx solid #FFFFFF;
  312. box-sizing: border-box;
  313. border-radius: 24rpx;
  314. }
  315. .sign .signRemind .remindSwitch > view:first-child {
  316. margin-right: 38rpx;
  317. }
  318. .sign .activityRules {
  319. margin-top: 40rpx;
  320. background: rgba(255, 255, 255, 0.15);
  321. border-radius: 20rpx;
  322. color: #FFFFFF;
  323. font-size: 32rpx;
  324. font-weight: 400;
  325. }
  326. .sign .activityRules > .top {
  327. height: 92rpx;
  328. padding: 0 28rpx;
  329. box-sizing: border-box;
  330. display: flex;
  331. justify-content: space-between;
  332. align-items: center;
  333. }
  334. .sign .activityRules > .top > image {
  335. width: 40rpx;
  336. }
  337. .sign .activityRules > .bottom {
  338. padding: 0 28rpx 30rpx;
  339. box-sizing: border-box;
  340. }
  341. .sign .activityRules > .bottom > view {
  342. margin-bottom: 12rpx;
  343. font-size: 28rpx;
  344. font-weight: 400;
  345. color: #FFFFFF;
  346. line-height: 46rpx;
  347. }
  348. .sign .popup {
  349. position: fixed;
  350. width: 100%;
  351. height: 100vh;
  352. background: rgba(0, 0, 0, 0.6);
  353. top: 0;
  354. left: 0;
  355. right: 0;
  356. bottom: 0;
  357. }
  358. .sign .popup .popupContent {
  359. width: 632rpx;
  360. position: absolute;
  361. top: 50%;
  362. left: 50%;
  363. -webkit-transform: translate(-50%, -50%);
  364. transform: translate(-50%, -50%);
  365. text-align: center;
  366. }
  367. .sign .popup .popupContent > .content {
  368. position: relative;
  369. }
  370. .sign .popup .popupContent > .content > image {
  371. width: 100%;
  372. height: 652rpx;
  373. }
  374. .sign .popup .popupContent > .content > .textCon {
  375. position: absolute;
  376. width: 100%;
  377. top: 0;
  378. left: 0;
  379. right: 0;
  380. bottom: 0;
  381. padding-top: 192rpx;
  382. }
  383. .sign .popup .popupContent > .content > .textCon .ts {
  384. font-size: 60rpx;
  385. font-weight: 500;
  386. color: #F5631D;
  387. }
  388. .sign .popup .popupContent > .content > .textCon .reward {
  389. height: 60rpx;
  390. background: #FFD9A2;
  391. border-radius: 31rpx;
  392. font-size: 32rpx;
  393. font-weight: 400;
  394. display: inline-block;
  395. padding: 0 32rpx;
  396. color: #F5631E;
  397. line-height: 60rpx;
  398. margin-top: 20rpx;
  399. }
  400. .sign .popup .popupContent > .content > .textCon .doubleBt {
  401. width: 456rpx;
  402. height: 104rpx;
  403. margin-top: 90rpx;
  404. transition: all linear .5s;
  405. }
  406. .sign .popup .popupContent > .content > .textCon .bt {
  407. margin-top: 14rpx;
  408. font-size: 32rpx;
  409. font-weight: 400;
  410. color: #FCE8CD;
  411. }
  412. .sign .popup .popupContent > .close {
  413. width: 54rpx;
  414. height: 54rpx;
  415. margin-top: 76rpx;
  416. }
  417. .sign .fragmentGold {
  418. position: absolute;
  419. z-index: 100;
  420. opacity: 0;
  421. }
  422. .sign .fragmentGold > image {
  423. width: 68rpx;
  424. height: 68rpx;
  425. }
  426. .sign .qLuckDraw {
  427. position: absolute;
  428. top: 240rpx;
  429. right: 8rpx;
  430. z-index: 200;
  431. -webkit-animation: lanimation 1.3s linear infinite;
  432. animation: lanimation 1.3s linear infinite;
  433. }
  434. .sign .qLuckDraw > image {
  435. width: 150rpx;
  436. height: 150rpx;
  437. }
  438. .sign .receiveTs {
  439. position: absolute;
  440. border: 2rpx solid #f2a427;
  441. top: 350rpx;
  442. z-index: 100;
  443. color: #FFFFFF;
  444. left: 50%;
  445. -webkit-transform: translateX(-50%);
  446. transform: translateX(-50%);
  447. padding: 10rpx 20rpx;
  448. background-color: rgba(195, 106, 106, 0.6);
  449. border-radius: 5rpx;
  450. opacity: 0;
  451. }
  452. .sign .singleLattice {
  453. position: fixed;
  454. top: 200rpx;
  455. right: 4rpx;
  456. }
  457. @-webkit-keyframes lanimation {
  458. 0% {
  459. -webkit-transform: rotate(0deg);
  460. transform: rotate(0deg);
  461. }
  462. 8% {
  463. -webkit-transform: rotate(12deg);
  464. transform: rotate(12deg);
  465. }
  466. 16% {
  467. -webkit-transform: rotate(0deg);
  468. transform: rotate(0deg);
  469. }
  470. 24% {
  471. -webkit-transform: rotate(-12deg);
  472. transform: rotate(-12deg);
  473. }
  474. 32% {
  475. -webkit-transform: rotate(0deg);
  476. transform: rotate(0deg);
  477. }
  478. 100% {
  479. -webkit-transform: rotate(0deg);
  480. transform: rotate(0deg);
  481. }
  482. }