packageOrderDetails.css 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275
  1. /**
  2. * 这里是uni-app内置的常用样式变量
  3. *
  4. * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
  5. * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
  6. *
  7. */
  8. /**
  9. * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
  10. *
  11. * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
  12. */
  13. /* 颜色变量 */
  14. /* 行为相关颜色 */
  15. /* 文字基本颜色 */
  16. /* 背景颜色 */
  17. /* 边框颜色 */
  18. /* 尺寸变量 */
  19. /* 文字尺寸 */
  20. /* 图片尺寸 */
  21. /* Border Radius */
  22. /* 水平间距 */
  23. /* 垂直间距 */
  24. /* 透明度 */
  25. /* 文章场景相关 */
  26. .cont {
  27. width: 100%;
  28. position: relative;
  29. }
  30. .cont .bg {
  31. width: 100%;
  32. height: 10.9375rem;
  33. position: absolute;
  34. top: 0;
  35. left: 0;
  36. z-index: 1;
  37. background-color: #C39A58;
  38. background: linear-gradient(#C39A58, #E2C99E);
  39. border-radius: 0 0 3.125rem 3.125rem;
  40. }
  41. .cont .inner {
  42. position: relative;
  43. padding: 0.9375rem 0;
  44. width: 100%;
  45. height: 100%;
  46. z-index: 999;
  47. }
  48. .cont .inner .order-status {
  49. display: flex;
  50. align-items: center;
  51. justify-content: space-between;
  52. padding: 0 0.9375rem;
  53. }
  54. .cont .inner .order-status .inner {
  55. display: flex;
  56. align-items: center;
  57. }
  58. .cont .inner .order-status .inner .img-box {
  59. width: 3rem;
  60. height: 3rem;
  61. margin-right: 0.9375rem;
  62. }
  63. .cont .inner .order-status .inner .img-box uni-image {
  64. width: 100%;
  65. height: 100%;
  66. }
  67. .cont .inner .order-status .inner .status-box {
  68. height: 3rem;
  69. display: flex;
  70. flex-direction: column;
  71. justify-content: center;
  72. }
  73. .cont .inner .order-status .inner .status-box .status {
  74. font-size: 1.25rem;
  75. font-family: PingFang SC;
  76. font-weight: bold;
  77. color: #FFFFFF;
  78. line-height: 1;
  79. }
  80. .cont .inner .order-status .inner .status-box .desc {
  81. font-size: 0.8125rem;
  82. font-family: PingFang SC;
  83. font-weight: 500;
  84. color: #FFFFFF;
  85. line-height: 1;
  86. margin-top: 0.9375rem;
  87. }
  88. .content {
  89. margin: 0.625rem 0;
  90. padding: 0 0.625rem 4.375rem 0.625rem;
  91. }
  92. .content .package-box {
  93. width: 100%;
  94. display: flex;
  95. padding: 0.625rem;
  96. background-color: #fff;
  97. align-items: flex-start;
  98. justify-content: flex-start;
  99. box-shadow: 0px 0px 5px 2px rgba(0, 0, 0, 0.05);
  100. border-radius: 0.46875rem;
  101. }
  102. .content .package-box .left {
  103. width: 6.25rem;
  104. height: 6.25rem;
  105. }
  106. .content .package-box .left uni-image {
  107. border-radius: 0.46875rem;
  108. width: 100%;
  109. height: 100%;
  110. }
  111. .content .package-box .right {
  112. height: 6.25rem;
  113. display: flex;
  114. flex-direction: column;
  115. align-items: flex-start;
  116. justify-content: flex-start;
  117. padding-left: 0.46875rem;
  118. width: calc(100% - 6.25rem);
  119. }
  120. .content .package-box .right .title {
  121. font-weight: bold;
  122. font-size: 1.0625rem;
  123. font-family: PingFang SC;
  124. color: #111;
  125. }
  126. .content .package-box .right .desc {
  127. margin-top: 0.46875rem;
  128. display: flex;
  129. align-items: flex-start;
  130. justify-content: flex-start;
  131. }
  132. .content .package-box .right .desc .cycle {
  133. background-color: #eee;
  134. border-radius: 0.9375rem;
  135. padding: 0.15625rem 0.46875rem;
  136. font-size: 0.8125rem;
  137. font-family: PingFang SC;
  138. color: #C39A58;
  139. }
  140. .content .package-box .right .desc .duration {
  141. margin-left: 0.3125rem;
  142. background-color: #eee;
  143. border-radius: 0.9375rem;
  144. padding: 0.15625rem 0.46875rem;
  145. font-size: 0.8125rem;
  146. font-family: PingFang SC;
  147. color: #C39A58;
  148. }
  149. .content .package-box .right .price-box {
  150. flex: 1;
  151. display: flex;
  152. align-items: flex-end;
  153. justify-content: space-between;
  154. width: 100%;
  155. }
  156. .content .package-box .right .price-box .price {
  157. padding: 0.15625rem 0.3125rem;
  158. background-color: #C39A58;
  159. border-radius: 0.9375rem;
  160. font-size: 0.625rem;
  161. font-family: PingFang SC;
  162. color: #ffffff;
  163. }
  164. .content .package-box .right .price-box .count {
  165. font-size: 0.75rem;
  166. font-family: PingFang SC;
  167. color: #333333;
  168. }
  169. .content .order-info {
  170. box-shadow: 0px 0px 5px 2px rgba(0, 0, 0, 0.05);
  171. margin-top: 0.625rem;
  172. background: #FFFFFF;
  173. border-radius: 0.5rem;
  174. padding: 1.25rem 0.9375rem;
  175. }
  176. .content .order-info .title {
  177. font-size: 0.9375rem;
  178. font-family: PingFang SC;
  179. font-weight: bold;
  180. color: #222222;
  181. line-height: 1;
  182. }
  183. .content .order-info .item {
  184. margin-top: 1.25rem;
  185. display: flex;
  186. align-items: center;
  187. justify-content: space-between;
  188. }
  189. .content .order-info .item .label {
  190. font-size: 0.8125rem;
  191. font-family: PingFang SC;
  192. font-weight: 500;
  193. color: #666666;
  194. line-height: 1;
  195. }
  196. .content .order-info .item .text {
  197. font-size: 0.8125rem;
  198. font-family: PingFang SC;
  199. font-weight: 500;
  200. color: #222222;
  201. line-height: 1rem;
  202. }
  203. .content .order-info .item .cont-text {
  204. font-size: 0.8125rem;
  205. font-family: PingFang SC;
  206. font-weight: 500;
  207. color: #666666;
  208. }
  209. .content .order-info .item .cont-text .bold {
  210. color: #111111;
  211. }
  212. .content .order-info .item .sn-box {
  213. display: flex;
  214. align-items: center;
  215. }
  216. .content .order-info .item .sn-box .copy-btn {
  217. width: 1.8125rem;
  218. height: 1rem;
  219. line-height: 1rem;
  220. text-align: center;
  221. font-size: 0.6875rem;
  222. font-family: PingFang SC;
  223. font-weight: 500;
  224. color: #222222;
  225. background: #F5F5F5;
  226. border-radius: 0.125rem;
  227. margin-left: 0.75rem;
  228. }
  229. .content .order-info .item .check-box {
  230. display: flex;
  231. align-items: center;
  232. }
  233. .content .order-info .item .check-box uni-image {
  234. width: 0.4375rem;
  235. height: 0.75rem;
  236. margin-left: 0.3125rem;
  237. }
  238. .content .order-info .line {
  239. width: 100%;
  240. height: 1px;
  241. background: #F0F0F0;
  242. margin-top: 0.9375rem;
  243. }
  244. .btn-box {
  245. z-index: 999;
  246. bottom: 0;
  247. width: 100%;
  248. position: fixed;
  249. height: 3.75rem;
  250. box-sizing: border-box;
  251. background: #FFFFFF;
  252. padding: 0 0.9375rem;
  253. display: flex;
  254. align-items: center;
  255. justify-content: flex-end;
  256. }
  257. .btn-box .btn {
  258. width: 4.84375rem;
  259. height: 2rem;
  260. line-height: 2rem;
  261. font-size: 0.8125rem;
  262. font-family: PingFang SC;
  263. font-weight: 500;
  264. text-align: center;
  265. border-radius: 1rem;
  266. margin-left: 0.46875rem;
  267. }
  268. .btn-box .btn.cancel {
  269. border: 1px solid #DDDDDD;
  270. color: #666666;
  271. }
  272. .btn-box .btn.pay {
  273. background: #C39A58;
  274. color: #FFFFFF;
  275. }