From 2bae7fdec825b292254895a49bb63a315a37734c Mon Sep 17 00:00:00 2001 From: wangzimeng <3297159934@qq.com> Date: Fri, 25 Jul 2025 16:03:24 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81=E5=BE=85=E6=A0=B8=E9=94=80=E8=AE=A2?= =?UTF-8?q?=E5=8D=95=E9=99=90=E5=88=B6=E4=B8=80=E4=B8=8B=E5=8F=91=E5=B8=83?= =?UTF-8?q?=E6=B4=BB=E5=8A=A8=E8=80=85=E5=90=8D=E7=A7=B0=E7=9A=84=E9=95=BF?= =?UTF-8?q?=E5=BA=A6=EF=BC=8C=E8=B6=85=E5=87=BA=E7=94=A8=E7=82=B9=E7=82=B9?= =?UTF-8?q?=E7=82=B9=202=E3=80=81=E5=85=B6=E4=BB=96=E7=8A=B6=E6=80=81?= =?UTF-8?q?=E4=B8=8B=E7=9A=84=E8=AE=A2=E5=8D=95=E9=A1=B5=E9=9D=A2=E9=99=90?= =?UTF-8?q?=E5=88=B6=E4=B8=80=E4=B8=8B=E5=8F=91=E5=B8=83=E6=B4=BB=E5=8A=A8?= =?UTF-8?q?=E8=80=85=E5=90=8D=E7=A7=B0=E7=9A=84=E9=95=BF=E5=BA=A6=EF=BC=8C?= =?UTF-8?q?=E8=B6=85=E5=87=BA=E7=94=A8=E7=82=B9=E7=82=B9=E7=82=B9=203?= =?UTF-8?q?=E3=80=81=E6=B7=BB=E5=8A=A0=E6=8A=A5=E5=90=8D=E4=BA=BA=EF=BC=8C?= =?UTF-8?q?=E5=BA=95=E9=83=A8=E6=B7=BB=E5=8A=A0=E6=8A=A5=E5=90=8D=E4=BA=BA?= =?UTF-8?q?=E6=8C=89=E9=92=AE=20=E5=9C=A8=E9=A1=B5=E9=9D=A2=E5=9B=BA?= =?UTF-8?q?=E5=AE=9A=204=E3=80=81=E5=BE=85=E6=A0=B8=E9=94=80=E8=AE=A2?= =?UTF-8?q?=E5=8D=95=E9=A1=B5=E9=9D=A2=E7=9A=84=E4=BA=8C=E7=BB=B4=E7=A0=81?= =?UTF-8?q?=E4=BC=9A=E9=80=90=E6=B8=90=E5=81=8F=E7=A7=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packageA/my/pendinPayDetail.vue | 41 +++++- packageA/my/pendinPayStatus.vue | 2 +- packageA/qrcodeSwiper.vue | 229 ++++++++++++++++++++++++-------- packageB/team/index.vue | 23 +++- 4 files changed, 227 insertions(+), 68 deletions(-) diff --git a/packageA/my/pendinPayDetail.vue b/packageA/my/pendinPayDetail.vue index 224f49a..6562d46 100644 --- a/packageA/my/pendinPayDetail.vue +++ b/packageA/my/pendinPayDetail.vue @@ -14,7 +14,8 @@ - {{ detailAny.user.nickname }} + {{ detailAny.user.nickname }} / {{ detailAny.join_info.people_number }}人玩过 @@ -52,7 +53,7 @@ - + - + - - + + - - + + + + {{item.name}} - {{item.name}} @@ -44,7 +48,8 @@ }, data() { return { - currentIndex: 0 + currentIndex: 0, + swiperHeight: 350 // 默认高度 }; }, methods: { @@ -62,74 +67,180 @@ else if (newIndex >= total) newIndex = 0; // 循环向后 this.currentIndex = newIndex; + }, + onImageLoad(e) { + // 动态计算图片高度 + const { + width, + height + } = e.detail; + const ratio = height / width; + const calculatedHeight = 280 * ratio; // 280rpx是固定宽度 + if (calculatedHeight > this.swiperHeight) { + this.swiperHeight = calculatedHeight + 60; // 60rpx为文字区域预留空间 + } } + } }; \ No newline at end of file diff --git a/packageB/team/index.vue b/packageB/team/index.vue index 3829667..b2c43ab 100644 --- a/packageB/team/index.vue +++ b/packageB/team/index.vue @@ -16,8 +16,9 @@ - - + + + @@ -206,6 +207,24 @@ export default { padding-top: 20rpx; } +.btn_2 { + width: 95%; + height: 90rpx; + background: #323232; + border-radius: 198rpx 198rpx 198rpx 198rpx; + font-family: YouSheBiaoTiHei, YouSheBiaoTiHei; + font-weight: 400; + font-size: 32rpx; + color: #BBFC5B; + line-height: 90rpx; + text-align: center; + margin: 0 auto; + margin-top: 30rpx; + display: flex; + align-items: center; + justify-content: center; +} + .btn_1 { width: 95%; height: 90rpx;