|
|
@@ -1,6 +1,6 @@
|
|
|
<template>
|
|
|
- <FlexCol :gap="20" :padding="20">
|
|
|
- <FlexCol :radius="15" overflow="hidden">
|
|
|
+ <FlexCol :gap="20" :padding="30">
|
|
|
+ <!-- <FlexCol :radius="15" overflow="hidden">
|
|
|
<ImageSwiper
|
|
|
:height="300"
|
|
|
:images="[
|
|
|
@@ -11,19 +11,38 @@
|
|
|
'https://mncdn.wenlvti.net/app_static/xiangyuan/images/causel/5.jpg',
|
|
|
]"
|
|
|
/>
|
|
|
- </FlexCol>
|
|
|
+ </FlexCol> -->
|
|
|
+ <Height :height="220" />
|
|
|
<Box title="村社分布" icon="https://mncdn.wenlvti.net/app_static/xiangyuan/images/home/icon-pin-distance.png">
|
|
|
<map
|
|
|
id="prevMap"
|
|
|
map-id="prevMap"
|
|
|
- :style="{ width: '100%', height: '400rpx', borderRadius: '10rpx', overflow: 'hidden' }"
|
|
|
+ :style="{ width: '100%', height: '800rpx', borderRadius: '10rpx', overflow: 'hidden' }"
|
|
|
:markers="mapLoader.content.value || []"
|
|
|
:scale="10"
|
|
|
:longitude="AppCofig.defaultLonLat[0]"
|
|
|
:latitude="AppCofig.defaultLonLat[1]"
|
|
|
@markertap="goVillageDetails($event)"
|
|
|
/>
|
|
|
+ <Height :height="20" />
|
|
|
+ <ProvideVar :vars="{
|
|
|
+ GridItemIconSize: 90,
|
|
|
+ GridItemBackgroundColor: 'transparent',
|
|
|
+ GridItemPaddingHorizontal: 0,
|
|
|
+ }">
|
|
|
+ <Grid :borderGrid="false" :mainAxisCount="4">
|
|
|
+ <GridItem title="匠韵薪传" icon="https://mncdn.wenlvti.net/app_static/xiangyuan/images/home/IconInherit.png" touchable @click="goList('匠韵薪传')" />
|
|
|
+ <GridItem title="文物古迹" icon="https://mncdn.wenlvti.net/app_static/xiangyuan/images/home/IconArtifact.png" touchable @click="goList('文物古迹')" />
|
|
|
+ <GridItem title="历史文化" icon="https://mncdn.wenlvti.net/app_static/xiangyuan/images/home/IconHistory.png" touchable @click="goList('历史文化')" />
|
|
|
+ <GridItem title="指导单位" icon="https://mncdn.wenlvti.net/app_static/xiangyuan/images/home/IconUnit.png" touchable @click="goList('指导单位')" />
|
|
|
+ <GridItem title="旅游路线" icon="https://mncdn.wenlvti.net/app_static/xiangyuan/images/home/IconRoute.png" touchable @click="goList('旅游路线')" />
|
|
|
+ <GridItem title="景区景点" icon="https://mncdn.wenlvti.net/app_static/xiangyuan/images/home/IconScenicArea.png" touchable @click="goList('景区景点')" />
|
|
|
+ <GridItem title="村务公开" icon="https://mncdn.wenlvti.net/app_static/xiangyuan/images/home/IconPublic.png" touchable @click="goList('村务公开')" />
|
|
|
+ <GridItem title="民情反馈" icon="https://mncdn.wenlvti.net/app_static/xiangyuan/images/home/IconFeedBack.png" touchable @click="goList('民情反馈')" />
|
|
|
+ </Grid>
|
|
|
+ </ProvideVar>
|
|
|
</Box>
|
|
|
+
|
|
|
<Box title="线上史馆展示" icon="https://mncdn.wenlvti.net/app_static/xiangyuan/images/home/icon-ancient-gate.png">
|
|
|
<SimplePageContentLoader :loader="recommendLoader">
|
|
|
<FlexRow justify="space-between" align="center" wrap :gap="25">
|
|
|
@@ -48,7 +67,7 @@
|
|
|
</FlexRow>
|
|
|
</SimplePageContentLoader>
|
|
|
</Box>
|
|
|
- <Box title="发现" icon="https://mncdn.wenlvti.net/app_static/xiangyuan/images/home/icon-compass.png" showMore @moreClicked="$emit('goDiscover')">
|
|
|
+ <Box title="精彩推荐" icon="https://mncdn.wenlvti.net/app_static/xiangyuan/images/home/icon-compass.png" showMore @moreClicked="$emit('goDiscover')">
|
|
|
<SimplePageContentLoader :loader="discoverLoader">
|
|
|
<FlexCol :gap="25">
|
|
|
<Touchable
|
|
|
@@ -67,11 +86,10 @@
|
|
|
<Image
|
|
|
:src="item.image"
|
|
|
:failedImage="AppCofig.defaultImage"
|
|
|
- :width="120"
|
|
|
+ :width="170"
|
|
|
:height="120"
|
|
|
:radius="15"
|
|
|
- mode="aspectFill"
|
|
|
- round
|
|
|
+ mode="aspectFill"
|
|
|
/>
|
|
|
</Touchable>
|
|
|
</FlexCol>
|
|
|
@@ -100,6 +118,9 @@ import FlexCol from '@/components/layout/FlexCol.vue';
|
|
|
import FlexRow from '@/components/layout/FlexRow.vue';
|
|
|
import Height from '@/components/layout/space/Height.vue';
|
|
|
import Width from '@/components/layout/space/Width.vue';
|
|
|
+import ProvideVar from '@/components/theme/ProvideVar.vue';
|
|
|
+import Grid from '@/components/layout/grid/Grid.vue';
|
|
|
+import GridItem from '@/components/layout/grid/GridItem.vue';
|
|
|
|
|
|
const instance = getCurrentInstance();
|
|
|
const mapCtx = uni.createMapContext('prevMap', instance);
|
|
|
@@ -164,4 +185,7 @@ function goDiscoverDetails(item: any) {
|
|
|
});
|
|
|
}
|
|
|
|
|
|
+function goList(keywords: string) {
|
|
|
+}
|
|
|
+
|
|
|
</script>
|