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;