提交 c3425c89 authored 作者: matian's avatar matian

updates

上级 01990e06
......@@ -52,9 +52,10 @@ const handleViewMore = () => {
:key="index"
@submitComment="onSubmitComment"
></PublishItem>
<van-button color="#FCEDD0" round size="large" @click="handleViewMore" v-if="data.list.length > 2"
>查看更多问答</van-button
>
<div class="line"></div>
<div class="btn" color="#FCEDD0" round size="large" @click="handleViewMore" v-if="data.list.length > 2">
查看更多问答
</div>
</template>
<van-empty description="暂无内容" v-else />
</AppCard>
......@@ -67,15 +68,23 @@ const handleViewMore = () => {
background: #fff;
border-radius: 0.2rem;
}
:deep(.van-button__text) {
font-size: 0.24rem;
font-weight: 400;
color: #e2a022;
}
:deep(van-button--large) {
.btn {
margin: 0.2rem auto;
width: 5.78rem;
height: 0.69rem;
}
:deep(.van-button) {
background: #fcedd0;
text-align: center;
line-height: 0.69rem;
color: #e2a022;
font-size: 0.24rem;
border-radius: 0.35rem;
cursor: pointer;
}
.line {
width: 5.97rem;
height: 0px;
border-top: 0.01rem solid #d3d3d3;
margin: auto;
}
</style>
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论