|
|
@@ -38,22 +38,20 @@
|
|
|
</FlexRow>
|
|
|
|
|
|
<!-- 状态与申请 -->
|
|
|
- <Construction text="暂无数据">
|
|
|
- <FlexRow
|
|
|
- backgroundColor="background.tertiary"
|
|
|
- radius="radius.md"
|
|
|
- padding="space.md"
|
|
|
- justify="space-between"
|
|
|
- >
|
|
|
- <FlexCol gap="gap.md">
|
|
|
- <Text :text="`${villageInfoLoader.content.value?.applyCount} 个乡源果可申请`" fontConfig="secondText" />
|
|
|
- <Text :text="`存储空间内存:${villageInfoLoader.content.value?.sizeText}`" fontConfig="secondText" />
|
|
|
- </FlexCol>
|
|
|
- <FlexCol gap="gap.md">
|
|
|
- <Button icon="https://xy.wenlvti.net/app_static/images/village/IconUser.png" radius="radius.lgr" :padding="[10, 30]" backgroundColor="white" @click="($refs.applyGoodsDialog as any).show()">申请管理者</Button>
|
|
|
- </FlexCol>
|
|
|
- </FlexRow>
|
|
|
- </Construction>
|
|
|
+ <FlexRow
|
|
|
+ backgroundColor="background.tertiary"
|
|
|
+ radius="radius.md"
|
|
|
+ padding="space.md"
|
|
|
+ justify="space-between"
|
|
|
+ >
|
|
|
+ <FlexCol gap="gap.md">
|
|
|
+ <Text :text="`${villageInfoLoader.content.value?.applyCount} 个乡源果可申请`" fontConfig="secondText" />
|
|
|
+ <Text :text="`存储空间内存:${villageInfoLoader.content.value?.sizeText}`" fontConfig="secondText" />
|
|
|
+ </FlexCol>
|
|
|
+ <FlexCol gap="gap.md">
|
|
|
+ <Button icon="https://xy.wenlvti.net/app_static/images/village/IconUser.png" radius="radius.lgr" :padding="[10, 30]" backgroundColor="white" @click="($refs.applyGoodsDialog as any).show()">升级村社</Button>
|
|
|
+ </FlexCol>
|
|
|
+ </FlexRow>
|
|
|
|
|
|
<!-- 图片 -->
|
|
|
<VillageGallery
|
|
|
@@ -180,7 +178,7 @@
|
|
|
GridItemPaddingVertical: 8,
|
|
|
}">
|
|
|
<Grid :borderGrid="false" :mainAxisCount="4">
|
|
|
- <GridItem title="乡源荣光" icon="https://xy.wenlvti.net/app_static/images/village/IconLargeHornor.png" touchable @click="navTo('/pages/home/village/honor/index')" />
|
|
|
+ <GridItem title="乡源荣光" icon="https://xy.wenlvti.net/app_static/images/village/IconLargeHornor.png" touchable @click="handleGoCollect(23, '乡源荣光')" />
|
|
|
<GridItem title="乡源好物" icon="https://xy.wenlvti.net/app_static/images/village/IconLargeGoods.png" touchable @click="navTo('/pages/home/village/goods/index')" />
|
|
|
<GridItem title="乡源树" icon="https://xy.wenlvti.net/app_static/images/village/IconLargeTree.png" touchable @click="emit('goTree')" />
|
|
|
<!-- <GridItem title="政贤连心" icon="https://xy.wenlvti.net/app_static/images/village/IconGovAffairs.png" touchable @click="navTo('/pages/home/village/gov/index')" /> -->
|
|
|
@@ -335,6 +333,7 @@ function handleGoCollect(collectModuleId?: number, title?: string) {
|
|
|
if (!collectModuleId) {
|
|
|
navTo('/pages/dig/details', {
|
|
|
villageId: villageStore.currentVillage?.id ?? undefined,
|
|
|
+ name: villageInfoLoader.content.value?.title,
|
|
|
});
|
|
|
return;
|
|
|
}
|