storeOrder.wxss 7.4 KB

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