7 changed files with 161 additions and 69 deletions
@ -0,0 +1,8 @@ |
|||||
|
<template> |
||||
|
</template> |
||||
|
|
||||
|
<script> |
||||
|
</script> |
||||
|
|
||||
|
<style> |
||||
|
</style> |
||||
@ -0,0 +1,8 @@ |
|||||
|
<template> |
||||
|
</template> |
||||
|
|
||||
|
<script> |
||||
|
</script> |
||||
|
|
||||
|
<style> |
||||
|
</style> |
||||
@ -0,0 +1,8 @@ |
|||||
|
<template> |
||||
|
</template> |
||||
|
|
||||
|
<script> |
||||
|
</script> |
||||
|
|
||||
|
<style> |
||||
|
</style> |
||||
@ -1,66 +1,62 @@ |
|||||
<template> |
<template> |
||||
<view :style="{ height: height }" class="flex flex-col overflow-hidden u-font-14"> |
<view class="flex flex-col h-full bg-gray-50" @click="openAuth"> |
||||
<!-- 标题栏 --> |
<view class="relative" @touchmove="onMove"> |
||||
<Title /> |
<!-- 日历 --> |
||||
|
<Calendar @selected-change="onDateChange" :show-back="true" ref="calendar" @handleFindPoint="handleFindPoint" /> |
||||
<view class="container flex flex-col flex-1 mx-auto overflow-hidden bg-gray-100"> |
<!-- 上传 导入wbs --> |
||||
<!-- 角色栏 --> |
<Upload @success="onUploadSuccess" @error="onUploadError" /> |
||||
<Roles /> |
</view> |
||||
|
|
||||
<!-- 日常任务面板 --> |
<!-- 项目列表 --> |
||||
<Globals /> |
<Projects @getProjects="getProjects" class="flex-1 overflow-y-auto" /> |
||||
|
|
||||
<!-- 定期任务面板 --> |
<!-- 全局提示框 --> |
||||
<TimeLine @getTasks="getTasks" class="flex-1 overflow-hidden" ref="timeLine" /> |
<u-top-tips ref="uTips"></u-top-tips> |
||||
</view> |
</view> |
||||
</view> |
</template> |
||||
</template> |
|
||||
|
<script setup> |
||||
<script setup> |
import { ref, onMounted } from 'vue'; |
||||
import { |
import Calendar from '@/components/Calendar/Calendar.vue'; |
||||
ref, onMounted |
import Upload from '@/components/Upload/Upload.vue'; |
||||
} from 'vue'; |
import Projects from '@/components/Projects/Projects.vue'; |
||||
import Navbar from '@/components/Title/Title.vue'; |
|
||||
import Roles from '@/components/Roles/Roles.vue'; |
let height = ref(null); |
||||
import Globals from '@/components/Globals/Globals.vue'; |
|
||||
import TimeLine from '@/components/TimeLine/TimeLine.vue'; |
onMounted(() => { |
||||
|
const system = uni.getSystemInfoSync(); |
||||
let height = ref(null); |
height.value = system.windowHeight + 'px'; |
||||
|
}); |
||||
onMounted(() => { |
|
||||
const system = uni.getSystemInfoSync(); |
function getTasks() { |
||||
height.value = system.windowHeight + 'px'; |
|
||||
}); |
} |
||||
|
</script> |
||||
function getTasks() { |
|
||||
|
<style> |
||||
} |
.content { |
||||
</script> |
display: flex; |
||||
|
flex-direction: column; |
||||
<style> |
align-items: center; |
||||
.content { |
justify-content: center; |
||||
display: flex; |
} |
||||
flex-direction: column; |
|
||||
align-items: center; |
.logo { |
||||
justify-content: center; |
height: 200rpx; |
||||
} |
width: 200rpx; |
||||
|
margin-top: 200rpx; |
||||
.logo { |
margin-left: auto; |
||||
height: 200rpx; |
margin-right: auto; |
||||
width: 200rpx; |
margin-bottom: 50rpx; |
||||
margin-top: 200rpx; |
} |
||||
margin-left: auto; |
|
||||
margin-right: auto; |
.text-area { |
||||
margin-bottom: 50rpx; |
display: flex; |
||||
} |
justify-content: center; |
||||
|
} |
||||
.text-area { |
|
||||
display: flex; |
.title { |
||||
justify-content: center; |
font-size: 36rpx; |
||||
} |
color: #8f8f94; |
||||
|
} |
||||
.title { |
|
||||
font-size: 36rpx; |
|
||||
color: #8f8f94; |
|
||||
} |
|
||||
</style> |
</style> |
||||
|
|||||
@ -0,0 +1,64 @@ |
|||||
|
<template> |
||||
|
<view :style="{ height: height }" class="flex flex-col overflow-hidden u-font-14"> |
||||
|
<!-- 标题栏 --> |
||||
|
<Title /> |
||||
|
|
||||
|
<view class="container flex flex-col flex-1 mx-auto overflow-hidden bg-gray-100"> |
||||
|
<!-- 角色栏 --> |
||||
|
<Roles /> |
||||
|
|
||||
|
<!-- 日常任务面板 --> |
||||
|
<Globals /> |
||||
|
|
||||
|
<!-- 定期任务面板 --> |
||||
|
<TimeLine @getTasks="getTasks" class="flex-1 overflow-hidden" ref="timeLine" /> |
||||
|
</view> |
||||
|
</view> |
||||
|
</template> |
||||
|
|
||||
|
<script setup> |
||||
|
import { ref, onMounted } from 'vue'; |
||||
|
import Navbar from '@/components/Title/Title.vue'; |
||||
|
import Roles from '@/components/Roles/Roles.vue'; |
||||
|
import Globals from '@/components/Globals/Globals.vue'; |
||||
|
import TimeLine from '@/components/TimeLine/TimeLine.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> |
||||
Loading…
Reference in new issue