|
|
@@ -46,15 +46,6 @@
|
|
|
:key="item.type"
|
|
|
@click="change({ index: index, item: item })"
|
|
|
>
|
|
|
- <view class="tab-icon">
|
|
|
- <zui-svg-icon
|
|
|
- v-if="item.icon"
|
|
|
- :icon="item.icon"
|
|
|
- :width="tabIndex == index ? 22 : 20"
|
|
|
- :height="tabIndex == index ? 22 : 20"
|
|
|
- :color="tabIndex == index ? '#09c567' : '#858b94'"
|
|
|
- />
|
|
|
- </view>
|
|
|
<view class="tab-name">{{ item.name }}</view>
|
|
|
<view class="tab-value">{{ item.value }}</view>
|
|
|
</view>
|
|
|
@@ -136,12 +127,12 @@ export default {
|
|
|
statusBarHeight: 0,
|
|
|
tabIndex: 0,
|
|
|
tabs: [
|
|
|
- { name: "全部", value: 0, type: 0, icon: "client-all" },
|
|
|
- { name: "会员", value: 0, type: 5, icon: "client-member" },
|
|
|
- { name: "余额", value: 0, type: 2, icon: "client-balance" },
|
|
|
- { name: "消费", value: 0, type: 1, icon: "client-consumption" },
|
|
|
- { name: "生日", value: 0, type: 3, icon: "client-birthday" },
|
|
|
- { name: "已删", value: 0, type: 4, icon: "client-delete" }
|
|
|
+ { name: "全部", value: 0, type: 0 },
|
|
|
+ { name: "会员", value: 0, type: 5 },
|
|
|
+ { name: "余额", value: 0, type: 2 },
|
|
|
+ { name: "消费", value: 0, type: 1 },
|
|
|
+ { name: "生日", value: 0, type: 3 },
|
|
|
+ { name: "已删", value: 0, type: 4 }
|
|
|
],
|
|
|
customType: 0,
|
|
|
searchStyle: 0,
|
|
|
@@ -460,19 +451,6 @@ export default {
|
|
|
transform: translateX(-50%);
|
|
|
}
|
|
|
|
|
|
-.tab-icon {
|
|
|
- width: 28upx;
|
|
|
- height: 28upx;
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- justify-content: center;
|
|
|
-}
|
|
|
-
|
|
|
-.stat-tab.active .tab-icon {
|
|
|
- width: 30upx;
|
|
|
- height: 30upx;
|
|
|
-}
|
|
|
-
|
|
|
.toolbar-icon,
|
|
|
.avatar-icon,
|
|
|
.meta-icon {
|
|
|
@@ -505,7 +483,7 @@ export default {
|
|
|
}
|
|
|
|
|
|
.tab-name {
|
|
|
- margin-top: 16upx;
|
|
|
+ margin-top: 8upx;
|
|
|
color: #33383f;
|
|
|
font-size: 25upx;
|
|
|
line-height: 30upx;
|