提交 d102598d authored 作者: 正反's avatar 正反

index样式调整

上级 36cf0deb
......@@ -22,7 +22,7 @@
<view class="deom-flex">
<view class="defa" :class="{'active': titleCurrent==index}" v-for="(item,index) in titleTabs"
:key="index" @tap="titleTabsChange(index)">
<text class="Tcenter">
<text>
{{item.name}}
</text>
<text class="radius" :class="{'show': titleCurrent===2}" v-if="item.count>0">{{item.count}}</text>
......@@ -481,6 +481,7 @@
}
.defa {
/* width: 250rpx; */
position: relative;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
......@@ -493,12 +494,13 @@
border-bottom: 2px solid #f7f8f9;
}
.radius {
text-align: center;
vertical-align: middle;
margin-left: 10rpx;
font-size: 20rpx;
position: absolute;
top: -20;
right: -20;
display: inline-block;
width: 45rpx;
height: 45rpx;
width: 30rpx;
height: 30rpx;
border: 3rpx none #ff9900;
background-color: #ff9900;
color: white;
......@@ -512,10 +514,9 @@
padding-top: 15rpx;
text-align: center;
vertical-align: middle;
/* height: 60rpx; */
display: flex;
flex-direction: row;
font-size: 35rpx;
font-size: 30rpx;
background-color: #7D5AFC;
color:#ffffff;
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论