liujie
23 小时以前 384bce80449b17651937429038c4370dbce60e7b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<template>
    <view class="page">
        <view class="empty">
            <text class="empty-title">暂无缺货订单</text>
            <text class="empty-desc">缺货订单列表页建设中</text>
        </view>
    </view>
</template>
 
<script setup>
import { onShow } from '@dcloudio/uni-app'
import { ensureLogin } from '@/utils/request.js'
 
// 每次页面显示均校验登录态
onShow(() => {
    ensureLogin()
})
</script>
 
<style scoped lang="scss">
.page {
    min-height: 100vh;
    background: #f8fafc;
}
 
.empty {
    padding-top: 320rpx;
    display: flex;
    flex-direction: column;
    align-items: center;
}
 
.empty-title {
    font-size: 34rpx;
    font-weight: 700;
    color: #0f172a;
}
 
.empty-desc {
    margin-top: 16rpx;
    font-size: 26rpx;
    color: #94a3b8;
}
</style>