feat: 我的工单样式调整
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 12 KiB |
@@ -1,12 +1,9 @@
|
||||
|
||||
<template>
|
||||
<view class="empty-container">
|
||||
<image
|
||||
class="empty-image"
|
||||
mode="aspectFit"
|
||||
src="./images/empty.png"
|
||||
></image>
|
||||
<text class="empty-text">{{ statusText }}</text>
|
||||
<view class="empty-container flex flex-col items-center justify-center">
|
||||
<image class="empty-image" :src="emptyIcon" mode="aspectFit" />
|
||||
<text class="font-size-12 text-center color-99A0AE mt-8">
|
||||
{{ statusText }}
|
||||
</text>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
@@ -18,6 +15,11 @@ const props = defineProps({
|
||||
type: String,
|
||||
default: "",
|
||||
},
|
||||
emptyIcon: {
|
||||
type: String,
|
||||
default:
|
||||
"https://oss.nianxx.cn/mp/static/version_101/order/order_empty.png",
|
||||
},
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
@@ -1,19 +1,4 @@
|
||||
.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;
|
||||
}
|
||||
|
||||
@@ -14,7 +14,10 @@
|
||||
</template>
|
||||
|
||||
<template #empty>
|
||||
<CustomEmpty statusText="您暂无服务工单" />
|
||||
<CustomEmpty
|
||||
emptyIcon="https://oss.nianxx.cn/mp/static/version_101/order/service_empty.png"
|
||||
statusText="您暂无服务工单"
|
||||
/>
|
||||
</template>
|
||||
|
||||
<OrderCard
|
||||
|
||||
Reference in New Issue
Block a user