8.26 17:41

This commit is contained in:
zoujiandong
2025-08-26 17:41:57 +08:00
parent b6120d9a40
commit ef5b3fb59f
15 changed files with 1331 additions and 55 deletions
+26
View File
@@ -0,0 +1,26 @@
<template>
<view class="emptybox">
<up-image :src="emptyImg" width="176rpx" height="204rpx" ></up-image>
<text class="empty-text">暂无数据</text>
</view>
</template>
<script setup>
import { ref } from 'vue';
import { onShow } from "@dcloudio/uni-app";
import emptyImg from "@/static/icon_empty.png"
</script>
<style scoped lang="scss">
.emptybox{
height:800rpx;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
.empty-text{
font-size: 30rpx;
color:#999;
}
}
</style>
+38
View File
@@ -0,0 +1,38 @@
<template>
<!-- 顶部导航栏 -->
<uni-nav-bar
left-icon="left"
:title="title"
@clickLeft="goBack"
fixed
color="#8B2316"
height="140rpx"
:border="false"
backgroundColor="#eeeeee"
/>
</template>
<script setup>
import { ref } from 'vue';
import { onShow } from "@dcloudio/uni-app";
cosnt props=defineProps({
title:{
type:String,
default:''
}
})
// 方法
const goBack = () => {
uni.navigateBack({
fail() {
uni.redirectTo({
url: '/pages/index/index'
});
}
});
};
</script>
<style scoped>
</style>