Browse Source

修改底部导航

master
luyisha 2 years ago
parent
commit
010e406c2e
  1. 2
      pages.json
  2. 2
      pages/base/home.vue
  3. 4
      pages/base/index.vue

2
pages.json

@ -222,7 +222,7 @@
"titleNView": false "titleNView": false
}, },
"navigationBarTextStyle": "black", "navigationBarTextStyle": "black",
"navigationBarTitleText": "CXIPro", "navigationBarTitleText": "CXIsux",
"navigationBarBackgroundColor": "#007AFF", "navigationBarBackgroundColor": "#007AFF",
"backgroundColor": "#FFFFFF" "backgroundColor": "#FFFFFF"
}, },

2
pages/base/home.vue

@ -8,7 +8,7 @@
:left-click="personalCenter" :left-click="personalCenter"
> >
<template #left> <template #left>
<van-icon name="user-circle-o" class="fn-25 color-theme-1" style="color: #326AEB;" /> <van-icon name="user-circle-o" class="fn-25 color-theme-1" style="color: #EABB71;" />
<view class="d-flex align-center justify-center"> <view class="d-flex align-center justify-center">
<!-- <text class="p-l-md fn-18 color-light">{{ app.appName }} --> <!-- <text class="p-l-md fn-18 color-light">{{ app.appName }} -->
<!-- <span class="fn-16 m-l-xs">{{$t('first.a2')}}</span> --> <!-- <span class="fn-16 m-l-xs">{{$t('first.a2')}}</span> -->

4
pages/base/index.vue

@ -20,7 +20,7 @@
:key="item.tel" :key="item.tel"
@click="tabChange(item.tel)" @click="tabChange(item.tel)"
> >
<view class="icon" v-if="0"> <view class="icon">
<img <img
class="h-15" class="h-15"
v-if="tab == item.tel" v-if="tab == item.tel"
@ -29,7 +29,7 @@
/> />
<img class="h-15" v-else :src="item.icon" alt="" /> <img class="h-15" v-else :src="item.icon" alt="" />
</view> </view>
<view class="fn-12" style="margin-top: 4px;line-height: 54rpx;">{{ item.label }}</view> <view class="fn-12" style="margin-top: 4px;">{{ item.label }}</view>
</view> </view>
<!-- #ifdef APP-PLUS --> <!-- #ifdef APP-PLUS -->
<view class="w-max" style="height:20px"></view> <view class="w-max" style="height:20px"></view>

Loading…
Cancel
Save