Commit 611faed2 by chenwq

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

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