exchange.css 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389
  1. * {
  2. -webkit-box-sizing: border-box;
  3. -moz-box-sizing: border-box;
  4. box-sizing: border-box;
  5. }
  6. a:hover, a:visited, a:link, a:active {
  7. text-decoration: none;
  8. }
  9. body {
  10. background-color: #F5F5F5;
  11. min-height: 100vh;
  12. }
  13. .exchange {
  14. padding-bottom: 0.5rem;
  15. }
  16. .exchange_top {
  17. display: flex;
  18. align-items: center;
  19. padding: 0 0.2rem;
  20. background: #FFFFFF;
  21. height: 0.48rem;
  22. font-size: 0.16rem;
  23. color: #666666;
  24. letter-spacing: 0.007rem;
  25. }
  26. .exchange_footer {
  27. width: 100%;
  28. padding: 0 0.13rem;
  29. height: 0.5rem;
  30. background-color: #FFFFFF;
  31. box-shadow: 0 0 1px 0 rgba(0, 0, 0, 0.3);
  32. position: fixed;
  33. bottom: 0;
  34. left: 0;
  35. display: flex;
  36. align-items: center;
  37. justify-content: space-between;
  38. }
  39. .exchange_footer .item {
  40. background: #FDB553;
  41. border-radius: 3px;
  42. width: 1.655rem;
  43. height: 0.37rem;
  44. font-size: 0.16rem;
  45. color: #FFFFFF;
  46. display: flex;
  47. align-items: center;
  48. justify-content: center;
  49. }
  50. .exchange_footer .item:active {
  51. opacity: 0.8;
  52. }
  53. .exchange_footer .f {
  54. background: #FDB553;
  55. }
  56. .exchange_footer .l {
  57. background: #FE7E4F;
  58. }
  59. .article {
  60. padding: 0.14rem 0.18rem 0 0.18rem;
  61. overflow: hidden;
  62. }
  63. .article_cell {
  64. width: 1.6rem;
  65. height: 2.14rem;
  66. background: #FFFFFF;
  67. padding: 0 0.05rem;
  68. -webkit-border-radius: 0.1rem;
  69. -moz-border-radius: 0.1rem;
  70. border-radius: 0.1rem;
  71. margin-bottom: 0.14rem;
  72. display: flex;
  73. align-items: center;
  74. flex-direction: column;
  75. }
  76. .article_cell:nth-child(1n) {
  77. float: left;
  78. }
  79. .article_cell:nth-child(2n) {
  80. float: right;
  81. }
  82. .article_img {
  83. width: 0.82rem;
  84. height: 0.82rem;
  85. }
  86. .article_img img {
  87. width: 100%;
  88. height: 100%;
  89. display: block;
  90. }
  91. .article_img span {
  92. font-size: 0.18rem;
  93. color: #FFFFFF;
  94. }
  95. .article_price {
  96. display: flex;
  97. align-items: center;
  98. justify-content: center;
  99. }
  100. .article_price img {
  101. width: 0.22rem;
  102. height: 0.22rem;
  103. }
  104. .article_price span {
  105. margin-left: 0.06rem;
  106. color: #333333;
  107. font-size: 0.16rem;
  108. }
  109. .article_name {
  110. font-size: 0.16rem;
  111. color: #253E9C;
  112. letter-spacing: 0.0034rem;
  113. }
  114. .article_exchange {
  115. height: 0.54rem;
  116. width: 100%;
  117. border-top: 1px solid #E8E8E8;
  118. display: flex;
  119. align-items: center;
  120. justify-content: center;
  121. }
  122. .article_exchange button {
  123. width: 0.94rem;
  124. height: 0.28rem;
  125. border: none;
  126. outline-style: none;
  127. font-weight: 600;
  128. font-size: 0.14rem;
  129. background: #F9E32E;
  130. -webkit-border-radius: 0.46rem;
  131. -moz-border-radius: 0.46rem;
  132. border-radius: 0.46rem;
  133. color: #333333;
  134. }
  135. .article_exchange button[disabled=disabled] {
  136. background: #CCCCCC;
  137. color: #FFFFFF;
  138. }
  139. .article_red {
  140. padding-top: 0.18rem;
  141. }
  142. .article_red .article_img {
  143. position: relative;
  144. }
  145. .article_red .article_img span {
  146. position: absolute;
  147. bottom: 0.11rem;
  148. left: 50%;
  149. -webkit-transform: translateX(-50%);
  150. -moz-transform: translateX(-50%);
  151. -ms-transform: translateX(-50%);
  152. -o-transform: translateX(-50%);
  153. transform: translateX(-50%);
  154. }
  155. .article_red .article_price {
  156. padding-top: 0.255rem;
  157. padding-bottom: 0.125rem;
  158. }
  159. .article_entity {
  160. padding-top: 0.085rem;
  161. }
  162. .article_entity .article_img {
  163. width: 0.775rem;
  164. height: 0.775rem;
  165. }
  166. .article_entity .article_name {
  167. margin-top: 0.055rem;
  168. }
  169. .article_entity .article_price {
  170. margin: 0.125rem 0px;
  171. }
  172. .dialog {
  173. width: 100%;
  174. height: 100vh;
  175. position: fixed;
  176. display: none;
  177. bottom: 0;
  178. left: 0;
  179. }
  180. .dialog_mask {
  181. width: 100%;
  182. height: 100%;
  183. background: rgba(0, 0, 0, 0.6);
  184. position: absolute;
  185. bottom: 0;
  186. left: 0;
  187. }
  188. .dialog_cnt {
  189. position: absolute;
  190. top: 50%;
  191. left: 50%;
  192. -webkit-transform: translate(-50%, -50%);
  193. -moz-transform: translate(-50%, -50%);
  194. -ms-transform: translate(-50%, -50%);
  195. -o-transform: translate(-50%, -50%);
  196. transform: translate(-50%, -50%);
  197. }
  198. .dialog_red {
  199. width: 3.16rem;
  200. display: flex;
  201. align-items: center;
  202. flex-direction: column;
  203. justify-content: center;
  204. background: #FFFFFF;
  205. border-radius: 0.1rem;
  206. padding-top: 0.17rem;
  207. padding-bottom: 0.23rem;
  208. }
  209. .dialog_red .title {
  210. font-size: 0.16rem;
  211. color: #547CFF;
  212. line-height: 0.22rem;
  213. font-weight: 600;
  214. }
  215. .dialog_red .info {
  216. padding-top: 0.15rem;
  217. padding-bottom: 0.22rem;
  218. font-size: 0.14rem;
  219. color: #666666;
  220. display: flex;
  221. align-items: center;
  222. justify-content: center;
  223. }
  224. .dialog_red .info span {
  225. color: #E22020;
  226. }
  227. .dialog_red .info img {
  228. width: 0.27rem;
  229. height: 0.27rem;
  230. margin-left: 0.1rem;
  231. }
  232. .dialog_red .save {
  233. background: #557CFF;
  234. border-radius: 100px;
  235. width: 0.98rem;
  236. height: 0.35rem;
  237. outline-style: none;
  238. border: none;
  239. font-size: 0.13rem;
  240. color: #FFFFFF;
  241. }
  242. .dialog_entity {
  243. width: 3.16rem;
  244. display: flex;
  245. align-items: center;
  246. flex-direction: column;
  247. justify-content: center;
  248. background: #FFFFFF;
  249. border-radius: 0.1rem;
  250. padding-top: 0.17rem;
  251. padding-bottom: 0.23rem;
  252. }
  253. .dialog_entity .title {
  254. font-size: 0.16rem;
  255. color: #547CFF;
  256. line-height: 0.22rem;
  257. font-weight: 600;
  258. }
  259. .dialog_entity .prompt {
  260. font-size: 0.14rem;
  261. color: #666666;
  262. padding-top: 0.22rem;
  263. padding-bottom: 0.135rem;
  264. }
  265. .dialog_entity .input {
  266. width: 2.7rem;
  267. height: 0.37rem;
  268. border: 1px solid #DEDEDE;
  269. border-radius: 4px;
  270. font-size: 0.14rem;
  271. padding-left: 0.115rem;
  272. color: #666666;
  273. margin-bottom: 0.2rem;
  274. }
  275. .dialog_entity .save {
  276. background: #557CFF;
  277. border-radius: 100px;
  278. width: 0.98rem;
  279. height: 0.35rem;
  280. outline-style: none;
  281. border: none;
  282. font-size: 0.13rem;
  283. color: #FFFFFF;
  284. }
  285. .pop_outer {
  286. background-color: rgba(0, 0, 0, 0.7);
  287. position: fixed;
  288. left: 0;
  289. top: 0;
  290. height: 100%;
  291. width: 100%;
  292. text-align: center;
  293. }
  294. .pop_inner {
  295. background-color: #FFFFFF;
  296. border-radius: 0.1rem;
  297. min-height: 1rem;
  298. width: 80%;
  299. overflow: hidden;
  300. position: fixed;
  301. left: 50%;
  302. top: 50%;
  303. -webkit-transform: translate(-50%, -50%);
  304. transform: translate(-50%, -50%);
  305. }
  306. .pop_title {
  307. color: #000000;
  308. font-size: 0.18rem;
  309. padding: 0.15rem 0.15rem 0;
  310. }
  311. .pop_content {
  312. color: #999999;
  313. font-size: 0.16rem;
  314. line-height: 0.22rem;
  315. padding: 0.15rem 0.2rem;
  316. }
  317. .pop_btn-group {
  318. border-top: 1px solid #DEDEDE;
  319. height: 0.5rem;
  320. line-height: 1rem;
  321. }
  322. .pop_btn {
  323. background-color: #FFFFFF;
  324. color: #00C200;
  325. float: left;
  326. font-size: 0.25rem;
  327. width: 50%;
  328. }
  329. .pop_btn:first-child {
  330. border-right: 1px solid #DEDEDE;
  331. }
  332. .pop_btn__block {
  333. width: 100%;
  334. }
  335. /*# sourceMappingURL=exchange.css.map */