storeOrder.wxss 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312
  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. .top-fixed {
  28. width: 100%;
  29. position: fixed;
  30. top: 0;
  31. left: 0;
  32. z-index: 10;
  33. }
  34. .pub-tab-box {
  35. box-sizing: border-box;
  36. width: 100%;
  37. padding: 0 40rpx;
  38. background-color: #FFFFFF;
  39. }
  40. .pub-tab-box .tab-inner {
  41. height: 88rpx;
  42. line-height: 88rpx;
  43. display: flex;
  44. align-items: center;
  45. justify-content: space-between;
  46. overflow-x: auto;
  47. }
  48. .pub-tab-box .item {
  49. font-size: 28rpx;
  50. white-space: nowrap;
  51. line-height: 1;
  52. font-family: PingFang SC;
  53. font-weight: 500;
  54. color: #666666;
  55. margin-right: 60rpx;
  56. display: flex;
  57. align-items: center;
  58. justify-content: center;
  59. }
  60. .pub-tab-box .item:last-child {
  61. margin-right: 0;
  62. }
  63. .pub-tab-box .item.active {
  64. font-weight: bold;
  65. color: #333333;
  66. }
  67. .pub-tab-box .item .text {
  68. position: relative;
  69. z-index: 1;
  70. }
  71. .pub-tab-box .item .tab-bg {
  72. width: 72rpx;
  73. height: 28rpx;
  74. position: absolute;
  75. top: 17rpx;
  76. left: 50%;
  77. -webkit-transform: translateX(-36rpx);
  78. transform: translateX(-36rpx);
  79. z-index: -1;
  80. }
  81. .top-seat {
  82. width: 100%;
  83. height: 192rpx;
  84. }
  85. .search-cont {
  86. padding: 16rpx 30rpx;
  87. background-color: #FFFFFF;
  88. }
  89. .search-cont .inner {
  90. box-sizing: border-box;
  91. width: 100%;
  92. height: 72rpx;
  93. background: #F7F7F7;
  94. border-radius: 36rpx;
  95. display: flex;
  96. align-items: center;
  97. padding: 0 30rpx;
  98. }
  99. .search-cont .inner .icon-search {
  100. width: 28rpx;
  101. height: 28rpx;
  102. margin-right: 20rpx;
  103. }
  104. .search-cont .inner input {
  105. height: 60rpx;
  106. line-height: 60rpx;
  107. flex: 1;
  108. }
  109. .order-list {
  110. padding: 20rpx;
  111. }
  112. .order-list .item {
  113. background: #FFFFFF;
  114. border-radius: 16rpx;
  115. padding: 0 30rpx;
  116. margin-bottom: 20rpx;
  117. }
  118. .order-list .item .ordersn-box {
  119. display: flex;
  120. align-items: center;
  121. justify-content: space-between;
  122. padding: 34rpx 0 20rpx;
  123. }
  124. .order-list .item .ordersn-box .num {
  125. font-size: 26rpx;
  126. font-family: PingFang SC;
  127. font-weight: 500;
  128. color: #999999;
  129. line-height: 1;
  130. }
  131. .order-list .item .ordersn-box .status-box {
  132. display: flex;
  133. align-items: center;
  134. }
  135. .order-list .item .ordersn-box .status-box .recom-box {
  136. width: 108rpx;
  137. height: 30rpx;
  138. line-height: 30rpx;
  139. text-align: left;
  140. padding-left: 8rpx;
  141. font-size: 22rpx;
  142. font-family: PingFang SC;
  143. font-weight: 500;
  144. color: #FFFFFF;
  145. 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==);
  146. background-repeat: no-repeat;
  147. background-size: 100% 100%;
  148. margin-right: 8rpx;
  149. }
  150. .order-list .item .ordersn-box .status-box .text {
  151. font-size: 28rpx;
  152. font-family: PingFang SC;
  153. font-weight: 500;
  154. line-height: 1;
  155. }
  156. .order-list .item .ordersn-box .status-box .text.success {
  157. color: #2BC7B9;
  158. }
  159. .order-list .item .ordersn-box .status-box .text.black {
  160. color: #111111;
  161. }
  162. .order-list .item .ordersn-box .status-box .text.info {
  163. color: #999999;
  164. }
  165. .order-list .item .drug-list .drug-item {
  166. padding: 30rpx 0;
  167. border-bottom: 1px soli #F0F0F0;
  168. display: flex;
  169. align-items: center;
  170. }
  171. .order-list .item .drug-list .drug-item .img-box {
  172. width: 160rpx;
  173. height: 160rpx;
  174. margin-right: 30rpx;
  175. flex-shrink: 0;
  176. }
  177. .order-list .item .drug-list .drug-item .img-box image {
  178. width: 100%;
  179. height: 100%;
  180. }
  181. .order-list .item .drug-list .drug-item .drug-info {
  182. width: calc(100% - 190rpx);
  183. height: 160rpx;
  184. display: flex;
  185. flex-direction: column;
  186. justify-content: space-between;
  187. }
  188. .order-list .item .drug-list .drug-item .drug-info .name-box {
  189. font-size: 28rpx;
  190. font-family: PingFang SC;
  191. font-weight: 500;
  192. color: #111111;
  193. line-height: 40rpx;
  194. }
  195. .order-list .item .drug-list .drug-item .drug-info .name-box .tag {
  196. display: inline-block;
  197. padding: 0 6rpx;
  198. height: 30rpx;
  199. background: linear-gradient(90deg, #2BC7B9 0%, #2BC7A4 100%);
  200. border-radius: 4rpx;
  201. margin-right: 10rpx;
  202. font-size: 22rpx;
  203. font-family: PingFang SC;
  204. font-weight: bold;
  205. color: #FFFFFF;
  206. line-height: 30rpx;
  207. float: left;
  208. margin-top: 7rpx;
  209. }
  210. .order-list .item .drug-list .drug-item .drug-info .spec {
  211. font-size: 24rpx;
  212. font-family: PingFang SC;
  213. font-weight: 500;
  214. color: #999999;
  215. line-height: 1;
  216. margin-top: 10rpx;
  217. }
  218. .order-list .item .drug-list .drug-item .drug-info .num-box {
  219. display: flex;
  220. align-items: center;
  221. justify-content: space-between;
  222. }
  223. .order-list .item .drug-list .drug-item .drug-info .num-box .price {
  224. display: flex;
  225. align-items: flex-end;
  226. }
  227. .order-list .item .drug-list .drug-item .drug-info .num-box .price .unit {
  228. font-size: 24rpx;
  229. font-family: PingFang SC;
  230. font-weight: 500;
  231. color: #111111;
  232. line-height: 1.2;
  233. margin-right: 4rpx;
  234. }
  235. .order-list .item .drug-list .drug-item .drug-info .num-box .price .num {
  236. font-size: 32rpx;
  237. font-family: PingFang SC;
  238. font-weight: 500;
  239. color: #111111;
  240. line-height: 1;
  241. }
  242. .order-list .item .drug-list .drug-item .drug-info .num-box .amount {
  243. font-size: 24rpx;
  244. font-family: PingFang SC;
  245. font-weight: 500;
  246. color: #999999;
  247. line-height: 1;
  248. }
  249. .order-list .item .drug-list .bottom-box {
  250. height: 110rpx;
  251. display: flex;
  252. align-items: center;
  253. justify-content: space-between;
  254. }
  255. .order-list .item .drug-list .bottom-box .amount-paid {
  256. display: flex;
  257. align-items: center;
  258. }
  259. .order-list .item .drug-list .bottom-box .amount-paid .label {
  260. font-size: 24rpx;
  261. font-family: PingFang SC;
  262. font-weight: 500;
  263. color: #999999;
  264. line-height: 1;
  265. }
  266. .order-list .item .drug-list .bottom-box .amount-paid .price-box {
  267. display: flex;
  268. align-items: flex-end;
  269. }
  270. .order-list .item .drug-list .bottom-box .amount-paid .price-box .unit {
  271. font-size: 24rpx;
  272. font-family: PingFang SC;
  273. font-weight: 500;
  274. color: #FF6633;
  275. line-height: 1.2;
  276. margin-right: 4rpx;
  277. }
  278. .order-list .item .drug-list .bottom-box .amount-paid .price-box .num {
  279. font-size: 32rpx;
  280. font-family: PingFang SC;
  281. font-weight: bold;
  282. color: #FF6633;
  283. line-height: 1;
  284. }
  285. .order-list .item .drug-list .bottom-box .btn-box {
  286. box-sizing: border-box;
  287. display: flex;
  288. align-items: center;
  289. }
  290. .order-list .item .drug-list .bottom-box .btn-box .btn {
  291. width: 155rpx;
  292. height: 64rpx;
  293. line-height: 64rpx;
  294. font-size: 26rpx;
  295. font-family: PingFang SC;
  296. font-weight: 500;
  297. text-align: center;
  298. border-radius: 32rpx;
  299. margin-left: 15rpx;
  300. }
  301. .order-list .item .drug-list .bottom-box .btn-box .btn:first-child {
  302. margin-left: 0;
  303. }
  304. .order-list .item .drug-list .bottom-box .btn-box .btn.cancel {
  305. border: 1px solid #DDDDDD;
  306. color: #666666;
  307. }
  308. .order-list .item .drug-list .bottom-box .btn-box .btn.pay {
  309. background: #2BC7B9;
  310. color: #FFFFFF;
  311. }