Commit 611faed2 by chenwq

fix(tabBar, teamList): 修正资源路径并调整标签栏图标样式

统一更新图片资源基础路径,调整标签栏图标尺寸,修复团队列表页背景图路径错误
1 parent 2c08bf4f
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
> >
<span>{{ item.title }}</span> <span>{{ item.title }}</span>
<template #icon="props"> <template #icon="props">
<img :src="props.active ? item.activeIcon : item.inactiveIcon" /> <img class="tab-icon" :src="props.active ? item.activeIcon : item.inactiveIcon" />
</template> </template>
</van-tabbar-item> </van-tabbar-item>
</van-tabbar> </van-tabbar>
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
export default { export default {
name: 'TabBar', name: 'TabBar',
data() { data() {
const baseUrl = 'https://img02.glsx.com.cn/weapp/resource/supervisor-wecom/' const baseUrl = 'https://img02.glsx.com.cn/weapp/resource/supervise-wecom/'
return { return {
tabList: [ tabList: [
{ {
...@@ -50,4 +50,8 @@ export default { ...@@ -50,4 +50,8 @@ export default {
:deep(.van-tabbar-item__icon img) { :deep(.van-tabbar-item__icon img) {
height: 24px; height: 24px;
} }
.tab-icon {
height: 20px;
width: 20px;
}
</style> </style>
...@@ -119,7 +119,7 @@ import dateSearch from '@/components/dateSearch/dateSearch.vue' ...@@ -119,7 +119,7 @@ import dateSearch from '@/components/dateSearch/dateSearch.vue'
import SearchBar from '@/components/searchBar/index.vue' import SearchBar from '@/components/searchBar/index.vue'
import StaticInfo from '@/components/staticInfo/index.vue' import StaticInfo from '@/components/staticInfo/index.vue'
const IMG_URL = 'https://img02.glsx.com.cn/weapp/resource/miniprogram/supervisor-miniprogram/' const IMG_URL = 'https://img02.glsx.com.cn/weapp/resource/supervise-wecom/'
export default { export default {
name: 'TeamList', name: 'TeamList',
...@@ -346,7 +346,7 @@ export default { ...@@ -346,7 +346,7 @@ export default {
.bg { .bg {
width: 100%; width: 100%;
height: var(--fontSize480, 240px); height: var(--fontSize480, 240px);
background: url('https://img02.glsx.com.cn/weapp/resource/supervisor-wecom/page-bg.png') no-repeat; background: url('https://img02.glsx.com.cn/weapp/resource/supervise-wecom/page-bg.png') no-repeat;
background-size: 100% var(--fontSize480, 240px); background-size: 100% var(--fontSize480, 240px);
position: absolute; position: absolute;
left: 0; left: 0;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!