Browse Source

更新页面和添加图片

pull/19/head
徐飞洋 1 month ago
parent
commit
7b229f94ab
  1. BIN
      images/1.jpg
  2. BIN
      images/2.jpg
  3. 9
      pages/index/index.js
  4. 4
      pages/index/index.wxss

BIN
images/1.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 229 KiB

BIN
images/2.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 218 KiB

9
pages/index/index.js

@ -67,19 +67,14 @@ Page({
adCarouselList: [ adCarouselList: [
{ {
id: 1, id: 1,
imageUrl: '/images/招商图片.jpg', imageUrl: '/images/1.jpg',
link: '' link: ''
}, },
{ {
id: 2, id: 2,
imageUrl: '/images/立即入驻导航图片.jpg', imageUrl: '/images/2.jpg',
link: '' link: ''
}, },
{
id: 3,
imageUrl: '/images/首页分享照片.jpg',
link: ''
}
], ],
// 侧边栏相关 // 侧边栏相关

4
pages/index/index.wxss

@ -74,7 +74,7 @@ page {
overflow: hidden; overflow: hidden;
border-radius: 12rpx; border-radius: 12rpx;
box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.1); box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.1);
height: 180rpx; height: 300rpx;
position: relative; position: relative;
z-index: 1000; z-index: 1000;
max-width: 850rpx; max-width: 850rpx;
@ -89,7 +89,7 @@ page {
.ad-image { .ad-image {
width: 100%; width: 100%;
height: 100%; height: 100%;
object-fit: cover; object-fit: contain;
border-radius: 0; border-radius: 0;
background-color: #f5f5f5; background-color: #f5f5f5;
} }

Loading…
Cancel
Save