diff --git a/app.json b/app.json index 33f20b5..6682b26 100644 --- a/app.json +++ b/app.json @@ -219,20 +219,20 @@ { "pagePath": "pages/index/index", "iconPath": "/images/home.png", - "selectedIconPath": "/images/index-seld.png", + "selectedIconPath": "/images/index-selds.png", "text": "首页", "shareTimeline": true }, { "pagePath": "pages/map/index", "iconPath": "/images/map.png", - "selectedIconPath": "/images/tuyou-seld.png", + "selectedIconPath": "/images/tuyou-selds.png", "text": "图游" }, { "pagePath": "pages/user/user", "iconPath": "/images/user.png", - "selectedIconPath": "/images/my-seld.png", + "selectedIconPath": "/images/my-selds.png", "text": "我的" } ] diff --git a/images/index-selds.png b/images/index-selds.png new file mode 100644 index 0000000..0781bc4 Binary files /dev/null and b/images/index-selds.png differ diff --git a/images/my-selds.png b/images/my-selds.png new file mode 100644 index 0000000..debb1e8 Binary files /dev/null and b/images/my-selds.png differ diff --git a/images/tuyou-selds.png b/images/tuyou-selds.png new file mode 100644 index 0000000..9158a58 Binary files /dev/null and b/images/tuyou-selds.png differ diff --git a/pages/index/index.js b/pages/index/index.js index 61a4420..b2c83e6 100644 --- a/pages/index/index.js +++ b/pages/index/index.js @@ -44,16 +44,16 @@ Page({ djs:null, // 元旦新增 新品特惠倒计时 djsTime:null, sqjNew:[ - 'https://static.ticket.sz-trip.com/jundaosuzhou/images/yuandan2024/sqj-zjg.png', - 'https://static.ticket.sz-trip.com/jundaosuzhou/images/yuandan2024/sqj-cs.png', - 'https://static.ticket.sz-trip.com/jundaosuzhou/images/yuandan2024/sqj-tc.png', - 'https://static.ticket.sz-trip.com/jundaosuzhou/images/yuandan2024/sqj-ks.png', - 'https://static.ticket.sz-trip.com/jundaosuzhou/images/yuandan2024/sqj-wj.png', - 'https://static.ticket.sz-trip.com/jundaosuzhou/images/yuandan2024/sqj-wzs.png', - 'https://static.ticket.sz-trip.com/jundaosuzhou/images/yuandan2024/sqj-xc.png', - 'https://static.ticket.sz-trip.com/jundaosuzhou/images/yuandan2024/sqj-gs.png', - 'https://static.ticket.sz-trip.com/jundaosuzhou/images/yuandan2024/sqj-gyyq.png', - 'https://static.ticket.sz-trip.com/jundaosuzhou/images/yuandan2024/sqj-gxq.png', + 'https://static.ticket.sz-trip.com/jundaosuzhou/images/springFestival2024/sqj-zjg.png', + '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-gyyq.png', + 'https://static.ticket.sz-trip.com/jundaosuzhou/images/springFestival2024/sqj-gxq.png', ] }, onLoad: function (options) { @@ -164,8 +164,8 @@ Page({ let h = parseInt(oTime/3600) let m = parseInt((oTime%3600)/60) let s = parseInt(oTime%60) - // h=h<10?"0"+h:h; - // m=m<10?"0"+m:m; + h=h<10?"0"+h:h; + m=m<10?"0"+m:m; s=s<10?"0"+s:s; this.setData({ djs:{h:h,m:m,s:s} @@ -462,7 +462,7 @@ Page({ let url = e.currentTarget.dataset.url; app.globalData.weburl = url; wx.navigateTo({ - url: "/pages/pbService/web/index" + url: "/pages/pbService/web/index?weburl=" + encodeURIComponent(url) }) }, gotoUrl: function (e) { @@ -683,7 +683,7 @@ Page({ } else if (item.action == "web") { app.globalData.weburl = item.href; wx.navigateTo({ - url: "/pages/pbService/web/index", + url: "/pages/pbService/web/index?weburl=" + encodeURIComponent(item.href), }) } }, diff --git a/pages/index/index.wxml b/pages/index/index.wxml index 6b3ba24..b3603c0 100644 --- a/pages/index/index.wxml +++ b/pages/index/index.wxml @@ -10,10 +10,15 @@ {{weather.max_temp}}° {{weather.weather}} + + @@ -46,14 +51,14 @@ - + 活动日历 - + 场馆预约 @@ -63,56 +68,56 @@ - + 非遗专卖 - + 剧场演出 - + 文创特产 - + 景点门票 - + 酒店住宿 - + 夜游苏州 - + 一日游 - + 研学游 @@ -175,20 +180,22 @@ - + - - {{djs.h}}: - {{djs.m}}: - {{djs.s}} - - - 更多 + + 倒计时 + {{djs.h}}: + {{djs.m}}: + {{djs.s}} + + @@ -197,32 +204,35 @@ - {{item.title}} + {{item.title}} + 唇齿留香 {{item.price/100}} - 立即抢购 + - + + + - - + - + - + - - + + + 非遗鉴赏 - + + 文化场馆查询 - + + 数字博物馆 - + + 云上文博会 - + + 投资导引图 - + + 文旅单位 - + - + + 苏影通 + - + - - + - + + 精彩回顾 - + + 视觉中心 - + + 书香借阅 公共文化资源库 --> - + + 公共文化资源库 @@ -350,19 +371,31 @@ + - + + + + + + + - + 更多 + - + - + - + 安全服务 + data-url="https://m.cloud.sz-trip.com/ScenicComfort" class="pbservice-item ggfw" style="margin-right: 32.33rpx;"> - + 景区舒适度 + data-url="https://weixin.2500sz.net/zt/2023/07/luggage_storage/" class="pbservice-item ggfw" style="margin-right: 32.33rpx;"> - + 行李寄存 + data-url="https://jiaotonghao2.amap.com/?channel=amap&unitId=257&src=app_share#/" class="pbservice-item ggfw" style="margin-right: 0;"> - + 实时路况 + @@ -32,7 +33,8 @@ - + + diff --git a/pages/map/index.wxss b/pages/map/index.wxss index 1f803cf..2ede90a 100644 --- a/pages/map/index.wxss +++ b/pages/map/index.wxss @@ -11,7 +11,7 @@ position: fixed; /* left: 25rpx; */ left: 0; - top: 150rpx; + top: 160rpx; display: flex; align-items: center; width: 202rpx; @@ -505,10 +505,11 @@ border: 3rpx solid #999999; margin: 0 auto; margin-top: 13.3rpx; + margin-bottom: 37.33rpx; } .menu-list { - margin-top: 37.33rpx; + /* margin-top: 37.33rpx; */ display: flex; justify-content: space-around; } @@ -624,4 +625,9 @@ -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; +} + +.img-icon { + width: 686.67rpx; + height: 40rpx; } \ No newline at end of file