10,608
社区成员
发帖
与我相关
我的任务
分享
<template>
<div>
<div class="top">
<p class="title">标题</p>
<p class="tip">实时动态</p>
</div>
<Tabs value="city">
<TabPane label="太原访情" name="city">
<h1 class="cityfq">{{}}访情</h1>
<span class="newtime">截至</span>
<div class="category">
<Category :title="'累计'"
:count=0
:color="'#e57471'"
/>
<Category :title="'新增'"
:count=0
:color="'#dda451'"
/>
<Category :title="'已办结'"
:count=0
:color="'#5d4037'"
/>
<Category :title="'已办结'"
:count=0
:color="'#919399'"
/>
</div>
</TabPane>
</Tabs>
</div>
</template>
<script>
import Category from '../category/Category.vue';
export default {
name: "Child",
components: {Category}
}
</script>
<style scoped>
.cityfq{
font-family:sans-serif;
font-style:normal;
font-weight: 900;
font-size:40px;
}
.newtime{
margin-left: 0.02rem;
}
.category{
display: flex;
justify-content: space-around;
margin-top: 10px;
margin-bottom: 8px;
}
</style>
<template>
<div>
<div class="top">
<p class="title">标题</p>
<p class="tip">实时动态</p>
</div>
<Tabs value="city">
<TabPane label="太原访情" name="city">
<h1 class="cityfq">{{}}访情</h1>
<span class="newtime">截至</span>
<div class="category">
<Category :title="'累计'"
:count=0
:color="'#e57471'"
/>
<Category :title="'新增'"
:count=0
:color="'#dda451'"
/>
<Category :title="'已办结'"
:count=0
:color="'#5d4037'"
/>
<Category :title="'已办结'"
:count=0
:color="'#919399'"
/>
</div>
</TabPane>
</Tabs>
</div>
</template>
<script>
import Category from '../category/Category.vue';
export default {
name: "Child",
components: {Category}
}
</script>
<style scoped>
.cityfq{
font-family:sans-serif;
font-style:normal;
font-weight: 900;
font-size:40px;
}
.newtime{
margin-left: 0.02rem;
}
.category{
display: flex;
justify-content: space-around;
margin-top: 10px;
margin-bottom: 8px;
}
</style>
[/quote]
我没这么写过 我平时也是用this.$router.push[/quote]
我这个子页面直接访问也打不开 是哪没配好吗?
<template>
<div>
<div class="top">
<p class="title">标题</p>
<p class="tip">实时动态</p>
</div>
<Tabs value="city">
<TabPane label="太原访情" name="city">
<h1 class="cityfq">{{}}访情</h1>
<span class="newtime">截至</span>
<div class="category">
<Category :title="'累计'"
:count=0
:color="'#e57471'"
/>
<Category :title="'新增'"
:count=0
:color="'#dda451'"
/>
<Category :title="'已办结'"
:count=0
:color="'#5d4037'"
/>
<Category :title="'已办结'"
:count=0
:color="'#919399'"
/>
</div>
</TabPane>
</Tabs>
</div>
</template>
<script>
import Category from '../category/Category.vue';
export default {
name: "Child",
components: {Category}
}
</script>
<style scoped>
.cityfq{
font-family:sans-serif;
font-style:normal;
font-weight: 900;
font-size:40px;
}
.newtime{
margin-left: 0.02rem;
}
.category{
display: flex;
justify-content: space-around;
margin-top: 10px;
margin-bottom: 8px;
}
</style>
[/quote]
我没这么写过 我平时也是用this.$router.push