|
|
@@ -5,8 +5,8 @@
|
|
|
<view class="title">
|
|
|
梅山古镇
|
|
|
</view>
|
|
|
+ <view><image class="logo-img" src="/static/images/common/logo.png" mode="aspectFit" /></view>
|
|
|
<view class="head">
|
|
|
-
|
|
|
<u-swiper :list="list1"></u-swiper>
|
|
|
</view>
|
|
|
<view class="text">
|
|
|
@@ -422,6 +422,10 @@ import { randomTexts } from '../../../utils/randomTexts.js';
|
|
|
url("https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/guzhenganzi/bgi-two.png");
|
|
|
}
|
|
|
|
|
|
+ .title{
|
|
|
+ height: 4vh;
|
|
|
+ line-height: 5vh;
|
|
|
+ }
|
|
|
.head {
|
|
|
background-image:
|
|
|
url("https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/guzhenganzi/zhanshi.png");
|
|
|
@@ -707,4 +711,14 @@ import { randomTexts } from '../../../utils/randomTexts.js';
|
|
|
line-height: 15px;
|
|
|
z-index: 5;
|
|
|
}
|
|
|
+ .logo-img {
|
|
|
+ background-size: cover;
|
|
|
+ /* 确保背景图片自适应填充整个容器 */
|
|
|
+ background-position: center;
|
|
|
+ /* 背景图片居中显示 */
|
|
|
+ background-repeat: no-repeat;
|
|
|
+ /* 防止背景图重复 */
|
|
|
+ height: 42rpx;
|
|
|
+ width: 180rpx
|
|
|
+ }
|
|
|
</style>
|