From 205e074238ad9470c1cff4eabec7dbd331f8cd2e Mon Sep 17 00:00:00 2001
From: doudou201703 <84085676+doudou201703@users.noreply.github.com>
Date: Mon, 17 Aug 2026 23:35:30 +0800
Subject: [PATCH] =?UTF-8?q?six=5Funiapp=5F0003(=E6=9B=B4=E6=96=B0=E9=80=9A?=
=?UTF-8?q?=E7=94=A8=E7=9A=84=E5=AD=90=E7=BB=84=E4=BB=B6=E8=AF=AD=E6=B3=95?=
=?UTF-8?q?)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/ChildComScroll.vue | 440 +++-----
src/pageTabBar/Home/Home.vue | 92 +-
src/pageTabBar/Me/Me.vue | 95 +-
src/pages/index.vue | 21 +-
.../商品详情页面/goods-com-pay-card.vue | 2 +-
.../商品详情页面/商品详情页面.vue | 97 +-
.../商城页面目录/PageShangCheng.vue | 31 +-
.../物流追踪页面/物流追踪页面.vue | 972 +++++++++---------
.../用户积分页面/用户积分页面.vue | 2 +-
.../用户配送地址页面/用户配送地址页面.vue | 57 +-
.../订单数据页面/订单数据页面.vue | 170 +--
11 files changed, 954 insertions(+), 1025 deletions(-)
diff --git a/src/components/ChildComScroll.vue b/src/components/ChildComScroll.vue
index 835a0f5..eafa31a 100644
--- a/src/components/ChildComScroll.vue
+++ b/src/components/ChildComScroll.vue
@@ -1,138 +1,87 @@
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
-
\ No newline at end of file
+ pxScreenHeight.value = info_window.screenHeight * pix + "rpx";
+ pxWindowHeight.value = window屏幕可用高度.value + "rpx";
+
diff --git a/src/pageTabBar/Home/Home.vue b/src/pageTabBar/Home/Home.vue
index 8efd748..820267a 100644
--- a/src/pageTabBar/Home/Home.vue
+++ b/src/pageTabBar/Home/Home.vue
@@ -107,41 +107,40 @@
}
}
-
- .scrollTopHeigh {
- /*在滚动区域内的, 可以自定义的高度*/
+ .grit-content {
+ height: calc(v-bind(pxWindowHeight) - v-bind(statusHeight));
+ display: grid;
+ grid-template-columns: 1fr;
+ grid-auto-rows: auto 1fr auto;
box-sizing: border-box;
- height: $defaultTopHeight;
- background-color: rgba(255, 255, 255, 0.05);
- }
+ .scrollTopHeigh {
+ /*在滚动区域内的, 可以自定义的高度*/
+ box-sizing: border-box;
+ //background-color: rgba(255, 255, 255, 0.05);
+ }
- .scrollViewHeigh {
- /*滚动页面区域范围*/
- box-sizing: border-box;
- font-size: 1rem;
- height: calc(v-bind(pxScrollHeight) - v-bind(statusHeight) - #{$defaultTopHeight} - #{$xiaoBottomHeigh});
- overflow: hidden;
+ .scrollViewHeigh {
+ /*滚动页面区域范围*/
+ box-sizing: border-box;
+ font-size: 1rem;
+ overflow: hidden;
- :deep() {
- /*button按钮的 阴影样式可以直接使用*/
- .custom-class-button {
- box-shadow: 0 3px 1px -2px rgb(0 0 0 / 20%), 0 2px 2px 0 rgb(0 0 0 / 14%), 0 1px 5px 0 rgb(0 0 0 / 12%);
+ :deep() {
+ /*button按钮的 阴影样式可以直接使用*/
+ .custom-class-button {
+ box-shadow: 0 3px 1px -2px rgb(0 0 0 / 20%), 0 2px 2px 0 rgb(0 0 0 / 14%), 0 1px 5px 0 rgb(0 0 0 / 12%);
+ }
}
}
-
+ .scrollBottomHeigh {
+ box-sizing: border-box;
+ height: 1px;
+ @include line-color();
+ }
}
- .scrollBottomHeigh {
- box-sizing: border-box;
- height: $xiaoBottomHeigh;
- @include line-color();
- }
-
- .fixed-is-show {
- transition: opacity 0.3s ease, transform 0.3s ease;
- }
}
@@ -150,9 +149,10 @@
-
@@ -166,23 +166,27 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
diff --git a/src/pageTabBar/Me/Me.vue b/src/pageTabBar/Me/Me.vue
index 6f0b1af..287c393 100644
--- a/src/pageTabBar/Me/Me.vue
+++ b/src/pageTabBar/Me/Me.vue
@@ -91,6 +91,39 @@
}
}
+ .grit-content {
+ height: calc(v-bind(pxWindowHeight) - v-bind(statusHeight));
+ display: grid;
+ grid-template-columns: 1fr;
+ grid-auto-rows: auto 1fr auto;
+ box-sizing: border-box;
+
+ .scrollTopHeigh {
+ /*在滚动区域内的, 可以自定义的高度*/
+ box-sizing: border-box;
+ //background-color: rgba(255, 255, 255, 0.05);
+ }
+
+ .scrollViewHeigh {
+ /*滚动页面区域范围*/
+ box-sizing: border-box;
+ font-size: 1rem;
+ overflow: hidden;
+
+ :deep() {
+ /*button按钮的 阴影样式可以直接使用*/
+ .custom-class-button {
+ box-shadow: 0 3px 1px -2px rgb(0 0 0 / 20%), 0 2px 2px 0 rgb(0 0 0 / 14%), 0 1px 5px 0 rgb(0 0 0 / 12%);
+ }
+ }
+ }
+
+ .scrollBottomHeigh {
+ box-sizing: border-box;
+ height: 1px;
+ @include line-color();
+ }
+ }
.scrollTopHeigh {
/*在滚动区域内的, 可以自定义的高度*/
@@ -154,39 +187,45 @@
-
-
-
-
-
-
- 搜索
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
+
+
diff --git a/src/pages/index.vue b/src/pages/index.vue
index 0dfa083..849ffde 100644
--- a/src/pages/index.vue
+++ b/src/pages/index.vue
@@ -159,8 +159,8 @@
内容
- 信息按钮
+ @click="小程序发起支付" custom-class="custom-shadow">
+ 小程序发起支付
@@ -177,12 +177,13 @@
diff --git a/src/subPackages/homeSubPages/商品详情页面/goods-com-pay-card.vue b/src/subPackages/homeSubPages/商品详情页面/goods-com-pay-card.vue
index ee1568c..0e5e7a2 100644
--- a/src/subPackages/homeSubPages/商品详情页面/goods-com-pay-card.vue
+++ b/src/subPackages/homeSubPages/商品详情页面/goods-com-pay-card.vue
@@ -730,7 +730,7 @@
async function 打开支付弹窗(): Promise {
showRules.value = true;
- await wx.vibrateShort({type: "medium"});//medium heavy light
+ await wx.vibrateShort({type: "medium"}); //medium heavy light
}
async function 关闭弹框(): Promise {
diff --git a/src/subPackages/homeSubPages/商品详情页面/商品详情页面.vue b/src/subPackages/homeSubPages/商品详情页面/商品详情页面.vue
index 0dd68fd..12860d5 100644
--- a/src/subPackages/homeSubPages/商品详情页面/商品详情页面.vue
+++ b/src/subPackages/homeSubPages/商品详情页面/商品详情页面.vue
@@ -92,37 +92,46 @@
}
}
-
- .scrollTopHeigh {
- /*在滚动区域内的, 可以自定义的高度*/
+ .grit-content {
+ height: calc(v-bind(pxWindowHeight) - v-bind(statusHeight));
+ display: grid;
+ grid-template-columns: 1fr;
+ grid-auto-rows: auto 1fr auto;
box-sizing: border-box;
- height: $defaultTopHeight;
- background-color: rgba(255, 255, 255, 0.05);
- }
-
- .scrollViewHeigh {
- /*滚动页面区域范围*/
- box-sizing: border-box;
- font-size: 1rem;
- height: calc(v-bind(pxScrollHeight) - v-bind(statusHeight) - #{$defaultTopHeight} - #{$xiaoBottomHeigh});
- overflow: hidden;
-
- :deep() {
- /*button按钮的 阴影样式可以直接使用*/
- .custom-shadow {
- box-shadow: 0 3px 1px -2px rgb(0 0 0 / 20%), 0 2px 2px 0 rgb(0 0 0 / 14%), 0 1px 5px 0 rgb(0 0 0 / 12%);
- }
+ .scrollTopHeigh {
+ /*在滚动区域内的, 可以自定义的高度*/
+ box-sizing: border-box;
+ height: $defaultTopHeight;
+ background-color: rgba(255, 255, 255, 0.05);
}
+ .scrollViewHeigh {
+ /*滚动页面区域范围*/
+ box-sizing: border-box;
+ font-size: 1rem;
+ height: calc(v-bind(pxScrollHeight) - v-bind(statusHeight) - #{$defaultTopHeight} - #{$xiaoBottomHeigh});
+ overflow: hidden;
+
+ :deep() {
+ /*button按钮的 阴影样式可以直接使用*/
+ .custom-shadow {
+ box-shadow: 0 3px 1px -2px rgb(0 0 0 / 20%), 0 2px 2px 0 rgb(0 0 0 / 14%), 0 1px 5px 0 rgb(0 0 0 / 12%);
+ }
+ }
+
+
+ }
+
+ .scrollBottomHeigh {
+ box-sizing: border-box;
+ height: $xiaoBottomHeigh;
+ //@include line-color();
+ }
+
}
- .scrollBottomHeigh {
- box-sizing: border-box;
- height: $xiaoBottomHeigh;
- //@include line-color();
- }
}
@@ -147,27 +156,29 @@
-
-
-
-
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
diff --git a/src/subPackages/homeSubPages/商城页面目录/PageShangCheng.vue b/src/subPackages/homeSubPages/商城页面目录/PageShangCheng.vue
index e494ab6..cb097c3 100644
--- a/src/subPackages/homeSubPages/商城页面目录/PageShangCheng.vue
+++ b/src/subPackages/homeSubPages/商城页面目录/PageShangCheng.vue
@@ -91,7 +91,7 @@
.grit-content {
- height: calc(v-bind(pxScrollHeight) - v-bind(statusHeight));
+ height: calc(v-bind(pxWindowHeight) - v-bind(statusHeight));
display: grid;
grid-template-columns: 1fr;
grid-auto-rows: auto 1fr auto;
@@ -329,21 +329,22 @@
-
-
-
-
-
-
- 搜索
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/subPackages/homeSubPages/物流追踪页面/物流追踪页面.vue b/src/subPackages/homeSubPages/物流追踪页面/物流追踪页面.vue
index 4d746ea..c957f8d 100644
--- a/src/subPackages/homeSubPages/物流追踪页面/物流追踪页面.vue
+++ b/src/subPackages/homeSubPages/物流追踪页面/物流追踪页面.vue
@@ -138,429 +138,439 @@
}
}
-
- .scrollTopHeigh {
- /*在滚动区域内的, 可以自定义的高度*/
+ .grit-content {
+ height: calc(v-bind(pxWindowHeight) - v-bind(statusHeight));
+ display: grid;
+ grid-template-columns: 1fr;
+ grid-auto-rows: auto 1fr auto;
box-sizing: border-box;
- height: $defaultTopHeight;
- background-color: rgba(255, 255, 255, 0.05);
- }
-
- .scrollViewHeigh {
- /*滚动页面区域范围*/
- box-sizing: border-box;
- font-size: 1rem;
- height: calc(v-bind(pxScrollHeight) - v-bind(statusHeight) - #{$defaultTopHeight} - #{$xiaoBottomHeigh});
- overflow: hidden;
-
- :deep() {
- /*button按钮的 阴影样式可以直接使用*/
- .custom-shadow {
- box-shadow: 0 3px 1px -2px rgb(0 0 0 / 20%), 0 2px 2px 0 rgb(0 0 0 / 14%), 0 1px 5px 0 rgb(0 0 0 / 12%);
- }
- }
-
- .page {
- padding: 0 24rpx 48rpx;
+ .scrollTopHeigh {
+ /*在滚动区域内的, 可以自定义的高度*/
box-sizing: border-box;
+ height: $defaultTopHeight;
+ background-color: rgba(255, 255, 255, 0.05);
}
- /* 顶部导航栏 */
- .navbar {
- display: flex;
- align-items: center;
- justify-content: space-between;
- padding: 20rpx 0 24rpx;
- position: sticky;
- top: 0;
- z-index: 10;
- backdrop-filter: blur(20rpx);
- background: rgba(255, 255, 255, 0.8);
- .navbar-back {
- font-size: 48rpx;
- font-weight: 300;
- opacity: 0.7;
- padding: 10rpx;
+ .scrollViewHeigh {
+ /*滚动页面区域范围*/
+ box-sizing: border-box;
+ font-size: 1rem;
+ height: calc(v-bind(pxScrollHeight) - v-bind(statusHeight) - #{$defaultTopHeight} - #{$xiaoBottomHeigh});
+ overflow: hidden;
+
+ :deep() {
+ /*button按钮的 阴影样式可以直接使用*/
+ .custom-shadow {
+ box-shadow: 0 3px 1px -2px rgb(0 0 0 / 20%), 0 2px 2px 0 rgb(0 0 0 / 14%), 0 1px 5px 0 rgb(0 0 0 / 12%);
+ }
}
- .navbar-title {
- font-size: 36rpx;
- font-weight: 600;
+ .page {
+ padding: 0 24rpx 48rpx;
+ box-sizing: border-box;
}
- .navbar-share {
- font-size: 36rpx;
- font-weight: 700;
- opacity: 0.5;
- padding: 10rpx;
+ /* 顶部导航栏 */
+ .navbar {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ padding: 20rpx 0 24rpx;
+ position: sticky;
+ top: 0;
+ z-index: 10;
+ backdrop-filter: blur(20rpx);
+ background: rgba(255, 255, 255, 0.8);
+
+ .navbar-back {
+ font-size: 48rpx;
+ font-weight: 300;
+ opacity: 0.7;
+ padding: 10rpx;
+ }
+
+ .navbar-title {
+ font-size: 36rpx;
+ font-weight: 600;
+ }
+
+ .navbar-share {
+ font-size: 36rpx;
+ font-weight: 700;
+ opacity: 0.5;
+ padding: 10rpx;
+ }
}
- }
- /* 快递信息卡片 */
- .express-card {
- background: rgba(128, 128, 128, 0.05);
- border-radius: 28rpx;
- padding: 28rpx;
- margin-bottom: 24rpx;
+ /* 快递信息卡片 */
+ .express-card {
+ background: rgba(128, 128, 128, 0.05);
+ border-radius: 28rpx;
+ padding: 28rpx;
+ margin-bottom: 24rpx;
- .express-header {
- margin-bottom: 20rpx;
+ .express-header {
+ margin-bottom: 20rpx;
- .express-company {
- display: flex;
- align-items: center;
- gap: 12rpx;
- margin-bottom: 12rpx;
-
- :deep(.custom-class-img) {
- width: 100%;
- height: 100%;
+ .express-company {
display: flex;
- border-radius: 50%;
- justify-content: center;
align-items: center;
+ gap: 12rpx;
+ margin-bottom: 12rpx;
- .custom-image {
+ :deep(.custom-class-img) {
width: 100%;
height: 100%;
+ display: flex;
+ border-radius: 50%;
+ justify-content: center;
+ align-items: center;
+
+ .custom-image {
+ width: 100%;
+ height: 100%;
+ }
+ }
+
+ .company-icon {
+ font-size: 40rpx;
+ }
+
+ .company-name {
+ font-size: 34rpx;
+ font-weight: 630;
+ }
+
+ .company-status {
+ font-size: 22rpx;
+ padding: 4rpx 16rpx;
+ border-radius: 20rpx;
+ margin-left: auto;
+
+ &.status-waiting {
+ background: rgba(255, 193, 67, 0.15);
+ }
+
+ &.status-transit {
+ background: rgba(33, 133, 243, 0.12);
+ }
+
+ &.status-delivering {
+ background: rgba(82, 196, 126, 0.12);
+ }
+
+ &.status-signed {
+ background: rgba(134, 142, 151, 0.12);
+ }
}
}
- .company-icon {
- font-size: 40rpx;
- }
-
- .company-name {
- font-size: 34rpx;
- font-weight: 630;
- }
-
- .company-status {
- font-size: 22rpx;
- padding: 4rpx 16rpx;
- border-radius: 20rpx;
- margin-left: auto;
-
- &.status-waiting {
- background: rgba(255, 193, 67, 0.15);
- }
-
- &.status-transit {
- background: rgba(33, 133, 243, 0.12);
- }
-
- &.status-delivering {
- background: rgba(82, 196, 126, 0.12);
- }
-
- &.status-signed {
- background: rgba(134, 142, 151, 0.12);
- }
- }
- }
-
- .express-waybill {
- display: flex;
- //justify-content: center;
- align-items: center;
- font-size: 26rpx;
- opacity: 0.5;
-
- .express-waybill-copy {
- font-size: 22rpx;
- padding: 4rpx 16rpx;
- border-radius: 20rpx;
- margin-left: auto;
- }
- }
- }
-
- .express-divider {
- height: 1rpx;
- background: rgba(128, 128, 128, 0.1);
- margin: 16rpx 0;
- }
-
- .express-contact {
- display: flex;
- align-items: center;
- gap: 20rpx;
- margin-bottom: 16rpx;
-
- .contact-item {
- flex: 1;
- display: flex;
- flex-direction: column;
- gap: 6rpx;
-
- .contact-label {
- font-size: 22rpx;
- opacity: 0.4;
- }
-
- .contact-value {
- font-size: 30rpx;
- font-weight: 570;
- }
-
- .contact-phone {
+ .express-waybill {
+ display: flex;
+ //justify-content: center;
+ align-items: center;
font-size: 26rpx;
opacity: 0.5;
+
+ .express-waybill-copy {
+ font-size: 22rpx;
+ padding: 4rpx 16rpx;
+ border-radius: 20rpx;
+ margin-left: auto;
+ }
}
}
- .contact-arrow {
- font-size: 36rpx;
- opacity: 0.3;
- padding: 0 8rpx;
- }
- }
-
- .express-address {
- display: flex;
- align-items: flex-start;
- gap: 10rpx;
- padding-top: 12rpx;
- border-top: 1rpx solid rgba(128, 128, 128, 0.06);
-
- .address-icon {
- font-size: 28rpx;
- flex-shrink: 0;
- transform: translateY(-10rpx);
+ .express-divider {
+ height: 1rpx;
+ background: rgba(128, 128, 128, 0.1);
+ margin: 16rpx 0;
}
- .address-text {
- font-size: 26rpx;
- opacity: 0.65;
- line-height: 1.5;
- }
- }
- }
-
- /* 物流状态提示 */
- .status-notice {
- display: flex;
- align-items: flex-start;
- gap: 16rpx;
- padding: 24rpx;
- border-radius: 20rpx;
- margin-bottom: 28rpx;
-
- //&.status-waiting {
- // // 物流状态 不同状态的 背景颜色
- // background: rgba(255, 248, 235, 0.8);
- //}
- //
- //&.status-transit {
- // background: rgba(230, 244, 253, 0.8);
- //}
- //
- //&.status-delivering {
- // background: rgba(236, 250, 242, 0.8);
- //}
- //
- //&.status-signed {
- // background: rgba(245, 247, 249, 0.8);
- //}
-
- .notice-icon {
- font-size: 44rpx;
- flex-shrink: 0;
- }
-
- .notice-content {
- flex: 1;
-
- .notice-title {
- font-size: 30rpx;
- font-weight: 600;
- display: block;
- margin-bottom: 6rpx;
- }
-
- .notice-desc {
- font-size: 26rpx;
- opacity: 0.6;
- line-height: 1.5;
- }
- }
- }
-
- /* 物流追踪标题 */
- .tracking-header {
- display: flex;
- align-items: baseline;
- gap: 16rpx;
- margin-bottom: 28rpx;
- padding: 0 8rpx;
-
- .tracking-title {
- font-size: 36rpx;
- font-weight: 640;
- }
-
- .tracking-count {
- font-size: 24rpx;
- opacity: 0.4;
- }
- }
-
- /* 时间轴容器 */
- .timeline {
- display: flex;
- flex-direction: column;
- }
-
- /* 单个节点 */
- .timeline-item {
- // 物流状态的 每一行 盒子
- display: flex;
- padding-bottom: 32rpx;
- /* 左侧时间轴区域 */
- .timeline-left {
- // 物流状态的左侧的盒子
- display: flex;
- flex-direction: column;
- align-items: center;
- width: 130rpx;
- flex-shrink: 0;
- margin-right: 20rpx;
-
- .dot-wrap {
+ .express-contact {
display: flex;
- flex-direction: column;
align-items: center;
- height: 58rpx;
- //物流状态 上边的盒子,并且是 状态亮点盒子
- .dot {
- width: 18rpx;
- height: 18rpx;
- border-radius: 50%;
- background-color: #4cd964;
- opacity: 0.3;
- flex-shrink: 0;
- margin-top: 6rpx;
+ gap: 20rpx;
+ margin-bottom: 16rpx;
- &.dot-waiting {
- animation: pulse 2s infinite;
- //box-shadow: inset 0 0 0 1px red;
+ .contact-item {
+ flex: 1;
+ display: flex;
+ flex-direction: column;
+ gap: 6rpx;
+
+ .contact-label {
+ font-size: 22rpx;
+ opacity: 0.4;
+ }
+
+ .contact-value {
+ font-size: 30rpx;
+ font-weight: 570;
+ }
+
+ .contact-phone {
+ font-size: 26rpx;
+ opacity: 0.5;
}
}
- .line {
- width: 2rpx;
- flex: 1;
- background: currentColor;
- opacity: 0.1;
- margin-top: 6rpx;
+ .contact-arrow {
+ font-size: 36rpx;
+ opacity: 0.3;
+ padding: 0 8rpx;
}
}
- .time {
- font-size: 24rpx;
- font-weight: 580;
- opacity: 0.7;
- margin-top: 4rpx;
- }
+ .express-address {
+ display: flex;
+ align-items: flex-start;
+ gap: 10rpx;
+ padding-top: 12rpx;
+ border-top: 1rpx solid rgba(128, 128, 128, 0.06);
- .time-hour {
- font-size: 20rpx;
- opacity: 0.4;
- margin-top: 2rpx;
+ .address-icon {
+ font-size: 28rpx;
+ flex-shrink: 0;
+ transform: translateY(-10rpx);
+ }
+
+ .address-text {
+ font-size: 26rpx;
+ opacity: 0.65;
+ line-height: 1.5;
+ }
}
}
- /* 最新节点高亮 */
- &.is-latest {
+ /* 物流状态提示 */
+ .status-notice {
+ display: flex;
+ align-items: flex-start;
+ gap: 16rpx;
+ padding: 24rpx;
+ border-radius: 20rpx;
+ margin-bottom: 28rpx;
+
+ //&.status-waiting {
+ // // 物流状态 不同状态的 背景颜色
+ // background: rgba(255, 248, 235, 0.8);
+ //}
+ //
+ //&.status-transit {
+ // background: rgba(230, 244, 253, 0.8);
+ //}
+ //
+ //&.status-delivering {
+ // background: rgba(236, 250, 242, 0.8);
+ //}
+ //
+ //&.status-signed {
+ // background: rgba(245, 247, 249, 0.8);
+ //}
+
+ .notice-icon {
+ font-size: 44rpx;
+ flex-shrink: 0;
+ }
+
+ .notice-content {
+ flex: 1;
+
+ .notice-title {
+ font-size: 30rpx;
+ font-weight: 600;
+ display: block;
+ margin-bottom: 6rpx;
+ }
+
+ .notice-desc {
+ font-size: 26rpx;
+ opacity: 0.6;
+ line-height: 1.5;
+ }
+ }
+ }
+
+ /* 物流追踪标题 */
+ .tracking-header {
+ display: flex;
+ align-items: baseline;
+ gap: 16rpx;
+ margin-bottom: 28rpx;
+ padding: 0 8rpx;
+
+ .tracking-title {
+ font-size: 36rpx;
+ font-weight: 640;
+ }
+
+ .tracking-count {
+ font-size: 24rpx;
+ opacity: 0.4;
+ }
+ }
+
+ /* 时间轴容器 */
+ .timeline {
+ display: flex;
+ flex-direction: column;
+ }
+
+ /* 单个节点 */
+ .timeline-item {
+ // 物流状态的 每一行 盒子
+ display: flex;
+ padding-bottom: 32rpx;
+ /* 左侧时间轴区域 */
.timeline-left {
- .dot {
- opacity: 0.9;
- transform: scale(1.3);
+ // 物流状态的左侧的盒子
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ width: 130rpx;
+ flex-shrink: 0;
+ margin-right: 20rpx;
+
+ .dot-wrap {
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ height: 58rpx;
+ //物流状态 上边的盒子,并且是 状态亮点盒子
+ .dot {
+ width: 18rpx;
+ height: 18rpx;
+ border-radius: 50%;
+ background-color: #4cd964;
+ opacity: 0.3;
+ flex-shrink: 0;
+ margin-top: 6rpx;
+
+ &.dot-waiting {
+ animation: pulse 2s infinite;
+ //box-shadow: inset 0 0 0 1px red;
+ }
+ }
+
+ .line {
+ width: 2rpx;
+ flex: 1;
+ background: currentColor;
+ opacity: 0.1;
+ margin-top: 6rpx;
+ }
}
.time {
- opacity: 1;
- font-weight: 670;
+ font-size: 24rpx;
+ font-weight: 580;
+ opacity: 0.7;
+ margin-top: 4rpx;
+ }
+
+ .time-hour {
+ font-size: 20rpx;
+ opacity: 0.4;
+ margin-top: 2rpx;
}
}
+ /* 最新节点高亮 */
+ &.is-latest {
+ .timeline-left {
+ .dot {
+ opacity: 0.9;
+ transform: scale(1.3);
+ }
+
+ .time {
+ opacity: 1;
+ font-weight: 670;
+ }
+ }
+
+ .timeline-right {
+ .msg {
+ font-weight: 610;
+ }
+ }
+ }
+
+ /* 右侧内容 */
.timeline-right {
+ flex: 1;
+ padding-top: 4rpx;
+
.msg {
- font-weight: 610;
+ font-size: 30rpx;
+ line-height: 1.5;
+ margin-bottom: 6rpx;
+ }
+
+ .location {
+ font-size: 24rpx;
+ opacity: 0.45;
}
}
}
- /* 右侧内容 */
- .timeline-right {
- flex: 1;
- padding-top: 4rpx;
+ /* 等揽件状态专属提示 */
+ .waiting-tips {
+ margin-top: 32rpx;
+ padding: 24rpx;
+ background: rgba(128, 128, 128, 0.03);
+ border-radius: 20rpx;
- .msg {
- font-size: 30rpx;
- line-height: 1.5;
- margin-bottom: 6rpx;
- }
+ .tip-item {
+ display: flex;
+ align-items: center;
+ gap: 12rpx;
+ padding: 12rpx 0;
- .location {
- font-size: 24rpx;
- opacity: 0.45;
+ .tip-icon {
+ font-size: 28rpx;
+ flex-shrink: 0;
+ }
+
+ .tip-text {
+ font-size: 26rpx;
+ opacity: 0.6;
+ line-height: 1.4;
+ }
}
}
- }
- /* 等揽件状态专属提示 */
- .waiting-tips {
- margin-top: 32rpx;
- padding: 24rpx;
- background: rgba(128, 128, 128, 0.03);
- border-radius: 20rpx;
-
- .tip-item {
- display: flex;
- align-items: center;
- gap: 12rpx;
- padding: 12rpx 0;
-
- .tip-icon {
- font-size: 28rpx;
- flex-shrink: 0;
+ /* 脉冲动画 */
+ @keyframes pulse {
+ 0% {
+ transform: scale(1);
+ opacity: 0.3;
}
-
- .tip-text {
- font-size: 26rpx;
+ 50% {
+ transform: scale(1.5);
opacity: 0.6;
- line-height: 1.4;
+ }
+ 100% {
+ transform: scale(1);
+ opacity: 0.3;
}
}
+
+
}
- /* 脉冲动画 */
- @keyframes pulse {
- 0% {
- transform: scale(1);
- opacity: 0.3;
- }
- 50% {
- transform: scale(1.5);
- opacity: 0.6;
- }
- 100% {
- transform: scale(1);
- opacity: 0.3;
- }
+ .scrollBottomHeigh {
+ box-sizing: border-box;
+ height: $xiaoBottomHeigh;
+ @include line-color();
}
-
}
- .scrollBottomHeigh {
- box-sizing: border-box;
- height: $xiaoBottomHeigh;
- @include line-color();
- }
+
}
@@ -585,131 +595,141 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 寄件人
+ {{ logisticsInfo.sender.name }}
+ {{ logisticsInfo.sender.phone }}
+
+ ›
+
+ 收件人
+
+ {{ xiaoMain.emsOrder订单?.order用户配送地址?.address?.userName }}
+
+
+ {{
+ xiaoMain.emsOrder订单?.order用户配送地址?.address?.telNumber?.replace(/(\d{3})\d{4}(\d{4})/, "$1****$2")
+ }}
+
+
+
+
+
+ 📍
+ {{ logisticsInfo.receiver.address }}
+
+
+
+
+
+ {{ current当前物流数据?.icon }}
+
+ {{ current当前物流数据?.title }}
+ {{ current当前物流数据?.desc }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ dayjs.unix(item.action_time).format("MM/DD") }}
+ {{
+ dayjs.unix(item.action_time).format("HH:mm")
+ }}
+
+
+
+
+
+ {{ item.action_msg }}
+
+
+
+
+
+
+
+ ⏰
+ 商家正在准备商品,请耐心等待
+
+
+ 📞
+ 如需催单请联系商家或快递公司
+
+
+ 🔄
+ 页面将自动刷新最新物流状态
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
- 寄件人
- {{ logisticsInfo.sender.name }}
- {{ logisticsInfo.sender.phone }}
-
- ›
-
- 收件人
-
- {{ xiaoMain.emsOrder订单?.order用户配送地址?.address?.userName }}
-
-
- {{
- xiaoMain.emsOrder订单?.order用户配送地址?.address?.telNumber?.replace(/(\d{3})\d{4}(\d{4})/, "$1****$2")
- }}
-
-
-
-
-
- 📍
- {{ logisticsInfo.receiver.address }}
-
-
-
-
- {{ current当前物流数据?.icon }}
-
- {{ current当前物流数据?.title }}
- {{ current当前物流数据?.desc }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ dayjs.unix(item.action_time).format("MM/DD") }}
- {{ dayjs.unix(item.action_time).format("HH:mm") }}
-
-
-
-
- {{ item.action_msg }}
-
-
-
-
-
-
-
- ⏰
- 商家正在准备商品,请耐心等待
-
-
- 📞
- 如需催单请联系商家或快递公司
-
-
- 🔄
- 页面将自动刷新最新物流状态
-
-
-
-
-
-
-
-
-
-
diff --git a/src/subPackages/homeSubPages/用户积分页面/用户积分页面.vue b/src/subPackages/homeSubPages/用户积分页面/用户积分页面.vue
index e4af52d..b834812 100644
--- a/src/subPackages/homeSubPages/用户积分页面/用户积分页面.vue
+++ b/src/subPackages/homeSubPages/用户积分页面/用户积分页面.vue
@@ -91,7 +91,7 @@
.grit-content {
- height: calc(v-bind(pxScrollHeight) - v-bind(statusHeight));
+ height: calc(v-bind(pxWindowHeight) - v-bind(statusHeight));
display: grid;
grid-template-columns: 1fr;
grid-auto-rows: auto 1fr auto;
diff --git a/src/subPackages/homeSubPages/用户配送地址页面/用户配送地址页面.vue b/src/subPackages/homeSubPages/用户配送地址页面/用户配送地址页面.vue
index c2614df..af55b8d 100644
--- a/src/subPackages/homeSubPages/用户配送地址页面/用户配送地址页面.vue
+++ b/src/subPackages/homeSubPages/用户配送地址页面/用户配送地址页面.vue
@@ -3,21 +3,6 @@
$defaultTopHeight: 1px; // 滚动区域外 可以预留的高度
$xiaoBottomHeigh: 100rpx; // 滚动区域外,可以预留的高度
/* 浅色模式 */
- //@media (prefers-color-scheme: light) {
- // .phone-screen {
- // color: white;
- // background: #181818;
- // }
- //}
- //
- ///* 深色模式 */
- //@media (prefers-color-scheme: dark) {
- // .phone-screen {
- // color: white;
- // background: #1a1a1a;
- // }
- //}
-
@mixin line-color {
@keyframes gradientFlow {
@@ -115,6 +100,13 @@
background-color: rgba(255, 255, 255, 0.05);
}
+ .grit-content {
+ height: calc(v-bind(pxWindowHeight) - v-bind(statusHeight));
+ display: grid;
+ grid-template-columns: 1fr;
+ grid-auto-rows: auto 1fr auto;
+ box-sizing: border-box;
+ }
.scrollViewHeigh {
/*滚动页面区域范围*/
@@ -135,10 +127,8 @@
.scrollBottomHeigh {
box-sizing: border-box;
- height: $xiaoBottomHeigh;
display: flex;
align-items: flex-end;
- //@include line-color();
}
}
@@ -164,23 +154,26 @@
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
-
-
-
-
+
+
+
+
+
+
+
-
-
+
diff --git a/src/subPackages/homeSubPages/订单数据页面/订单数据页面.vue b/src/subPackages/homeSubPages/订单数据页面/订单数据页面.vue
index 5165fd1..3596898 100644
--- a/src/subPackages/homeSubPages/订单数据页面/订单数据页面.vue
+++ b/src/subPackages/homeSubPages/订单数据页面/订单数据页面.vue
@@ -105,53 +105,62 @@
}
}
-
- .scrollTopHeigh {
- /*在滚动区域内的, 可以自定义的高度*/
+ .grit-content {
+ height: calc(v-bind(pxWindowHeight) - v-bind(statusHeight));
+ display: grid;
+ grid-template-columns: 1fr;
+ grid-auto-rows: auto 1fr auto;
box-sizing: border-box;
- height: $defaultTopHeight;
- :deep(.custom-class-tabbar) {
- //box-shadow:inset 0 3px 1px -2px rgb(0 0 0 / 20%) , 0 2px 2px 0 rgb(0 0 0 / 14%), 0 1px 5px 0 rgb(0 0 0 / 12%);
- //box-shadow: inset 0 2px 1px -2px rgb(0 0 0 / 15%),
- //inset 0 2px 2px 0 rgb(0 0 0 / 14%),
- //inset 0 1px 5px 0 rgb(0 0 0 / 14%),
- //inset 1px 1px 2px rgb(0 0 0 / 14%),
- //inset -1px -1px 2px rgb(0 0 0 / 14%);
- //box-shadow: inset 2px 2px 5px #bcbcbc, inset -2px -2px 5px #ffffff, 2px 2px 5px #bcbcbc, -2px -2px 5px #ffffff;
- box-shadow: /* 上 - 向下凹 */
- inset 0 3px 2px -2px rgba(0, 0, 0, 0.3), /* 上 */
- inset 0 -3px 2px -2px rgba(0, 0, 0, 0.3), /* 下 */
- inset 3px 0 2px -2px rgba(0, 0, 0, 0.3), /* 左 */
- inset -3px 0 2px -2px rgba(0, 0, 0, 0.3); /* 右 */
- // box-shadow: inset X Y blur spread color
- }
- }
+ .scrollTopHeigh {
+ /*在滚动区域内的, 可以自定义的高度*/
+ box-sizing: border-box;
+ height: $defaultTopHeight;
-
- .scrollViewHeigh {
- /*滚动页面区域范围*/
- box-sizing: border-box;
- font-size: 1rem;
- height: calc(v-bind(pxScrollHeight) - v-bind(statusHeight) - #{$defaultTopHeight} - #{$xiaoBottomHeigh});
- overflow: hidden;
-
-
- :deep() {
- /*button按钮的 阴影样式可以直接使用*/
- .custom-shadow {
- box-shadow: 0 3px 1px -2px rgb(0 0 0 / 20%), 0 2px 2px 0 rgb(0 0 0 / 14%), 0 1px 5px 0 rgb(0 0 0 / 12%);
+ :deep(.custom-class-tabbar) {
+ //box-shadow:inset 0 3px 1px -2px rgb(0 0 0 / 20%) , 0 2px 2px 0 rgb(0 0 0 / 14%), 0 1px 5px 0 rgb(0 0 0 / 12%);
+ //box-shadow: inset 0 2px 1px -2px rgb(0 0 0 / 15%),
+ //inset 0 2px 2px 0 rgb(0 0 0 / 14%),
+ //inset 0 1px 5px 0 rgb(0 0 0 / 14%),
+ //inset 1px 1px 2px rgb(0 0 0 / 14%),
+ //inset -1px -1px 2px rgb(0 0 0 / 14%);
+ //box-shadow: inset 2px 2px 5px #bcbcbc, inset -2px -2px 5px #ffffff, 2px 2px 5px #bcbcbc, -2px -2px 5px #ffffff;
+ box-shadow: /* 上 - 向下凹 */
+ inset 0 3px 2px -2px rgba(0, 0, 0, 0.3), /* 上 */
+ inset 0 -3px 2px -2px rgba(0, 0, 0, 0.3), /* 下 */
+ inset 3px 0 2px -2px rgba(0, 0, 0, 0.3), /* 左 */
+ inset -3px 0 2px -2px rgba(0, 0, 0, 0.3); /* 右 */
+ // box-shadow: inset X Y blur spread color
}
}
+ .scrollViewHeigh {
+ /*滚动页面区域范围*/
+ box-sizing: border-box;
+ font-size: 1rem;
+ height: calc(v-bind(pxScrollHeight) - v-bind(statusHeight) - #{$defaultTopHeight} - #{$xiaoBottomHeigh});
+ overflow: hidden;
+
+
+ :deep() {
+ /*button按钮的 阴影样式可以直接使用*/
+ .custom-shadow {
+ box-shadow: 0 3px 1px -2px rgb(0 0 0 / 20%), 0 2px 2px 0 rgb(0 0 0 / 14%), 0 1px 5px 0 rgb(0 0 0 / 12%);
+ }
+ }
+
+
+ }
+
+ .scrollBottomHeigh {
+ box-sizing: border-box;
+ height: $xiaoBottomHeigh;
+ @include line-color();
+ }
+
}
- .scrollBottomHeigh {
- box-sizing: border-box;
- height: $xiaoBottomHeigh;
- @include line-color();
- }
}
@@ -176,49 +185,52 @@
-
-
-
-
-
-
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
+