diff --git a/app.json b/app.json index 75d9431..5cdd85e 100644 --- a/app.json +++ b/app.json @@ -213,26 +213,26 @@ "sitemapLocation": "sitemap.json", "tabBar": { "color": "#999", - "selectedColor": "#72674E", + "selectedColor": "#3FB87F", "borderStyle": "white", "list": [ { "pagePath": "pages/index/index", "iconPath": "/images/home.png", - "selectedIconPath": "/images/index-selds.png", + "selectedIconPath": "/images/index-selds_1.png", "text": "首页", "shareTimeline": true }, { "pagePath": "pages/map/index", "iconPath": "/images/map.png", - "selectedIconPath": "/images/tuyou-selds.png", + "selectedIconPath": "/images/tuyou-selds_1.png", "text": "图游" }, { "pagePath": "pages/user/user", "iconPath": "/images/user.png", - "selectedIconPath": "/images/my-selds.png", + "selectedIconPath": "/images/my-selds_1.png", "text": "我的" } ] diff --git a/images/index-selds_1.png b/images/index-selds_1.png new file mode 100644 index 0000000..fa7ca9a Binary files /dev/null and b/images/index-selds_1.png differ diff --git a/images/my-selds_1.png b/images/my-selds_1.png new file mode 100644 index 0000000..7e5cb3b Binary files /dev/null and b/images/my-selds_1.png differ diff --git a/images/tuyou-selds_1.png b/images/tuyou-selds_1.png new file mode 100644 index 0000000..b8efcbc Binary files /dev/null and b/images/tuyou-selds_1.png differ diff --git a/pages/index/index.js b/pages/index/index.js index 4c6b95a..b940de5 100644 --- a/pages/index/index.js +++ b/pages/index/index.js @@ -46,16 +46,16 @@ Page({ djs:null, // 元旦新增 新品特惠倒计时 djsTime:null, sqjNew:[ - 'https://static.ticket.sz-trip.com/uploads/20240228/6b66d72217daf237b872e5d9a2940145.png', - 'https://static.ticket.sz-trip.com/uploads/20240228/dd505af3726fece9f68797dd3b1fadde.png', - 'https://static.ticket.sz-trip.com/uploads/20240228/e9b1bba16e57eb1058559f2e3cb900c3.png', - 'https://static.ticket.sz-trip.com/uploads/20240228/264e088f95b6670fca4fc81f3bc80688.png', - 'https://static.ticket.sz-trip.com/uploads/20240228/5cd8254c6e19b586dad65e8d56683e4c.png', - 'https://static.ticket.sz-trip.com/uploads/20240228/6ebcfcd73f85014dc8642b8daac1e1b0.png', - 'https://static.ticket.sz-trip.com/uploads/20240228/8df6e95a348a64474ff3ed55299924b9.png', - 'https://static.ticket.sz-trip.com/uploads/20240228/c7de980e14c66a39215e7bf5f66ba218.png', - 'https://static.ticket.sz-trip.com/uploads/20240228/24010b7a7a88b91c0ea75cf3f073702e.png', - 'https://static.ticket.sz-trip.com/uploads/20240228/59e199b98bfb9fbe4fd996503d5f5698.png', + 'https://static.ticket.sz-trip.com/uploads/20240428/faede304469bb3e7b9bbf7001008d09a.png', + 'https://static.ticket.sz-trip.com/uploads/20240428/77c3bd6c3f44ee0e3cc483557c1c7462.png', + 'https://static.ticket.sz-trip.com/uploads/20240428/ad2324005ba1ed0cabe990ec62bfec76.png', + 'https://static.ticket.sz-trip.com/uploads/20240428/a90f3ce4519a585cc5cebfe62d8d4043.png', + 'https://static.ticket.sz-trip.com/uploads/20240428/6d2a807d0bf5fe4d48ebc7d9ef052a86.png', + 'https://static.ticket.sz-trip.com/uploads/20240428/be55040b6dbf55a69ba15487bde5a924.png', + 'https://static.ticket.sz-trip.com/uploads/20240428/755ee01ac248aeda8812b025f483a869.png', + 'https://static.ticket.sz-trip.com/uploads/20240428/b14e5e8ccf6c725bf1d5a144f6a25ff8.png', + 'https://static.ticket.sz-trip.com/uploads/20240428/71f7b558c7ca6d42728d48508d01819c.png', + 'https://static.ticket.sz-trip.com/uploads/20240428/94c63d92ca6719feb691111d5785ff3d.png', ], viewHeight:"0px", }, @@ -885,8 +885,12 @@ Page({ if (app.globalData.loadIndexSeason) { this.getIndexSeason() } else { - setTimeout(() => { - this.getIndexSeason() + let t = setInterval(() => { + if (app.globalData.loadIndexSeason) { + this.getIndexSeason() + clearInterval(t) + t = null + } }, 500) } diff --git a/pages/index/index.wxml b/pages/index/index.wxml index 88ac756..8e9ed96 100644 --- a/pages/index/index.wxml +++ b/pages/index/index.wxml @@ -5,15 +5,15 @@ - + {{weather.max_temp}}° {{weather.weather}} + src="https://static.ticket.sz-trip.com/uploads/20240428/ae4b559db397a7b7d76b471576bfa3c0.png" mode="aspectFill"> + - + 活动日历 + + - + 场馆预约 @@ -67,57 +71,73 @@ data-path="/pages/list/{{isTest?'scene':'feiyi'}}/index" class="top-icon-item"> --> + + - + 非遗专卖 + + - + 剧场演出 + + - + 文创特产 + + - + 景点门票 + + - + 酒店住宿 + + - + 夜游苏州 + + - + 一日游 + + - + 研学游 @@ -166,7 +186,11 @@ - + + + + + @@ -181,7 +205,7 @@ - + @@ -189,8 +213,10 @@ 倒计时 - {{djs.h}}: - {{djs.m}}: + {{djs.h}} + : + {{djs.m}} + : {{djs.s}} @@ -202,8 +228,7 @@ - - + {{item.title}} @@ -214,179 +239,178 @@ - - - - + - - + - - - - - - - - 非遗鉴赏 - - - - - - 数字博物馆 - - - - - - 公共文化资源库 - - - - - - 云上文博会 - - - - - - 云上观展 - - - - - - 精彩回顾 - - - - - - 文旅单位 - - - - - - 书仓 - - - - - - 苏影通 - - - - - - 视觉中心 - - - - - - - 文化场馆查询 - - - - + + + + + + + + + 非遗鉴赏 + + + + + + 数字博物馆 + + - + - - 投资导引图 + + 公共文化资源库 - - + + + + + 云上文博会 + + + + + + 云上观展 + + + + + + 精彩回顾 + + + + + + 文旅单位 + + + + + + 书仓 + + + + + + 苏影通 + + + + + + 视觉中心 + + + + + + + 文化场馆查询 + + + + + + + + 投资导引图 + + + - + - + + + + + + + + - - - - - - - + + src="https://static.ticket.sz-trip.com/uploads/20240428/c40ddcb3ed2c971eec02187374540d06.png" mode="aspectFill"> + src="https://static.ticket.sz-trip.com/uploads/20240428/866baa2713b1819cb861aec9fd34970d.png" mode="aspectFill"> + src="https://static.ticket.sz-trip.com/uploads/20240428/7e1fc96543b093aa6871172770d0db6b.png" mode="aspectFill"> + src="https://static.ticket.sz-trip.com/uploads/20240428/3c21e5876209c1bad4bbfcc688779c08.png" mode="aspectFill"> @@ -413,15 +437,15 @@ - + - 更多查看全部 - + - + - + 安全服务 - + 景区舒适度 - + 行李寄存 - + 实时路况 - + - +