|
@@ -2,7 +2,7 @@
|
|
|
<FlexCol>
|
|
<FlexCol>
|
|
|
<FlexCol :gap="20" :padding="[30,30,0,30]" :innerStyle="{
|
|
<FlexCol :gap="20" :padding="[30,30,0,30]" :innerStyle="{
|
|
|
marginTop: '-130px',
|
|
marginTop: '-130px',
|
|
|
- backgroundImage: 'url(https://xy.wenlvti.net/app_static/images/home/BannerHomeNew.png)',
|
|
|
|
|
|
|
+ backgroundImage: `url(${appConfiguration?.banners.homeTop})`,
|
|
|
backgroundSize: '100% auto',
|
|
backgroundSize: '100% auto',
|
|
|
backgroundRepeat: 'no-repeat',
|
|
backgroundRepeat: 'no-repeat',
|
|
|
backgroundPosition: 'top center',
|
|
backgroundPosition: 'top center',
|
|
@@ -18,7 +18,7 @@
|
|
|
:text="currentCity"
|
|
:text="currentCity"
|
|
|
/>
|
|
/>
|
|
|
<Image
|
|
<Image
|
|
|
- src="https://xy.wenlvti.net/app_static/images/home/BannerHomeTitle.png"
|
|
|
|
|
|
|
+ :src="appConfiguration?.banners.homeTitle"
|
|
|
:width="140"
|
|
:width="140"
|
|
|
:height="75"
|
|
:height="75"
|
|
|
/>
|
|
/>
|
|
@@ -38,14 +38,14 @@
|
|
|
}" />
|
|
}" />
|
|
|
<Button icon="ai-thinking" @click="handleGoAI" text="问AI" />
|
|
<Button icon="ai-thinking" @click="handleGoAI" text="问AI" />
|
|
|
</FlexRow>
|
|
</FlexRow>
|
|
|
- <Image
|
|
|
|
|
- src="https://xy.wenlvti.net/app_static/images/home/BannerIndex.png"
|
|
|
|
|
- width="700rpx"
|
|
|
|
|
- height="200px"
|
|
|
|
|
- mode="aspectFit"
|
|
|
|
|
|
|
+ <ImageSwiper
|
|
|
|
|
+ :images="appConfiguration?.banners.home"
|
|
|
|
|
+ :height="460"
|
|
|
|
|
+ :width="700"
|
|
|
|
|
+ radius="radius.md"
|
|
|
:innerStyle="{
|
|
:innerStyle="{
|
|
|
- border: '2px solid #fff',
|
|
|
|
|
- borderRadius: '20rpx',
|
|
|
|
|
|
|
+ border: '1px solid #fff',
|
|
|
|
|
+ overflow: 'hidden',
|
|
|
clipPath: 'ellipse(100% 90% at 50% 0%)'
|
|
clipPath: 'ellipse(100% 90% at 50% 0%)'
|
|
|
}"
|
|
}"
|
|
|
/>
|
|
/>
|
|
@@ -227,6 +227,8 @@ import MemoryTimeOut from '@/components/composeabe/MemoryTimeOut';
|
|
|
import Touchable from '@/components/feedback/Touchable.vue';
|
|
import Touchable from '@/components/feedback/Touchable.vue';
|
|
|
import Icon from '@/components/basic/Icon.vue';
|
|
import Icon from '@/components/basic/Icon.vue';
|
|
|
import Text from '@/components/basic/Text.vue';
|
|
import Text from '@/components/basic/Text.vue';
|
|
|
|
|
+import { injectAppConfiguration } from '@/api/system/useAppConfiguration';
|
|
|
|
|
+import ImageSwiper from '@/common/components/parts/ImageSwiper.vue';
|
|
|
|
|
|
|
|
const emit = defineEmits(['goVillage']);
|
|
const emit = defineEmits(['goVillage']);
|
|
|
const { onPublishSuccess } = useOfficialAccount();
|
|
const { onPublishSuccess } = useOfficialAccount();
|
|
@@ -240,6 +242,7 @@ const showCityPopup = ref(false);
|
|
|
const showMyFollowPopup = ref(false);
|
|
const showMyFollowPopup = ref(false);
|
|
|
const introClamTipRef = ref();
|
|
const introClamTipRef = ref();
|
|
|
const introClamTipTimeout = new MemoryTimeOut('IntroClamTip', 1000 * 3600 * 30);//30h
|
|
const introClamTipTimeout = new MemoryTimeOut('IntroClamTip', 1000 * 3600 * 30);//30h
|
|
|
|
|
+const appConfiguration = injectAppConfiguration();
|
|
|
|
|
|
|
|
const currentRegion = ref<number | null>(null);
|
|
const currentRegion = ref<number | null>(null);
|
|
|
const { value: currentCity } = useStorageVar('currentCityName', '');
|
|
const { value: currentCity } = useStorageVar('currentCityName', '');
|