succeed.acss 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420
  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. width: 750rpx;
  29. background: #F2F2F2;
  30. }
  31. page .succeed .bg {
  32. width: 750rpx;
  33. height: 352rpx;
  34. background: #0ca674;
  35. }
  36. page .succeed .bg .bg_con {
  37. display: flex;
  38. justify-content: center;
  39. align-items: center;
  40. height: 200rpx;
  41. }
  42. page .succeed .bg .bg_con .icon {
  43. background: url(/static/icon/duigouxiao.2x.png) no-repeat 0px 0px;
  44. background-size: 100% 100%;
  45. width: 100rpx;
  46. height: 100rpx;
  47. display: inline-block;
  48. margin-right: 30rpx;
  49. }
  50. page .succeed .bg .bg_con .text {
  51. font-size: 40rpx;
  52. font-weight: bolder;
  53. font-weight: 600;
  54. color: #FFFFFF;
  55. line-height: 56rpx;
  56. display: inline-block;
  57. }
  58. page .succeed .container {
  59. width: 690rpx;
  60. margin: 0 auto;
  61. margin-top: -150rpx;
  62. }
  63. page .succeed .container .voucher {
  64. margin: 0;
  65. width: 690rpx;
  66. height: 635rpx;
  67. border-radius: 14rpx;
  68. box-sizing: border-box;
  69. padding: 23rpx;
  70. background: url(/static/icon/bg-success.png) no-repeat 0px 0px;
  71. background-size: 100% 100%;
  72. }
  73. page .succeed .container .voucher .title {
  74. height: 44rpx;
  75. font-size: 38rpx;
  76. font-weight: bolder;
  77. color: #1C1C27;
  78. line-height: 44rpx;
  79. text-align: center;
  80. margin-top: 35rpx;
  81. }
  82. page .succeed .container .voucher .tip {
  83. height: 34rpx;
  84. font-size: 30rpx;
  85. font-family: PingFangSC-Regular, PingFang SC;
  86. font-weight: bold;
  87. color: #F63932;
  88. line-height: 34rpx;
  89. text-align: center;
  90. margin-top: 30rpx;
  91. }
  92. page .succeed .container .voucher .dashed {
  93. width: 500rpx;
  94. border: 2rpx dashed #c0c0c0;
  95. margin: 30rpx auto 0 auto;
  96. }
  97. page .succeed .container .voucher .content {
  98. height: 330rpx;
  99. display: flex;
  100. flex-direction: column;
  101. justify-content: space-between;
  102. margin: 40rpx 80rpx 0 80rpx;
  103. }
  104. page .succeed .container .voucher .content > view {
  105. display: flex;
  106. justify-content: space-between;
  107. align-items: center;
  108. }
  109. page .succeed .container .voucher .content > view text:nth-child(1) {
  110. font-size: 33rpx;
  111. font-weight: bold;
  112. color: #1C1C27;
  113. line-height: 40rpx;
  114. }
  115. page .succeed .container .voucher .content > view text:nth-child(2) {
  116. font-size: 33rpx;
  117. font-weight: bold;
  118. color: rgba(0, 0, 0, 0.5);
  119. line-height: 40rpx;
  120. color: #9f9f9f;
  121. }
  122. page .succeed .container .attention .focus {
  123. color: #c4c4c4;
  124. font-size: 25rpx;
  125. text-align: center;
  126. margin-top: 50rpx;
  127. margin-bottom: 10rpx;
  128. }
  129. page uni-popup.coupon .coupon-container {
  130. width: 100%;
  131. border-radius: 42rpx 42rpx 0px 0px;
  132. background: #F2F2F2;
  133. padding: 0 30rpx;
  134. box-sizing: border-box;
  135. position: relative;
  136. }
  137. page uni-popup.coupon .coupon-container .close {
  138. width: 38rpx;
  139. height: 38rpx;
  140. position: absolute;
  141. top: 24rpx;
  142. right: 24rpx;
  143. background: url(/static/icon/6_d05_close.2x.png) no-repeat 0px 0px;
  144. background-size: 100% 100%;
  145. }
  146. page uni-popup.coupon .coupon-container > .title {
  147. height: 105rpx;
  148. font-size: 32rpx;
  149. font-weight: 400;
  150. color: #111111;
  151. line-height: 105rpx;
  152. font-weight: 600;
  153. color: #111111;
  154. text-align: center;
  155. }
  156. page uni-popup.coupon .coupon-container .coupon-scroll {
  157. max-height: 80vh;
  158. overflow: scroll;
  159. min-height: 50vh;
  160. }
  161. page uni-popup.coupon .coupon-container .coupon-scroll .top {
  162. color: #007AFF;
  163. width: 690rpx;
  164. height: 140rpx;
  165. padding: 0 30rpx 0 30rpx;
  166. box-sizing: border-box;
  167. background: #ffffff;
  168. display: flex;
  169. justify-content: space-between;
  170. margin-bottom: 50rpx;
  171. }
  172. page uni-popup.coupon .coupon-container .coupon-scroll .top .top_left > .title {
  173. height: 40rpx;
  174. font-size: 28rpx;
  175. font-family: PingFangSC-Regular, PingFang SC;
  176. font-weight: bold;
  177. color: rgba(0, 0, 0, 0.5);
  178. line-height: 40rpx;
  179. letter-spacing: 1px;
  180. margin-top: 30rpx;
  181. }
  182. page uni-popup.coupon .coupon-container .coupon-scroll .top .top_left > .tip {
  183. height: 28rpx;
  184. font-size: 20rpx;
  185. font-family: PingFangSC-Regular, PingFang SC;
  186. font-weight: 600;
  187. color: #ff5c5a;
  188. line-height: 28rpx;
  189. margin-top: 10rpx;
  190. }
  191. page uni-popup.coupon .coupon-container .coupon-scroll .top .top_left > .tip > .icon {
  192. background: url(/static/icon/tishi.2x.png) no-repeat;
  193. background-size: 100% 100%;
  194. display: inline-block;
  195. width: 22rpx;
  196. height: 21rpx;
  197. }
  198. page uni-popup.coupon .coupon-container .coupon-scroll .top .top_right {
  199. width: 190rpx;
  200. margin-top: 38rpx;
  201. }
  202. page uni-popup.coupon .coupon-container .coupon-scroll .top .top_right > button {
  203. text-align: center;
  204. width: 190rpx;
  205. height: 60rpx;
  206. background: #23a97d;
  207. border-radius: 30rpx;
  208. outline: none;
  209. border: none;
  210. font-weight: 600;
  211. color: #ffffff;
  212. font-size: 26rpx;
  213. letter-spacing: 1px;
  214. line-height: 60rpx;
  215. }
  216. page uni-popup.coupon .coupon-container .coupon-scroll .center .coupon {
  217. display: flex;
  218. justify-content: space-between;
  219. height: 200rpx;
  220. margin-bottom: 30rpx;
  221. box-shadow: 0rpx 0rpx 10rpx 4rpx rgba(233, 223, 223, 0.5);
  222. }
  223. page uni-popup.coupon .coupon-container .coupon-scroll .center .coupon > .left {
  224. display: flex;
  225. flex-direction: column;
  226. justify-content: center;
  227. text-align: center;
  228. width: 220rpx;
  229. height: 200rpx;
  230. text-align: center;
  231. }
  232. page uni-popup.coupon .coupon-container .coupon-scroll .center .coupon > .left .amount {
  233. display: block;
  234. font-size: 40rpx;
  235. font-weight: 500;
  236. color: #ffffff;
  237. line-height: 56rpx;
  238. text-align: center;
  239. margin-top: 0rpx;
  240. }
  241. page uni-popup.coupon .coupon-container .coupon-scroll .center .coupon > .left .amount .value {
  242. font-size: 60rpx;
  243. }
  244. page uni-popup.coupon .coupon-container .coupon-scroll .center .coupon > .left .condition {
  245. font-size: 24rpx;
  246. font-weight: 400;
  247. color: #ffffff;
  248. line-height: 33rpx;
  249. text-align: center;
  250. margin-top: 25rpx;
  251. }
  252. page uni-popup.coupon .coupon-container .coupon-scroll .center .coupon > .left .exchangeName {
  253. display: none;
  254. font-size: 35rpx;
  255. font-weight: 500;
  256. color: #ffffff;
  257. line-height: 56rpx;
  258. }
  259. page uni-popup.coupon .coupon-container .coupon-scroll .center .coupon > .right {
  260. width: 456rpx;
  261. height: 200rpx;
  262. display: flex;
  263. flex-direction: column;
  264. justify-content: space-between;
  265. margin: 8rpx 0 5rpx 0;
  266. }
  267. page uni-popup.coupon .coupon-container .coupon-scroll .center .coupon > .right .title {
  268. height: 30rpx;
  269. font-size: 24rpx;
  270. font-weight: 600;
  271. line-height: 30rpx;
  272. }
  273. page uni-popup.coupon .coupon-container .coupon-scroll .center .coupon > .right .title .type {
  274. width: 113rpx;
  275. height: 30rpx;
  276. line-height: 30rpx;
  277. display: inline-block;
  278. background: #f8c;
  279. border-radius: 19rpx;
  280. font-size: 24rpx;
  281. font-weight: 600;
  282. color: #ffffff;
  283. text-align: center;
  284. }
  285. page uni-popup.coupon .coupon-container .coupon-scroll .center .coupon > .right .title .state {
  286. display: inline-block;
  287. margin-left: 20rpx;
  288. color: #7f7f7f;
  289. height: 30rpx;
  290. font-size: 24rpx;
  291. font-weight: 600;
  292. line-height: 33rpx;
  293. white-space: nowrap;
  294. }
  295. page uni-popup.coupon .coupon-container .coupon-scroll .center .coupon > .right .content {
  296. display: flex;
  297. justify-content: space-between;
  298. margin: 5rpx 0 5rpx 0;
  299. height: 100rpx;
  300. }
  301. page uni-popup.coupon .coupon-container .coupon-scroll .center .coupon > .right .content .items {
  302. width: 330rpx;
  303. height: 100%;
  304. display: flex;
  305. justify-content: space-around;
  306. flex-direction: column;
  307. }
  308. page uni-popup.coupon .coupon-container .coupon-scroll .center .coupon > .right .content .items .item {
  309. color: #272626;
  310. font-size: 21rpx;
  311. }
  312. page uni-popup.coupon .coupon-container .coupon-scroll .center .coupon > .right .content .items .item > text {
  313. width: 230rpx;
  314. display: inline-block;
  315. color: #272626;
  316. font-size: 22rpx;
  317. font-weight: bold;
  318. overflow: hidden;
  319. /* 超出部分隐藏 */
  320. white-space: nowrap;
  321. /* 文本不换行 */
  322. text-overflow: ellipsis;
  323. /* 省略的文本用省略号表示 */
  324. }
  325. page uni-popup.coupon .coupon-container .coupon-scroll .center .coupon > .right .content .items .from {
  326. display: none;
  327. }
  328. page uni-popup.coupon .coupon-container .coupon-scroll .center .coupon > .right .content > .btn {
  329. display: flex;
  330. flex-direction: column;
  331. justify-content: center;
  332. margin-right: 10rpx;
  333. }
  334. page uni-popup.coupon .coupon-container .coupon-scroll .center .coupon > .right .content > .btn > button {
  335. height: 60rpx;
  336. background: linear-gradient(143deg, #fad965 0%, #f3b235 100%);
  337. border-radius: 20rpx;
  338. border: none;
  339. outline: none;
  340. color: #ffffff;
  341. line-height: 60rpx;
  342. font-size: 30rpx;
  343. font-weight: 400;
  344. overflow: hidden;
  345. /* 超出部分隐藏 */
  346. white-space: nowrap;
  347. /* 文本不换行 */
  348. }
  349. page uni-popup.coupon .coupon-container .coupon-scroll .center .coupon > .right .tip {
  350. margin-right: 20rpx;
  351. border-top: 2rpx dashed #d8d8d8;
  352. height: 49rpx;
  353. font-size: 22rpx;
  354. font-weight: 400;
  355. color: #7f7f7f;
  356. line-height: 23rpx;
  357. padding-top: 12rpx;
  358. box-sizing: border-box;
  359. overflow: scroll;
  360. /* 超出部分隐藏 */
  361. white-space: nowrap;
  362. /* text-overflow: ellipsis;*/
  363. overflow: hidden;
  364. /* 超出部分隐藏 */
  365. white-space: nowrap;
  366. /* 文本不换行 */
  367. text-overflow: ellipsis;
  368. /* 省略的文本用省略号表示 */
  369. }
  370. page uni-popup.coupon .coupon-container .coupon-scroll .center .direct > .left {
  371. background: url(/static/icon/quan1.2x.png) no-repeat;
  372. background-size: 100% 100%;
  373. }
  374. page uni-popup.coupon .coupon-container .coupon-scroll .center .direct > .right > .title > .type {
  375. background: #f8ce57;
  376. }
  377. page uni-popup.coupon .coupon-container .coupon-scroll .center .direct > .right > .content > .btn button {
  378. background: linear-gradient(143deg, #fad965 0%, #f3b235 100%);
  379. }
  380. page uni-popup.coupon .coupon-container .coupon-scroll .center .rate > .left {
  381. background: url(/static/icon/quan2.2x.png) no-repeat;
  382. background-size: 100% 100%;
  383. }
  384. page uni-popup.coupon .coupon-container .coupon-scroll .center .rate > .right > .title > .type {
  385. background: #eb8573;
  386. }
  387. page uni-popup.coupon .coupon-container .coupon-scroll .center .rate > .right > .content > .btn button {
  388. background: linear-gradient(143deg, #f4a796 0%, #e67462 100%);
  389. }
  390. page uni-popup.coupon .coupon-container .coupon-scroll .center .exchange > .left {
  391. background: url(/static/icon/quan3.2x.png) no-repeat;
  392. background-size: 100% 100%;
  393. }
  394. page uni-popup.coupon .coupon-container .coupon-scroll .center .exchange > .left > .amount,
  395. page uni-popup.coupon .coupon-container .coupon-scroll .center .exchange > .left > .condition {
  396. display: none;
  397. }
  398. page uni-popup.coupon .coupon-container .coupon-scroll .center .exchange > .left > .exchangeName {
  399. display: inline-block;
  400. width: 150rpx;
  401. margin: 0 auto;
  402. }
  403. page uni-popup.coupon .coupon-container .coupon-scroll .center .exchange > .right > .title > .type {
  404. background: #19c79b;
  405. }
  406. page uni-popup.coupon .coupon-container .coupon-scroll .center .exchange > .right > .content > .btn button {
  407. background: linear-gradient(143deg, #21d9b4 0%, #0fb582 100%);
  408. }
  409. page uni-popup.coupon .coupon-container .coupon-scroll .center .expired > .left {
  410. background-position: center;
  411. /** 居中*/
  412. background: url(/static/icon/quan.png) no-repeat;
  413. }
  414. page uni-popup.coupon .coupon-container .coupon-scroll .center .expired > .right > .title > .type {
  415. background: #bfbfbf;
  416. }
  417. page uni-popup.coupon .coupon-container .coupon-scroll .center .expired > .right > .content > .btn button {
  418. display: none;
  419. }