index.wxss 10 KB

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