mirror of
https://gitee.com/wot-design-uni/wot-design-uni.git
synced 2025-12-07 17:48:34 +08:00
Merge branch 'release'
This commit is contained in:
commit
d06deda403
@ -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;
|
||||
|
||||
@ -7,7 +7,7 @@ interface Props {
|
||||
}
|
||||
|
||||
withDefaults(defineProps<Props>(), {
|
||||
title: '超级赞助',
|
||||
title: '铂金赞助商',
|
||||
})
|
||||
|
||||
const { data } = useAdSponsor()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user