|
|
@@ -3,10 +3,11 @@
|
|
|
<div class="about main-background main-background-type0">
|
|
|
<div class="nav-placeholder">
|
|
|
</div>
|
|
|
+ <img class="main-top-banner" src="https://mn.wenlvti.net/app_static/xiangan/banner_submit.jpg" />
|
|
|
<!-- 表单 -->
|
|
|
<section class="main-section large">
|
|
|
<div class="content">
|
|
|
- <div class="title left-right">
|
|
|
+ <div v-if="hasNav" class="title left-right">
|
|
|
<span style="width:160px;"></span>
|
|
|
<h2>乡源·乡村文化资源挖掘平台</h2>
|
|
|
<small class="text-secondary">技术支持:18649931391</small>
|
|
|
@@ -45,6 +46,19 @@
|
|
|
</div>
|
|
|
</SimplePageContentLoader>
|
|
|
|
|
|
+ <h3 class="text-center p-3 mt-3">我的贡献</h3>
|
|
|
+ <div class="d-flex flex-row justify-between bg-white radius-s p-3">
|
|
|
+ <div class="d-flex flex-column align-center flex-one">
|
|
|
+ <text class="size-ll iconfont icon-total-points"></text>
|
|
|
+ <div class="size-l text-bold color-primary">{{ volunteerInfoLoader.content.value?.points || 0 }}</div>
|
|
|
+ <div>文化积分</div>
|
|
|
+ </div>
|
|
|
+ <div class="d-flex flex-column align-center flex-one">
|
|
|
+ <text class="size-ll iconfont icon-level"></text>
|
|
|
+ <div class="size-l text-bold color-primary">Lv.{{ volunteerInfoLoader.content.value?.level || 1 }}</div>
|
|
|
+ <div>等级</div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</section>
|
|
|
</div>
|
|
|
@@ -54,11 +68,13 @@
|
|
|
import { useRouter } from 'vue-router';
|
|
|
import { useSimpleDataLoader, SimplePageContentLoader } from '@imengyu/imengyu-web-shared';
|
|
|
import { useCollectStore } from '@/stores/collect';
|
|
|
-import VillageApi, { VillageListItem } from '@/api/inhert/VillageApi';
|
|
|
import { useAuthStore } from '@/stores/auth';
|
|
|
+import { computed } from 'vue';
|
|
|
+import VillageApi, { VillageListItem } from '@/api/inhert/VillageApi';
|
|
|
|
|
|
const router = useRouter();
|
|
|
const authStore = useAuthStore();
|
|
|
+const hasNav = computed(() => authStore.loginFromEmbed === false);
|
|
|
|
|
|
const collectStore = useCollectStore();
|
|
|
const villageListLoader = useSimpleDataLoader(async () => await VillageApi.getClaimedVallageList(), true);
|
|
|
@@ -75,6 +91,7 @@ function goSubmitDigPage(item: VillageListItem) {
|
|
|
query: {
|
|
|
id: item.villageId,
|
|
|
name: item.villageName,
|
|
|
+ villageId: item.villageId,
|
|
|
villageVolunteerId: item.villageVolunteerId,
|
|
|
points: volunteerInfoLoader.content.value?.points,
|
|
|
level: volunteerInfoLoader.content.value?.level,
|