feat: 新增工单列表
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 12 KiB |
@@ -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>
|
||||
@@ -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;
|
||||
}
|
||||
@@ -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([]);
|
||||
|
||||
Reference in New Issue
Block a user