123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840 |
- /* pages/orders/order-detail.wxss */
- page {
- height: 100vh;
- display: flex;
- flex-direction: column;
- background: #F4F4F4;
- }
- .container {
- display: flex;
- flex-direction: column;
- width: 100%;
- flex: 1;
- overflow-y: auto;
- position: relative;
- &::before {
- content: '';
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- height: 254rpx;
- background: linear-gradient(180deg, #FDEC00 0%, #FAD400 100%);
- }
- }
- .record-list {
- flex: 1;
- overflow-y: scroll;
- box-sizing: border-box;
- }
- .scroll-container {
- padding-bottom: 46rpx;
- overflow: hidden;
- }
- .order-status {
- margin: 24rpx 26rpx 0;
- background-color: #FFFFFF;
- border-radius: 20rpx;
- padding: 24rpx 32rpx;
- .status {
- display: flex;
- image {
- width: 48rpx;
- height: 48rpx;
- margin-right: 16rpx;
- }
- text {
- font-weight: 600;
- font-size: 36rpx;
- color: #131415;
- line-height: 48rpx;
- }
- }
- .tips {
- padding-top: 24rpx;
- font-size: 28rpx;
- color: #777777;
- line-height: 40rpx;
- }
- }
- .order-content {
- margin: 24rpx 26rpx 0;
- border-radius: 20rpx;
- padding: 28rpx 24rpx;
- background-color: #FFFFFF;
- }
- .item-content {
- display: flex;
- width: 100%;
- &+.item-content {
- padding-top: 40rpx;
- }
- .goods-icon {
- width: 140rpx;
- height: 140rpx;
- margin-right: 20rpx;
- flex-shrink: 0;
- border-radius: 11px;
- overflow: hidden;
- }
- .goods-desc {
- flex: 1 auto;
- display: flex;
- flex-direction: column;
- }
- .goodsInfo {
- display: flex;
- justify-content: space-between;
- align-items: center;
- padding-top: 12rpx;
- .goods-name {
- flex: 1 auto;
- white-space: nowrap;
- overflow: hidden;
- font-weight: 600;
- font-size: 30rpx;
- color: #333;
- line-height: 50rpx;
- text-overflow: ellipsis;
- max-width: 280rpx;
- }
- .goods-current-price {
- font-weight: bold;
- font-family: DINAlternate, DINAlternate;
- font-size: 28rpx;
- color: #131415;
- line-height: 48rpx;
- text {
- font-size: 36rpx;
- padding-left: 4rpx;
- }
- }
- }
- .goods-price {
- flex-shrink: 0;
- font-family: DINAlternate, DINAlternate;
- font-weight: bold;
- color: #131415;
- line-height: 48rpx;
- font-size: 28px;
- text {
- padding-left: 2rpx;
- font-size: 36rpx
- }
- .stuff {
- font-size: 28rpx;
- padding-right: 4rpx;
- }
- .priceZ {
- font-size: 40rpx;
- }
- .priceF {
- font-size: 32rpx;
- }
- }
- .goods-current-price {
- font-weight: bold;
- font-family: DINAlternate, DINAlternate;
- font-size: 28rpx;
- color: #131415;
- line-height: 48rpx;
- text {
- font-size: 36rpx;
- padding-left: 4rpx;
- }
- }
- .origin-price {
- font-weight: 400;
- font-size: 24rpx;
- color: #6D4718;
- line-height: 1;
- }
- .goods-type {
- display: flex;
- align-items: center;
- padding-top: 10rpx;
- justify-content: space-between;
- .goods-card {
- background: #FFF1E0;
- border-radius: 6rpx;
- font-size: 26rpx;
- color: #FE4600;
- line-height: 40rpx;
- padding: 0 12rpx;
- }
- .goods-num {
- font-size: 26rpx;
- color: #AAA;
- line-height: 36rpx;
- }
- }
- }
- .goodsInfos {
- margin-top: 30rpx;
- // border-top: 2rpx solid #F2F2F2;
- .qrcode-line {
- position: relative;
- // background: linear-gradient(to right, transparent 50%, rgba(219, 219, 219, 1) 50%) repeat-x; // 设置水平方向的线性渐变,透明与半透明色交替,模拟虚线线段
- // background-size: 10px 1px; // 设置背景大小,控制虚线的线段长度和粗细,这里线段长度为10px,粗细为1px
- background-color: #F2F2F2;
- height: 2rpx; // 元素高度,可根据实际需求调整,用于展示虚线效果的高度范围
- margin: 24rpx 0 28rpx;
- // &::before,
- // &::after {
- // content: '';
- // position: absolute;
- // top: -20rpx;
- // display: block;
- // width: 40rpx;
- // height: 40rpx;
- // background-color: #F4F4F4;
- // border-radius: 50%;
- // }
- // &::before {
- // left: -50rpx;
- // }
- // &::after {
- // right: -50rpx;
- // }
- }
- }
- .goodsInfo-item {
- display: flex;
- justify-content: space-between;
- align-items: center;
- padding-top: 28rpx;
- &:first-child {
- padding-top: 0;
- .title {
- color: #777;
- }
- }
- .title {
- font-weight: 400;
- font-size: 28rpx;
- color: #FE2451;
- line-height: 40rpx;
- }
- .goods-price {
- flex-shrink: 0;
- font-family: DINAlternate, DINAlternate;
- font-weight: bold;
- color: #131415;
- line-height: 48rpx;
- .stuff {
- font-size: 28rpx;
- padding-right: 4rpx;
- }
- .priceZ {
- font-size: 32rpx;
- }
- .priceF {
- font-size: 24rpx;
- }
- }
- .calc-price {
- // font-weight: bold;
- // font-size: 28rpx;
- color: #FF0047;
- // line-height: 32rpx;
- }
- }
- .goodsInfo-count {
- display: flex;
- justify-content: flex-end;
- .goods-price {
- flex-shrink: 0;
- font-family: DINAlternate, DINAlternate;
- font-weight: bold;
- color: #131415;
- // line-height: 48rpx;
- display: flex;
- align-items: flex-end;
- .before {
- font-weight: 400;
- font-size: 24rpx;
- color: #777777;
- vertical-align: middle;
- padding-right: 6rpx;
- }
- .red {
- color: #FE4600;
- }
- .stuff {
- font-size: 28rpx;
- padding-right: 4rpx;
- line-height: 1.1;
- }
- .priceZ {
- font-size: 36rpx;
- line-height: 1;
- color: #FE4600;
- }
- .priceF {
- font-size: 24rpx;
- color: #FE4600;
- }
- .afterTxt {
- font-weight: 400;
- font-size: 24rpx;
- color: #777777;
- vertical-align: middle;
- padding-left: 12rpx;
- }
- .afterPrice {
- color: #333333;
- font-size: 36rpx;
- line-height: 1;
- }
- }
- }
- .addBuyer {
- position: relative;
- margin: 26rpx;
- background: #fff;
- border-radius: 20rpx;
- display: flex;
- align-items: center;
- justify-content: space-between;
- padding: 24rpx;
- overflow: hidden;
- .addressTop {
- position: absolute;
- z-index: 1;
- top: 0;
- left: 0;
- width: 100%;
- }
- .icon-man {
- width: 44rpx;
- height: 44rpx;
- margin-right: 16rpx;
- flex-shrink: 0;
- &.selected {
- width: 36rpx;
- height: 36rpx;
- }
- }
- .addBuyer-left {
- display: flex;
- width: 100%;
- }
- .users {
- display: flex;
- font-weight: 600;
- font-size: 32rpx;
- color: #131415;
- line-height: 44rpx;
- // width: 540rpx;
- // white-space: nowrap;
- // overflow: hidden;
- // text-overflow: ellipsis;
- }
- .address {
- padding-bottom: 16rpx;
- font-size: 28rpx;
- color: #333333;
- font-weight: bold;
- line-height: 40rpx;
- display: flex;
- align-items: center;
- text {
- padding-right: 24rpx;
- &:last-child {
- color: #777777;
- font-weight: 400;
- }
- }
- }
- .selected {
- width: 100%;
- .users {
- font-weight: 400;
- font-size: 28rpx;
- color: #131415;
- display: block;
- // width: 600rpx;
- word-wrap: break-word;
- word-break: break-all;
- }
- .address {
- display: flex;
- // flex-direction: column;
- .userName {
- max-width: 300rpx;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- }
- }
- }
- .arrow-right {
- width: 24rpx;
- height: 24rpx;
- }
- }
- .goodsInfos {
- margin-top: 30rpx;
- // border-top: 2rpx solid #F2F2F2;
- .qrcode-line {
- position: relative;
- // background: linear-gradient(to right, transparent 50%, rgba(219, 219, 219, 1) 50%) repeat-x; // 设置水平方向的线性渐变,透明与半透明色交替,模拟虚线线段
- // background-size: 10px 1px; // 设置背景大小,控制虚线的线段长度和粗细,这里线段长度为10px,粗细为1px
- background-color: #F2F2F2;
- height: 2rpx; // 元素高度,可根据实际需求调整,用于展示虚线效果的高度范围
- margin: 24rpx 0 28rpx;
- // &::before,
- // &::after {
- // content: '';
- // position: absolute;
- // top: -20rpx;
- // display: block;
- // width: 40rpx;
- // height: 40rpx;
- // background-color: #F4F4F4;
- // border-radius: 50%;
- // }
- // &::before {
- // left: -50rpx;
- // }
- // &::after {
- // right: -50rpx;
- // }
- }
- }
- .goodsInfo-item {
- display: flex;
- justify-content: space-between;
- align-items: center;
- padding-top: 28rpx;
- &:first-child {
- padding-top: 0;
- .title {
- color: #777;
- }
- }
- .title {
- font-weight: 400;
- font-size: 28rpx;
- color: #FE2451;
- line-height: 40rpx;
- }
- .goods-price {
- flex-shrink: 0;
- font-family: DINAlternate, DINAlternate;
- font-weight: bold;
- color: #131415;
- line-height: 48rpx;
- .stuff {
- font-size: 28rpx;
- padding-right: 4rpx;
- }
- .priceZ {
- font-size: 32rpx;
- }
- .priceF {
- font-size: 24rpx;
- }
- }
- .calc-price {
- // font-weight: bold;
- // font-size: 28rpx;
- color: #FF0047;
- // line-height: 32rpx;
- }
- }
- /* HTML: <div class="loader"></div> */
- // .loader {
- // position: absolute;
- // top: 50%;
- // left: 50%;
- // right: 0;
- // bottom: 0;
- // margin-top: -50rpx;
- // margin-left: -50rpx;
- // z-index: 9;
- // width: 100rpx;
- // aspect-ratio: 1;
- // border-radius: 50%;
- // background:
- // radial-gradient(farthest-side, #E8E8E8 94%, #0000) top/8px 8px no-repeat,
- // conic-gradient(#0000 30%, #E8E8E8);
- // -webkit-mask: radial-gradient(farthest-side, #0000 calc(100% - 8px), #000 0);
- // animation: tempLoading 1s infinite linear;
- // }
- // @keyframes tempLoading {
- // 100% {
- // transform: rotate(1turn)
- // }
- // }
- .only_canvas {
- position: absolute;
- left: -300rpx;
- top: 0;
- width: 262rpx;
- height: 262rpx;
- }
- .qrcode-section {
- margin-top: 28rpx;
- border-top: 2rpx solid #F0F0F0;
- padding-top: 60rpx;
- padding-bottom: 32rpx;
- text-align: center;
- .qrcode-wrap {
- position: relative;
- margin: 0 auto;
- border: 3rpx solid #EDEDED;
- padding: 10rpx;
- display: inline-block;
- font-size: 0;
- }
- .my_draw_canvas {
- width: 262rpx;
- height: 262rpx;
- }
- .qrcode-text {
- margin-top: 32rpx;
- padding: 0 32rpx;
- font-weight: 500;
- font-size: 28rpx;
- color: #131415;
- line-height: 40rpx;
- &.used {
- color: #AAAAAA;
- }
- }
- .qrcode-btn--section {
- display: flex;
- align-items: center;
- justify-content: center;
- padding-top: 32rpx;
- button {
- border-radius: 78rpx;
- // line-height: 68rpx;
- padding: 14rpx 30rpx;
- width: auto;
- border-radius: 68rpx;
- font-weight: 500;
- font-size: 28rpx;
- margin: 0 16rpx;
- min-width: 200rpx;
- box-sizing: border-box;
- &[disabled] {
- opacity: 0.7;
- }
- }
- .submit {
- background: linear-gradient(270deg, #FF7B57 0%, #FF3460 100%);
- color: #FFFFFF;
- }
- .download {
- background: #FEEDF0;
- color: #FE2451;
- }
- }
- }
- .buyUsers {
- position: relative;
- margin: 24rpx 26rpx 0;
- background: #FFFFFF;
- border-radius: 20rpx;
- padding: 28rpx 24rpx;
- .buyuser_img {
- position: absolute;
- top: 0;
- right: 0;
- width: 160rpx !important;
- }
- .users {
- font-size: 32rpx;
- color: #777;
- display: flex;
- .username {
- display: inline-block;
- max-width: 250rpx;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- }
- text {
- color: #131415;
- font-weight: bold;
- padding-right: 12rpx;
- }
- }
- .detail {
- padding-top: 8rpx;
- font-size: 26rpx;
- color: #777777;
- line-height: 36rpx;
- }
- }
- .order-time {
- margin: 24rpx 26rpx 0;
- border-radius: 20rpx;
- padding: 0 24rpx;
- background-color: #FFFFFF;
- .line {
- width: 100%;
- height: 2rpx;
- background: #F2F2F2;
- margin-bottom: 28rpx;
- }
- .order-item {
- display: flex;
- justify-content: space-between;
- padding: 36rpx 0;
- border-bottom: 2rpx solid #F0F0F0;
- &:last-child {
- border-bottom: 0;
- }
- .title {
- font-size: 30rpx;
- color: #131415;
- line-height: 40rpx;
- flex-shrink: 0;
- font-weight: bold;
- padding-right: 46rpx;
- }
- .value {
- font-size: 30rpx;
- color: #777777;
- line-height: 42rpx;
- display: flex;
- align-items: center;
- text-align: right;
- word-break: break-all;
- word-wrap: break-word;
- &.red {
- color: #FE2451;
- }
- &.expanded {
- .iconDown {
- transform: rotate(0deg);
- }
- }
- .iconDown {
- margin-left: 8rpx;
- width: 24rpx;
- height: 24rpx;
- transform: rotate(180deg);
- }
- .copy {
- font-size: 30rpx;
- color: #131415;
- line-height: 42rpx;
- display: flex;
- align-items: center;
- &.cell-line {
- margin-left: 16rpx;
- &::before {
- content: '';
- width: 2rpx;
- height: 22rpx;
- background: #DCDCDC;
- margin-right: 16rpx;
- }
- }
- }
- }
- }
- }
- .btn-refound {
- padding-top: 40rpx;
- text-align: center;
- font-size: 28rpx;
- color: #A7ABAF;
- line-height: 40rpx;
- }
- .order-btn {
- position: fixed;
- bottom: 0;
- left: 0;
- width: 100%;
- background-color: #FFFFFF;
- padding: 20rpx 32rpx 58rpx 40rpx;
- display: flex;
- justify-content: space-between;
- box-sizing: border-box;
- .orders {
- display: flex;
- flex-direction: column;
- margin-right: 40rpx;
- image {
- width: 48rpx;
- height: 48rpx;
- }
- text {
- font-weight: 500;
- font-size: 22rpx;
- color: #131415;
- line-height: 32rpx;
- text-align: center;
- }
- }
- .price {
- display: flex;
- align-items: center;
- .desc {
- font-weight: 500;
- font-size: 28rpx;
- color: #131415;
- line-height: 40rpx;
- }
- .currentPrice {
- font-weight: bold;
- color: #FE2451;
- font-family: DINAlternate, DINAlternate;
- .stuff {
- font-size: 32rpx;
- }
- .priceZ {
- font-size: 56rpx;
- }
- .priceF {
- font-size: 32rpx;
- }
- }
- }
- button {
- margin: 0;
- width: 100%;
- background: linear-gradient(270deg, #FF204B 0%, #FE5B71 100%);
- border-radius: 78rpx;
- padding: 22rpx 84rpx;
- font-weight: 500;
- font-size: 32rpx;
- color: #FFFFFF;
- line-height: 44rpx;
- &[disabled][type=primary] {
- color: #fff;
- background: linear-gradient(270deg, #FF204B 0%, #FE5B71 100%);
- opacity: 0.7;
- }
- }
- }
|