myReservation.vue
729 Bytes
<template>
<div>
<el-card :body-style="{'padding':'0'}">
<div class="indexTitle"><h3 class="leftboderTT">{{ language==0?'我的预订':'My reservation' }}</h3></div>
<el-empty :image="`/img/order_no.png`" :image-size="228" v-if="list?.length == 0"/>
<div class="pd20"></div>
</el-card>
</div>
</template>
<script setup>
import cache from "@/plugins/cache";
import {onMounted} from "@vue/runtime-core";
const language = ref(cache.local.get('language') || 0)
const list = ref([])
</script>
<style scoped lang="scss">
.indexTitle {
margin: 20px 0 12px;
padding: 0 20px 15px;
border-bottom: 1px solid #e5e5e5;
h3 {
font-size: 16px;
color: var(--el-color-primary);
}
}
</style>