feat: 新增工单列表

This commit is contained in:
duanshuwen
2025-10-16 21:05:39 +08:00
parent e6615da586
commit 29522fb4bc
16 changed files with 811 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

View File

@@ -1,26 +0,0 @@
<template>
<view class="empty-container">
<image
class="empty-image"
mode="aspectFit"
src="./images/empty.png"
></image>
<text class="empty-text">{{ statusText }}</text>
</view>
</template>
<script setup>
import { defineProps } from "vue";
const props = defineProps({
statusText: {
type: String,
default: "",
},
});
</script>
<style scoped lang="scss">
@import "./styles/index.scss";
</style>

View File

@@ -1,19 +0,0 @@
.empty-container {
/* #ifndef APP-NVUE */
display: flex;
/* #endif */
height: 100%;
flex-direction: column;
align-items: center;
}
.empty-image {
height: 130px;
width: 130px;
}
.empty-text {
margin-top: 10px;
font-size: $uni-font-size-base;
color: #666666;
}

View File

@@ -29,8 +29,8 @@
<script setup>
import { ref } from "vue";
import TopNavBar from "@/components/TopNavBar/index.vue";
import CustomEmpty from "@/components/CustomEmpty/index.vue";
import OrderCard from "./components/OrderCard/index.vue";
import CustomEmpty from "./components/CustomEmpty/index.vue";
import { userOrderList } from "@/request/api/OrderApi";
const dataList = ref([]);