/* pages/order/user/info/info.wxss */ @import "./info.skeleton.wxss"; page { background: #F8F8F8; } .qianshou { display: flex; align-items: center; justify-content: space-between; flex-flow: row; padding: 0 40rpx; height: 142rpx; } .status { flex: 1; padding-left: 25rpx; } .statusText { font-weight: 600; font-size: 32rpx; color: #1A1A1A; } .statusStr { font-weight: 400; font-size: 24rpx; color: #1A1A1A; } .orderCheck { padding: 40rpx; background: #FFFFFF; } .orderStatus { display: flex; flex-flow: row; justify-content: space-between; color: #A19F9F; } .statusItem { width: 118rpx; text-align: center; } .statusItem.active, .jiantou.active { color: #00BC8A; border-color: #00BC8A; } .jiantou { width: 59rpx; border-top: 1rpx solid #A19F9F; margin-top: 20rpx; } .statusItem .iconfont { font-size: 44rpx; } .itemText { font-size: 20rpx; line-height: 50rpx; } .itemDate { font-size: 16rpx; line-height: 20rpx; } .checkStep { background: #F8F8F8; padding: 24rpx; box-sizing: border-box; margin-top: 26rpx; } .stepItem { display: flex; flex-flow: row; align-items: flex-start; justify-content: space-between; } .stepItem .left { flex: 0 auto; height: 136rpx; display: flex; flex-flow: column; text-align: center; align-items: center; margin-bottom: 4rpx; } .dashed { flex: 1; width: 1rpx; border-left: 1rpx dashed #000000; margin-top: 4rpx; } .icon-a-Check23 {} .stepItem .right { flex: 1; padding-left: 20rpx; } .checkName { font-weight: 500; font-size: 24rpx; color: #222222; line-height: 48rpx; } .checkDate { font-weight: 400; font-size: 20rpx; color: #A2A2A2; line-height: 30rpx; } .titleText { position: sticky !important; position: -webkit-sticky !important; top: 0; background: #FFFFFF; z-index: 9; } .goodsList { /* 确保内容溢出时隐藏 */ overflow: hidden; /* 初始高度设置为0 */ min-height: 260rpx; max-height: 780rpx; /* 高度变化持续时间为2秒 */ transition: max-height 1s; /* 只是为了看到效果 */ will-change: max-height; } .goodsList.active { height: auto; } .goodsInfo { display: flex; flex-flow: row; flex-wrap: nowrap; align-items: center; justify-content: space-between; background: #FFFFFF; padding: 50rpx 24rpx; padding-left: 0; } .goodsInfo image { width: 160rpx; height: 160rpx; background: #E8E8E8; } .goods { flex: 1; height: 160rpx; padding-left: 32rpx; display: flex; flex-flow: column; justify-content: space-between; } .goods .name { font-weight: 500; font-size: 24rpx; color: #202020; } .goods .brief { flex: 1; margin: 10rpx 0; font-weight: 400; font-size: 20rpx; color: #424242; } .priceTool { display: flex; flex-wrap: nowrap; flex-flow: row; align-items: center; justify-content: space-between; } .priceTool>view:first-child { font-weight: bold; font-size: 32rpx; color: #202020; line-height: 1.2; } .number { flex: 1; text-align: right; } .goodsPrice { line-height: 120rpx; font-weight: 400; font-size: 40rpx; color: #D1222C; line-height: 40rpx; text-align: right; padding-right: 50rpx; border-top: 1rpx solid #F8F8F8; } .goodsOpen { line-height: 84rpx; text-align: center; font-weight: 400; font-size: 24rpx; color: #000000; } .goodsOpen::before { color: #D4D4D4; border-radius: 50%; border: 2rpx solid #D4D4D4; padding-left: 2rpx; box-sizing: border-box; margin-right: 20rpx; } .goodsOpen.active::before { content: '\e761' !important; } .goodsPrice text { line-height: 120rpx; font-size: 28rpx; color: #4E4E4E; } .goodsPrice .rmb2 { line-height: 120rpx; color: #D1222C; } .orderInfo .cell { font-size: 20rpx; min-height: 36rpx !important; color: #999999; } .orderInfo .cell view:first-child { min-width: 200rpx; } .orderInfo .cell view { font-size: 20rpx; line-height: 36rpx; color: #999999; } .finallyImg { /* display: flex; */ /* flex-flow: row; */ /* flex-wrap: wrap; */ /* justify-content: space-between; */ } .finallyImg image { width: 160rpx; height: 160rpx; background: #F8F8F8; border-radius: 8rpx; border: 1rpx solid #A2A2A2; margin-right: 10rpx; margin-bottom: 10rpx; vertical-align: top; position: relative; font-size: 60rpx; } .finallyImg image:nth-child(4) { margin-right: 0; } .finallyImg image:not(:last-child)::before { font-size: 60rpx; position: absolute; width: 100%; height: 100%; padding-left: 50rpx; padding-top: 50rpx; background-color: rgba(255, 255, 255, 0.4); } .imgText { font-weight: 400; font-size: 16rpx; color: #000000; line-height: 25rpx; } .sticky-element { display: none !important; font-size: 24rpx; line-height: 40rpx; float: right; vertical-align: middle; clear: both; } .sticky-element::before { color: #D4D4D4; border-radius: 50%; border: 2rpx solid #D4D4D4; padding-left: 2rpx; box-sizing: border-box; margin-right: 20rpx; } .goodsInfoPannel::sticky { background: red; } .checkNumber::after { content: "\eb4e"; } @supports ((position: sticky) or (position: -webkit-sticky)) and (top: 0) { .goodsInfoPannel .sticky-element { display: block !important; /* 显示元素 */ } }