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

updates

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