Merge branch 'release'

This commit is contained in:
不如摸鱼去 2025-09-21 22:59:35 +08:00
commit d06deda403
2 changed files with 60 additions and 54 deletions

View File

@ -1,7 +1,7 @@
<!--
* @Author: weisheng
* @Date: 2025-09-21 17:13:45
* @LastEditTime: 2025-09-21 19:53:54
* @LastEditTime: 2025-09-21 22:57:29
* @LastEditors: weisheng
* @Description:
* @FilePath: /wot-design-uni/docs/.vitepress/theme/components/AsideSponsors.vue
@ -24,12 +24,12 @@ const goldSponsors = computed(() => {
//
const isGoldSponsorsOdd = computed(() => {
return (goldSponsors.value?.items?.length||0) % 2 === 1
return (goldSponsors.value?.items?.length || 0) % 2 === 1
})
</script>
<template>
<div class="VPDocAsideSponsors">
<div class="VPDocAsideSponsors">
<a class="sponsors-aside-text" href="/reward/sponsor">赞助位</a>
<div class="VPSponsors vp-sponsor aside">
<!-- 超级赞助一行一个 -->
@ -83,7 +83,7 @@ const isGoldSponsorsOdd = computed(() => {
</div>
</section>
</div>
</div>
</div>
</template>
<style>
@ -96,6 +96,12 @@ const isGoldSponsorsOdd = computed(() => {
color: var(--vp-c-gray-1);
}
.vp-sponsor-grid-image {
max-width: 120px;
max-height: 72px !important;
filter: none !important;
}
a.sponsors-aside-text {
color: var(--vp-c-text-3);
display: block;

View File

@ -7,7 +7,7 @@ interface Props {
}
withDefaults(defineProps<Props>(), {
title: '超级赞助',
title: '铂金赞助商',
})
const { data } = useAdSponsor()