Commit ac4bd30c by 前端

commit

1 parent 88b4464e
<template> <template>
<div class="tabs box"> <div class="tabs flex box">
<div class="tab"> <div class="tab" v-for="item in tabs" :key="item.key">
<div class="tab-title">{{ item.title }}</div>
<div class="tab-text">2,174443</div>
</div> </div>
</div> </div>
</template> </template>
<script type="text/ecmascript-6"> <script type="text/ecmascript-6">
const tabs = [ import * as echarts from 'echarts'
export default {
name: 'ViewTabs',
data() {
return {
tabs: [
{ {
title: '企微客户', title: '总门店数',
key: 'wechat' key: 'wechat'
}, },
{ {
title: '企微群数', title: '当年新增',
key: 'wechatGroup' key: 'wechatGroup'
}, },
{ {
title: '小程序客户数', title: '总门店数',
key: 'applet' key: 'applet'
}, },
{ {
title: '公众号客户数', title: '总门店数',
key: 'publiccus' key: 'publiccus'
} }
] ]
}
import * as echarts from 'echarts'
export default {
name: 'ViewTabs',
data() {
return {}
}, },
mounted() {}, mounted() {},
methods: {} methods: {}
...@@ -39,7 +40,22 @@ export default { ...@@ -39,7 +40,22 @@ export default {
<style scoped lang="scss"> <style scoped lang="scss">
.tabs { .tabs {
margin:1.22vh 0 0.98vh 0; margin: 1.22vh 2.78vw 0.98vh 2.78vw;
height:6.95vh; height: 6.95vh;
justify-content: space-between;
.tab {
margin:0.61vh 0;
.tab-title {
font-weight: 400;
font-size: 12px;
color: #e8e8e8;
}
.tab-text {
font-weight: 700;
font-size: 24px;
color: #6578ff;
line-height: 30px;
}
}
} }
</style> </style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!