index.wxss 12 KB

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