提交 ac6df37f 编写于 作者: zhujiamin's avatar zhujiamin

侧滑菜单van-tag不用适配主题色

上级 82432df2
...@@ -38,6 +38,7 @@ ...@@ -38,6 +38,7 @@
.van-tag{ .van-tag{
position: absolute; position: absolute;
right: 10px; right: 10px;
background-color: #eb445a;
} }
} }
.active{ .active{
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
<div class="text"> <div class="text">
<ion-label v-if="item.appfunctag != 'settings'">{{$t(`app.menus.${menuName}.${item.name}`)}}</ion-label> <ion-label v-if="item.appfunctag != 'settings'">{{$t(`app.menus.${menuName}.${item.name}`)}}</ion-label>
<ion-label v-else>{{item.text}}</ion-label> <ion-label v-else>{{item.text}}</ion-label>
<van-tag round type="primary" size="medium" v-if="counterServide && counterServide.counterData && counterServide.counterData[item.counterid]">{{counterServide.counterData[item.counterid]}}</van-tag> <van-tag round type="danger" size="medium" v-if="counterServide && counterServide.counterData && counterServide.counterData[item.counterid]">{{counterServide.counterData[item.counterid]}}</van-tag>
<!-- <ion-badge color="danger" v-if="counterServide && counterServide.counterData && counterServide.counterData[item.counterid]"><ion-label>{{counterServide.counterData[item.counterid]}}</ion-label></ion-badge> --> <!-- <ion-badge color="danger" v-if="counterServide && counterServide.counterData && counterServide.counterData[item.counterid]"><ion-label>{{counterServide.counterData[item.counterid]}}</ion-label></ion-badge> -->
</div> </div>
</div> </div>
......
...@@ -173,10 +173,6 @@ ...@@ -173,10 +173,6 @@
&:active { &:active {
color: @theme-color; color: @theme-color;
} }
.van-tag {
background-color: @theme-color;
color: @text-color;
}
} }
.active { .active {
ion-icon { ion-icon {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册