storeOrder.wxss 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264
  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. .search-cont {
  28. padding: 16rpx 30rpx;
  29. background-color: #FFFFFF;
  30. }
  31. .search-cont .inner {
  32. box-sizing: border-box;
  33. width: 100%;
  34. height: 72rpx;
  35. background: #F7F7F7;
  36. border-radius: 36rpx;
  37. display: flex;
  38. align-items: center;
  39. padding: 0 30rpx;
  40. }
  41. .search-cont .inner .icon-search {
  42. width: 28rpx;
  43. height: 28rpx;
  44. margin-right: 20rpx;
  45. }
  46. .search-cont .inner input {
  47. height: 60rpx;
  48. line-height: 60rpx;
  49. flex: 1;
  50. }
  51. .order-list {
  52. padding: 20rpx;
  53. }
  54. .order-list .item {
  55. background: #FFFFFF;
  56. border-radius: 16rpx;
  57. padding: 0 30rpx;
  58. margin-bottom: 20rpx;
  59. }
  60. .order-list .item .ordersn-box {
  61. display: flex;
  62. align-items: center;
  63. justify-content: space-between;
  64. padding: 34rpx 0 20rpx;
  65. }
  66. .order-list .item .ordersn-box .num {
  67. font-size: 26rpx;
  68. font-family: PingFang SC;
  69. font-weight: 500;
  70. color: #999999;
  71. line-height: 1;
  72. }
  73. .order-list .item .ordersn-box .status-box {
  74. display: flex;
  75. align-items: center;
  76. }
  77. .order-list .item .ordersn-box .status-box .recom-box {
  78. width: 108rpx;
  79. height: 30rpx;
  80. line-height: 30rpx;
  81. text-align: left;
  82. padding-left: 8rpx;
  83. font-size: 22rpx;
  84. font-family: PingFang SC;
  85. font-weight: 500;
  86. color: #FFFFFF;
  87. background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGwAAAAeCAYAAADJjPsHAAAAAXNSR0IArs4c6QAAAhxJREFUaEPtmj9OwzAUxr9XZhATIjAjOEIbMfJnh4NAEQNEnRGXgQvATgscAISgV2iBNQYlbZ04tmOlFamLXoaqcZ281L88+7P9EQC8dztbDYhrEPYIWEnK0uMn+SB5qn4xlY/K1F/s9Sb3Iy1G8Zrs3BRBRiw8b2ld+WeK0e2xR5e46pvbLL0qfb78IWN9ArhfajQu1ponb5YGH0X/eOpskxBdAKtaKAZmeGH/BNjkRR/Egpqbu6evNmjU70Y3IBxlb3uuKgOrFdi45W+DsH1sB9aLhsh1g0qHwMDmAew7CNvLZcCUnpWBzWUMU/gEYdsmHED9XsTAzEJgXKoDrCqqpFSxiw4GlgmoWTOGgRmEv7tRVVFkqb+4sp4zjDNMky08cZ5MpHVFp7eNY+LMGbbIGUZEzfXWac8k7VklOpea6hcdAIZEdGiCxsD8BJYIsyERNGgMzF9gSY+oQWNgfgNLoQHiIAjPHtNxmVc6XKvvcxnDinNVCY2B+Z9hStfIwPwHpoxjDMxvYCw6dMuDt2MYy3rzUpKXwHjinC3zVFV9VetrzpixX6PUhKPuyPHSVL49qgKoWn92YLzj7NhRLt9BZmC8gSlfILN1gzPsn2UY29z8MuE4bG5sJHVYy2sfwxxG0ufLHcT0wFZt1eYz/TRgepVIwEAgbm2E5y+m3WZ559RfH4srEPYJyFyn7Pyty/n7BeBOCIrKfPUJsF8TeAQunoFtzAAAAABJRU5ErkJggg==);
  88. background-repeat: no-repeat;
  89. background-size: 100% 100%;
  90. margin-right: 8rpx;
  91. }
  92. .order-list .item .ordersn-box .status-box .text {
  93. font-size: 28rpx;
  94. font-family: PingFang SC;
  95. font-weight: 500;
  96. line-height: 1;
  97. }
  98. .order-list .item .ordersn-box .status-box .text.success {
  99. color: #2BC7B9;
  100. }
  101. .order-list .item .ordersn-box .status-box .text.black {
  102. color: #111111;
  103. }
  104. .order-list .item .ordersn-box .status-box .text.info {
  105. color: #999999;
  106. }
  107. .order-list .item .drug-list .drug-item {
  108. padding: 30rpx 0;
  109. border-bottom: 1px soli #F0F0F0;
  110. display: flex;
  111. align-items: center;
  112. }
  113. .order-list .item .drug-list .drug-item .img-box {
  114. width: 160rpx;
  115. height: 160rpx;
  116. margin-right: 30rpx;
  117. flex-shrink: 0;
  118. }
  119. .order-list .item .drug-list .drug-item .img-box image {
  120. width: 100%;
  121. height: 100%;
  122. }
  123. .order-list .item .drug-list .drug-item .drug-info {
  124. width: calc(100% - 190rpx);
  125. height: 160rpx;
  126. display: flex;
  127. flex-direction: column;
  128. justify-content: space-between;
  129. }
  130. .order-list .item .drug-list .drug-item .drug-info .name-box {
  131. font-size: 28rpx;
  132. font-family: PingFang SC;
  133. font-weight: 500;
  134. color: #111111;
  135. line-height: 40rpx;
  136. }
  137. .order-list .item .drug-list .drug-item .drug-info .name-box .tag {
  138. display: inline-block;
  139. padding: 0 6rpx;
  140. height: 30rpx;
  141. background: linear-gradient(90deg, #2BC7B9 0%, #2BC7A4 100%);
  142. border-radius: 4rpx;
  143. margin-right: 10rpx;
  144. font-size: 22rpx;
  145. font-family: PingFang SC;
  146. font-weight: bold;
  147. color: #FFFFFF;
  148. line-height: 30rpx;
  149. float: left;
  150. margin-top: 7rpx;
  151. }
  152. .order-list .item .drug-list .drug-item .drug-info .spec {
  153. font-size: 24rpx;
  154. font-family: PingFang SC;
  155. font-weight: 500;
  156. color: #999999;
  157. line-height: 1;
  158. margin-top: 10rpx;
  159. }
  160. .order-list .item .drug-list .drug-item .drug-info .num-box {
  161. display: flex;
  162. align-items: center;
  163. justify-content: space-between;
  164. }
  165. .order-list .item .drug-list .drug-item .drug-info .num-box .price {
  166. display: flex;
  167. align-items: flex-end;
  168. }
  169. .order-list .item .drug-list .drug-item .drug-info .num-box .price .unit {
  170. font-size: 24rpx;
  171. font-family: PingFang SC;
  172. font-weight: 500;
  173. color: #111111;
  174. line-height: 1.2;
  175. margin-right: 4rpx;
  176. }
  177. .order-list .item .drug-list .drug-item .drug-info .num-box .price .num {
  178. font-size: 32rpx;
  179. font-family: PingFang SC;
  180. font-weight: 500;
  181. color: #111111;
  182. line-height: 1;
  183. }
  184. .order-list .item .drug-list .drug-item .drug-info .num-box .amount {
  185. font-size: 24rpx;
  186. font-family: PingFang SC;
  187. font-weight: 500;
  188. color: #999999;
  189. line-height: 1;
  190. }
  191. .order-list .item .drug-list .bottom-box {
  192. height: 110rpx;
  193. display: flex;
  194. align-items: center;
  195. justify-content: space-between;
  196. }
  197. .order-list .item .drug-list .bottom-box .amount-paid {
  198. display: flex;
  199. align-items: center;
  200. }
  201. .order-list .item .drug-list .bottom-box .amount-paid .label {
  202. font-size: 24rpx;
  203. font-family: PingFang SC;
  204. font-weight: 500;
  205. color: #999999;
  206. line-height: 1;
  207. }
  208. .order-list .item .drug-list .bottom-box .amount-paid .price-box {
  209. display: flex;
  210. align-items: flex-end;
  211. }
  212. .order-list .item .drug-list .bottom-box .amount-paid .price-box .unit {
  213. font-size: 24rpx;
  214. font-family: PingFang SC;
  215. font-weight: 500;
  216. color: #FF6633;
  217. line-height: 1.2;
  218. margin-right: 4rpx;
  219. }
  220. .order-list .item .drug-list .bottom-box .amount-paid .price-box .num {
  221. font-size: 32rpx;
  222. font-family: PingFang SC;
  223. font-weight: bold;
  224. color: #FF6633;
  225. line-height: 1;
  226. }
  227. .order-list .item .drug-list .bottom-box .btn-box {
  228. box-sizing: border-box;
  229. display: flex;
  230. align-items: center;
  231. }
  232. .order-list .item .drug-list .bottom-box .btn-box .btn {
  233. width: 155rpx;
  234. height: 64rpx;
  235. line-height: 64rpx;
  236. font-size: 26rpx;
  237. font-family: PingFang SC;
  238. font-weight: 500;
  239. text-align: center;
  240. border-radius: 32rpx;
  241. margin-left: 15rpx;
  242. }
  243. .order-list .item .drug-list .bottom-box .btn-box .btn:first-child {
  244. margin-left: 0;
  245. }
  246. .order-list .item .drug-list .bottom-box .btn-box .btn.cancel {
  247. border: 1px solid #DDDDDD;
  248. color: #666666;
  249. }
  250. .order-list .item .drug-list .bottom-box .btn-box .btn.pay {
  251. background: #2BC7B9;
  252. color: #FFFFFF;
  253. position: relative;
  254. }
  255. .order-list .item .drug-list .bottom-box .btn-box .btn.pay .share {
  256. display: inline-block;
  257. position: absolute;
  258. top: 0;
  259. left: 0;
  260. width: 100%;
  261. height: 100%rpx;
  262. opacity: 0;
  263. }