This commit is contained in:
dzc committed 2026-05-18 19:06:06 +08:00
1 parent 108521704f
commit bce6da0a0f
3 files changed
+11 -8

No files matched your search

+3 -4
View File
@@ -1,6 +1,6 @@
<template>
<crud-layout title="支付成功" :bg="filePath(SERVICE_IMAGE.blueBg)" ref="crudLayoutRef">
<view class="flex-col-center p-30rpx">
<view class="flex-col-center p-30rpx m-t-30rpx card">
<view class="flex-col-center m-y-50rpx">
<svg t="1742978804614" class="icon" viewBox="0 0 1024 1024" version="1.1"
xmlns="http://www.w3.org/2000/svg" p-id="1708" width="64" height="64">
@@ -27,9 +27,8 @@
<text class="sub-text-30">扫一扫</text>
</view>
</view>
</view>
<view class="p-40rpx fixed bottom-30rpx left-0 right-0 font-bold">
<tm-button :block="true" @click="goBack">完成</tm-button>
<div class="h-100rpx" />
<tm-button :block="true" class="w-full p-40rpx" @tap="goBack">完成</tm-button>
</view>
</crud-layout>
</template>
@@ -187,10 +187,11 @@ defineExpose({
:activeIndex="tabbarStore.activeIndex" :list="tabbarStore.pageTabbarList" :outIndex="-1" fontSize="12px"
iconSize="24px" bgColor="#F6F5FA" :zIndex="99999" darkBgColor="#F6F5FA" borderColor="#DBDDDE"
color="#8E8E8E" selected-color="#0094ff" position="fixed" @change="tabbarChange" />
<tm-tabbar v-else class="layout_foot" :activeIndex="tabbarStore.rootActiveIndex"
:list="tabbarStore.rootPageTabbarList" :outIndex="1" fontSize="12px" iconSize="24px" bgColor="#F6F5FA"
:zIndex="99999" darkBgColor="#F6F5FA" borderColor="#DBDDDE" color="#8E8E8E" outBgColor="#0094ff"
selected-color="#0094ff" position="fixed" @change="rootTabbarChange" />
<tm-tabbar v-else-if="tabbarStore.isDashboardPage" class="layout_foot"
:activeIndex="tabbarStore.rootActiveIndex" :list="tabbarStore.rootPageTabbarList" :outIndex="1"
fontSize="12px" iconSize="24px" bgColor="#F6F5FA" :zIndex="99999" darkBgColor="#F6F5FA"
borderColor="#DBDDDE" color="#8E8E8E" outBgColor="#0094ff" selected-color="#0094ff" position="fixed"
@change="rootTabbarChange" />
</view>
<VerifyDeviceImpModel ref="verifyDeviceImpModelRef" :close="verifyDeviceImpModelClose" />
</view>
+3
View File
@@ -165,6 +165,9 @@ export const useTabbarStore = defineStore("tabbarStore", {
currentRoute: "/pages/root/dashboard",
}),
getters: {
isDashboardPage(state) {
return `/${state.currentRoute}` === "/pages/root/dashboard" || `/${state.currentRoute}` === "/pages/tabbar/my"
},
isTabbar(state) {
return state.tabbarList.some((item) => item.pagePath === `/${state.currentRoute}`)
},