社区样式增加,bug修复

This commit is contained in:
huxin 2023-06-14 00:50:28 +08:00
parent 412b05844a
commit 3807530f9d
3 changed files with 12 additions and 12 deletions

View File

@ -14,7 +14,7 @@ const { data } = await useAsyncData(`content-${path}`, () => {
<ACard <ACard
shadow="none" shadow="none"
:title="$t('community.vamx.join.title')" :title="$t('community.vamx.join.title')"
:subtitle="$t('community.vamx.join.discription')" :subtitle="$t('community.vamx.join.description')"
class="w-full" class="w-full"
> >
<!-- <img <!-- <img
@ -55,7 +55,7 @@ const { data } = await useAsyncData(`content-${path}`, () => {
<ACard <ACard
shadow="none" shadow="none"
:title="$t('community.vamx.join.title')" :title="$t('community.vamx.join.title')"
:subtitle="$t('community.vamx.join.discription')" :subtitle="$t('community.vamx.join.description')"
class="hidden lg:(block w-300px)" class="hidden lg:(block w-300px)"
> >
<!-- <img <!-- <img
@ -90,11 +90,11 @@ const { data } = await useAsyncData(`content-${path}`, () => {
</ACard> </ACard>
</div> </div>
<div class="w-full lg:px-5"> <ACard class="w-full p-8">
<Typography :title="data?.title" :description="data?.description" :topic="data?.topic" class="pb-5" /> <Typography :title="data?.title" :description="data?.description" :topic="data?.topic" class="pb-5" />
<!-- <SectionBanner :img="data?.img" :title="data?.title" :topic="data?.topic" :description="data?.description" font-bold text-white /> --> <!-- <SectionBanner :img="data?.img" :title="data?.title" :topic="data?.topic" :description="data?.description" font-bold text-white /> -->
<ContentRenderer v-if="data" :value="data" /> <ContentRenderer v-if="data" :value="data" class="mx-auto prose xl:max-w-900px" />
</div> </ACard>
</Section> </Section>
</div> </div>
</template> </template>

View File

@ -37,7 +37,7 @@ const status = [
<ACard <ACard
shadow="none" shadow="none"
:title="$t('community.vamx.news.title')" :title="$t('community.vamx.news.title')"
:subtitle="$t('community.vamx.news.discription')" :subtitle="$t('community.vamx.news.description')"
class="w-full" class="w-full"
> >
<!-- <img <!-- <img
@ -67,7 +67,7 @@ const status = [
<ACard <ACard
shadow="none" shadow="none"
:title="$t('community.vamx.news.title')" :title="$t('community.vamx.news.title')"
:subtitle="$t('community.vamx.news.discription')" :subtitle="$t('community.vamx.news.description')"
class="hidden lg:(block w-300px)" class="hidden lg:(block w-300px)"
> >
<!-- <img <!-- <img

View File

@ -14,7 +14,7 @@ const { data } = await useAsyncData(`content-${path}`, () => {
<ACard <ACard
shadow="none" shadow="none"
:title="$t('community.vamx.structure.title')" :title="$t('community.vamx.structure.title')"
:subtitle="$t('community.vamx.structure.discription')" :subtitle="$t('community.vamx.structure.description')"
class="w-full" class="w-full"
> >
<!-- <img <!-- <img
@ -55,7 +55,7 @@ const { data } = await useAsyncData(`content-${path}`, () => {
<ACard <ACard
shadow="none" shadow="none"
:title="$t('community.vamx.structure.title')" :title="$t('community.vamx.structure.title')"
:subtitle="$t('community.vamx.structure.discription')" :subtitle="$t('community.vamx.structure.description')"
class="hidden lg:(block w-300px)" class="hidden lg:(block w-300px)"
> >
<!-- <img <!-- <img
@ -90,10 +90,10 @@ const { data } = await useAsyncData(`content-${path}`, () => {
</ACard> </ACard>
</div> </div>
<div class="w-full lg:px-5"> <ACard class="w-full p-8">
<Typography :title="data?.title" :description="data?.description" :topic="data?.topic" class="pb-5" /> <Typography :title="data?.title" :description="data?.description" :topic="data?.topic" class="pb-5" />
<ContentRenderer v-if="data" :value="data" /> <ContentRenderer v-if="data" :value="data" class="mx-auto prose xl:max-w-900px" />
</div> </ACard>
</Section> </Section>
</div> </div>
</template> </template>