首页初步更改
This commit is contained in:
parent
49b56da41a
commit
4185e78957
@ -142,56 +142,23 @@
|
|||||||
</el-row>
|
</el-row>
|
||||||
</el-skeleton>
|
</el-skeleton>
|
||||||
</el-card>
|
</el-card>
|
||||||
</el-col>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<el-col :xl="8" :lg="8" :md="24" :sm="24" :xs="24" class="mb-8px">
|
|
||||||
<el-card shadow="never" class="mt-8px" style="margin-bottom: 10px">
|
|
||||||
<template #header>
|
|
||||||
<div class="h-3 flex justify-between">
|
|
||||||
<span>{{ t('workplace.notice') }}</span>
|
|
||||||
<el-link type="primary" :underline="false">{{ t('action.more') }}</el-link>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
<el-skeleton :loading="loading" animated>
|
|
||||||
<div v-for="(item, index) in notice" :key="`dynamics-${index}`">
|
|
||||||
<div class="flex items-center">
|
|
||||||
<!-- <el-avatar :src="avatar" :size="35" class="mr-16px">-->
|
|
||||||
<!-- <img src="@/assets/imgs/avatar.gif" alt="" />-->
|
|
||||||
<!-- </el-avatar>-->
|
|
||||||
<div>
|
|
||||||
<div class="text-14px">
|
|
||||||
<Highlight :keys="item.keys.map((v) => t(v))">
|
|
||||||
{{ item.type }} : {{ item.title }}
|
|
||||||
</Highlight>
|
|
||||||
</div>
|
|
||||||
<div class="mt-16px text-12px text-gray-400">
|
|
||||||
{{ formatTime(item.date, 'yyyy-MM-dd') }}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<el-divider />
|
|
||||||
</div>
|
|
||||||
</el-skeleton>
|
|
||||||
</el-card>
|
|
||||||
<el-card shadow="never" style="margin-bottom: 10px">
|
<el-card shadow="never" style="margin-bottom: 10px">
|
||||||
<template #header>
|
<template #header>
|
||||||
<div class="h-3 flex justify-between">
|
<div class="h-3 flex justify-between">
|
||||||
<!-- <span>{{ t('workplace.shortcutOperation') }}</span>-->
|
<!-- <span>{{ t('workplace.shortcutOperation') }}</span>-->
|
||||||
<span>完成项目</span>
|
<span>完成项目</span>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<el-skeleton :loading="loading" animated>
|
<el-skeleton :loading="loading" animated>
|
||||||
<el-row>
|
<el-row>
|
||||||
<!-- <el-col v-for="item in shortcut" :key="`team-${item.name}`" :span="8" class="mb-8px">-->
|
<!-- <el-col v-for="item in shortcut" :key="`team-${item.name}`" :span="8" class="mb-8px">-->
|
||||||
<el-col>
|
<el-col>
|
||||||
<div class="flex items-center">
|
<div class="flex items-center">
|
||||||
<!-- <Icon :icon="item.icon" class="mr-8px" />-->
|
<!-- <Icon :icon="item.icon" class="mr-8px" />-->
|
||||||
<!-- <el-link type="default" :underline="false" @click="setWatermark(item.name)">-->
|
<!-- <el-link type="default" :underline="false" @click="setWatermark(item.name)">-->
|
||||||
<!--<!– {{ item.name }}–>-->
|
<!--<!– {{ item.name }}–>-->
|
||||||
<!-- Test-->
|
<!-- Test-->
|
||||||
<!-- </el-link>-->
|
<!-- </el-link>-->
|
||||||
<el-table
|
<el-table
|
||||||
:data="pjList"
|
:data="pjList"
|
||||||
stripe
|
stripe
|
||||||
@ -228,6 +195,39 @@
|
|||||||
</el-row>
|
</el-row>
|
||||||
</el-skeleton>
|
</el-skeleton>
|
||||||
</el-card>
|
</el-card>
|
||||||
|
</el-col>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<el-col :xl="8" :lg="8" :md="24" :sm="24" :xs="24" class="mb-8px">
|
||||||
|
<el-card shadow="never" class="mt-8px" style="margin-bottom: 10px">
|
||||||
|
<template #header>
|
||||||
|
<div class="h-3 flex justify-between">
|
||||||
|
<span>{{ t('workplace.notice') }}</span>
|
||||||
|
<el-link type="primary" :underline="false">{{ t('action.more') }}</el-link>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
<el-skeleton :loading="loading" animated>
|
||||||
|
<div v-for="(item, index) in notice" :key="`dynamics-${index}`">
|
||||||
|
<div class="flex items-center">
|
||||||
|
<!-- <el-avatar :src="avatar" :size="35" class="mr-16px">-->
|
||||||
|
<!-- <img src="@/assets/imgs/avatar.gif" alt="" />-->
|
||||||
|
<!-- </el-avatar>-->
|
||||||
|
<div>
|
||||||
|
<div class="text-14px">
|
||||||
|
<Highlight :keys="item.keys.map((v) => t(v))">
|
||||||
|
{{ item.type }} : {{ item.title }}
|
||||||
|
</Highlight>
|
||||||
|
</div>
|
||||||
|
<div class="mt-16px text-12px text-gray-400">
|
||||||
|
{{ formatTime(item.date, 'yyyy-MM-dd') }}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<el-divider />
|
||||||
|
</div>
|
||||||
|
</el-skeleton>
|
||||||
|
</el-card>
|
||||||
<el-card shadow="never">
|
<el-card shadow="never">
|
||||||
<template #header>
|
<template #header>
|
||||||
<div class="h-3 flex justify-between">
|
<div class="h-3 flex justify-between">
|
||||||
|
Loading…
Reference in New Issue
Block a user