index.wxss 11 KB

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