parent
a49ae01807
commit
7df416ca96
@ -1,104 +1,104 @@
|
|||||||
<template>
|
<template>
|
||||||
<div v-if="!item.hidden">
|
<div v-if="!item.hidden">
|
||||||
<template
|
<template
|
||||||
v-if="hasOneShowingChild(item.children,item) && (!onlyOneChild.children||onlyOneChild.noShowingChildren)&&!item.alwaysShow">
|
v-if="hasOneShowingChild(item.children,item) && (!onlyOneChild.children||onlyOneChild.noShowingChildren)&&!item.alwaysShow">
|
||||||
<app-link v-if="onlyOneChild.meta" :to="resolvePath(onlyOneChild.path)">
|
<app-link v-if="onlyOneChild.meta" :to="resolvePath(onlyOneChild.path)">
|
||||||
<el-menu-item :index="resolvePath(onlyOneChild.path)" :class="{'submenu-title-noDropdown':!isNest}">
|
<el-menu-item :index="resolvePath(onlyOneChild.path)" :class="{'submenu-title-noDropdown':!isNest}">
|
||||||
<item :icon="onlyOneChild.meta.icon||(item.meta&&item.meta.icon)" :title="onlyOneChild.meta.title" />
|
<item :icon="onlyOneChild.meta.icon||(item.meta&&item.meta.icon)" :title="onlyOneChild.meta.title" />
|
||||||
</el-menu-item>
|
</el-menu-item>
|
||||||
</app-link>
|
</app-link>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<el-submenu v-else ref="subMenu" :index="resolvePath(item.path)" popper-append-to-body>
|
<el-submenu v-else ref="subMenu" :index="resolvePath(item.path)" popper-append-to-body>
|
||||||
<template slot="title">
|
<template slot="title">
|
||||||
<item v-if="item.meta" :icon="item.meta && item.meta.icon" :title="item.meta.title" />
|
<item v-if="item.meta" :icon="item.meta && item.meta.icon" :title="item.meta.title" />
|
||||||
</template>
|
</template>
|
||||||
<sidebar-item v-for="child in item.children" :key="child.path" :is-nest="true" :item="child"
|
<sidebar-item v-for="child in item.children" :key="child.path" :is-nest="true" :item="child"
|
||||||
:base-path="resolvePath(child.path)" class="nest-menu" />
|
:base-path="resolvePath(child.path)" class="nest-menu" />
|
||||||
</el-submenu>
|
</el-submenu>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import path from 'path'
|
import path from 'path'
|
||||||
import {
|
import {
|
||||||
isExternal
|
isExternal
|
||||||
} from '@/utils/validate'
|
} from '@/utils/validate'
|
||||||
import Item from './Item'
|
import Item from './Item'
|
||||||
import AppLink from './Link'
|
import AppLink from './Link'
|
||||||
import FixiOSBug from './FixiOSBug'
|
import FixiOSBug from './FixiOSBug'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'SidebarItem',
|
name: 'SidebarItem',
|
||||||
components: {
|
components: {
|
||||||
Item,
|
Item,
|
||||||
AppLink
|
AppLink
|
||||||
},
|
},
|
||||||
mixins: [FixiOSBug],
|
mixins: [FixiOSBug],
|
||||||
props: {
|
props: {
|
||||||
// route object
|
// route object
|
||||||
item: {
|
item: {
|
||||||
type: Object,
|
type: Object,
|
||||||
required: true
|
required: true
|
||||||
},
|
},
|
||||||
isNest: {
|
isNest: {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
default: false
|
default: false
|
||||||
},
|
},
|
||||||
basePath: {
|
basePath: {
|
||||||
type: String,
|
type: String,
|
||||||
default: ''
|
default: ''
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
// To fix https://github.com/PanJiaChen/vue-admin-template/issues/237
|
// To fix https://github.com/PanJiaChen/vue-admin-template/issues/237
|
||||||
// TODO: refactor with render function
|
// TODO: refactor with render function
|
||||||
this.onlyOneChild = null
|
this.onlyOneChild = null
|
||||||
return {}
|
return {}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
hasOneShowingChild(children = [], parent) {
|
hasOneShowingChild(children = [], parent) {
|
||||||
const showingChildren = children.filter(item => {
|
const showingChildren = children.filter(item => {
|
||||||
if (item.hidden) {
|
if (item.hidden) {
|
||||||
return false
|
return false
|
||||||
} else {
|
} else {
|
||||||
// Temp set(will be used if only has one showing child)
|
// Temp set(will be used if only has one showing child)
|
||||||
this.onlyOneChild = item
|
this.onlyOneChild = item
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
// When there is only one child router, the child router is displayed by default
|
// When there is only one child router, the child router is displayed by default
|
||||||
if (showingChildren.length === 1) {
|
if (showingChildren.length === 1) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
// Show parent if there are no child router to display
|
// Show parent if there are no child router to display
|
||||||
if (showingChildren.length === 0) {
|
if (showingChildren.length === 0) {
|
||||||
this.onlyOneChild = {
|
this.onlyOneChild = {
|
||||||
...parent,
|
...parent,
|
||||||
path: '',
|
path: '',
|
||||||
noShowingChildren: true
|
noShowingChildren: true
|
||||||
}
|
}
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
return false
|
return false
|
||||||
},
|
},
|
||||||
resolvePath(routePath) {
|
resolvePath(routePath) {
|
||||||
if (isExternal(routePath)) {
|
if (isExternal(routePath)) {
|
||||||
return routePath
|
return routePath
|
||||||
}
|
}
|
||||||
if (isExternal(this.basePath)) {
|
if (isExternal(this.basePath)) {
|
||||||
return this.basePath
|
return this.basePath
|
||||||
}
|
}
|
||||||
return path.resolve(this.basePath, routePath)
|
return path.resolve(this.basePath, routePath)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<style>
|
<style>
|
||||||
.el-submenu__title i {
|
.el-submenu__title i {
|
||||||
color: #fff !important;
|
color: #fff !important;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@ -0,0 +1,52 @@
|
|||||||
|
<template>
|
||||||
|
<div style="padding-top: 20px;">
|
||||||
|
<el-form ref="form" :model="form" label-width="80px">
|
||||||
|
<!-- <el-form-item label="到期时间">-->
|
||||||
|
<!-- <el-col :span="11">-->
|
||||||
|
<!-- <el-input-number v-model="form.warning" style="width: 100%;" class="input"></el-input-number>-->
|
||||||
|
<!-- </el-col>-->
|
||||||
|
<!-- </el-form-item>-->
|
||||||
|
<el-form-item label="提醒时间">
|
||||||
|
<el-col :span="11">
|
||||||
|
<el-input-number v-model="form.remind" style="width: 100%;" class="input"></el-input-number>
|
||||||
|
</el-col>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item>
|
||||||
|
<el-button type="primary" @click="">确认</el-button>
|
||||||
|
<el-button>取消</el-button>
|
||||||
|
</el-form-item>
|
||||||
|
</el-form>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
form: {
|
||||||
|
//warning: '',
|
||||||
|
remind: ''
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
methods: {},
|
||||||
|
computed: {}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style scoped lang="scss">
|
||||||
|
.input {
|
||||||
|
position: relative;
|
||||||
|
|
||||||
|
&::after {
|
||||||
|
content: '月';
|
||||||
|
zoom: .95;
|
||||||
|
font-weight: 600;
|
||||||
|
|
||||||
|
transform: translateX(calc(100% + 15px));
|
||||||
|
position: absolute;
|
||||||
|
right: 0;
|
||||||
|
top: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
@ -1,448 +1,448 @@
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<div class="boxlist">
|
<div class="boxlist">
|
||||||
<div class="box box1">
|
<div class="box box1">
|
||||||
<div class="boxtitle">
|
<div class="boxtitle">
|
||||||
<span>经营统计</span>
|
<span>经营统计</span>
|
||||||
<i class="el-icon-data-line statIcon"></i>
|
<i class="el-icon-data-line statIcon"></i>
|
||||||
</div>
|
</div>
|
||||||
<div class="bline"></div>
|
<div class="bline"></div>
|
||||||
<div class="boxcontentsubtitle">总计</div>
|
<div class="boxcontentsubtitle">总计</div>
|
||||||
<div class="boxcontent">
|
<div class="boxcontent">
|
||||||
<div class="boxcontentitem">
|
<div class="boxcontentitem">
|
||||||
<div class="boxcontentitem-big">
|
<div class="boxcontentitem-big">
|
||||||
{{totaldata.business.server_money_total}}
|
{{totaldata.business.server_money_total}}
|
||||||
</div>
|
</div>
|
||||||
<div style="display: flex;justify-content: space-around;">
|
<div style="display: flex;justify-content: space-around;">
|
||||||
<div class="boxcontentitem-small">
|
<div class="boxcontentitem-small">
|
||||||
<span>{{totaldata.business.nurse_money_total}}</span>
|
<span>{{totaldata.business.nurse_money_total}}</span>
|
||||||
<span>房产租赁金额</span>
|
<span>房产租赁金额</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="boxcontentitem-small">
|
<div class="boxcontentitem-small">
|
||||||
<span>{{totaldata.business.remain_money_total}}</span>
|
<span>{{totaldata.business.remain_money_total}}</span>
|
||||||
<span>土地租赁金额</span>
|
<span>土地租赁金额</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="box box2">
|
<div class="box box2">
|
||||||
<div class="boxtitle">
|
<div class="boxtitle">
|
||||||
|
|
||||||
<span>房产统计</span>
|
<span>房产统计</span>
|
||||||
<i class="el-icon-user statIcon"></i>
|
<i class="el-icon-user statIcon"></i>
|
||||||
</div>
|
</div>
|
||||||
<div class="bline"></div>
|
<div class="bline"></div>
|
||||||
<div class="boxcontentsubtitle">总计</div>
|
<div class="boxcontentsubtitle">总计</div>
|
||||||
<div class="boxcontent">
|
<div class="boxcontent">
|
||||||
<div class="boxcontentitem">
|
<div class="boxcontentitem">
|
||||||
<div class="boxcontentitem-big">
|
<div class="boxcontentitem-big">
|
||||||
{{totaldata.person_efficiency.server_time_total}}
|
{{totaldata.person_efficiency.server_time_total}}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div style="display: flex;justify-content: space-around;">
|
<div style="display: flex;justify-content: space-around;">
|
||||||
<div class="boxcontentitem-small">
|
<div class="boxcontentitem-small">
|
||||||
|
|
||||||
<span>{{totaldata.person_efficiency.expect}}</span>
|
<span>{{totaldata.person_efficiency.expect}}</span>
|
||||||
<span>出租</span>
|
<span>出租</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="boxcontentitem-small">
|
<div class="boxcontentitem-small">
|
||||||
<span>{{totaldata.person_efficiency.act}} </span>
|
<span>{{totaldata.person_efficiency.act}} </span>
|
||||||
<span>闲置</span>
|
<span>闲置</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="box box3">
|
<div class="box box3">
|
||||||
<div class="boxtitle">
|
<div class="boxtitle">
|
||||||
<span>土地统计</span>
|
<span>土地统计</span>
|
||||||
<i class="el-icon-s-custom statIcon"></i>
|
<i class="el-icon-s-custom statIcon"></i>
|
||||||
</div>
|
</div>
|
||||||
<div class="bline"></div>
|
<div class="bline"></div>
|
||||||
<div class="boxcontentsubtitle">总计</div>
|
<div class="boxcontentsubtitle">总计</div>
|
||||||
<div class="boxcontent">
|
<div class="boxcontent">
|
||||||
<div class="boxcontentitem">
|
<div class="boxcontentitem">
|
||||||
<div class="boxcontentitem-big">
|
<div class="boxcontentitem-big">
|
||||||
{{totaldata.customer.active}}
|
{{totaldata.customer.active}}
|
||||||
</div>
|
</div>
|
||||||
<div style="display: flex;justify-content: space-around;">
|
<div style="display: flex;justify-content: space-around;">
|
||||||
<div class="boxcontentitem-small">
|
<div class="boxcontentitem-small">
|
||||||
<span>{{totaldata.customer.add}}</span>
|
<span>{{totaldata.customer.add}}</span>
|
||||||
<span>出租</span>
|
<span>出租</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="boxcontentitem-small">
|
<div class="boxcontentitem-small">
|
||||||
<span>{{totaldata.customer.wash}}</span>
|
<span>{{totaldata.customer.wash}}</span>
|
||||||
<span>闲置</span>
|
<span>闲置</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="box box4">
|
<div class="box box4">
|
||||||
<div class="boxtitle">
|
<div class="boxtitle">
|
||||||
|
|
||||||
<span>合同统计</span>
|
<span>租赁台账</span>
|
||||||
<i class="el-icon-document statIcon"></i>
|
<i class="el-icon-document statIcon"></i>
|
||||||
</div>
|
</div>
|
||||||
<div class="bline"></div>
|
<div class="bline"></div>
|
||||||
<div class="boxcontentsubtitle">总计</div>
|
<div class="boxcontentsubtitle">总计</div>
|
||||||
<div class="boxcontent">
|
<div class="boxcontent">
|
||||||
<div class="boxcontentitem">
|
<div class="boxcontentitem">
|
||||||
<div class="boxcontentitem-big">{{totaldata.order.server_total}}
|
<div class="boxcontentitem-big">{{totaldata.order.server_total}}
|
||||||
</div>
|
</div>
|
||||||
<div style="display: flex;justify-content: space-around;">
|
<div style="display: flex;justify-content: space-around;">
|
||||||
<div class="boxcontentitem-small">
|
<div class="boxcontentitem-small">
|
||||||
<span>{{totaldata.order.cycle_total}}</span>
|
<span>{{totaldata.order.cycle_total}}</span>
|
||||||
<span>即将到期</span>
|
<span>即将到期</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="boxcontentitem-small">
|
<div class="boxcontentitem-small">
|
||||||
<span>{{totaldata.order.unit_total}}</span>
|
<span>{{totaldata.order.unit_total}}</span>
|
||||||
<span>进行中</span>
|
<span>进行中</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import CountTo from 'vue-count-to'
|
import CountTo from 'vue-count-to'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
props: {
|
props: {
|
||||||
countsData: {
|
countsData: {
|
||||||
type: Object
|
type: Object
|
||||||
},
|
},
|
||||||
totaldata: {
|
totaldata: {
|
||||||
type: Object,
|
type: Object,
|
||||||
default: {
|
default: {
|
||||||
|
|
||||||
"business": {
|
"business": {
|
||||||
"server_money_total": 0,
|
"server_money_total": 0,
|
||||||
"nurse_money_total": 0,
|
"nurse_money_total": 0,
|
||||||
"remain_money_total": 0
|
"remain_money_total": 0
|
||||||
},
|
},
|
||||||
"person_efficiency": {
|
"person_efficiency": {
|
||||||
"server_time_total": "0",
|
"server_time_total": "0",
|
||||||
"expect": 0,
|
"expect": 0,
|
||||||
"act": 0
|
"act": 0
|
||||||
},
|
},
|
||||||
"customer": {
|
"customer": {
|
||||||
"active": 0,
|
"active": 0,
|
||||||
"add": 0,
|
"add": 0,
|
||||||
"wash": 0
|
"wash": 0
|
||||||
},
|
},
|
||||||
"order": {
|
"order": {
|
||||||
"server_total": 0,
|
"server_total": 0,
|
||||||
"cycle_total": 0,
|
"cycle_total": 0,
|
||||||
"unit_total": 0
|
"unit_total": 0
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
CountTo
|
CountTo
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
handleRoute(type) {
|
handleRoute(type) {
|
||||||
this.$emit('handleRoute', type)
|
this.$emit('handleRoute', type)
|
||||||
},
|
},
|
||||||
toCaculateper(f1, f2) {
|
toCaculateper(f1, f2) {
|
||||||
return ((f1 / (f2 == 0 ? 1 : f2)) * 100).toFixed(2) + "%"
|
return ((f1 / (f2 == 0 ? 1 : f2)) * 100).toFixed(2) + "%"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.boxlist {
|
.boxlist {
|
||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
|
|
||||||
.statIcon {
|
.statIcon {
|
||||||
font-size: 24px;
|
font-size: 24px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.index_icon {
|
.index_icon {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 1.25rem;
|
top: 1.25rem;
|
||||||
right: 1.25rem;
|
right: 1.25rem;
|
||||||
width: 3.5625rem;
|
width: 3.5625rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.index_bg {
|
.index_bg {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.boxcontentitem-small {
|
.boxcontentitem-small {
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.box {
|
.box {
|
||||||
position: relative;
|
position: relative;
|
||||||
width: 33%;
|
width: 33%;
|
||||||
margin-left: 0.5%;
|
margin-left: 0.5%;
|
||||||
margin-right: 0.5%;
|
margin-right: 0.5%;
|
||||||
margin-bottom: 2.375rem;
|
margin-bottom: 2.375rem;
|
||||||
box-shadow: 0px 8px 15px 0px rgba(212, 84, 32, 0.3100);
|
box-shadow: 0px 8px 15px 0px rgba(212, 84, 32, 0.3100);
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
opacity: 0.8;
|
opacity: 0.8;
|
||||||
padding: 1.25rem 0;
|
padding: 1.25rem 0;
|
||||||
|
|
||||||
.boxcontentsubtitle {
|
.boxcontentsubtitle {
|
||||||
color: #FFFFFF;
|
color: #FFFFFF;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
font-size: 1.0625rem;
|
font-size: 1.0625rem;
|
||||||
margin-top: 1.25rem;
|
margin-top: 1.25rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.boxfooter {
|
.boxfooter {
|
||||||
font-size: 1.0625rem;
|
font-size: 1.0625rem;
|
||||||
font-family: Source Han Sans CN;
|
font-family: Source Han Sans CN;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
color: #FFFFFF;
|
color: #FFFFFF;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.boxtitle {
|
.boxtitle {
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
font-family: Source Han Sans CN;
|
font-family: Source Han Sans CN;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
color: #FFFFFF;
|
color: #FFFFFF;
|
||||||
padding: 0 1.25rem;
|
padding: 0 1.25rem;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.boxcontent {
|
.boxcontent {
|
||||||
display: flex;
|
display: flex;
|
||||||
//justify-content: space-around;
|
//justify-content: space-around;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
.boxline {
|
.boxline {
|
||||||
width: 1px;
|
width: 1px;
|
||||||
height: 4.0625rem;
|
height: 4.0625rem;
|
||||||
background: #FFFFFF00;
|
background: #FFFFFF00;
|
||||||
opacity: 0.3;
|
opacity: 0.3;
|
||||||
margin-left: 2.0625rem;
|
margin-left: 2.0625rem;
|
||||||
margin-right: 2.0625rem;
|
margin-right: 2.0625rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.boxcontentitem {
|
.boxcontentitem {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
font-size: 19px;
|
font-size: 19px;
|
||||||
font-family: Source Han Sans CN;
|
font-family: Source Han Sans CN;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
color: #FFFFFF;
|
color: #FFFFFF;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
min-width: 100%;
|
min-width: 100%;
|
||||||
|
|
||||||
.boxcontentitem-big {
|
.boxcontentitem-big {
|
||||||
font-size: 2.625rem;
|
font-size: 2.625rem;
|
||||||
font-family: Arial;
|
font-family: Arial;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
color: #FFFFFF;
|
color: #FFFFFF;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.box1 {
|
.box1 {
|
||||||
background: linear-gradient(134deg, #019239, #64db92);
|
background: linear-gradient(134deg, #019239, #64db92);
|
||||||
|
|
||||||
.boxcline {
|
.boxcline {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
background: #64db92;
|
background: #64db92;
|
||||||
height: 0.125rem;
|
height: 0.125rem;
|
||||||
margin-top: 1.25rem;
|
margin-top: 1.25rem;
|
||||||
margin-bottom: 1.25rem;
|
margin-bottom: 1.25rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.bline {
|
.bline {
|
||||||
background: linear-gradient(to right, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0) 60%);
|
background: linear-gradient(to right, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0) 60%);
|
||||||
height: 0.25rem;
|
height: 0.25rem;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin-top: 1.25rem;
|
margin-top: 1.25rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.box2 {
|
.box2 {
|
||||||
background: linear-gradient(134deg, #4486c4, #8bb1d5);
|
background: linear-gradient(134deg, #4486c4, #8bb1d5);
|
||||||
|
|
||||||
.boxcline {
|
.boxcline {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
background: #8bb1d5;
|
background: #8bb1d5;
|
||||||
height: 0.125rem;
|
height: 0.125rem;
|
||||||
margin-top: 1.25rem;
|
margin-top: 1.25rem;
|
||||||
margin-bottom: 1.25rem;
|
margin-bottom: 1.25rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.box3 {
|
.box3 {
|
||||||
|
|
||||||
background: linear-gradient(-55deg, #F6A868, #F4C59E);
|
background: linear-gradient(-55deg, #F6A868, #F4C59E);
|
||||||
|
|
||||||
.boxcline {
|
.boxcline {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
background: #F4C59E;
|
background: #F4C59E;
|
||||||
height: 0.125rem;
|
height: 0.125rem;
|
||||||
margin-top: 1.25rem;
|
margin-top: 1.25rem;
|
||||||
margin-bottom: 1.25rem;
|
margin-bottom: 1.25rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.box4 {
|
.box4 {
|
||||||
|
|
||||||
background: linear-gradient(-55deg, #64A48E, #9ECABB);
|
background: linear-gradient(-55deg, #64A48E, #9ECABB);
|
||||||
|
|
||||||
.boxcline {
|
.boxcline {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
background: #9ECABB;
|
background: #9ECABB;
|
||||||
height: 0.125rem;
|
height: 0.125rem;
|
||||||
margin-top: 1.25rem;
|
margin-top: 1.25rem;
|
||||||
margin-bottom: 1.25rem;
|
margin-bottom: 1.25rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.panel-group {
|
.panel-group {
|
||||||
// margin-top: 18px;
|
// margin-top: 18px;
|
||||||
margin-left: -2% !important;
|
margin-left: -2% !important;
|
||||||
margin-right: -3% !important;
|
margin-right: -3% !important;
|
||||||
|
|
||||||
.card-panel-col {
|
.card-panel-col {
|
||||||
margin: 0 2%;
|
margin: 0 2%;
|
||||||
|
|
||||||
margin-bottom: 32px;
|
margin-bottom: 32px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.card-panel {
|
.card-panel {
|
||||||
height: 130px;
|
height: 130px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
position: relative;
|
position: relative;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
color: #666;
|
color: #666;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
// background: #fff;
|
// background: #fff;
|
||||||
// box-shadow: 4px 4px 40px rgba(0, 0, 0, .05);
|
// box-shadow: 4px 4px 40px rgba(0, 0, 0, .05);
|
||||||
// border-color: rgba(0, 0, 0, .05);
|
// border-color: rgba(0, 0, 0, .05);
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
.card-panel-icon-wrapper {
|
.card-panel-icon-wrapper {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
// .icon-people {
|
// .icon-people {
|
||||||
// background: #40c9c6;
|
// background: #40c9c6;
|
||||||
// }
|
// }
|
||||||
|
|
||||||
// .icon-message {
|
// .icon-message {
|
||||||
// background: #36a3f7;
|
// background: #36a3f7;
|
||||||
// }
|
// }
|
||||||
|
|
||||||
// .icon-money {
|
// .icon-money {
|
||||||
// background: #f4516c;
|
// background: #f4516c;
|
||||||
// }
|
// }
|
||||||
|
|
||||||
// .icon-shopping {
|
// .icon-shopping {
|
||||||
// background: #34bfa3
|
// background: #34bfa3
|
||||||
// }
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon-people {
|
.icon-people {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon-message {
|
.icon-message {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon-money {
|
.icon-money {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon-shopping {
|
.icon-shopping {
|
||||||
color: #fff
|
color: #fff
|
||||||
}
|
}
|
||||||
|
|
||||||
.card-panel-icon-wrapper {
|
.card-panel-icon-wrapper {
|
||||||
float: right;
|
float: right;
|
||||||
margin: 22px 0 0 14px;
|
margin: 22px 0 0 14px;
|
||||||
padding: 16px;
|
padding: 16px;
|
||||||
transition: all 0.38s ease-out;
|
transition: all 0.38s ease-out;
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.card-panel-icon {
|
.card-panel-icon {
|
||||||
float: left;
|
float: left;
|
||||||
font-size: 42px;
|
font-size: 42px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.card-panel-description {
|
.card-panel-description {
|
||||||
// float: right;
|
// float: right;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
margin: 16px 12px;
|
margin: 16px 12px;
|
||||||
|
|
||||||
.card-panel-text {
|
.card-panel-text {
|
||||||
line-height: 25px;
|
line-height: 25px;
|
||||||
color: rgb(255, 255, 255);
|
color: rgb(255, 255, 255);
|
||||||
font-size: 26px;
|
font-size: 26px;
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
width: 70%;
|
width: 70%;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
p {
|
p {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
font-size: 19px;
|
font-size: 19px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.card-panel-num {
|
.card-panel-num {
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width:550px) {
|
@media (max-width:550px) {
|
||||||
.card-panel-description {
|
.card-panel-description {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.card-panel-icon-wrapper {
|
.card-panel-icon-wrapper {
|
||||||
float: none !important;
|
float: none !important;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
margin: 0 !important;
|
margin: 0 !important;
|
||||||
|
|
||||||
.svg-icon {
|
.svg-icon {
|
||||||
display: block;
|
display: block;
|
||||||
margin: 14px auto !important;
|
margin: 14px auto !important;
|
||||||
float: none !important;
|
float: none !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Loading…
Reference in new issue