Compare commits

..

2 Commits

2 changed files with 23 additions and 3 deletions

View File

@ -15,7 +15,7 @@
<view class="menu-item ss-flex-1 ss-flex-col ss-row-center ss-col-center" v-for="(item, index) in orderMap" <view class="menu-item ss-flex-1 ss-flex-col ss-row-center ss-col-center" v-for="(item, index) in orderMap"
:key="item.title" @tap="sheep.$router.go(item.path, { type: item.value })"> :key="item.title" @tap="sheep.$router.go(item.path, { type: item.value })">
<uni-badge class="uni-badge-left-margin" :text="numData.orderCount[item.count]" absolute="rightTop" <uni-badge class="uni-badge-left-margin" :text="numData.orderCount[item.count]" absolute="rightTop"
size="small"> size="small" :type="state.themeType">
<image class="item-icon" :src="item.icon" mode="aspectFit" /> <image class="item-icon" :src="item.icon" mode="aspectFit" />
</uni-badge> </uni-badge>
<view class="menu-title">{{ item.title }}</view> <view class="menu-title">{{ item.title }}</view>

View File

@ -202,8 +202,8 @@
line-height: 18px; line-height: 18px;
color: #fff; color: #fff;
border-radius: 100px; border-radius: 100px;
background-color: $uni-info; background-color: $uni-error;
background-color: transparent; // background-color: transparent;
border: 1px solid #fff; border: 1px solid #fff;
text-align: center; text-align: center;
font-family: 'Helvetica Neue', Helvetica, sans-serif; font-family: 'Helvetica Neue', Helvetica, sans-serif;
@ -212,6 +212,26 @@
z-index: 999; z-index: 999;
cursor: pointer; cursor: pointer;
/* #endif */ /* #endif */
&--lv {
color: #fff;
background:rgba(72,204,82);
}
&--blue {
color: #fff;
background:rgba(28,165,233);
}
&--pink {
color: #fff;
background:#ff448f ;
}
&--orange {
color: #fff;
background:#fe5c2d;
}
&--info { &--info {
color: #fff; color: #fff;