首页
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
:src="'/' + item.selectedIconPath" mode="aspectFit"></image>
|
||||
<image v-else class="footer_nav_item_image" :src="'/' + item.iconPath" mode="aspectFit"></image>
|
||||
<text class="footer_nav_item_text"
|
||||
:class="[item.pagePath == path ? 'footer_item_text_active' : '']">{{ item.text }}</text>
|
||||
:class="[item.pagePath == path ? 'footer_item_text_active' : 'normal_text']">{{ item.text }}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -39,68 +39,57 @@
|
||||
data() {
|
||||
return {
|
||||
path: '',
|
||||
navigationList: [{
|
||||
pagePath: 'pages/peanut/home',
|
||||
iconPath: 'static/tab/icon1_n.png',
|
||||
selectedIconPath: 'static/tab/icon1_y.png',
|
||||
text: '首页'
|
||||
},{
|
||||
"pagePath": "pages/medicaldes/medicaldes",
|
||||
"iconPath": "static/icon/five5_n.png",
|
||||
"selectedIconPath": "static/icon/five5.png",
|
||||
"text": "吴门医述"
|
||||
navigationList: [
|
||||
|
||||
{
|
||||
"pagePath": "pages/peanut/home",
|
||||
"iconPath": "static/tab/icon1_n.png",
|
||||
"selectedIconPath": "static/tab/icon1_y.png",
|
||||
"text": "首页"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/peanut/shopping",
|
||||
"iconPath": "static/tab/tab_nor_02.png",
|
||||
"selectedIconPath": "static/tab/tab_cur_02.png",
|
||||
"text": "购物车"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/library/library",
|
||||
"iconPath": "static/tab/icon3_n.png",
|
||||
"selectedIconPath": "static/tab/icon3_y.png",
|
||||
"text": "我的图书"
|
||||
},
|
||||
// {
|
||||
// pagePath: 'pages/peanut/bookshelf',
|
||||
// iconPath: 'static/tab/icon3_n.png',
|
||||
// selectedIconPath: 'static/tab/icon3_y.png',
|
||||
// text: '我的书架'
|
||||
// },
|
||||
// {
|
||||
// pagePath: 'pages/bookShop/orderList',
|
||||
// iconPath: 'static/tab/icon2_n.png',
|
||||
// selectedIconPath: 'static/tab/icon2_y.png',
|
||||
// text: '我的订单'
|
||||
|
||||
// },
|
||||
|
||||
"iconPath": "static/tab/tab_nor_03.png",
|
||||
"selectedIconPath": "static/tab/tab_cur_03.png",
|
||||
"text": "太湖公益"
|
||||
},
|
||||
{
|
||||
pagePath: 'pages/peanut/mine',
|
||||
iconPath: 'static/tab/icon4_n.png',
|
||||
selectedIconPath: 'static/tab/icon4_y.png',
|
||||
text: '我的'
|
||||
}
|
||||
"pagePath": "pages/peanut/mine",
|
||||
"iconPath": "static/tab/tab_nor_04.png",
|
||||
"selectedIconPath": "static/tab/tab_cur_04.png",
|
||||
"text": "我的"
|
||||
}
|
||||
],
|
||||
navigationIos: [{
|
||||
pagePath: 'pages/peanut/home',
|
||||
iconPath: 'static/tab/icon1_n.png',
|
||||
selectedIconPath: 'static/tab/icon1_y.png',
|
||||
text: '首页'
|
||||
},
|
||||
// {
|
||||
// pagePath: 'pages/bookShop/orderList',
|
||||
// iconPath: 'static/tab/icon2_n.png',
|
||||
// selectedIconPath: 'static/tab/icon2_y.png',
|
||||
// text: '我的订单'
|
||||
|
||||
// },
|
||||
navigationIos: [
|
||||
{
|
||||
"pagePath": "pages/medicaldes/medicaldes",
|
||||
"iconPath": "static/icon/five5.png",
|
||||
"selectedIconPath": "static/icon/five5.png",
|
||||
"text": "吴门医述"
|
||||
"pagePath": "pages/peanut/home",
|
||||
"iconPath": "static/tab/icon1_n.png",
|
||||
"selectedIconPath": "static/tab/icon1_y.png",
|
||||
"text": "首页"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/peanut/shopping",
|
||||
"iconPath": "static/tab/tab_nor_02.png",
|
||||
"selectedIconPath": "static/tab/tab_cur_02.png",
|
||||
"text": "购物车"
|
||||
},
|
||||
{
|
||||
pagePath: 'pages/peanut/mine',
|
||||
iconPath: 'static/tab/icon4_n.png',
|
||||
selectedIconPath: 'static/tab/icon4_y.png',
|
||||
text: '我的'
|
||||
"pagePath": "pages/library/library",
|
||||
"iconPath": "static/tab/tab_nor_03.png",
|
||||
"selectedIconPath": "static/tab/tab_cur_03.png",
|
||||
"text": "太湖公益"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/peanut/mine",
|
||||
"iconPath": "static/tab/tab_nor_04.png",
|
||||
"selectedIconPath": "static/tab/tab_cur_04.png",
|
||||
"text": "我的"
|
||||
}
|
||||
],
|
||||
};
|
||||
@@ -126,7 +115,9 @@
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
@import '@/style/mixin.scss';
|
||||
|
||||
.normal_text{
|
||||
color: #FFF;
|
||||
}
|
||||
.footer_station {
|
||||
height: 110rpx;
|
||||
box-sizing: content-box;
|
||||
@@ -151,7 +142,7 @@
|
||||
}
|
||||
|
||||
.footer_bg {
|
||||
background-color: #FFF;
|
||||
background-color: #fff;
|
||||
box-shadow: 0 0px 10px 1px #0000001a;
|
||||
}
|
||||
|
||||
@@ -176,7 +167,7 @@
|
||||
|
||||
.footer_nav_item_text {
|
||||
font-size: 26rpx;
|
||||
color: #909090;
|
||||
color: #7b7b7b;
|
||||
margin-top: 6rpx;
|
||||
}
|
||||
|
||||
@@ -207,7 +198,7 @@
|
||||
|
||||
|
||||
.footer_item_text_active {
|
||||
color: #079307;
|
||||
color: #3983ff;
|
||||
font-weight: bold;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user