|
@@ -5,7 +5,7 @@
|
|
|
backgroundSize: '100% auto',
|
|
backgroundSize: '100% auto',
|
|
|
backgroundRepeat: 'no-repeat',
|
|
backgroundRepeat: 'no-repeat',
|
|
|
backgroundPosition: 'top center',
|
|
backgroundPosition: 'top center',
|
|
|
- backgroundColor: '#d4e8b4',
|
|
|
|
|
|
|
+ backgroundColor: '#7bda82',
|
|
|
}">
|
|
}">
|
|
|
<Height height="100px" />
|
|
<Height height="100px" />
|
|
|
<FlexCol :gap="4" align="center">
|
|
<FlexCol :gap="4" align="center">
|
|
@@ -13,13 +13,12 @@
|
|
|
<Image src="https://mncdn.wenlvti.net/app_static/xiangyuan/images/home/ButtonSubTitle.png" width="290rpx" mode="widthFix" />
|
|
<Image src="https://mncdn.wenlvti.net/app_static/xiangyuan/images/home/ButtonSubTitle.png" width="290rpx" mode="widthFix" />
|
|
|
</FlexCol>
|
|
</FlexCol>
|
|
|
<Box icon="https://mncdn.wenlvti.net/app_static/xiangyuan/images/home/icon-pin-distance.png" :padding="false">
|
|
<Box icon="https://mncdn.wenlvti.net/app_static/xiangyuan/images/home/icon-pin-distance.png" :padding="false">
|
|
|
- <LightMap
|
|
|
|
|
- v-model:isLightMode="isLightMode"
|
|
|
|
|
|
|
+ <LightMap
|
|
|
@getedCurrentLonlat="getedCurrentLonlat"
|
|
@getedCurrentLonlat="getedCurrentLonlat"
|
|
|
/>
|
|
/>
|
|
|
<FlexRow justify="space-between" :padding="10">
|
|
<FlexRow justify="space-between" :padding="10">
|
|
|
<ImageButton src="https://mn.wenlvti.net/app_static/xiangyuan/images/home/ButtonMainAction.png" :width="230" :height="155" @click="goCommonContentList({ modelId: 18, mainBodyColumnId: 361 })" />
|
|
<ImageButton src="https://mn.wenlvti.net/app_static/xiangyuan/images/home/ButtonMainAction.png" :width="230" :height="155" @click="goCommonContentList({ modelId: 18, mainBodyColumnId: 361 })" />
|
|
|
- <ImageButton src="https://mn.wenlvti.net/app_static/xiangyuan/images/home/ButtonMainLight.png" :innerStyle="{ marginLeft: '-10rpx' }" :width="230" :height="155" @click="handleLight()" />
|
|
|
|
|
|
|
+ <ImageButton src="https://mn.wenlvti.net/app_static/xiangyuan/images/home/ButtonMainLight.png" :innerStyle="{ marginLeft: '-10rpx' }" :width="230" :height="155" @click="navTo('/pages/home/light/submit-map', { latitude: currentLonlat.latitude, longitude: currentLonlat.longitude })" />
|
|
|
<ImageButton src="https://mn.wenlvti.net/app_static/xiangyuan/images/home/ButtonMainSupport.png" :innerStyle="{ marginLeft: '-10rpx' }" :width="230" :height="155" @click="goCommonContentList({ modelId: 18, mainBodyColumnId: 362 })" />
|
|
<ImageButton src="https://mn.wenlvti.net/app_static/xiangyuan/images/home/ButtonMainSupport.png" :innerStyle="{ marginLeft: '-10rpx' }" :width="230" :height="155" @click="goCommonContentList({ modelId: 18, mainBodyColumnId: 362 })" />
|
|
|
</FlexRow>
|
|
</FlexRow>
|
|
|
</Box>
|
|
</Box>
|
|
@@ -144,11 +143,6 @@ import { toast } from '@/components/utils/DialogAction';
|
|
|
const currentLonlat = ref<{ longitude: number, latitude: number }>({ longitude: 0, latitude: 0 });
|
|
const currentLonlat = ref<{ longitude: number, latitude: number }>({ longitude: 0, latitude: 0 });
|
|
|
const isLightMode = ref(false);
|
|
const isLightMode = ref(false);
|
|
|
|
|
|
|
|
-function handleLight() {
|
|
|
|
|
- isLightMode.value = true;
|
|
|
|
|
- toast('请在地图上选择你要点亮的村落哦');
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
function getedCurrentLonlat(lonlat: { longitude: number, latitude: number }) {
|
|
function getedCurrentLonlat(lonlat: { longitude: number, latitude: number }) {
|
|
|
currentLonlat.value = lonlat;
|
|
currentLonlat.value = lonlat;
|
|
|
recommendedNearbySitesLoader.loadData();
|
|
recommendedNearbySitesLoader.loadData();
|