Commit 477135c6 by wanglizhen

首页上传

parent 7c02ccf5
...@@ -3,6 +3,7 @@ import { onMounted, ref, reactive } from 'vue' ...@@ -3,6 +3,7 @@ import { onMounted, ref, reactive } from 'vue'
import { CountUp } from 'view-ui-plus'; import { CountUp } from 'view-ui-plus';
import img from '@/assets/images/index/index.js' import img from '@/assets/images/index/index.js'
import HomeCharts from '@/components/HomeCharts/index.vue' import HomeCharts from '@/components/HomeCharts/index.vue'
import DashboardCharts from '@/components/HomeCharts/dashboard.vue'
import { getHomePage } from '@/api/home' import { getHomePage } from '@/api/home'
const topList = ref([ const topList = ref([
...@@ -81,9 +82,6 @@ onMounted(() => { ...@@ -81,9 +82,6 @@ onMounted(() => {
<template> <template>
<div class="app-container home scroller"> <div class="app-container home scroller">
<IconTitle :icon="pageIcon" :title="projectName">
<el-button type="primary" @click="pageProjectManage" icon="Back" plain style="height: 34px;">返回项目管理</el-button>
</IconTitle>
<div class="topBox"> <div class="topBox">
<div class="topItem" :style="`background: ${item.bgColor};`" v-for="(item, index) in topList" :key="index"> <div class="topItem" :style="`background: ${item.bgColor};`" v-for="(item, index) in topList" :key="index">
<img class="icon" :src="item.icon" alt=""> <img class="icon" :src="item.icon" alt="">
...@@ -161,7 +159,7 @@ onMounted(() => { ...@@ -161,7 +159,7 @@ onMounted(() => {
<style scoped lang="scss"> <style scoped lang="scss">
.home { .home {
padding: 20px 0 0 0; padding: 40px 0 0 0;
.return-logo { .return-logo {
width: 16px; width: 16px;
......
...@@ -3,6 +3,7 @@ import { onMounted, ref, reactive } from 'vue' ...@@ -3,6 +3,7 @@ import { onMounted, ref, reactive } from 'vue'
import { CountUp } from 'view-ui-plus'; import { CountUp } from 'view-ui-plus';
import img from '@/assets/images/index/index.js' import img from '@/assets/images/index/index.js'
import HomeCharts from '@/components/HomeCharts/index.vue' import HomeCharts from '@/components/HomeCharts/index.vue'
import DashboardCharts from '@/components/HomeCharts/dashboard.vue'
import { getHomePage } from '@/api/home' import { getHomePage } from '@/api/home'
const topList = ref([ const topList = ref([
...@@ -81,9 +82,6 @@ onMounted(() => { ...@@ -81,9 +82,6 @@ onMounted(() => {
<template> <template>
<div class="app-container home scroller"> <div class="app-container home scroller">
<IconTitle :icon="pageIcon" :title="projectName">
<el-button type="primary" @click="pageProjectManage" icon="Back" plain style="height: 34px;">返回项目管理</el-button>
</IconTitle>
<div class="topBox"> <div class="topBox">
<div class="topItem" :style="`background: ${item.bgColor};`" v-for="(item, index) in topList" :key="index"> <div class="topItem" :style="`background: ${item.bgColor};`" v-for="(item, index) in topList" :key="index">
<img class="icon" :src="item.icon" alt=""> <img class="icon" :src="item.icon" alt="">
...@@ -161,7 +159,7 @@ onMounted(() => { ...@@ -161,7 +159,7 @@ onMounted(() => {
<style scoped lang="scss"> <style scoped lang="scss">
.home { .home {
padding: 20px 0 0 0; padding: 40px 0 0 0;
.return-logo { .return-logo {
width: 16px; width: 16px;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论