|
|
@@ -1,6 +1,6 @@
|
|
|
<template>
|
|
|
<view class="home-container page-home d-flex flex-col bg-base">
|
|
|
- <Image
|
|
|
+ <NImage
|
|
|
innerClass="main-banner position-absolute"
|
|
|
width="100%"
|
|
|
:src="pageContentDefine?.props.homeBanner"
|
|
|
@@ -9,20 +9,17 @@
|
|
|
<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"
|
|
|
+ <image
|
|
|
+ class="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"
|
|
|
+ <image
|
|
|
+ class="footer"
|
|
|
+ src="https://mncdn.wenlvti.net/app_static/minnan/images/home/MainBanner3.png"
|
|
|
mode="widthFix"
|
|
|
/>
|
|
|
</view>
|
|
|
@@ -31,7 +28,7 @@
|
|
|
<HomeButton
|
|
|
v-for="item in pageContentDefine?.props.homeButtons || []"
|
|
|
:key="item.title"
|
|
|
- :title="item.title"
|
|
|
+ :title="item.showTitle !== false ? item.title : ''"
|
|
|
:icon="item.icon"
|
|
|
:size="item.size"
|
|
|
:buttonStyle="item.style"
|
|
|
@@ -53,7 +50,7 @@ import { navTo } from '@/components/utils/PageAction';
|
|
|
import { injectCommonCategory } from '../article/data/CommonCategoryGlobalLoader';
|
|
|
import { CommonCategoryListTabNestCategoryDataToContent, type IHomeCommonCategoryHomeDefine } from '../article/data/CommonCategoryDefine';
|
|
|
import Tabbar from '@/common/components/tabs/Tabbar.vue';
|
|
|
-import Image from '@/components/basic/Image.vue';
|
|
|
+import NImage from '@/components/basic/Image.vue';
|
|
|
import HomeButton from '../parts/HomeButton.vue';
|
|
|
import CommonCategoryBlocks from '../article/data/CommonCategoryBlocks.vue';
|
|
|
import type { CategoryDefine } from '../article/data/CommonCategoryBlocks';
|
|
|
@@ -142,7 +139,7 @@ onShareAppMessage(() => {
|
|
|
align-items: center;
|
|
|
justify-content: space-around;
|
|
|
overflow: hidden;
|
|
|
- background: linear-gradient(180deg, #E5CDAB 0%, #F0E3D6 100%), #F7F3E8;
|
|
|
+ background: linear-gradient(180deg, #f9efe5 0%, #ebcab5 100%), #F7F3E8;
|
|
|
padding: 50rpx 20rpx;
|
|
|
font-family: "SongtiSCBlack";
|
|
|
color: #432A04;
|
|
|
@@ -150,10 +147,13 @@ onShareAppMessage(() => {
|
|
|
> view {
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
|
- margin-left: -30rpx;
|
|
|
+ margin-left: -20rpx;
|
|
|
+ margin-right: 60rpx;
|
|
|
}
|
|
|
|
|
|
.logo {
|
|
|
+ width: 140rpx;
|
|
|
+ height: 85rpx;
|
|
|
margin-left: -10rpx;
|
|
|
margin-right: 0rpx;
|
|
|
}
|
|
|
@@ -163,6 +163,7 @@ onShareAppMessage(() => {
|
|
|
}
|
|
|
text {
|
|
|
font-size: 35rpx;
|
|
|
+ letter-spacing: -0.06rem;
|
|
|
margin-top: 10rpx;
|
|
|
}
|
|
|
.more {
|
|
|
@@ -183,12 +184,11 @@ onShareAppMessage(() => {
|
|
|
}
|
|
|
.footer {
|
|
|
position: absolute;
|
|
|
- right: -80rpx;
|
|
|
+ right: -10rpx;
|
|
|
bottom: -10rpx;
|
|
|
- width: 180rpx;
|
|
|
+ width: 220rpx;
|
|
|
z-index: 2;
|
|
|
height: auto;
|
|
|
- opacity: 0.15;
|
|
|
}
|
|
|
}
|
|
|
}
|