order-detail.scss 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243
  1. @import "../../../../themes/page.scss";
  2. @import "../../searc-list.scss";
  3. /* module/diet/pages/diet-info/diet-info.wxss */
  4. .page-scroll__container {
  5. background-color: white;
  6. }
  7. .order-box {
  8. background: #ffffff;
  9. width: 100%;
  10. border-radius: 25px 25px 0 0;
  11. padding-top: 15px;
  12. margin-top: -70px;
  13. }
  14. .order-detail-scroll {
  15. padding: 0 20rpx 120rpx 20rpx;
  16. // background: #f7f7f7;
  17. }
  18. // .follow-container{
  19. // background-image: url('https://wx.hzliuzhi.com:4433/manager/file/statics/2025/07/11/WechatIMG637_20250711120303A498.jpg');
  20. // background-repeat: no-repeat;
  21. // width: 100%;
  22. // background-size: cover;
  23. // background-position: center;
  24. // position: relative;
  25. // padding-bottom: calc(100rpx + env(safe-area-inset-bottom));
  26. // }
  27. .info-box {
  28. // background: red;
  29. // border-radius: 20rpx;
  30. // margin: 24rpx 0;
  31. padding: 24rpx;
  32. background-image: url("https://wx.hzliuzhi.com:4433/manager/file/statics/2025/07/11/WechatIMG637_20250711120303A498.jpg");
  33. background-size: cover;
  34. background-position: initial;
  35. background-repeat: no-repeat;
  36. height: 150px;
  37. }
  38. .delivery-address {
  39. font-weight: bold;
  40. }
  41. .order-no {
  42. font-size: 28rpx;
  43. color: black;
  44. margin: 24rpx 0 0 0;
  45. }
  46. .address-card {
  47. background: rgba(255, 255, 255, 0.8);
  48. border-radius: 20rpx;
  49. margin: 24rpx 0;
  50. padding: 24rpx;
  51. box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.03);
  52. }
  53. .address-header {
  54. display: flex;
  55. align-items: center;
  56. gap: 16rpx;
  57. margin-bottom: 14rpx;
  58. }
  59. .address-name {
  60. font-weight: 500;
  61. font-size: 28rpx;
  62. margin-right: 20rpx;
  63. }
  64. .address-phone {
  65. // color: #888;
  66. font-weight: 500;
  67. font-size: 28rpx;
  68. }
  69. .address-tag {
  70. margin-left: auto;
  71. }
  72. .address-detail {
  73. color: #666;
  74. font-size: 26rpx;
  75. }
  76. .service-card {
  77. display: flex;
  78. background: #fff;
  79. border-radius: 20rpx;
  80. margin-bottom: 24rpx;
  81. padding: 24rpx;
  82. gap: 24rpx;
  83. }
  84. .service-img {
  85. width: 140rpx;
  86. height: 140rpx;
  87. border-radius: 8rpx;
  88. margin-right: 15rpx;
  89. }
  90. .service-info {
  91. flex: 1;
  92. display: flex;
  93. flex-direction: column;
  94. justify-content: space-between;
  95. }
  96. .service-title {
  97. font-size: 32rpx;
  98. font-weight: 500;
  99. margin-bottom: 8rpx;
  100. }
  101. .service-doctor,
  102. .service-time {
  103. font-size: 26rpx;
  104. // color: #888;
  105. margin-bottom: 4rpx;
  106. display: flex;
  107. }
  108. .item-table {
  109. background: #fff;
  110. // border-radius: 20rpx;
  111. margin-bottom: 24rpx;
  112. padding: 0;
  113. overflow: hidden;
  114. border: 1px solid #eee;
  115. }
  116. .service-date {
  117. font-size: 30rpx;
  118. color: #8c8c8c;
  119. margin-bottom: 20rpx;
  120. margin-top: 30rpx;
  121. font-weight: 500;
  122. }
  123. .table-header,
  124. .table-row {
  125. display: flex;
  126. font-size: 26rpx;
  127. }
  128. .table-header {
  129. font-weight: 600;
  130. color: #333;
  131. background: #eeeeee;
  132. border-bottom: 1px solid #eee;
  133. }
  134. .table-row {
  135. color: #444;
  136. border-bottom: 1px solid #eee;
  137. &:last-child {
  138. border-bottom: none;
  139. }
  140. }
  141. .table-cell {
  142. flex: 1;
  143. text-align: left;
  144. padding: 18rpx 16rpx;
  145. // border-right: 1px solid #eee;
  146. box-sizing: border-box;
  147. // 让最后一列无右边框
  148. &:last-child {
  149. border-right: none;
  150. text-align: left; // 金额右对齐更美观
  151. }
  152. }
  153. .order-amount {
  154. display: flex;
  155. justify-content: flex-end;
  156. align-items: center;
  157. font-size: 28rpx;
  158. margin: 24rpx 0 32rpx 0;
  159. }
  160. .order-amount-value {
  161. color: #d54941;
  162. font-weight: 500;
  163. margin-left: 12rpx;
  164. font-size: 32rpx;
  165. }
  166. .float-badge {
  167. position: fixed;
  168. left: 32rpx;
  169. top: 420rpx;
  170. z-index: 10;
  171. font-size: 28rpx;
  172. border-radius: 12rpx;
  173. box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.08);
  174. }
  175. .order-detail-footer {
  176. display: flex;
  177. justify-content: center;
  178. gap: 32rpx;
  179. position: fixed;
  180. left: 0;
  181. bottom: 0;
  182. width: 100vw;
  183. background: #fff;
  184. padding: 24rpx 0 32rpx 0;
  185. box-shadow: 0 -2rpx 8rpx rgba(0, 0, 0, 0.04);
  186. z-index: 100;
  187. .footer-btn {
  188. flex: 1;
  189. margin: 0 24rpx;
  190. font-size: 30rpx;
  191. border-radius: 12rpx;
  192. height: 88rpx;
  193. // loading状态下的置灰样式
  194. &.t-button--loading {
  195. opacity: 0.6;
  196. background-color: #f5f5f5 !important;
  197. color: #999 !important;
  198. }
  199. // disabled状态下的置灰样式
  200. &.t-button--disabled {
  201. opacity: 0.6;
  202. background-color: #f5f5f5 !important;
  203. color: #999 !important;
  204. }
  205. }
  206. }
  207. .table-row-alt {
  208. background: #f9f9f9 !important;
  209. }
  210. .total-title {
  211. font-weight: 500;
  212. font-size: 28rpx;
  213. color: black;
  214. }