diff --git a/src/main/resources/static/assets/mobile/img/home/home4.png b/src/main/resources/static/assets/mobile/img/home/home4.png new file mode 100644 index 0000000..ee1d06f Binary files /dev/null and b/src/main/resources/static/assets/mobile/img/home/home4.png differ diff --git a/src/main/resources/views/mobile/newHome.html b/src/main/resources/views/mobile/newHome.html index 395d8e7..29cd640 100644 --- a/src/main/resources/views/mobile/newHome.html +++ b/src/main/resources/views/mobile/newHome.html @@ -16,6 +16,12 @@ layout("/mobile/platform.html"){ max-height: 300px !important; } + /* 校园全景图等比例填满轮播区域,靠右保留建筑主体,超宽部分裁剪左侧。 */ + .my-swipe .home-panorama .van-image__img { + object-fit: cover; + object-position: right center; + } + .not_open { filter: grayscale(100%); } @@ -84,6 +90,7 @@ layout("/mobile/platform.html"){ @@ -119,6 +126,7 @@ layout("/mobile/platform.html"){ {src: '/assets/mobile/img/home/home1.png'}, {src: '/assets/mobile/img/home/home2.png'}, {src: '/assets/mobile/img/home/home3.png'}, + {src: '/assets/mobile/img/home/home4.png', cropLeft: true}, ], gridArray: [ // {src: '/assets/mobile/img/home/8活动报名.jpg', text: '活动报名', isOpen: true,}, diff --git a/src/main/resources/views/mobile/platform.html b/src/main/resources/views/mobile/platform.html index bc9b5a0..39b9b79 100644 --- a/src/main/resources/views/mobile/platform.html +++ b/src/main/resources/views/mobile/platform.html @@ -8,7 +8,7 @@ content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, viewport-fit=cover" /> - + 广西师范大学智慧工会