info.wxss 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347
  1. /* pages/order/user/info/info.wxss */
  2. @import "./info.skeleton.wxss";
  3. page {
  4. background: #F8F8F8;
  5. }
  6. .qianshou {
  7. display: flex;
  8. align-items: center;
  9. justify-content: space-between;
  10. flex-flow: row;
  11. padding: 0 40rpx;
  12. height: 142rpx;
  13. }
  14. .status {
  15. flex: 1;
  16. padding-left: 25rpx;
  17. }
  18. .statusText {
  19. font-weight: 600;
  20. font-size: 32rpx;
  21. color: #1A1A1A;
  22. }
  23. .statusStr {
  24. font-weight: 400;
  25. font-size: 24rpx;
  26. color: #1A1A1A;
  27. }
  28. .orderCheck {
  29. padding: 40rpx;
  30. background: #FFFFFF;
  31. }
  32. .orderStatus {
  33. display: flex;
  34. flex-flow: row;
  35. justify-content: space-between;
  36. color: #A19F9F;
  37. }
  38. .statusItem {
  39. width: 118rpx;
  40. text-align: center;
  41. }
  42. .statusItem.active,
  43. .jiantou.active {
  44. color: #00BC8A;
  45. border-color: #00BC8A;
  46. }
  47. .jiantou {
  48. width: 59rpx;
  49. border-top: 1rpx solid #A19F9F;
  50. margin-top: 20rpx;
  51. }
  52. .statusItem .iconfont {
  53. font-size: 44rpx;
  54. }
  55. .itemText {
  56. font-size: 20rpx;
  57. line-height: 50rpx;
  58. }
  59. .itemDate {
  60. font-size: 16rpx;
  61. line-height: 20rpx;
  62. }
  63. .checkStep {
  64. background: #F8F8F8;
  65. padding: 24rpx;
  66. box-sizing: border-box;
  67. margin-top: 26rpx;
  68. }
  69. .stepItem {
  70. display: flex;
  71. flex-flow: row;
  72. align-items: flex-start;
  73. justify-content: space-between;
  74. }
  75. .stepItem .left {
  76. flex: 0 auto;
  77. height: 136rpx;
  78. display: flex;
  79. flex-flow: column;
  80. text-align: center;
  81. align-items: center;
  82. margin-bottom: 4rpx;
  83. }
  84. .dashed {
  85. flex: 1;
  86. width: 1rpx;
  87. border-left: 1rpx dashed #000000;
  88. margin-top: 4rpx;
  89. }
  90. .icon-a-Check23 {}
  91. .stepItem .right {
  92. flex: 1;
  93. padding-left: 20rpx;
  94. }
  95. .checkName {
  96. font-weight: 500;
  97. font-size: 24rpx;
  98. color: #222222;
  99. line-height: 48rpx;
  100. }
  101. .checkDate {
  102. font-weight: 400;
  103. font-size: 20rpx;
  104. color: #A2A2A2;
  105. line-height: 30rpx;
  106. }
  107. .titleText {
  108. position: sticky !important;
  109. position: -webkit-sticky !important;
  110. top: 0;
  111. background: #FFFFFF;
  112. z-index: 9;
  113. }
  114. .goodsList {
  115. /* 确保内容溢出时隐藏 */
  116. overflow: hidden;
  117. /* 初始高度设置为0 */
  118. min-height: 260rpx;
  119. max-height: 780rpx;
  120. /* 高度变化持续时间为2秒 */
  121. transition: max-height 1s;
  122. /* 只是为了看到效果 */
  123. will-change: max-height;
  124. }
  125. .goodsList.active {
  126. height: auto;
  127. }
  128. .goodsInfo {
  129. display: flex;
  130. flex-flow: row;
  131. flex-wrap: nowrap;
  132. align-items: center;
  133. justify-content: space-between;
  134. background: #FFFFFF;
  135. padding: 50rpx 24rpx;
  136. padding-left: 0;
  137. }
  138. .goodsInfo image {
  139. width: 160rpx;
  140. height: 160rpx;
  141. background: #E8E8E8;
  142. }
  143. .goods {
  144. flex: 1;
  145. height: 160rpx;
  146. padding-left: 32rpx;
  147. display: flex;
  148. flex-flow: column;
  149. justify-content: space-between;
  150. }
  151. .goods .name {
  152. font-weight: 500;
  153. font-size: 24rpx;
  154. color: #202020;
  155. }
  156. .goods .brief {
  157. flex: 1;
  158. margin: 10rpx 0;
  159. font-weight: 400;
  160. font-size: 20rpx;
  161. color: #424242;
  162. }
  163. .priceTool {
  164. display: flex;
  165. flex-wrap: nowrap;
  166. flex-flow: row;
  167. align-items: center;
  168. justify-content: space-between;
  169. }
  170. .priceTool>view:first-child {
  171. font-weight: bold;
  172. font-size: 32rpx;
  173. color: #202020;
  174. line-height: 1.2;
  175. }
  176. .number {
  177. flex: 1;
  178. text-align: right;
  179. }
  180. .goodsPrice {
  181. line-height: 120rpx;
  182. font-weight: 400;
  183. font-size: 40rpx;
  184. color: #D1222C;
  185. line-height: 40rpx;
  186. text-align: right;
  187. padding-right: 50rpx;
  188. border-top: 1rpx solid #F8F8F8;
  189. }
  190. .goodsOpen {
  191. line-height: 84rpx;
  192. text-align: center;
  193. font-weight: 400;
  194. font-size: 24rpx;
  195. color: #000000;
  196. }
  197. .goodsOpen::before {
  198. color: #D4D4D4;
  199. border-radius: 50%;
  200. border: 2rpx solid #D4D4D4;
  201. padding-left: 2rpx;
  202. box-sizing: border-box;
  203. margin-right: 20rpx;
  204. }
  205. .goodsOpen.active::before {
  206. content: '\e761' !important;
  207. }
  208. .goodsPrice text {
  209. line-height: 120rpx;
  210. font-size: 28rpx;
  211. color: #4E4E4E;
  212. }
  213. .goodsPrice .rmb2 {
  214. line-height: 120rpx;
  215. color: #D1222C;
  216. }
  217. .orderInfo .cell {
  218. font-size: 20rpx;
  219. min-height: 36rpx !important;
  220. color: #999999;
  221. }
  222. .orderInfo .cell view:first-child {
  223. min-width: 200rpx;
  224. }
  225. .orderInfo .cell view {
  226. font-size: 20rpx;
  227. line-height: 36rpx;
  228. color: #999999;
  229. }
  230. .finallyImg {
  231. /* display: flex; */
  232. /* flex-flow: row; */
  233. /* flex-wrap: wrap; */
  234. /* justify-content: space-between; */
  235. }
  236. .finallyImg image {
  237. width: 160rpx;
  238. height: 160rpx;
  239. background: #F8F8F8;
  240. border-radius: 8rpx;
  241. border: 1rpx solid #A2A2A2;
  242. margin-right: 10rpx;
  243. margin-bottom: 10rpx;
  244. vertical-align: top;
  245. position: relative;
  246. font-size: 60rpx;
  247. }
  248. .finallyImg image:nth-child(4) {
  249. margin-right: 0;
  250. }
  251. .finallyImg image:not(:last-child)::before {
  252. font-size: 60rpx;
  253. position: absolute;
  254. width: 100%;
  255. height: 100%;
  256. padding-left: 50rpx;
  257. padding-top: 50rpx;
  258. background-color: rgba(255, 255, 255, 0.4);
  259. }
  260. .imgText {
  261. font-weight: 400;
  262. font-size: 16rpx;
  263. color: #000000;
  264. line-height: 25rpx;
  265. }
  266. .sticky-element {
  267. display: none !important;
  268. font-size: 24rpx;
  269. line-height: 40rpx;
  270. float: right;
  271. vertical-align: middle;
  272. clear: both;
  273. }
  274. .sticky-element::before {
  275. color: #D4D4D4;
  276. border-radius: 50%;
  277. border: 2rpx solid #D4D4D4;
  278. padding-left: 2rpx;
  279. box-sizing: border-box;
  280. margin-right: 20rpx;
  281. }
  282. .goodsInfoPannel::sticky {
  283. background: red;
  284. }
  285. .checkNumber::after {
  286. content: "\eb4e";
  287. }
  288. @supports ((position: sticky) or (position: -webkit-sticky)) and (top: 0) {
  289. .goodsInfoPannel .sticky-element {
  290. display: block !important;
  291. /* 显示元素 */
  292. }
  293. }