buddhism/pages/memorial/memorial.vue

63 lines
1.3 KiB
Vue
Raw Normal View History

2025-08-08 09:33:23 +08:00
<template>
<view class="page">
<base-background />
<!-- 使用自定义导航栏组件 -->
2025-08-08 10:15:54 +08:00
<custom-navbar title="往生殿"
2025-08-08 09:33:23 +08:00
ref="customNavbar"/>
2025-08-08 10:15:54 +08:00
<view class="header">
2025-08-08 09:33:23 +08:00
<!-- 状态展示 -->
<status-display
v-if="loading"
type="loading"
loading-text="加载中..."
/>
<!-- 页面内容将在这里添加 -->
2025-08-08 10:15:54 +08:00
<search-box
v-model="searchName"
:width="'682rpx'"
:search-icon="CommonEnum.SEARCH"
placeholder="请输入姓名或分区进行查找"
btn-text="搜索"
@search="handleSearch"
/>
2025-08-08 09:33:23 +08:00
</view>
</view>
</template>
<script>
2025-08-08 10:15:54 +08:00
import {CommonEnum} from '@/enum/common.js'
2025-08-08 09:33:23 +08:00
import SearchBox from "../../components/search-box/search-box.vue";
export default {
components: {
2025-08-08 10:15:54 +08:00
SearchBox,
2025-08-08 09:33:23 +08:00
MonkSearchBox: SearchBox
},
data() {
return {
bgc: {
backgroundColor: "#F5F0E7"
},
CommonEnum,
searchName: ''
}
},
onLoad() {
},
methods: {
}
}
</script>
<style lang="scss" scoped>
.page {
width: 100%;
min-height: 100vh;
}
.header {
width: 100%;
min-height: 100vh;
display: flex;
2025-08-08 10:15:54 +08:00
align-items: center;
2025-08-08 09:33:23 +08:00
flex-direction: column;
2025-08-08 10:15:54 +08:00
padding: 0 15rpx 40rpx 15rpx;
2025-08-08 09:33:23 +08:00
}
</style>