feat: 支持扫雷游戏动态URL,增强活动页面滚动视图,并优化对对碰活动页签组件和奖励预览展示。
This commit is contained in:
parent
f0e3cdc407
commit
d5527625bc
@ -13,7 +13,14 @@
|
|||||||
</view>
|
</view>
|
||||||
|
|
||||||
<!-- 主要内容区域 -->
|
<!-- 主要内容区域 -->
|
||||||
<scroll-view class="main-scroll" scroll-y>
|
<scroll-view
|
||||||
|
class="main-scroll"
|
||||||
|
scroll-y
|
||||||
|
:enhanced="true"
|
||||||
|
:bounces="true"
|
||||||
|
:show-scrollbar="false"
|
||||||
|
:fast-deceleration="false"
|
||||||
|
>
|
||||||
<!-- 头部插槽 -->
|
<!-- 头部插槽 -->
|
||||||
<slot name="header"></slot>
|
<slot name="header"></slot>
|
||||||
|
|
||||||
|
|||||||
@ -38,14 +38,14 @@
|
|||||||
|
|
||||||
<!-- 奖池/记录切换 -->
|
<!-- 奖池/记录切换 -->
|
||||||
<ActivityTabs
|
<ActivityTabs
|
||||||
v-model:current="tabActive"
|
v-model="tabActive"
|
||||||
:tabs="[{key: 'pool', label: '本机奖池'}, {key: 'records', label: '购买记录'}]"
|
:tabs="[{key: 'pool', label: '本机奖池'}, {key: 'records', label: '购买记录'}]"
|
||||||
/>
|
>
|
||||||
|
|
||||||
<!-- 奖池预览 -->
|
<!-- 奖池预览 -->
|
||||||
<RewardsPreview
|
<RewardsPreview
|
||||||
v-if="tabActive === 'pool'"
|
v-if="tabActive === 'pool'"
|
||||||
:reward-groups="rewardGroups"
|
:rewards="currentIssueRewards"
|
||||||
|
:grouped="true"
|
||||||
@view-all="openRewardsPopup"
|
@view-all="openRewardsPopup"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
@ -54,6 +54,7 @@
|
|||||||
v-if="tabActive === 'records'"
|
v-if="tabActive === 'records'"
|
||||||
:records="winRecords"
|
:records="winRecords"
|
||||||
/>
|
/>
|
||||||
|
</ActivityTabs>
|
||||||
|
|
||||||
<view style="height: 180rpx;"></view>
|
<view style="height: 180rpx;"></view>
|
||||||
|
|
||||||
@ -1465,6 +1466,11 @@ onLoad((opts) => {
|
|||||||
color: $text-sub;
|
color: $text-sub;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.section-container {
|
||||||
|
padding: 0 $spacing-lg;
|
||||||
|
margin-bottom: $spacing-xl;
|
||||||
|
}
|
||||||
|
|
||||||
.section-header {
|
.section-header {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
|
|||||||
@ -116,7 +116,7 @@ export default {
|
|||||||
})
|
})
|
||||||
|
|
||||||
// 构建游戏URL,传递安全认证参数
|
// 构建游戏URL,传递安全认证参数
|
||||||
const gameBaseUrl = 'https://game.1024tool.vip'
|
const gameBaseUrl = res.client_url || 'https://game.1024tool.vip'
|
||||||
const gameToken = encodeURIComponent(res.game_token)
|
const gameToken = encodeURIComponent(res.game_token)
|
||||||
const nakamaServer = encodeURIComponent(res.nakama_server)
|
const nakamaServer = encodeURIComponent(res.nakama_server)
|
||||||
const nakamaKey = encodeURIComponent(res.nakama_key)
|
const nakamaKey = encodeURIComponent(res.nakama_key)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user