You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
<template>
|
|
|
|
<view class="flex flex-col h-full bg-gray-50" @click="openAuth">
|
|
|
|
<view class="relative" @touchmove="onMove">
|
|
|
|
<!-- 日历 -->
|
|
|
|
<Calendar @selected-change="onDateChange" :show-back="true" ref="calendar" @handleFindPoint="handleFindPoint" />
|
|
|
|
<!-- 上传 导入wbs -->
|
|
|
|
<Upload @success="onUploadSuccess" @error="onUploadError" />
|
|
|
|
</view>
|
|
|
|
|
|
|
|
<!-- 项目列表 -->
|
|
|
|
<Projects @getProjects="getProjects" class="flex-1 overflow-y-auto" />
|
|
|
|
|
|
|
|
<!-- 全局提示框 -->
|
|
|
|
<u-top-tips ref="uTips"></u-top-tips>
|
|
|
|
</view>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script setup>
|
|
|
|
import { ref, onMounted } from 'vue';
|
|
|
|
import Calendar from '@/components/Calendar/Calendar.vue';
|
|
|
|
import Upload from '@/components/Upload/Upload.vue';
|
|
|
|
import Projects from '@/components/Projects/Projects.vue';
|
|
|
|
|
|
|
|
let height = ref(null);
|
|
|
|
|
|
|
|
onMounted(() => {
|
|
|
|
const system = uni.getSystemInfoSync();
|
|
|
|
height.value = system.windowHeight + 'px';
|
|
|
|
});
|
|
|
|
|
|
|
|
function getTasks() {
|
|
|
|
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style>
|
|
|
|
.content {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.logo {
|
|
|
|
height: 200rpx;
|
|
|
|
width: 200rpx;
|
|
|
|
margin-top: 200rpx;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
margin-bottom: 50rpx;
|
|
|
|
}
|
|
|
|
|
|
|
|
.text-area {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.title {
|
|
|
|
font-size: 36rpx;
|
|
|
|
color: #8f8f94;
|
|
|
|
}
|
|
|
|
</style>
|