fix:修改赠送礼物类型不正确报错的bug

This commit is contained in:
zheng020 2026-06-17 15:31:53 +08:00
parent 2d4fbc4a5b
commit f06623339d
2 changed files with 407 additions and 285 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,17 +1,17 @@
<template> <template>
<view class="activity-container" :style="containerStyle"> <view class="activity-container" :style="containerStyle">
<!-- 顶部导航 --> <!-- 顶部导航 -->
<Header <!-- <Header
:show-back="true" :show-back="true"
backIconColor="#e6e6e6" backIconColor="#e6e6e6"
:showGuideIcon="false" :showTaskIcon="false" :showStarActivityIcon="false" :showGuideIcon="false" :showTaskIcon="false" :showStarActivityIcon="false"
/> /> -->
<!-- 状态栏占位 --> <!-- 状态栏占位 -->
<view class="status-bar" :style="{ height: statusBarHeight + 'px' }"></view> <view class="status-bar" :style="{ height: statusBarHeight + 'px' }"></view>
<!-- 主题横幅 --> <!-- 主题横幅 -->
<ThemeBanner <!-- <ThemeBanner
v-if="config" v-if="config"
:title="config.title" :title="config.title"
:banner-image="config.bannerImage" :banner-image="config.bannerImage"
@ -19,13 +19,13 @@
:target="progressData.target" :target="progressData.target"
:is-stale-data="isStaleData" :is-stale-data="isStaleData"
@tap="openRankingModal" @tap="openRankingModal"
/> /> -->
<!-- 竖向进度条fixed 定位左侧 --> <!-- 竖向进度条fixed 定位左侧 -->
<VerticalProgressBar <!-- <VerticalProgressBar
:current="progressData.current" :current="progressData.current"
:target="progressData.target" :target="progressData.target"
/> /> -->
<!-- 实时贡献列表 --> <!-- 实时贡献列表 -->
<ContributionList <ContributionList
@ -57,7 +57,7 @@
<view class="trigger-btn"> <view class="trigger-btn">
<image src="/static/rank/activity-support-icon/lihe.png" class="trigger-icon" mode="aspectFit" /> <image src="/static/rank/activity-support-icon/lihe.png" class="trigger-icon" mode="aspectFit" />
</view> </view>
<text class="trigger-text">我要贡献</text> <!-- <text class="trigger-text">我要贡献</text> -->
</view> </view>
<!-- 底部操作栏弹出框 --> <!-- 底部操作栏弹出框 -->
@ -701,15 +701,16 @@ onUnload(() => {
/* ActionBar 弹出框样式 */ /* ActionBar 弹出框样式 */
.action-bar-trigger { .action-bar-trigger {
width: 180rpx; width: 80rpx;
height: 180rpx; height: 80rpx;
border-radius: 80rpx;
position: fixed; position: fixed;
bottom: 180rpx; bottom: 32rpx;
left: 50%; right: 32rpx;
transform: translateX(-50%); /* transform: translateX(-50%); */
z-index: 100; z-index: 100;
display: flex; display: flex;
flex-direction: column; justify-content: center;
align-items: center; align-items: center;
gap: 8rpx; gap: 8rpx;
background-image: url('@/static/rank/activity-support-icon/beijingkuang1.png'); background-image: url('@/static/rank/activity-support-icon/beijingkuang1.png');
@ -718,8 +719,8 @@ onUnload(() => {
} }
.trigger-btn { .trigger-btn {
width: 120rpx; width: 100%;
height: 120rpx; height: 100%;
border-radius: 24rpx; border-radius: 24rpx;
display: flex; display: flex;
justify-content: center; justify-content: center;
@ -727,8 +728,8 @@ onUnload(() => {
} }
.trigger-icon { .trigger-icon {
width: 80rpx; width: 56rpx;
height: 80rpx; height: 56rpx;
} }
.trigger-text { .trigger-text {