diff --git a/pages/shopping/pdd/components/list-card/list-card.vue b/pages/shopping/pdd/components/list-card/list-card.vue index ad5a6ca..f3b8734 100644 --- a/pages/shopping/pdd/components/list-card/list-card.vue +++ b/pages/shopping/pdd/components/list-card/list-card.vue @@ -224,8 +224,7 @@ const toDetail = (id) => { .product-box { padding: 0 24rpx; padding-bottom: 14rpx; - margin-bottom: 10rpx; - border-bottom: 1rpx solid #EFEFEF; + // border-bottom: 1rpx solid #EFEFEF; .product-img-box { width: 148rpx; @@ -328,6 +327,7 @@ const toDetail = (id) => { margin-bottom: 16rpx; padding: 0 16rpx; padding-bottom: 14rpx; + padding-top: 10rpx; &::after { content: ""; @@ -337,8 +337,20 @@ const toDetail = (id) => { right: 0; width: 100%; height: 1px; - transform: scaleY(0.3); - background-color: #D2D2D2; + transform: scaleY(0.5); + background-color: #EFEFEF; + } + + &::before { + content: ""; + position: absolute; + top: 0; + left: 0; + right: 0; + width: 100%; + height: 1px; + transform: scaleY(0.5); + background-color: #EFEFEF; } .avatar-group { @@ -474,13 +486,21 @@ const toDetail = (id) => { } .delivery-content { + display: flex; + align-items: center; font-size: 24rpx; + white-space: nowrap; .green-text { color: #2BB40C; } .gray-text { + flex: 1; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; + width: 100px; color: #595959; margin-left: 10rpx; } diff --git a/pages/shopping/pdd/list-index.vue b/pages/shopping/pdd/list-index.vue index 1634efb..aa23430 100644 --- a/pages/shopping/pdd/list-index.vue +++ b/pages/shopping/pdd/list-index.vue @@ -132,7 +132,29 @@ const buttonGroup = [ chooseImage(); }, 400); } - }, + }, { + name: "切换优惠券", + click: () => { + scrollIntoId.value = ''; + setTimeout(() => { + scrollIntoId.value = 'bottom-anchor'; + }, 50); + setTimeout(() => { + chooseImage(); + }, 400); + } + }, { + name: "显示618活动券", + click: () => { + scrollIntoId.value = ''; + setTimeout(() => { + scrollIntoId.value = 'bottom-anchor'; + }, 50); + setTimeout(() => { + chooseImage(); + }, 400); + } + } ] onLoad(() => { diff --git a/pages/shopping/pdd/order-detail/order-detail.vue b/pages/shopping/pdd/order-detail/order-detail.vue index 2aabe1c..5423e31 100644 --- a/pages/shopping/pdd/order-detail/order-detail.vue +++ b/pages/shopping/pdd/order-detail/order-detail.vue @@ -259,7 +259,7 @@