Commit d4103d44 by xinla

门店活码详情统计也调整

1 parent e8de0a34
<template> <template>
<div> <div style="margin-top: -13px">
<div class="card-tab"> <el-tabs>
<div class="item" :class="activeIndex === 0 ? 'active' : ''" @click="activeIndex = 0">门店信息</div> <el-tab-pane label="门店信息">
<div class="item" :class="activeIndex === 1 ? 'active' : ''" @click="activeIndex = 1">数据统计</div>
</div>
<div style="margin-top: 10px">
<template v-if="activeIndex === 0">
<edit-store :isDetail="true"></edit-store> <edit-store :isDetail="true"></edit-store>
</template> </el-tab-pane>
<template v-if="activeIndex === 1"> <el-tab-pane label="数据统计">
<store-analyse></store-analyse> <store-analyse></store-analyse>
</template> </el-tab-pane>
</div> </el-tabs>
</div> </div>
</template> </template>
<script> <script>
...@@ -20,9 +16,7 @@ import StoreAnalyse from './store_analyse' ...@@ -20,9 +16,7 @@ import StoreAnalyse from './store_analyse'
export default { export default {
name: 'store-detail', name: 'store-detail',
data() { data() {
return { return {}
activeIndex: 0,
}
}, },
components: { components: {
EditStore, EditStore,
...@@ -30,30 +24,4 @@ export default { ...@@ -30,30 +24,4 @@ export default {
}, },
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped></style>
.active {
font-weight: 600;
color: var(--color) !important;
background: var(--bg-white) !important;
box-shadow: 0px 6px 30px 5px rgba(59, 59, 59, 0.05);
}
.card-tab {
// margin-top: 10px;
display: flex;
div {
width: 88px;
height: 30px;
background: var(--bg-black-11);
border-radius: 32px 32px 32px 32px;
font-size: 14px;
line-height: 30px;
text-align: center;
margin-right: 12px;
margin-bottom: 6px;
}
.item:hover {
cursor: pointer;
opacity: 0.8;
}
}
</style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!