|
@@ -1,5 +1,5 @@
|
|
|
<template>
|
|
|
- <view class="phone-custom-tabbar">
|
|
|
+ <view class="phone-client-tabbar">
|
|
|
<view class="tabbar-item" v-for="(item, index) in tabList" :key="index" @click="switchTab(item.path,index)">
|
|
|
<icon class="tabbar-item-icon" :style="{ backgroundImage: 'url(' + (currentTab == index ? item.activePath : item.iconPath) + ')' }"></icon>
|
|
|
<text class="tabbar-item-text">{{item.text}}</text>
|
|
@@ -19,14 +19,14 @@
|
|
|
tabList: [{
|
|
|
text: '首页',
|
|
|
path: `/pages/study/index`,
|
|
|
- iconPath: getStaticUrl('static/images/tabbar/unselect/index-icon.png'),
|
|
|
- activePath: getStaticUrl('static/images/tabbar/select/index-icon.png'),
|
|
|
+ iconPath: getStaticUrl('static/images/tabbar/unselect/client-jz-icon.png'),
|
|
|
+ activePath: getStaticUrl('static/images/tabbar/select/client-jz-icon.png'),
|
|
|
},
|
|
|
{
|
|
|
text: '我的',
|
|
|
path: `/pages/my/index`,
|
|
|
- iconPath: getStaticUrl('static/images/tabbar/unselect/my-icon.png'),
|
|
|
- activePath: getStaticUrl('static/images/tabbar/select/my-icon.png'),
|
|
|
+ iconPath: getStaticUrl('static/images/tabbar/unselect/client-my-icon.png'),
|
|
|
+ activePath: getStaticUrl('static/images/tabbar/select/client-my-icon.png'),
|
|
|
},
|
|
|
],
|
|
|
currentTab: 0,
|