53 lines
1.3 KiB
Vue
53 lines
1.3 KiB
Vue
<script setup>
|
||
import { computed } from 'vue'
|
||
import { onLoad } from '@dcloudio/uni-app'
|
||
import { PAGE_PATHS } from '@/config/api'
|
||
import { getSafeAreaStyle } from '@/utils/safeArea'
|
||
|
||
const safeAreaStyle = getSafeAreaStyle()
|
||
|
||
const props = defineProps({
|
||
defaultTitle: { type: String, default: '报销业务' }
|
||
})
|
||
|
||
const title = computed(() => props.defaultTitle)
|
||
|
||
const goBack = () => {
|
||
uni.navigateBack({
|
||
fail: () => uni.reLaunch({ url: PAGE_PATHS.workbench })
|
||
})
|
||
}
|
||
|
||
onLoad(() => {})
|
||
</script>
|
||
|
||
<template>
|
||
<view class="mp-page">
|
||
<view class="mp-header" :style="safeAreaStyle">
|
||
<view class="bx-ph__nav" @click="goBack">
|
||
<text class="bx-ph__back">← 工作台</text>
|
||
</view>
|
||
<text class="mp-header__title" style="margin-top: 16rpx">{{ title }}</text>
|
||
<text class="mp-header__meta">报销管理 · 业务迁移中</text>
|
||
</view>
|
||
<view class="mp-placeholder">
|
||
<view class="mp-placeholder__icon" />
|
||
<text class="mp-placeholder__title">{{ title }}</text>
|
||
<text class="mp-placeholder__desc">
|
||
菜单与权限已开通。列表 / 表单 / 详情将按批次从 bx-mobile 迁入,接口复用现有报销 API。
|
||
</text>
|
||
</view>
|
||
</view>
|
||
</template>
|
||
|
||
<style lang="scss" scoped>
|
||
.bx-ph__nav {
|
||
min-height: 44rpx;
|
||
}
|
||
.bx-ph__back {
|
||
color: #fff;
|
||
font-size: 26rpx;
|
||
opacity: 0.95;
|
||
}
|
||
</style>
|