From ffc35a9cbebc362c16eeaa2b1ece53cf9d18e5ee Mon Sep 17 00:00:00 2001 From: shaojing <2901156235@qq.com> Date: Thu, 1 Feb 2024 15:53:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=93=81=E7=89=B9=E6=83=A0=E7=9B=B4?= =?UTF-8?q?=E8=A7=92=EF=BC=8C=E5=8D=81=E5=85=A8=E8=A1=97=E5=9B=BE=E7=89=87?= =?UTF-8?q?=E6=9B=B4=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/index.js | 10 +++++----- pages/index/index.wxml | 4 +++- pages/index/index.wxss | 17 ++++++++++++----- 3 files changed, 20 insertions(+), 11 deletions(-) diff --git a/pages/index/index.js b/pages/index/index.js index faf5383..e050dde 100644 --- a/pages/index/index.js +++ b/pages/index/index.js @@ -48,12 +48,12 @@ Page({ 'https://static.ticket.sz-trip.com/jundaosuzhou/images/springFestival2024/sqj-css.png', 'https://static.ticket.sz-trip.com/jundaosuzhou/images/springFestival2024/sqj-tcs.png', 'https://static.ticket.sz-trip.com/jundaosuzhou/images/springFestival2024/sqj-kss.png', - 'https://static.ticket.sz-trip.com/jundaosuzhou/images/springFestival2024/sqj-wjq.png', - 'https://static.ticket.sz-trip.com/jundaosuzhou/images/springFestival2024/sqj-wzq.png', - 'https://static.ticket.sz-trip.com/jundaosuzhou/images/springFestival2024/sqj-xcq.png', - 'https://static.ticket.sz-trip.com/jundaosuzhou/images/springFestival2024/sqj-gsq.png', + 'https://static.ticket.sz-trip.com/jundaosuzhou/images/springFestival2024/sqj-wjqs.png', + 'https://static.ticket.sz-trip.com/jundaosuzhou/images/springFestival2024/sqj-wzqs.png', + 'https://static.ticket.sz-trip.com/jundaosuzhou/images/springFestival2024/sqj-xcqs.png', + 'https://static.ticket.sz-trip.com/jundaosuzhou/images/springFestival2024/sqj-gsqs.png', 'https://static.ticket.sz-trip.com/jundaosuzhou/images/springFestival2024/sqj-gyyq.png', - 'https://static.ticket.sz-trip.com/jundaosuzhou/images/springFestival2024/sqj-gxq.png', + 'https://static.ticket.sz-trip.com/jundaosuzhou/images/springFestival2024/sqj-gxqs.png', ] }, onLoad: function (options) { diff --git a/pages/index/index.wxml b/pages/index/index.wxml index 2be8bd7..67fd0db 100644 --- a/pages/index/index.wxml +++ b/pages/index/index.wxml @@ -202,7 +202,8 @@ - + + {{item.title}} @@ -213,6 +214,7 @@ + diff --git a/pages/index/index.wxss b/pages/index/index.wxss index d5d9085..5a3fdbb 100644 --- a/pages/index/index.wxss +++ b/pages/index/index.wxss @@ -881,16 +881,22 @@ page { } /* 元旦修改新增样式 */ .xpth-banner { - width: 270rpx; - height: 333rpx; + /* width: 270rpx; */ + /* height: 333rpx; */ + height: 340rpx; /* background-image: url("https://static.ticket.sz-trip.com/jundaosuzhou/images/springFestival2024/xpth-hBg.png"); */ background-size: 100% 100%; border-radius: 20rpx; + padding: 4rpx; + background: #3F7572; + clip-path: polygon(5% 0, 95% 0, 100% 5%, 100% 95%, 95% 100%, 5% 100%, 0 95%, 0 5%); } .xpth-banner image { width: 270rpx; - height: 333rpx; - border-radius: 20rpx; + /* height: 333rpx; */ + height: 340rpx; + clip-path: polygon(5% 0, 95% 0, 100% 5%, 100% 95%, 95% 100%, 5% 100%, 0 95%, 0 5%); + /* border-radius: 20rpx; */ } /* 元旦修改新增样式 */ .xpth-item { @@ -901,7 +907,8 @@ page { background-size: 100% 100%; border-radius: 20rpx; display: flex; - margin-bottom: 10rpx; + /* margin-bottom: 10rpx; */ + clip-path: polygon(5% 0, 95% 0, 100% 10%, 100% 90%, 95% 100%, 5% 100%, 0 90%, 0 10%); /* padding: 5rpx; */ } /* 元旦修改新增样式 */