Commit 530a99a1 authored by 罗超's avatar 罗超

修改样式

parent fcbe26b1
<template> <template>
<view class="comment-list"> <view class="comment-list">
<u-tabs name="name" :list="list" :is-scroll="false" :is-wrap="true" :active-color="mc" :current="current" <u-tabs name="name" :list="list" :is-scroll="false" :is-wrap="true" :active-color="mc" :current="current"
:activeItemStyle="activeItemStyle" :height="60" @change="tabsChange" style="zoom: 0.8;"></u-tabs> :activeItemStyle="activeItemStyle" :height="60" @change="tabsChange"></u-tabs>
<view class="comment-details" style="heigh: calc(100% - 40px);" v-if="comments.length>0"> <view class="comment-details" style="heigh: calc(100% - 40px);" v-if="comments.length>0">
<scroll-view :scroll-y="true" @scrolltolower="lower" :enable-back-to-top="true" :enable-flex="true" <scroll-view :scroll-y="true" @scrolltolower="lower" :enable-back-to-top="true" :enable-flex="true"
style="height: 100%; padding-bottom: 0px;"> style="height: 100%; padding-bottom: 0px;">
...@@ -381,17 +381,17 @@ ...@@ -381,17 +381,17 @@
/deep/ .comment-list .u-tab-item { /deep/ .comment-list .u-tab-item {
margin: 5px; margin: 5px;
padding: 5px 10px; padding: 5px 10px !important;
background-color: #f5f5f5; background-color: #f5f5f5;
/* border: 1px solid #ddd; */ /* border: 1px solid #ddd; */
border-radius: 50px; border-radius: 42px;
font-size: 12px; font-size: 12px !important;
color: #666; color: #666;
height:32px; height:auto !important;
line-height:20px;
flex: unset !important; flex: unset !important;
} }
/deep/ .comment-list .u-tabs-scorll-flex{ /deep/ .comment-list .u-tabs-scorll-flex{
justify-content: unset !important; justify-content: unset !important;
padding: 5px 10px !important;
} }
</style> </style>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment