|
@@ -8,44 +8,45 @@
|
|
|
/>
|
|
/>
|
|
|
<view class="content d-flex flex-col wing-l">
|
|
<view class="content d-flex flex-col wing-l">
|
|
|
|
|
|
|
|
|
|
+ <view class="shadow-base radius-l border-all-base main-banner-box mb-25">
|
|
|
|
|
+ <Image
|
|
|
|
|
+ innerClass="logo"
|
|
|
|
|
+ src="https://mncdn.wenlvti.net/app_static/minnan/images/home/MainLogo1.png"
|
|
|
|
|
+ :width="140"
|
|
|
|
|
+ :height="85"
|
|
|
|
|
+ />
|
|
|
|
|
+ <view>
|
|
|
|
|
+ <text class="title">{{pageContentDefine?.props.title || ''}}</text>
|
|
|
|
|
+ <text>{{pageContentDefine?.props.subTitle || ''}}</text>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <Image
|
|
|
|
|
+ innerClass="footer"
|
|
|
|
|
+ src="https://mncdn.wenlvti.net/app_static/minnan/images/home/MainBanner2.png"
|
|
|
|
|
+ :width="280"
|
|
|
|
|
+ mode="widthFix"
|
|
|
|
|
+ />
|
|
|
|
|
+ </view>
|
|
|
|
|
+
|
|
|
|
|
+ <view class="position-relative d-flex flex-row flex-wrap justify-between mt-25 row-gap-sss">
|
|
|
|
|
+ <HomeButton
|
|
|
|
|
+ v-for="item in pageContentDefine?.props.homeButtons || []"
|
|
|
|
|
+ :key="item.title"
|
|
|
|
|
+ :title="item.title"
|
|
|
|
|
+ :icon="item.icon"
|
|
|
|
|
+ :size="item.size"
|
|
|
|
|
+ :buttonStyle="item.style"
|
|
|
|
|
+ @click="navTo(item.link[0], item.link[1] as Record<string, unknown>)"
|
|
|
|
|
+ />
|
|
|
|
|
+ </view>
|
|
|
|
|
+
|
|
|
<!-- 分栏 -->
|
|
<!-- 分栏 -->
|
|
|
- <view class="shadow-base radius-l bg-base p-3">
|
|
|
|
|
|
|
+ <view class="bg-base p-3">
|
|
|
<!--
|
|
<!--
|
|
|
点击介绍
|
|
点击介绍
|
|
|
@click="navTo('introduction')"
|
|
@click="navTo('introduction')"
|
|
|
-->
|
|
-->
|
|
|
- <view
|
|
|
|
|
- class="main-banner-box mb-25"
|
|
|
|
|
- >
|
|
|
|
|
- <Image
|
|
|
|
|
- innerClass="logo"
|
|
|
|
|
- src="https://mncdn.wenlvti.net/app_static/minnan/images/home/MainLogo1.png"
|
|
|
|
|
- :width="140"
|
|
|
|
|
- :height="85"
|
|
|
|
|
- />
|
|
|
|
|
- <view>
|
|
|
|
|
- <text class="title">{{pageContentDefine?.props.title || ''}}</text>
|
|
|
|
|
- <text>{{pageContentDefine?.props.subTitle || ''}}</text>
|
|
|
|
|
- </view>
|
|
|
|
|
- <Image
|
|
|
|
|
- innerClass="footer"
|
|
|
|
|
- src="https://mncdn.wenlvti.net/app_static/minnan/images/home/MainBanner2.png"
|
|
|
|
|
- :width="280"
|
|
|
|
|
- mode="widthFix"
|
|
|
|
|
- />
|
|
|
|
|
- </view>
|
|
|
|
|
-
|
|
|
|
|
- <view class="position-relative d-flex flex-row flex-wrap justify-between mt-25 row-gap-sss">
|
|
|
|
|
- <HomeButton
|
|
|
|
|
- v-for="item in pageContentDefine?.props.homeButtons || []"
|
|
|
|
|
- :key="item.title"
|
|
|
|
|
- :title="item.title"
|
|
|
|
|
- :icon="item.icon"
|
|
|
|
|
- :size="item.size"
|
|
|
|
|
- @click="navTo(item.link[0], item.link[1] as Record<string, unknown>)"
|
|
|
|
|
- />
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="position-relative d-flex flex-row flex-wrap justify-between mt-3">
|
|
|
|
|
|
|
+
|
|
|
|
|
+ <!-- <view class="position-relative d-flex flex-row flex-wrap justify-between mt-3">
|
|
|
<Box1AudioPlay
|
|
<Box1AudioPlay
|
|
|
class="w-100"
|
|
class="w-100"
|
|
|
:title="indexAudioPlayer.currentTitle.value"
|
|
:title="indexAudioPlayer.currentTitle.value"
|
|
@@ -58,7 +59,7 @@
|
|
|
@prevClick="indexAudioPlayer.prev"
|
|
@prevClick="indexAudioPlayer.prev"
|
|
|
@click="handleGoAudioList"
|
|
@click="handleGoAudioList"
|
|
|
/>
|
|
/>
|
|
|
- </view>
|
|
|
|
|
|
|
+ </view> -->
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
|
<CommonCategoryBlocks :categoryDefine="categoryDefine" />
|
|
<CommonCategoryBlocks :categoryDefine="categoryDefine" />
|
|
@@ -79,7 +80,8 @@ import Tabbar from '@/common/components/tabs/Tabbar.vue';
|
|
|
import Box1AudioPlay from '@/pages/parts/Box1AudioPlay.vue';
|
|
import Box1AudioPlay from '@/pages/parts/Box1AudioPlay.vue';
|
|
|
import Image from '@/components/basic/Image.vue';
|
|
import Image from '@/components/basic/Image.vue';
|
|
|
import HomeButton from '../parts/HomeButton.vue';
|
|
import HomeButton from '../parts/HomeButton.vue';
|
|
|
-import CommonCategoryBlocks, { type CategoryDefine } from '../article/data/CommonCategoryBlocks.vue';
|
|
|
|
|
|
|
+import CommonCategoryBlocks from '../article/data/CommonCategoryBlocks.vue';
|
|
|
|
|
+import type { CategoryDefine } from '../article/data/CommonCategoryBlocks';
|
|
|
|
|
|
|
|
const commonCategory = injectCommonCategory();
|
|
const commonCategory = injectCommonCategory();
|
|
|
const pageDefine = computed(() => commonCategory.value.page.find((p) => p.name === 'home'));
|
|
const pageDefine = computed(() => commonCategory.value.page.find((p) => p.name === 'home'));
|
|
@@ -131,7 +133,7 @@ onShareAppMessage(() => {
|
|
|
.page-home {
|
|
.page-home {
|
|
|
|
|
|
|
|
.main-banner {
|
|
.main-banner {
|
|
|
- top: 0rpx;
|
|
|
|
|
|
|
+ top: -100rpx;
|
|
|
}
|
|
}
|
|
|
.content {
|
|
.content {
|
|
|
margin-top: 400rpx;
|
|
margin-top: 400rpx;
|
|
@@ -183,9 +185,8 @@ onShareAppMessage(() => {
|
|
|
align-items: center;
|
|
align-items: center;
|
|
|
justify-content: space-between;
|
|
justify-content: space-between;
|
|
|
overflow: hidden;
|
|
overflow: hidden;
|
|
|
- border-radius: 15rpx;
|
|
|
|
|
background: linear-gradient(180deg, #E5CDAB 0%, #F0E3D6 100%), #F7F3E8;
|
|
background: linear-gradient(180deg, #E5CDAB 0%, #F0E3D6 100%), #F7F3E8;
|
|
|
- padding: 30rpx 20rpx;
|
|
|
|
|
|
|
+ padding: 50rpx 20rpx;
|
|
|
font-family: "SongtiSCBlack";
|
|
font-family: "SongtiSCBlack";
|
|
|
color: #432A04;
|
|
color: #432A04;
|
|
|
|
|
|