Browse Source

首页改版

master
jiazhipeng 12 months ago
parent
commit
99cd1a368e
  1. 8
      app.json
  2. 150
      pages/index/imgSource.js
  3. 911
      pages/index/index.js
  4. 1050
      pages/index/index.wxml
  5. 647
      pages/index/index.wxss
  6. 150
      subPackages/index/imgSource.js
  7. 29
      subPackages/index/index.js
  8. 72
      subPackages/index/index.wxml
  9. 39
      subPackages/index/index.wxss

8
app.json

@ -245,26 +245,26 @@
"sitemapLocation": "sitemap.json", "sitemapLocation": "sitemap.json",
"tabBar": { "tabBar": {
"color": "#999999", "color": "#999999",
"selectedColor": "#169D7E", "selectedColor": "#D22A1C",
"borderStyle": "white", "borderStyle": "white",
"list": [ "list": [
{ {
"pagePath": "pages/index/index", "pagePath": "pages/index/index",
"iconPath": "/images/index.png", "iconPath": "/images/index.png",
"selectedIconPath": "/images/index_seld_1.png", "selectedIconPath": "/images/aindex_seld.png",
"text": "首页", "text": "首页",
"shareTimeline": true "shareTimeline": true
}, },
{ {
"pagePath": "pages/map/index", "pagePath": "pages/map/index",
"iconPath": "/images/map.png", "iconPath": "/images/map.png",
"selectedIconPath": "/images/map_seld_1.png", "selectedIconPath": "/images/amap_seld.png",
"text": "图游" "text": "图游"
}, },
{ {
"pagePath": "pages/user/user", "pagePath": "pages/user/user",
"iconPath": "/images/user.png", "iconPath": "/images/user.png",
"selectedIconPath": "/images/user_seld_1.png", "selectedIconPath": "/images/auser_seld.png",
"text": "我的" "text": "我的"
} }
] ]

150
pages/index/imgSource.js

@ -1,116 +1,84 @@
const imageSource = { const imageSource = {
// 活动日历、场馆预约等 // 活动日历、场馆预约等
mainFunImgs: [ mainFunImgs: [
"https://static.ticket.sz-trip.com/uploads/20250312/2453c4f3e932172905ed883190ef1356.png", "https://static.ticket.sz-trip.com/uploads/20241225/9a472382adcb3793e6c61ad3ea2fbb05.png",
"https://static.ticket.sz-trip.com/uploads/20250312/c69cdbafb16ed468fef68eb77865e6ff.png", "https://static.ticket.sz-trip.com/uploads/20241225/ba19e78aaa629e3ece995d599526d08c.png",
"https://static.ticket.sz-trip.com/uploads/20250312/05dd30d02e74178134242cc64aaa11ac.png", "https://static.ticket.sz-trip.com/uploads/20241225/9fc20afb60e1e647b511d9973e96bd4b.png",
"https://static.ticket.sz-trip.com/uploads/20250312/e93e655b524001d25d7d4fd848f5bb3b.png", "https://static.ticket.sz-trip.com/uploads/20241225/7030de3a317567442f5141d833e5f752.png",
"https://static.ticket.sz-trip.com/uploads/20250312/8e675fc57ea4b9e45f2fa7736bc03e7d.png", "https://static.ticket.sz-trip.com/uploads/20241225/fb7ce8cc732bb34bf881dd7129f1e708.png",
"https://static.ticket.sz-trip.com/uploads/20241225/1faaa62c2d0bd9b912950e742347b0b6.png",
"https://static.ticket.sz-trip.com/uploads/20250312/db946eebb863adc0bb020338c9edc271.png", "https://static.ticket.sz-trip.com/uploads/20241225/661fcc7e02d2c5d734a43d5dbbe79363.png",
"https://static.ticket.sz-trip.com/uploads/20250312/e2cc47fa5a2d01d436dad0a85948f060.png", "https://static.ticket.sz-trip.com/uploads/20241225/f0e901bc9ab4c988295e4a2f88cb3ffe.png",
"https://static.ticket.sz-trip.com/jundaosuzhou/images/spring2025/ssy.png", "https://static.ticket.sz-trip.com/uploads/20241225/ebb4be1738d227f6deb3f895db663eed.png",
"https://static.ticket.sz-trip.com/uploads/20250312/a094d635976194782fbdcf2bc596b082.png", "https://static.ticket.sz-trip.com/uploads/20241225/1c847b7edcee6fec2928da4280ef19ca.png",
"https://static.ticket.sz-trip.com/uploads/20250314/5238f9ee4762266abf0c279501ea4028.png",
], ],
// 数字文旅 // 数字文旅
SZWL: [ SZWL: [
// 非遗,博物馆,名人馆,云上,云上文博,精彩回顾,文化场馆 // 非遗,博物馆,名人馆,云上,云上文博,精彩回顾,文化场馆
// 苏影通 书仓 e读书 数字公共文化 云游苏州 美图鉴赏 // 苏影通 书仓 e读书 数字公共文化 云游苏州 美图鉴赏
"https://static.ticket.sz-trip.com/uploads/20250312/58d0fd32ea7521b0b1ea12bf5b593fe2.png", "https://static.ticket.sz-trip.com/uploads/20241225/70e78a734c5f1ec7f9461c071ce05a6b.png",
"https://static.ticket.sz-trip.com/uploads/20250312/1994615fcbc125da641541ea1f04c364.png", "https://static.ticket.sz-trip.com/uploads/20241225/a4a7e0487b417c5ed2140d5e2341da43.png",
"https://static.ticket.sz-trip.com/uploads/20250312/f054ca452f27dac54723255ba6445790.png", "https://static.ticket.sz-trip.com/uploads/20241225/f7a2d28af1be501b0c104e8f831f3c36.png",
"https://static.ticket.sz-trip.com/uploads/20250312/590822c40c769cb4f673f460f1a37a0b.png", "https://static.ticket.sz-trip.com/uploads/20241225/003cb24afb80aeef891d73bfeeab4359.png",
"https://static.ticket.sz-trip.com/uploads/20250312/41c21568ed9c4b15084c9669ca99a6fd.png",
"https://static.ticket.sz-trip.com/uploads/20250312/1ee056f091a42e51ce8168767704708a.png",
"https://static.ticket.sz-trip.com/uploads/20250312/b418843c04ddfa00be91fb793019cb99.png",
"https://static.ticket.sz-trip.com/uploads/20241225/8f4ab6d79b0b2851cd4f7ceff92155f6.png",
"https://static.ticket.sz-trip.com/uploads/20250312/0ad69db116004e735e1bd13cd54fd75c.png", "https://static.ticket.sz-trip.com/uploads/20241225/845592de452a60ad5d9a51cb8cf73d99.png",
"https://static.ticket.sz-trip.com/uploads/20250312/f2400b009c8e92efcdd645080f14b28a.png", "https://static.ticket.sz-trip.com/uploads/20241225/71e21d53580b8c1dcd1ec6b8f2c1f959.png",
"https://static.ticket.sz-trip.com/uploads/20250312/bbda2dd4e332f457a6aa06a4a15b639b.png",
"https://static.ticket.sz-trip.com/uploads/20250312/06b500881204a4a40c5bc8d126f38a58.png",
"https://static.ticket.sz-trip.com/uploads/20250312/d188c19334c9170e5c963459b7187f20.png", "https://static.ticket.sz-trip.com/uploads/20241225/dd691cdd5cf61f4172a9ee179bab8bc2.png",
"https://static.ticket.sz-trip.com/uploads/20250312/a25506779b745291cb8d9051abce07c1.png", "https://static.ticket.sz-trip.com/uploads/20241225/eae7eed9a19bc1f0c5296da5c3a8c6e2.png",
"https://static.ticket.sz-trip.com/uploads/20241225/73ce0d4057cca77dbcaaa6b858d84e33.png",
"https://static.ticket.sz-trip.com/uploads/20241225/1efa141c778d55b471ad950fa886119b.png",
"https://static.ticket.sz-trip.com/uploads/20241225/02be10405480f0139b75fe355f9a8df8.png",
"https://static.ticket.sz-trip.com/uploads/20241225/2d7514ce60a3843ae04b98660ed2d622.png",
], ],
// 旅游助手 // 旅游助手
LVZS: [ LVZS: [
"https://static.ticket.sz-trip.com/uploads/20250423/662eb322f8851e04df41fd836c6a88f3.png", "https://static.ticket.sz-trip.com/uploads/20241225/73567ffad3e927a0ce5a5dab8c13963e.png",
// "https://static.ticket.sz-trip.com/uploads/20250312/ae847f6081edb82a14a75b3e19146eeb.png", "https://static.ticket.sz-trip.com/uploads/20241225/96d36ec8e1794d9873ba0687beed9288.png",
"https://static.ticket.sz-trip.com/uploads/20250312/d12ad76fbb7a46c1669c403e66e510ad.png", "https://static.ticket.sz-trip.com/uploads/20241225/973b2cc8b0614b28400b6cc04c3c8495.png",
"https://static.ticket.sz-trip.com/uploads/20250312/3b8941467df369032b70052b60095857.png", "https://static.ticket.sz-trip.com/uploads/20241225/200277a64244c067e260da28511a6420.png",
"https://static.ticket.sz-trip.com/uploads/20250312/54b2063e28eacfeb220905563e802786.png",
], ],
// 公共服务 // 公共服务
GGFW: [ GGFW: [
"https://static.ticket.sz-trip.com/uploads/20250312/65f1dda9a4dc43d426544a0d14eb73de.png", "https://static.ticket.sz-trip.com/uploads/20241225/dd917bfef53fa2fd54d733dad8e435b5.png",
"https://static.ticket.sz-trip.com/uploads/20250312/9799b276d76f884fd0130d7378c974fe.png", "https://static.ticket.sz-trip.com/uploads/20241225/d9551507d901dff803b0f06ab545c74f.png",
"https://static.ticket.sz-trip.com/uploads/20250312/c40b456687490eafe5414addaaae0c2b.png", "https://static.ticket.sz-trip.com/uploads/20241225/c44aadc6e054f3a2ac9cfcefdad048ea.png",
"https://static.ticket.sz-trip.com/uploads/20250312/a95959dcba2f494b69980d16a895e9c8.png", "https://static.ticket.sz-trip.com/uploads/20241225/826c8084cde314a4f8b46e91bcd77acc.png",
"https://static.ticket.sz-trip.com/uploads/20250312/e16b8e640169e99639cef6ff7897b6a7.png"
], ],
// 十全十美 // 十全十美
SQSM: [ SQSM: [
// ["changshu","taicang", "kunshan","wujiang","gongyeyuanqu","zhangjiagang","wuzhong","xiangcheng","gusu","gaoxin"], // ["changshu","taicang", "kunshan","wujiang","gongyeyuanqu","zhangjiagang","wuzhong","xiangcheng","gusu","gaoxin"],
"https://static.ticket.sz-trip.com/uploads/20250312/3e4b8f20f9468cb4fd3f0c92d604db09.png", "https://static.ticket.sz-trip.com/uploads/20241225/1a963a3b3a6cf9a4dca822cce6574e3f.png",
"https://static.ticket.sz-trip.com/uploads/20250312/24fc48715691714988d5e0cf78e5a657.png", "https://static.ticket.sz-trip.com/uploads/20241225/21fba8904ce6ae5fe7d6a64a2794d93b.png",
"https://static.ticket.sz-trip.com/uploads/20250312/55b86da028a00326994ac8ebf10447b5.png", "https://static.ticket.sz-trip.com/uploads/20241225/98b19eb35e6621818b1ba78def011778.png",
"https://static.ticket.sz-trip.com/uploads/20250312/aa60aec108158b47e0210b8b33c72fe5.png", "https://static.ticket.sz-trip.com/uploads/20241225/24f59b0e143a249fec891b2ef22800ef.png",
"https://static.ticket.sz-trip.com/uploads/20250312/4fdd5f3e9f63421d4394f2c3b3a0c7a4.png", "https://static.ticket.sz-trip.com/uploads/20241225/73f11fcdf9e7a3236815a5935ab70253.png",
"https://static.ticket.sz-trip.com/uploads/20250312/bb32450e448ec520c90241556a68c092.png", "https://static.ticket.sz-trip.com/uploads/20241225/f48f42f53e2a53f0b978684bcbd1b8c5.png",
"https://static.ticket.sz-trip.com/uploads/20250312/cea52b2c0f3c18762d7feea2ba987e63.png", "https://static.ticket.sz-trip.com/uploads/20241225/de5ae5de54a255a72f404d688c2ceb3e.png",
"https://static.ticket.sz-trip.com/uploads/20250312/ef29b1cbdd9b33919891732750f72f2a.png", "https://static.ticket.sz-trip.com/uploads/20241225/9be62fc5347411ada17ec9f4b3ea8c28.png",
"https://static.ticket.sz-trip.com/uploads/20250312/8de375c2fc322cb44d7e0cdb84c97cfe.png", "https://static.ticket.sz-trip.com/uploads/20241225/2fcea197a5d9ac98d29cb194d9ab45db.png",
"https://static.ticket.sz-trip.com/uploads/20250312/96a0c3631a0b3a9d5836943663a2f5c5.png", "https://static.ticket.sz-trip.com/uploads/20241225/d4d91992a844af511498af07e39cab45.png",
], ],
// 长三角文旅平台 // 长三角文旅平台
CSJWLPT: [ CSJWLPT: [
{ "https://static.ticket.sz-trip.com/uploads/20241225/ef61d89d6d0f5ca84f56917920a162f2.png",
"name":"玉见昆山", "https://static.ticket.sz-trip.com/uploads/20241225/8368833b47ccfe9bc34a395eea74efb4.png",
"icon":"https://static.ticket.sz-trip.com/uploads/20250423/40319f04a78f25c2741e4ce11b375597.png", "https://static.ticket.sz-trip.com/uploads/20241225/7cc0f4a931bb969f7a063ea6e00325e6.png",
"type":"mini",
"path":"",
"appid":"wx8888a3fd0862b4c8"
},
{
"name":"智游常熟",
"icon":"https://static.ticket.sz-trip.com/uploads/20250423/619870022ca676c31d2d6395f81dd3d7.png",
"type":"mini",
"path":"",
"appid":"wxdaf3d5edd07dc7af"
},
{
"name":"常享游",
"icon":"https://static.ticket.sz-trip.com/uploads/20250312/194a5636ecd849ce1f8b8f42c9d5b08b.png",
"type":"h5",
"url":"https://tour.wlczy.com/h5/"
},
{
"name":"畅游宿迁",
"icon":"https://static.ticket.sz-trip.com/uploads/20250312/ea3bd8e0418d4ff2c07498d2cbef49c1.png",
"type":"mini",
"path":"/pages/index/index",
"appid":"wxcb00a59c4fba136e"
},
], ],
// 导航标题侧边图片 // 导航标题侧边图片
CBTP: [ CBTP: [
"https://static.ticket.sz-trip.com/uploads/20250314/5d051d37148757eb5daa6e51439e711a.png", "https://static.ticket.sz-trip.com/uploads/20241225/4e4d8c6b8fad6afb7fd3fc2e04dd3fda.png",
"https://static.ticket.sz-trip.com/uploads/20250314/d47ce5d4f2a780f46192afeb715d873d.png", "https://static.ticket.sz-trip.com/uploads/20241225/caeb000298ff47c053574a60f87ced6e.png",
"", "https://static.ticket.sz-trip.com/uploads/20240428/6955225b950d5bbe5168f5d9994a6098.png",
"https://static.ticket.sz-trip.com/uploads/20250314/03413a9bd8a0b7a99141903e04cbc05f.png", "https://static.ticket.sz-trip.com/uploads/20241225/1d9433deead99749beacc38be93a79a0.png",
"https://static.ticket.sz-trip.com/uploads/20250314/1075c176fb20563a48945fce020db57f.png", "https://static.ticket.sz-trip.com/uploads/20241225/7df57b4bd1bb784e6c085c89e9ef883a.png",
], ],
// 其他后台配置的图片,开发时使用 // 其他后台配置的图片,开发时使用
@ -119,23 +87,23 @@ const imageSource = {
// 头图 // 头图
topBac: "https://static.ticket.sz-trip.com/uploads/20241225/f039e6b753c4c7fbd3ba78aa89f0b0fe.png", topBac: "https://static.ticket.sz-trip.com/uploads/20241225/f039e6b753c4c7fbd3ba78aa89f0b0fe.png",
// ai伴你游 // ai伴你游
ai: "https://static.ticket.sz-trip.com/uploads/20250314/3fb020cf3471d3731b4a7efae25e8e64.png", ai: "https://static.ticket.sz-trip.com/uploads/20241225/164406bfa707e66e6aa5d2e2dd5364d1.png",
// ai避高峰 // ai避高峰
avoid: "https://static.ticket.sz-trip.com/uploads/20250314/8c0f1c421b1de36265948d52c249dc57.png", avoid: "https://static.ticket.sz-trip.com/uploads/20241225/2f7600e95027686eb71ac499abfe14cc.png",
// 新品特惠 // 新品特惠
xpth: "https://static.ticket.sz-trip.com/uploads/20250314/349596880742665ac7249b5f4218263f.png", xpth: "https://static.ticket.sz-trip.com/uploads/20241225/4df3cd8bda55d743d597706efa5fd50a.png",
// 文旅鉴赏 // 文旅鉴赏
wlcx: "https://static.ticket.sz-trip.com/uploads/20250314/073759b9fcd3e217de9ecea774451364.png", wlcx: "https://static.ticket.sz-trip.com/uploads/20241225/6cee0a7fce7873444824bc56dc452085.png",
// 出行助手 // 出行助手
lyzs: "https://static.ticket.sz-trip.com/uploads/20250314/7f5d199286e62ba6c9d43fdfd6f55de3.png", lyzs: "https://static.ticket.sz-trip.com/uploads/20241225/6b3ed3f6533470b45bffe44447ed8f86.png",
// 公共服务 // 公共服务
ggfw: "https://static.ticket.sz-trip.com/uploads/20250314/271ffedb33dcfacf170ff78c1425f9cf.png", ggfw: "https://static.ticket.sz-trip.com/uploads/20241225/6a9d7e1d968961cbe1aaf9bef994518a.png",
// 十全十美 // 十全十美
sqj: "https://static.ticket.sz-trip.com/uploads/20250314/edceba87f00e37ef50cf6a9fafb8a29f.png", sqj: "https://static.ticket.sz-trip.com/uploads/20241225/c7ce89fec139ff7a530a5d68ef2f56c8.png",
// 长三角文旅平台 // 长三角文旅平台
csjwlpt: "https://static.ticket.sz-trip.com/uploads/20250314/c88a44d385e0bf36370475ace8e5669e.png", csjwlpt: "https://static.ticket.sz-trip.com/uploads/20241225/a38194b30ce9a956aa9701a65dc68aea.png",
// 热门推荐 // 热门推荐
rmtj: "https://static.ticket.sz-trip.com/uploads/20250314/dcc02bb22b721e281037cecf22e74728.png", rmtj: "https://static.ticket.sz-trip.com/uploads/20241225/b31bfd4ff8cca2071928a1edeab4e818.png",
} }
}, },

911
pages/index/index.js

File diff suppressed because it is too large

1050
pages/index/index.wxml

File diff suppressed because it is too large

647
pages/index/index.wxss

@ -1,13 +1,12 @@
/**index.wxss**/ /* pages/indexs/index.wxss */
/* 元旦修改 */ /* 元旦修改 */
page { page {
/* background: #9DDCF5; */ height: fit-content;
padding-bottom: 36.67rpx; padding-bottom: 36.67rpx;
background: #F5C564;
/* background-image: url('https://static.ticket.sz-trip.com/uploads/20241225/79918a9171dcf85365935419e4717519.jpg'); background-size: 100% auto;
background-repeat: repeat-y; /* background-repeat: round; */
background-size: 100% 100%; */ background-repeat: no-repeat;
background: #F3FBFB;
} }
.swiper,.swiper image { .swiper,.swiper image {
width: 697rpx; width: 697rpx;
@ -41,21 +40,18 @@ page {
flex: 1; flex: 1;
width: 100%; width: 100%;
height: 64rpx; height: 64rpx;
border-radius: 0rpx; background: rgba(255,248,235,0.7);
color: #15B593; border-radius: 13rpx;
color: #000;
display: flex; display: flex;
align-items: center; align-items: center;
font-size: 25rpx; font-size: 25rpx;
background-image: url("https://static.ticket.sz-trip.com/uploads/20250312/6cc354588441d7f89a36a91d7e1edd52.png");
background-size: 100% 100%;
padding: 2rpx 5rpx;
box-sizing: border-box;
} }
.search-box .iconfont { .search-box .iconfont {
font-size: 30rpx; font-size: 30rpx;
margin-left: 20rpx; margin-left: 20rpx;
margin-right: 20rpx; margin-right: 10rpx;
/* color: #72674E; */ color: #000;
} }
.top-box .weather-num,.top-box .weather { .top-box .weather-num,.top-box .weather {
flex-shrink: 0; flex-shrink: 0;
@ -74,6 +70,8 @@ page {
margin-right: 30rpx; margin-right: 30rpx;
} }
.top-icons { .top-icons {
/* background: #FFFFFF; */
/* box-shadow: 0px 3rpx 26rpx 0px rgba(6, 0, 1, 0.13); */
border-radius: 0 0 27rpx 27rpx; border-radius: 0 0 27rpx 27rpx;
width: 697rpx; width: 697rpx;
margin: 0 auto; margin: 0 auto;
@ -81,11 +79,12 @@ page {
z-index: 0; z-index: 0;
display: flex; display: flex;
padding: 34rpx 0; padding: 34rpx 0;
padding-bottom: 29.33rpx; padding-bottom: 7rpx;
justify-content: space-between; justify-content: space-between;
flex-wrap: wrap; flex-wrap: wrap;
margin-top: -50rpx; background: #FFFED6;
padding-top: 84rpx; margin-top: -20rpx;
padding-top: 54rpx;
} }
.top-icon-item { .top-icon-item {
margin-bottom: 20rpx; margin-bottom: 20rpx;
@ -100,13 +99,14 @@ page {
margin-right: 0; margin-right: 0;
} }
.top-icon-item image { .top-icon-item image {
width: 86rpx; width: 113rpx;
display: block; display: block;
margin: 0 auto; margin: 0 auto;
margin-bottom: 10rpx; margin-bottom: 10rpx;
} }
.content { .content {
margin: 0 25rpx; /* margin: 0 25rpx; */
margin-top: 37.67rpx;
} }
.sale-road-boxes { .sale-road-boxes {
display: flex; display: flex;
@ -114,6 +114,7 @@ page {
margin-top: 40rpx; margin-top: 40rpx;
position: relative; position: relative;
align-items: flex-end; align-items: flex-end;
margin-bottom: 28rpx;
} }
.sale-box { .sale-box {
flex-shrink: 0; flex-shrink: 0;
@ -195,13 +196,11 @@ page {
height: 154rpx; height: 154rpx;
} }
.small-swiper-box { .small-swiper-box {
margin: 50rpx 0; margin: 24rpx 26.67rpx 26.67rpx;
width: 100%; /* width: 100%; */
height: 154rpx; height: 154rpx;
border-radius: 20rpx; border-radius: 20rpx;
/* border-radius: 77rpx; */
overflow: hidden; overflow: hidden;
margin-top: 33rpx;
position: relative; position: relative;
} }
.product-tags { .product-tags {
@ -309,54 +308,56 @@ page {
} */ } */
/* 元旦修改 以上两个样式为注释掉的 下面的.pic-list是新改的 */ /* 元旦修改 以上两个样式为注释掉的 下面的.pic-list是新改的 */
.pic-list { .pic-list {
width: 100%; /* width: 100%;
display: flex; display: flex;
margin-right: 26rpx; margin-right: 26rpx;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
flex-wrap: wrap; flex-wrap: wrap; */
display: flex;
justify-content: space-around;
/* margin: 0 28rpx; */
} }
.title-more { .title-more {
font-size: 27rpx; font-size: 24rpx;
font-weight: 500; /* color: #0B898E; */
color: #29305A; /* 元旦修改 */
color: #54504D;
z-index: 9; z-index: 9;
width: 173rpx; width: 173rpx;
height: 80rpx; height: 40rpx;
line-height: 40rpx;
background: rgba(255, 255, 255, 0.5);
border-radius: 20rpx; border-radius: 20rpx;
text-align: center; text-align: center;
display: flex;
align-items: center;
justify-content: center;
} }
.title-more .iconfont { .title-more .iconfont {
font-size: 22rpx; font-size: 22rpx;
} }
.slide-out-box { .slide-out-box {
margin-top: 20rpx; /* margin-top: 20rpx;
background: #FFFED6;
box-shadow: 0rpx 0rpx 3rpx 0rpx rgba(103,103,103,0.2); */
border-radius: 27rpx; border-radius: 27rpx;
padding-bottom: 1rpx; padding-bottom: 1rpx;
margin-bottom: 40rpx; /* margin-bottom: 40rpx; */
} }
.pbservice { .pbservice {
/* width: calc(175rpx * 6); */ width: calc(160rpx * 8);
/* 元旦修改 */
width: calc(190rpx * 7);
display: flex; display: flex;
margin-top: 30rpx; margin-top: 5rpx;
flex-wrap: wrap; /* flex-wrap: wrap; */
/* margin-bottom: 60rpx; */ flex-wrap: nowrap;
/* 元旦修改 注释margin-bottom */ /* padding-left: 12rpx; */
/* overflow-x: scroll; */
} }
.pbservice-item { .pbservice-item {
/* 元旦修改 截止到注释的width*/ width: 106rpx;
width: 120rpx; margin-bottom: 25rpx;
margin-bottom: 33.33rpx; margin-right: 32.33rpx;
margin-right: 62.33rpx;
/* width: 175rpx; */
text-align: center; text-align: center;
font-size: 25rpx; font-size: 27rpx;
color: #111111; color: #000;
line-height: 24rpx; line-height: 24rpx;
display: flex; display: flex;
align-items: center; align-items: center;
@ -371,7 +372,7 @@ page {
margin-bottom: 20rpx; margin-bottom: 20rpx;
margin-top: 50rpx; */ margin-top: 50rpx; */
/* 元旦修改 以上都是之前的*/ /* 元旦修改 以上都是之前的*/
width: 106rpx; width: 80rpx;
margin-bottom: 10rpx; margin-bottom: 10rpx;
} }
.six-box { .six-box {
@ -532,36 +533,47 @@ page {
} }
.more-btn-text { .more-btn-text {
text-align: center; text-align: center;
/* color: #0b898e;
font-size: 27rpx;
width: 200rpx;
line-height: 65rpx;
border: 1px solid #0b898e;
border-radius: 33rpx; */
margin: 20rpx auto; margin: 20rpx auto;
width: 200rpx; width: 200rpx;
height: 67rpx; height: 67rpx;
line-height: 67rpx; line-height: 67rpx;
border: 1px solid #169D7E; border: 1px solid #111;
border-radius: 35rpx;
font-size: 27rpx; font-size: 27rpx;
font-family: PingFang SC; font-family: PingFang SC;
font-weight: 500; font-weight: 500;
color: #169D7E;
} }
.scroll-line { .scroll-line {
/* height: 6rpx;
width: 73rpx !important;
height: 7rpx;
/* background: #DDCEAC; */
background: #97D0EC;
border-radius: 3rpx; border-radius: 3rpx;
margin: 33.33rpx auto; background: #ccc;
overflow: hidden;
margin: 30rpx auto; */
/* 元旦修改 以上为注释部分 下面为新内容*/
width: 48rpx !important;
height: 8rpx;
/* background: #DDCEAC; */
background: #fff;
border-radius: 4rpx;
margin: 15rpx auto 10rpx;
} }
.scroll-line-bg { .scroll-line-bg {
height: 7rpx; height: 8rpx;
background: #5184B0; background: #FF4848;
border-radius: 3rpx; border-radius: 4rpx;
} }
/* 元旦修改 新增样式 */ /* 元旦修改 新增样式 */
.scroll-line-bg2 { .scroll-line-bg2 {
margin-left: 37.33rpx; margin-left: 24rpx;
background: #5184B0; background: #FF4848;
height: 7rpx; height: 8rpx;
border-radius: 3rpx; border-radius: 4rpx;
} }
.nomore-tip-btn { .nomore-tip-btn {
position: absolute; position: absolute;
@ -667,8 +679,10 @@ page {
color: #333333; color: #333333;
line-height: 42rpx; line-height: 42rpx;
flex-wrap: wrap; flex-wrap: wrap;
background: #FFFED6;
justify-content: space-around; justify-content: space-around;
height: 187rpx; height: 187rpx;
box-shadow: 0rpx 0rpx 3rpx 0rpx rgba(103,103,103,0.2);
border-radius: 27rpx; border-radius: 27rpx;
align-items: center; align-items: center;
} }
@ -680,7 +694,7 @@ page {
} }
.other-plat { .other-plat {
/* 春节新增样式 */ /* 春节新增样式 */
color: #111111; color: #54504D;
} }
.other-plat:nth-child(4n){ .other-plat:nth-child(4n){
margin-right: 0; margin-right: 0;
@ -814,7 +828,7 @@ page {
} }
/* 元旦修改新增样式 */ /* 元旦修改新增样式 */
.time-box { .time-box {
font-size: 27rpx; font-size: 25rpx;
font-family: DIN; font-family: DIN;
font-weight: 500; font-weight: 500;
/* color: #54504D; */ /* color: #54504D; */
@ -825,22 +839,26 @@ page {
margin-left: -50rpx; margin-left: -50rpx;
z-index: 9; z-index: 9;
flex-wrap: nowrap; flex-wrap: nowrap;
position: relative;
left: -150rpx;
} }
/* 元旦修改新增样式 */ /* 元旦修改新增样式 */
.xsth-time { .xsth-time {
/* width: 43rpx; */ /* margin: 0 5rpx; */
/* width: 50rpx; */
/* height: 33rpx; */
width: 43rpx;
height: 43rpx; height: 43rpx;
padding: 0 7rpx;
line-height: 43rpx; line-height: 43rpx;
background: #4AB648;
/* background: #F9F1DB; */
/* border-radius: 5rpx; */
border-radius: 13rpx; border-radius: 13rpx;
font-size: 27rpx; font-size: 25rpx;
font-family: DIN; font-family: DIN;
font-weight: 500; font-weight: 500;
color: #D62828; /* color: #D62828; */
color: white;
text-align: center; text-align: center;
/* line-height: 33rpx; */
} }
.time-box text { .time-box text {
width: 18rpx; width: 18rpx;
@ -886,67 +904,60 @@ page {
} }
/* 元旦修改新增样式 */ /* 元旦修改新增样式 */
.xpth-product { .xpth-product {
width: 700rpx; /* position: absolute; */
width: 697rpx;
height: 373rpx; height: 373rpx;
background: #FFFED6;
box-shadow: 0rpx 0rpx 3rpx 0rpx rgba(103,103,103,0.2);
border-radius: 27rpx; border-radius: 27rpx;
padding: 25rpx 13rpx; padding: 25rpx 15rpx;
box-sizing: border-box; box-sizing: border-box;
/* left: 0;
bottom: 15.33rpx;
/* width: 710rpx; */
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
} }
/* 元旦修改新增样式 */ /* 元旦修改新增样式 */
.xpth-banner { .xpth-banner {
/* 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;
flex: 1; flex: 1;
margin-left: 15rpx; margin-left: 15rpx;
height: 322rpx; /* padding: 4rpx;
width: 100%; background: #72674e;
border-radius: 0rpx; clip-path: polygon(5% 0, 95% 0, 100% 5%, 100% 95%, 95% 100%, 5% 100%, 0 95%, 0 5%); */
overflow: hidden; height: 319rpx;
position: relative;
background-image: url("https://static.ticket.sz-trip.com/uploads/20250312/004153a812042b46ca750146f5259ef7.png");
background-size: 100% 100%;
padding: 3rpx;
}
.xpth-banner-swiper{
height: 100%;
border-radius: 20rpx;
overflow: hidden;
} }
.xpth-banner image { .xpth-banner image {
/* width: 270rpx; */
flex: 1; flex: 1;
height: 100%; height: 319rpx;
width: 100%;
border-radius: 20rpx; border-radius: 20rpx;
} /* height: 333rpx; */
.xpth-banner-dot-list{ /* height: 340rpx; */
position: absolute; /* clip-path: polygon(5% 0, 95% 0, 100% 5%, 100% 95%, 95% 100%, 5% 100%, 0 95%, 0 5%); */
right: 0; /* border-radius: 20rpx; */
bottom: 10rpx;
padding: 10rpx;
display: flex;
align-items: center;
justify-content: flex-end;
}
.xpth-banner-dot-list .xpth-dot{
width: 9rpx;
height: 9rpx;
background: #FFFFFF;
border-radius: 50%;
opacity: 0.6;
margin: 0 4rpx;
}
.xpth-banner-dot-list .xpth-dot.active{
opacity: 1;
} }
/* 元旦修改新增样式 */ /* 元旦修改新增样式 */
.xpth-item { .xpth-item {
/* width: 413rpx;
height: 160rpx; */
/* background: #FFFFFF; */
/* background-image: url("https://static.ticket.sz-trip.com/jundaosuzhou/images/springFestival2024/xpth-hBg.png");
background-size: 100% 100%; */
border-radius: 20rpx; border-radius: 20rpx;
height: 153rpx; height: 153rpx;
background: #FFFFFF;
display: flex; display: flex;
margin-bottom: 13rpx; margin-bottom: 13rpx;
background-image: url("https://static.ticket.sz-trip.com/uploads/20250312/a41b881279749fba4c506c164914b601.png"); /* margin-bottom: 10rpx; */
background-size: 100% 100%; /* clip-path: polygon(5% 0, 95% 0, 100% 10%, 100% 90%, 95% 100%, 5% 100%, 0 90%, 0 10%); */
padding: 1rpx; /* padding: 5rpx; */
} }
.xpth-item:last-child { .xpth-item:last-child {
margin-bottom: 0; margin-bottom: 0;
@ -959,7 +970,7 @@ page {
border-radius: 15rpx 0 0 15rpx; */ border-radius: 15rpx 0 0 15rpx; */
width: 157rpx; width: 157rpx;
height: 154rpx; height: 154rpx;
/* background: #72707D; */ background: #72707D;
border-radius: 20rpx; border-radius: 20rpx;
/* margin-right: 15.33rpx; */ /* margin-right: 15.33rpx; */
flex-shrink: 0; flex-shrink: 0;
@ -976,7 +987,7 @@ page {
} }
/* 元旦修改新增样式 */ /* 元旦修改新增样式 */
.xpth-item-title { .xpth-item-title {
width: 210rpx; width: 230rpx;
font-size: 27rpx; font-size: 27rpx;
font-family: PingFang SC; font-family: PingFang SC;
font-weight: 500; font-weight: 500;
@ -999,15 +1010,15 @@ page {
} }
/* 元旦修改新增样式 */ /* 元旦修改新增样式 */
.xpth-item-price { .xpth-item-price {
font-size: 31rpx; font-size: 32rpx;
font-family: PingFang SC; font-family: PingFang SC;
font-weight: bold; font-weight: 500;
color: #ED1C19; color: #D62828;
} }
/* 元旦修改新增样式 */ /* 元旦修改新增样式 */
.xpth-item-price::before { .xpth-item-price::before {
content: "¥"; content: "¥";
font-size: 23rpx; font-size: 20rpx;
} }
/* 元旦修改新增样式 */ /* 元旦修改新增样式 */
.xpth-item-buy { .xpth-item-buy {
@ -1024,25 +1035,23 @@ page {
} }
/* 元旦修改新增样式 */ /* 元旦修改新增样式 */
.new-pic { .new-pic {
width: 160rpx !important; width: 155rpx !important;
height: 220rpx !important; height: 255rpx !important;
margin-bottom: 26.67rpx; /* margin-bottom: 26.67rpx; */
} }
.ggfw-list { .ggfw-list{
justify-content: space-around !important; display: flex;
} justify-content: space-around;
.ggfw-list .pbservice-item{
margin-right: 0;
color: #111111;
} }
.ggfw { .ggfw {
width: auto; width: auto;
margin:0;
} }
.ggfw image{ .ggfw image{
margin-bottom: 16.67rpx; margin-bottom: 16.67rpx;
width: 93rpx !important; width: 113.33rpx !important;
height: 93rpx !important; height: 113.33rpx !important;
} }
.six-box-new { .six-box-new {
@ -1052,6 +1061,7 @@ page {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
padding-left: 13.33rpx;
overflow: scroll; overflow: scroll;
margin-bottom: 53.33rpx; margin-bottom: 53.33rpx;
z-index: 1; z-index: 1;
@ -1059,8 +1069,8 @@ page {
} }
.six-box-new image { .six-box-new image {
width: 334rpx; width: 440rpx;
height: 193.33rpx !important; height: 213.33rpx !important;
/* background: #FFE7C0; */ /* background: #FFE7C0; */
border-radius: 20rpx; border-radius: 20rpx;
flex-shrink: 0; flex-shrink: 0;
@ -1068,7 +1078,7 @@ page {
} }
/* 春节金刚区字体颜色样式更换 */ /* 春节金刚区字体颜色样式更换 */
.top-icon-text { .top-icon-text {
color: #111111; color: #54504D;
} }
.rmtj-right { .rmtj-right {
@ -1149,30 +1159,363 @@ page {
left: 56.67rpx; left: 56.67rpx;
bottom: 64rpx; bottom: 64rpx;
} }
.jqssd {
/* background: url("https://static.ticket.sz-trip.com/uploads/20240606/20c06c5bf8d5e498667ebd954a1d95f8.png"); .right-more {
background-size: 100% 100%; */ width: 120rpx;
width: 344.33rpx; height: 47rpx;
height: 160rpx; border-radius: 7rpx;
border: 1px solid #111111;
font-weight: 500;
font-size: 27rpx;
color: #111111;
text-align: center;
line-height: 47rpx;
}
.hdrlNavList {
display: flex;
margin: 28rpx 26.67rpx 26rpx;
overflow-x: scroll;
flex-wrap: nowrap;
}
.hdrlNav {
flex-shrink: 0; flex-shrink: 0;
/* width: 160rpx; */
padding: 0 20rpx;
height: 53rpx;
background: #FCE7BF;
border-radius: 7rpx;
/* border: 1px solid #FFFFFF; */
min-width: 133rpx;
font-size: 32rpx;
color: #111111;
text-align: center;
line-height: 53rpx;
margin-right: 14rpx;
box-sizing: border-box;
}
.hdrlNavActive {
background: linear-gradient(180deg, #E2802B, #D1201B);
font-size: 32rpx;
color: #FFFFFF;
border: none;
}
.hdrlItem {
flex-shrink: 0;
padding: 10rpx;
/* width: 593.33rpx; */
display: flex;
background-size: 100% 100%;
background: linear-gradient(90deg, #EC2026, #3A3D83);
border-radius: 13rpx;
margin-right: 20rpx;
width: 573rpx;
} }
.jqssd image, .sslk image{ .hdrlItem-img {
width: 240rpx;
height: 213rpx;
background: #8C8C8C;
border-radius: 7rpx;
flex-shrink: 0;
margin-right: 12rpx;
overflow: hidden;
}
.hdrlItem-content {
display: flex;
flex-direction: column;
justify-content: space-between;
height: 213rpx;
}
.hdrlItem-title {
font-weight: bold;
font-size: 28rpx;
color: #000000;
margin-top: 15.33rpx;
}
.hdrlItem-date {
font-weight: 500;
font-size: 23rpx;
color: #000000;
margin-bottom: 19.33rpx;
}
.main-box {
width: 697rpx;
/* height: 273rpx; */
background: linear-gradient(180deg, #FFEED6, #FFDCA3);
border-radius: 13rpx;
margin: 110rpx auto 43rpx;
position: relative;
padding-top: 93rpx;
padding-bottom: 20rpx;
/* box-sizing: border-box; */
}
.main-box-top {
display: flex;
justify-content: space-between;
width: 100%; width: 100%;
height: 100%; padding: 16rpx;
box-sizing: border-box;
position: absolute;
left: 0;
right: 0;
top: -72rpx;
} }
.sslk { .gfyj,.sslk {
/* background: url("https://static.ticket.sz-trip.com/uploads/20240729/c1554fdd645a0d3a47c8e683186e1a73.png"); width: 324.33rpx;
background-size: 100% 100%; */ height: 131rpx;
width: 344rpx; flex-shrink: 0;
height: 160rpx; }
.movieItem {
padding: 26.67rpx 26rpx 26.67rpx 20rpx;
background: url("https://static.ticket.sz-trip.com/jundaosuzhou/images/holiday/calendarBg.png");
background-size: 100% 100%;
flex-shrink: 0;
height: 206.67rpx;
}
.movieItem-img {
width: 213rpx;
height: 213rpx;
border-radius: 18rpx;
margin-right: 18rpx;
flex-shrink: 0; flex-shrink: 0;
} }
.ysz-box {
margin: 26rpx auto 15.33rpx;
width: 697rpx;
height: 293rpx;
background: linear-gradient(180deg, #FFEED6, #FFDCA3);
border-radius: 13rpx;
padding-top: 3.33rpx;
position: relative;
z-index: 1;
box-sizing: border-box;
}
.ysz-more {
width: 183rpx;
height: 53rpx;
border-radius: 7rpx;
border: 1px solid #000000;
margin: 38rpx auto 0;
text-align: center;
line-height: 53rpx;
font-weight: 500;
font-size: 25rpx;
}
.ysz-box2 {
/* padding: 20rpx 35rpx; */
padding-top: 23.33rpx;
}
.tjbd-title {
width: 286.67rpx;
height: 80rpx;
}
.bd-box {
position: relative;
padding: 36rpx 30.67rpx 44.67rpx 28.67rpx;
margin-left: 26.67rpx;
width: 582rpx;
/* height: 1133rpx; */
background: linear-gradient(-8deg, #F4F9FF, #B9E1F0);
/* box-shadow: 0rpx 7rpx 20rpx 0rpx rgba(224,61,60,0.26); */
border-radius: 20rpx 80rpx 20rpx 20rpx;
}
.bd-top {
display: flex;
justify-content: space-between;
margin-bottom: 30rpx;
position: relative;
}
.zz {
width: 236.67rpx;
height: 206.67rpx;
position: absolute;
right: 0;
top: 0;
z-index: 2;
}
.bd-type {
width: 125.33rpx;
height: 38.67rpx;
}
.bd-more {
width: 120rpx;
height: 47rpx;
background: rgba(255,255,255,.7);
border-radius: 23rpx;
font-weight: 500;
font-size: 27rpx;
color: #F34017;
z-index: 9;
text-align: center;
line-height: 47rpx;
}
.bd-index {
font-weight: bold;
font-size: 40rpx;
color: black;
}
.bd-item {
margin-left: 45.33rpx;
width: 453rpx;
height: 147rpx;
background: #FFFFFF;
border-radius: 13rpx;
display: flex;
}
.bd-item-img {
width: 147rpx;
height: 147rpx;
background: #D9D9D9;
border-radius: 13rpx;
flex-shrink: 0;
margin-right: 12.67rpx;
}
.bd-item-content {
padding: 14rpx 29.33rpx 13.33rpx 0;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.bd-item-title {
font-weight: bold;
font-size: 27rpx;
color: #333333;
}
.bd-item-bottom {
display: flex;
justify-content: space-between;
align-items: baseline;
width: 260rpx;
}
.bd-price {
font-size: 29.33rpx;
color: #F93434;
font-weight: bold;
}
.bd-price:after {
content:'起';
color: #999999;
font-size: 23rpx;
font-weight: 700;
}
.bd-price::before {
content:'¥';
font-size: 23rpx;
}
.bd-distance {
font-weight: 500;
font-size: 23rpx;
color: #999999;
}
.buyMovie {
width: 160rpx;
height: 56rpx;
background: #FF4848;
color: #fff;
border-radius: 20rpx;
text-align: center;
line-height: 56rpx;
}
.bg1 {
background: linear-gradient(-8deg, #F4F9FF, #B9E1F0);
}
.bg2 {
background: linear-gradient(-8deg, #F9FFE3, #F3FFC4);
}
.bg3 {
background: linear-gradient(180deg, #E0F7DC, #A0F292);
}
.bg4 {
background: linear-gradient(-8deg, #F6F2FF, #E3D9FF);
}
.xsth-left{ .hdrlNavList::-webkit-scrollbar{
/* flex: 1; display:none;
width: 1rpx; */ }
.hdrlList::-webkit-scrollbar{
display:none;
}
.bottom-box::-webkit-scrollbar{
display:none;
}
.slide-box::-webkit-scrollbar{
display:none;
}
.pbservice::-webkit-scrollbar{
display:none;
}
.textOver3 {
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 3;
overflow: hidden;
} }
.xsth-left>image{ .public-box {
max-width: 100%; width: 593.33rpx;
overflow: hidden; height: 266.67rpx;
background: url("https://static.ticket.sz-trip.com/jundaosuzhou/images/holiday/calendarBg.png");
background-size: 100% 100%;
}
.one::-webkit-scrollbar{
display:none;
}
.date-container{
position: relative;
}
.nowDate{
display: flex;
position: absolute;
left: 200.77rpx;
bottom: 7.33rpx;
}
.nowDate>view{
width: 44rpx;
height: 44rpx;
border-radius: 7rpx;
text-align: center;
line-height: 44rpx;
font-family: PingFang SC;
font-weight: 500;
font-size: 29rpx;
color: #111111;
}
.nowDate .num{
background: #FCE7BF;
color: #C11A20;
font-family: PingFang SC;
font-weight: bold;
font-size: 29rpx;
border-radius: 50%;
}
.ysz-right-img{
width: 213.33rpx;
height: 259.33rpx;
position: absolute;
right: -26rpx;
top: 44rpx;
z-index:1;
}
.hidden{
display: none;
}
.top-box image.search-icon{
width: 26.67rpx;
height: 26.67rpx;
margin-right: 20rpx;
} }

150
subPackages/index/imgSource.js

@ -1,84 +1,116 @@
const imageSource = { const imageSource = {
// 活动日历、场馆预约等 // 活动日历、场馆预约等
mainFunImgs: [ mainFunImgs: [
"https://static.ticket.sz-trip.com/uploads/20241225/9a472382adcb3793e6c61ad3ea2fbb05.png", "https://static.ticket.sz-trip.com/uploads/20250312/2453c4f3e932172905ed883190ef1356.png",
"https://static.ticket.sz-trip.com/uploads/20241225/ba19e78aaa629e3ece995d599526d08c.png", "https://static.ticket.sz-trip.com/uploads/20250312/c69cdbafb16ed468fef68eb77865e6ff.png",
"https://static.ticket.sz-trip.com/uploads/20241225/9fc20afb60e1e647b511d9973e96bd4b.png", "https://static.ticket.sz-trip.com/uploads/20250312/05dd30d02e74178134242cc64aaa11ac.png",
"https://static.ticket.sz-trip.com/uploads/20241225/7030de3a317567442f5141d833e5f752.png", "https://static.ticket.sz-trip.com/uploads/20250312/e93e655b524001d25d7d4fd848f5bb3b.png",
"https://static.ticket.sz-trip.com/uploads/20241225/fb7ce8cc732bb34bf881dd7129f1e708.png", "https://static.ticket.sz-trip.com/uploads/20250312/8e675fc57ea4b9e45f2fa7736bc03e7d.png",
"https://static.ticket.sz-trip.com/uploads/20241225/1faaa62c2d0bd9b912950e742347b0b6.png",
"https://static.ticket.sz-trip.com/uploads/20241225/661fcc7e02d2c5d734a43d5dbbe79363.png", "https://static.ticket.sz-trip.com/uploads/20250312/db946eebb863adc0bb020338c9edc271.png",
"https://static.ticket.sz-trip.com/uploads/20241225/f0e901bc9ab4c988295e4a2f88cb3ffe.png", "https://static.ticket.sz-trip.com/uploads/20250312/e2cc47fa5a2d01d436dad0a85948f060.png",
"https://static.ticket.sz-trip.com/uploads/20241225/ebb4be1738d227f6deb3f895db663eed.png", "https://static.ticket.sz-trip.com/jundaosuzhou/images/spring2025/ssy.png",
"https://static.ticket.sz-trip.com/uploads/20241225/1c847b7edcee6fec2928da4280ef19ca.png", "https://static.ticket.sz-trip.com/uploads/20250312/a094d635976194782fbdcf2bc596b082.png",
"https://static.ticket.sz-trip.com/uploads/20250314/5238f9ee4762266abf0c279501ea4028.png",
], ],
// 数字文旅 // 数字文旅
SZWL: [ SZWL: [
// 非遗,博物馆,名人馆,云上,云上文博,精彩回顾,文化场馆 // 非遗,博物馆,名人馆,云上,云上文博,精彩回顾,文化场馆
// 苏影通 书仓 e读书 数字公共文化 云游苏州 美图鉴赏 // 苏影通 书仓 e读书 数字公共文化 云游苏州 美图鉴赏
"https://static.ticket.sz-trip.com/uploads/20241225/70e78a734c5f1ec7f9461c071ce05a6b.png", "https://static.ticket.sz-trip.com/uploads/20250312/58d0fd32ea7521b0b1ea12bf5b593fe2.png",
"https://static.ticket.sz-trip.com/uploads/20241225/a4a7e0487b417c5ed2140d5e2341da43.png", "https://static.ticket.sz-trip.com/uploads/20250312/1994615fcbc125da641541ea1f04c364.png",
"https://static.ticket.sz-trip.com/uploads/20241225/f7a2d28af1be501b0c104e8f831f3c36.png", "https://static.ticket.sz-trip.com/uploads/20250312/f054ca452f27dac54723255ba6445790.png",
"https://static.ticket.sz-trip.com/uploads/20241225/003cb24afb80aeef891d73bfeeab4359.png", "https://static.ticket.sz-trip.com/uploads/20250312/590822c40c769cb4f673f460f1a37a0b.png",
"https://static.ticket.sz-trip.com/uploads/20241225/8f4ab6d79b0b2851cd4f7ceff92155f6.png", "https://static.ticket.sz-trip.com/uploads/20250312/41c21568ed9c4b15084c9669ca99a6fd.png",
"https://static.ticket.sz-trip.com/uploads/20241225/845592de452a60ad5d9a51cb8cf73d99.png", "https://static.ticket.sz-trip.com/uploads/20250312/1ee056f091a42e51ce8168767704708a.png",
"https://static.ticket.sz-trip.com/uploads/20241225/71e21d53580b8c1dcd1ec6b8f2c1f959.png", "https://static.ticket.sz-trip.com/uploads/20250312/b418843c04ddfa00be91fb793019cb99.png",
"https://static.ticket.sz-trip.com/uploads/20241225/dd691cdd5cf61f4172a9ee179bab8bc2.png",
"https://static.ticket.sz-trip.com/uploads/20241225/eae7eed9a19bc1f0c5296da5c3a8c6e2.png", "https://static.ticket.sz-trip.com/uploads/20250312/0ad69db116004e735e1bd13cd54fd75c.png",
"https://static.ticket.sz-trip.com/uploads/20241225/73ce0d4057cca77dbcaaa6b858d84e33.png", "https://static.ticket.sz-trip.com/uploads/20250312/f2400b009c8e92efcdd645080f14b28a.png",
"https://static.ticket.sz-trip.com/uploads/20241225/1efa141c778d55b471ad950fa886119b.png", "https://static.ticket.sz-trip.com/uploads/20250312/bbda2dd4e332f457a6aa06a4a15b639b.png",
"https://static.ticket.sz-trip.com/uploads/20250312/06b500881204a4a40c5bc8d126f38a58.png",
"https://static.ticket.sz-trip.com/uploads/20241225/02be10405480f0139b75fe355f9a8df8.png", "https://static.ticket.sz-trip.com/uploads/20250312/d188c19334c9170e5c963459b7187f20.png",
"https://static.ticket.sz-trip.com/uploads/20241225/2d7514ce60a3843ae04b98660ed2d622.png", "https://static.ticket.sz-trip.com/uploads/20250312/a25506779b745291cb8d9051abce07c1.png",
], ],
// 旅游助手 // 旅游助手
LVZS: [ LVZS: [
"https://static.ticket.sz-trip.com/uploads/20241225/73567ffad3e927a0ce5a5dab8c13963e.png", "https://static.ticket.sz-trip.com/uploads/20250423/662eb322f8851e04df41fd836c6a88f3.png",
"https://static.ticket.sz-trip.com/uploads/20241225/96d36ec8e1794d9873ba0687beed9288.png", // "https://static.ticket.sz-trip.com/uploads/20250312/ae847f6081edb82a14a75b3e19146eeb.png",
"https://static.ticket.sz-trip.com/uploads/20241225/973b2cc8b0614b28400b6cc04c3c8495.png", "https://static.ticket.sz-trip.com/uploads/20250312/d12ad76fbb7a46c1669c403e66e510ad.png",
"https://static.ticket.sz-trip.com/uploads/20241225/200277a64244c067e260da28511a6420.png", "https://static.ticket.sz-trip.com/uploads/20250312/3b8941467df369032b70052b60095857.png",
"https://static.ticket.sz-trip.com/uploads/20250312/54b2063e28eacfeb220905563e802786.png",
], ],
// 公共服务 // 公共服务
GGFW: [ GGFW: [
"https://static.ticket.sz-trip.com/uploads/20241225/dd917bfef53fa2fd54d733dad8e435b5.png", "https://static.ticket.sz-trip.com/uploads/20250312/65f1dda9a4dc43d426544a0d14eb73de.png",
"https://static.ticket.sz-trip.com/uploads/20241225/d9551507d901dff803b0f06ab545c74f.png", "https://static.ticket.sz-trip.com/uploads/20250312/9799b276d76f884fd0130d7378c974fe.png",
"https://static.ticket.sz-trip.com/uploads/20241225/c44aadc6e054f3a2ac9cfcefdad048ea.png", "https://static.ticket.sz-trip.com/uploads/20250312/c40b456687490eafe5414addaaae0c2b.png",
"https://static.ticket.sz-trip.com/uploads/20241225/826c8084cde314a4f8b46e91bcd77acc.png", "https://static.ticket.sz-trip.com/uploads/20250312/a95959dcba2f494b69980d16a895e9c8.png",
"https://static.ticket.sz-trip.com/uploads/20250312/e16b8e640169e99639cef6ff7897b6a7.png"
], ],
// 十全十美 // 十全十美
SQSM: [ SQSM: [
// ["changshu","taicang", "kunshan","wujiang","gongyeyuanqu","zhangjiagang","wuzhong","xiangcheng","gusu","gaoxin"], // ["changshu","taicang", "kunshan","wujiang","gongyeyuanqu","zhangjiagang","wuzhong","xiangcheng","gusu","gaoxin"],
"https://static.ticket.sz-trip.com/uploads/20241225/1a963a3b3a6cf9a4dca822cce6574e3f.png", "https://static.ticket.sz-trip.com/uploads/20250312/3e4b8f20f9468cb4fd3f0c92d604db09.png",
"https://static.ticket.sz-trip.com/uploads/20241225/21fba8904ce6ae5fe7d6a64a2794d93b.png", "https://static.ticket.sz-trip.com/uploads/20250312/24fc48715691714988d5e0cf78e5a657.png",
"https://static.ticket.sz-trip.com/uploads/20241225/98b19eb35e6621818b1ba78def011778.png", "https://static.ticket.sz-trip.com/uploads/20250312/55b86da028a00326994ac8ebf10447b5.png",
"https://static.ticket.sz-trip.com/uploads/20241225/24f59b0e143a249fec891b2ef22800ef.png", "https://static.ticket.sz-trip.com/uploads/20250312/aa60aec108158b47e0210b8b33c72fe5.png",
"https://static.ticket.sz-trip.com/uploads/20241225/73f11fcdf9e7a3236815a5935ab70253.png", "https://static.ticket.sz-trip.com/uploads/20250312/4fdd5f3e9f63421d4394f2c3b3a0c7a4.png",
"https://static.ticket.sz-trip.com/uploads/20241225/f48f42f53e2a53f0b978684bcbd1b8c5.png", "https://static.ticket.sz-trip.com/uploads/20250312/bb32450e448ec520c90241556a68c092.png",
"https://static.ticket.sz-trip.com/uploads/20241225/de5ae5de54a255a72f404d688c2ceb3e.png", "https://static.ticket.sz-trip.com/uploads/20250312/cea52b2c0f3c18762d7feea2ba987e63.png",
"https://static.ticket.sz-trip.com/uploads/20241225/9be62fc5347411ada17ec9f4b3ea8c28.png", "https://static.ticket.sz-trip.com/uploads/20250312/ef29b1cbdd9b33919891732750f72f2a.png",
"https://static.ticket.sz-trip.com/uploads/20241225/2fcea197a5d9ac98d29cb194d9ab45db.png", "https://static.ticket.sz-trip.com/uploads/20250312/8de375c2fc322cb44d7e0cdb84c97cfe.png",
"https://static.ticket.sz-trip.com/uploads/20241225/d4d91992a844af511498af07e39cab45.png", "https://static.ticket.sz-trip.com/uploads/20250312/96a0c3631a0b3a9d5836943663a2f5c5.png",
], ],
// 长三角文旅平台 // 长三角文旅平台
CSJWLPT: [ CSJWLPT: [
"https://static.ticket.sz-trip.com/uploads/20241225/ef61d89d6d0f5ca84f56917920a162f2.png", {
"https://static.ticket.sz-trip.com/uploads/20241225/8368833b47ccfe9bc34a395eea74efb4.png", "name":"玉见昆山",
"https://static.ticket.sz-trip.com/uploads/20241225/7cc0f4a931bb969f7a063ea6e00325e6.png", "icon":"https://static.ticket.sz-trip.com/uploads/20250423/40319f04a78f25c2741e4ce11b375597.png",
"type":"mini",
"path":"",
"appid":"wx8888a3fd0862b4c8"
},
{
"name":"智游常熟",
"icon":"https://static.ticket.sz-trip.com/uploads/20250423/619870022ca676c31d2d6395f81dd3d7.png",
"type":"mini",
"path":"",
"appid":"wxdaf3d5edd07dc7af"
},
{
"name":"常享游",
"icon":"https://static.ticket.sz-trip.com/uploads/20250312/194a5636ecd849ce1f8b8f42c9d5b08b.png",
"type":"h5",
"url":"https://tour.wlczy.com/h5/"
},
{
"name":"畅游宿迁",
"icon":"https://static.ticket.sz-trip.com/uploads/20250312/ea3bd8e0418d4ff2c07498d2cbef49c1.png",
"type":"mini",
"path":"/pages/index/index",
"appid":"wxcb00a59c4fba136e"
},
], ],
// 导航标题侧边图片 // 导航标题侧边图片
CBTP: [ CBTP: [
"https://static.ticket.sz-trip.com/uploads/20241225/4e4d8c6b8fad6afb7fd3fc2e04dd3fda.png", "https://static.ticket.sz-trip.com/uploads/20250314/5d051d37148757eb5daa6e51439e711a.png",
"https://static.ticket.sz-trip.com/uploads/20241225/caeb000298ff47c053574a60f87ced6e.png", "https://static.ticket.sz-trip.com/uploads/20250314/d47ce5d4f2a780f46192afeb715d873d.png",
"https://static.ticket.sz-trip.com/uploads/20240428/6955225b950d5bbe5168f5d9994a6098.png", "",
"https://static.ticket.sz-trip.com/uploads/20241225/1d9433deead99749beacc38be93a79a0.png", "https://static.ticket.sz-trip.com/uploads/20250314/03413a9bd8a0b7a99141903e04cbc05f.png",
"https://static.ticket.sz-trip.com/uploads/20241225/7df57b4bd1bb784e6c085c89e9ef883a.png", "https://static.ticket.sz-trip.com/uploads/20250314/1075c176fb20563a48945fce020db57f.png",
], ],
// 其他后台配置的图片,开发时使用 // 其他后台配置的图片,开发时使用
@ -87,23 +119,23 @@ const imageSource = {
// 头图 // 头图
topBac: "https://static.ticket.sz-trip.com/uploads/20241225/f039e6b753c4c7fbd3ba78aa89f0b0fe.png", topBac: "https://static.ticket.sz-trip.com/uploads/20241225/f039e6b753c4c7fbd3ba78aa89f0b0fe.png",
// ai伴你游 // ai伴你游
ai: "https://static.ticket.sz-trip.com/uploads/20241225/164406bfa707e66e6aa5d2e2dd5364d1.png", ai: "https://static.ticket.sz-trip.com/uploads/20250314/3fb020cf3471d3731b4a7efae25e8e64.png",
// ai避高峰 // ai避高峰
avoid: "https://static.ticket.sz-trip.com/uploads/20241225/2f7600e95027686eb71ac499abfe14cc.png", avoid: "https://static.ticket.sz-trip.com/uploads/20250314/8c0f1c421b1de36265948d52c249dc57.png",
// 新品特惠 // 新品特惠
xpth: "https://static.ticket.sz-trip.com/uploads/20241225/4df3cd8bda55d743d597706efa5fd50a.png", xpth: "https://static.ticket.sz-trip.com/uploads/20250314/349596880742665ac7249b5f4218263f.png",
// 文旅鉴赏 // 文旅鉴赏
wlcx: "https://static.ticket.sz-trip.com/uploads/20241225/6cee0a7fce7873444824bc56dc452085.png", wlcx: "https://static.ticket.sz-trip.com/uploads/20250314/073759b9fcd3e217de9ecea774451364.png",
// 出行助手 // 出行助手
lyzs: "https://static.ticket.sz-trip.com/uploads/20241225/6b3ed3f6533470b45bffe44447ed8f86.png", lyzs: "https://static.ticket.sz-trip.com/uploads/20250314/7f5d199286e62ba6c9d43fdfd6f55de3.png",
// 公共服务 // 公共服务
ggfw: "https://static.ticket.sz-trip.com/uploads/20241225/6a9d7e1d968961cbe1aaf9bef994518a.png", ggfw: "https://static.ticket.sz-trip.com/uploads/20250314/271ffedb33dcfacf170ff78c1425f9cf.png",
// 十全十美 // 十全十美
sqj: "https://static.ticket.sz-trip.com/uploads/20241225/c7ce89fec139ff7a530a5d68ef2f56c8.png", sqj: "https://static.ticket.sz-trip.com/uploads/20250314/edceba87f00e37ef50cf6a9fafb8a29f.png",
// 长三角文旅平台 // 长三角文旅平台
csjwlpt: "https://static.ticket.sz-trip.com/uploads/20241225/a38194b30ce9a956aa9701a65dc68aea.png", csjwlpt: "https://static.ticket.sz-trip.com/uploads/20250314/c88a44d385e0bf36370475ace8e5669e.png",
// 热门推荐 // 热门推荐
rmtj: "https://static.ticket.sz-trip.com/uploads/20241225/b31bfd4ff8cca2071928a1edeab4e818.png", rmtj: "https://static.ticket.sz-trip.com/uploads/20250314/dcc02bb22b721e281037cecf22e74728.png",
} }
}, },

29
subPackages/index/index.js

@ -72,6 +72,9 @@ Page({
// 页面图片 // 页面图片
imageSourceList:imageSource, imageSourceList:imageSource,
// 酒店住宿配置链接 /pages/pbService/web/index?weburl=https://m.cloud.sz-trip.com/carPurchase
hotelUrl: ''
}, },
onLoad: function(options) { onLoad: function(options) {
console.log('onload') console.log('onload')
@ -1009,7 +1012,31 @@ Page({
this.pagePoint({ this.pagePoint({
event: 'home_view' event: 'home_view'
}, 1) }, 1)
if(!this.data.hotelUrl) {
commonApi._post("pbservice/Other/getClientConfig", {
unique_key: "wechatxcx"
}).then(res => {
try {
let data = JSON.parse(res.data);
if (data.hotelUrl) {
this.setData({
hotelUrl: data.hotelUrl
})
}
} catch(e) {
this.setData({
hotelUrl: '/pages/list/hotel/index'
})
}
}).catch(err => {
this.setData({
hotelUrl: '/pages/list/hotel/index'
})
})
}
// this.data.time!=5?wx.showTabBar():1 // this.data.time!=5?wx.showTabBar():1
}, },

72
subPackages/index/index.wxml

@ -21,8 +21,8 @@
<view class="top-box" style="padding:0;margin-bottom:18rpx" wx:if="{{!isTest}}"> <view class="top-box" style="padding:0;margin-bottom:18rpx" wx:if="{{!isTest}}">
<navigator url="/pages/search/index" catchtap="pagePoint" data-event="search_click" class="search-box textOver"> <navigator url="/pages/search/index" catchtap="pagePoint" data-event="search_click" class="search-box textOver">
<!-- <view class="iconfont icon-sousuo"></view> --> <!-- <view class="iconfont icon-sousuo"></view> -->
<image src="https://static.ticket.sz-trip.com/uploads/20241225/59b88ab6ae2800ebe02f8c25eaf29636.png" class="iconfont" style="width: 26rpx;height: 26rpx;"></image> <image src="https://static.ticket.sz-trip.com/uploads/20250312/656b4dde65f4237b2d7fe0ef65baa850.png" class="iconfont" style="width: 26rpx;height: 26rpx;"></image>
<view class="textOver" style="color:rgba(41, 48, 90, 0.5);">搜索想要的旅游产品或服务</view> <view class="textOver" >搜索想要的旅游产品或服务</view>
</navigator> </navigator>
</view> </view>
<view style="position:relative;z-index: 1;"> <view style="position:relative;z-index: 1;">
@ -65,7 +65,7 @@
<image src="{{imageSourceList.mainFunImgs[5]}}" mode="widthFix"></image> <image src="{{imageSourceList.mainFunImgs[5]}}" mode="widthFix"></image>
<view class="top-icon-text">景点门票</view> <view class="top-icon-text">景点门票</view>
</view> </view>
<view bindtap="gotoPath" data-event="hotel_click" data-title="酒店住宿" data-path="/pages/list/hotel/index" class="top-icon-item"> <view bindtap="gotoPath" data-event="hotel_click" data-title="酒店住宿" data-path="{{hotelUrl}}" class="top-icon-item">
<image src="{{imageSourceList.mainFunImgs[6]}}" mode="widthFix"></image> <image src="{{imageSourceList.mainFunImgs[6]}}" mode="widthFix"></image>
<view class="top-icon-text">酒店住宿</view> <view class="top-icon-text">酒店住宿</view>
</view> </view>
@ -76,15 +76,15 @@
</view> --> </view> -->
<view bindtap="gotoPath" data-event="night_sz" data-title="夜游苏州" data-path="/pages/list/night/index" class="top-icon-item"> <view bindtap="gotoPath" data-event="night_sz" data-title="夜游苏州" data-path="/pages/list/night/index" class="top-icon-item">
<image src="{{imageSourceList.mainFunImgs[7]}}" mode="widthFix"></image> <image src="{{imageSourceList.mainFunImgs[7]}}" mode="widthFix"></image>
<view class="top-icon-text">夜游苏州</view> <view class="top-icon-text">水上游</view>
</view> </view>
<view bindtap="gotoUrl" data-event="card" data-title="一卡游苏州" data-url="https://m.cloud.sz-trip.com/OneDayTravelNew" class="top-icon-item"> <view bindtap="gotoUrl" data-event="card" data-title="一卡游苏州" data-url="https://m.cloud.sz-trip.com/OneDayTravelNew" class="top-icon-item">
<image src="{{imageSourceList.mainFunImgs[8]}}" mode="widthFix"></image> <image src="{{imageSourceList.mainFunImgs[8]}}" mode="widthFix"></image>
<view class="top-icon-text">一日游</view> <view class="top-icon-text">一日游</view>
</view> </view>
<view bindtap="gotoUrl" data-event="movie" data-title="研学游" data-url="https://m.cloud.sz-trip.com/LearningTravel" class="top-icon-item"> <view bindtap="gotoUrl" data-event="movie" data-title="户外游" data-url="https://m.cloud.sz-trip.com/LearningTravel" class="top-icon-item">
<image src="{{imageSourceList.mainFunImgs[9]}}" mode="widthFix"></image> <image src="{{imageSourceList.mainFunImgs[9]}}" mode="widthFix"></image>
<view class="top-icon-text">研学游</view> <view class="top-icon-text">户外游</view>
</view> </view>
</view> </view>
<view class="content"> <view class="content">
@ -137,7 +137,7 @@
<!-- 小banner 五一修改 一张banner不滚动 --> <!-- 小banner 五一修改 一张banner不滚动 -->
<view class="small-swiper-box" wx:if="{{xiaobanner.length === 1}}"> <view class="small-swiper-box" wx:if="{{xiaobanner.length === 1}}">
<image bindtap="bannerClick" data-item="{{xiaobanner[0]}}" style="border-radius:13rpx;width: 100%" src="{{xiaobanner[0].head_img}}" mode="widthFix"></image> <image bindtap="bannerClick" data-item="{{xiaobanner[0]}}" style="border-radius:13rpx;width: 100%;height: 100%;" src="{{xiaobanner[0].head_img}}" mode="aspectFill"></image>
</view> </view>
<view class="small-swiper-box" wx:else> <view class="small-swiper-box" wx:else>
<swiper class="small-swiper" autoplay="{{true}}" interval="{{5000}}" duration="{{300}}" bindchange="changeSmBannerIndex"> <swiper class="small-swiper" autoplay="{{true}}" interval="{{5000}}" duration="{{300}}" bindchange="changeSmBannerIndex">
@ -154,7 +154,7 @@
</view> </view>
<!-- 限时特惠--新版--> <!-- 限时特惠--新版-->
<view class="sale-road-boxes xpth" style="margin-bottom: 18.67rpx;margin-top: 0;padding-top: 0;" wx:if="{{!isTest}}"> <view class="sale-road-boxes xpth" style="margin-bottom: 18.67rpx;margin-top: 0;padding-top: 0;" wx:if="{{false}}">
<!-- 上方标题部分 --> <!-- 上方标题部分 -->
<view class="xsth-title"> <view class="xsth-title">
<view class="xsth-left" style="display: flex;"> <view class="xsth-left" style="display: flex;">
@ -203,11 +203,43 @@
</view> </view>
</view> </view>
<!-- 热门推荐-->
<view class="sale-road-boxes xpth" style="margin-bottom: 18.67rpx;margin-top: 0;padding-top: 0;" wx:if="{{!isTest}}">
<!-- 上方标题部分 -->
<view class="xsth-title">
<view class="xsth-left" style="display: flex;">
<image mode="heightFix" style="height:100rpx" src="{{indexSeason.xpth}}"></image>
</view>
<view class="time-box" style="z-index: 2;flex-shrink: 0;"></view>
</view>
<!-- 商品部分 -->
<view class="xpth-product" wx:if="{{xpth&&xpth.adv&&xpth.adv.length>0}}">
<!-- 左边的2个产品 -->
<view class="xpth-left" >
<view class="xpth-item" bindtap="bannerClick" data-item="{{xpth.adv[0]}}" style="background: none;">
<image src="{{xpth.adv[0].head_img}}" mode="" style="width: 100%;border-radius: 0;object-fit: unset;"/>
</view>
<view class="xpth-item" bindtap="bannerClick" data-item="{{xpth.adv[1]}}" style="background: none;">
<image src="{{xpth.adv[1].head_img}}" mode="" style="width: 100%;border-radius: 0;object-fit: unset"/>
</view>
</view>
<!-- 右边的banner -->
<view class="xpth-banner" style="background: none;" >
<view class="xpth-banner-swiper" bindtap="bannerClick" data-item="{{xpth.adv[2]}}" style="border-radius: 0">
<image src="{{xpth.adv[2].head_img}}" style="border-radius: 0;object-fit: unset"></image>
</view>
</view>
<!-- <image bindtap="goBanner" class="xpth-banner" data-url="{{xpth.adv.tdata}}" src="{{xpth.adv.head_img}}" mode="aspectFill" /> -->
</view>
</view>
<!-- 数字文旅--> <!-- 数字文旅-->
<view class="sale-road-boxes" style="margin-top:0"> <view class="sale-road-boxes" style="margin-top:0">
<image mode="heightFix" style="height:100rpx" src="{{indexSeason.wlcx}}"></image> <image mode="heightFix" style="height:100rpx" src="{{indexSeason.wlcx}}"></image>
<image class="rmtj-right" src="{{imageSourceList.CBTP[0]}}" mode="" /> <image class="rmtj-right" src="{{imageSourceList.CBTP[0]}}" mode="" style="width: 276rpx;height: 100rpx;"/>
</view> </view>
<view class="slide-out-box"> <view class="slide-out-box">
<!-- 元旦修改 .slide-box的原样式 height:360rpx--> <!-- 元旦修改 .slide-box的原样式 height:360rpx-->
@ -278,10 +310,12 @@
<!-- 旅游助手 --> <!-- 旅游助手 -->
<view class="sale-road-boxes" style="margin-top:0"> <view class="sale-road-boxes" style="margin-top:0">
<image mode="heightFix" style="height:100rpx" src="{{indexSeason.lyzs}}"></image> <image mode="heightFix" style="height:100rpx" src="{{indexSeason.lyzs}}"></image>
<image class="rmtj-right" src="{{imageSourceList.CBTP[1]}}" mode="" /> <image class="rmtj-right" src="{{imageSourceList.CBTP[1]}}" mode="" style="width: 276rpx;height: 100rpx;"/>
</view> </view>
<view class="pic-list" style="margin-top:20rpx" wx:if="{{!isTest}}"> <view class="pic-list" style="margin-top:20rpx" wx:if="{{!isTest}}">
<image class="new-pic" bindtap="gotoUrl" data-event="dou_click" data-title="抖in苏州" data-url="https://m.cloud.sz-trip.com/ShakeInDetailList?id=350&class_id=27&index=1" <!-- <image class="new-pic" bindtap="gotoUrl" data-event="dou_click" data-title="抖in苏州" data-url="https://m.cloud.sz-trip.com/ShakeInDetailList?id=350&class_id=27&index=1"
src="{{imageSourceList.LVZS[0]}}" mode="aspectFill"></image> -->
<image class="new-pic" bindtap="gotoPath" data-path="/subPackageCheckPoint/pages/index/index"
src="{{imageSourceList.LVZS[0]}}" mode="aspectFill"></image> src="{{imageSourceList.LVZS[0]}}" mode="aspectFill"></image>
<image class="new-pic" bindtap="gotoPath" data-event="food_click" data-title="街巷美食" data-path="/pages/list/{{isTest?'road':'food'}}/index" <image class="new-pic" bindtap="gotoPath" data-event="food_click" data-title="街巷美食" data-path="/pages/list/{{isTest?'road':'food'}}/index"
src="{{imageSourceList.LVZS[1]}}" mode="aspectFill"></image> src="{{imageSourceList.LVZS[1]}}" mode="aspectFill"></image>
@ -314,17 +348,17 @@
<view>实时路况</view> <view>实时路况</view>
</view> </view>
<view bindtap="xlzs" class="pbservice-item ggfw" > <view bindtap="xlzs" class="pbservice-item ggfw" >
<image src="https://static.ticket.sz-trip.com/uploads/20250115/18e8e2274a8191d0be0b8c63884ebe04.png" mode="widthFix"></image> <image src="{{imageSourceList.GGFW[2]}}" mode="widthFix"></image>
<view>行李直送</view> <view>行李直送</view>
</view> </view>
<view bindtap="gotoUrl" data-event="xlqc" <view bindtap="gotoUrl" data-event="xlqc"
data-url="https://weixin.2500sz.net/zt/2023/07/luggage_storage/" class="pbservice-item ggfw" > data-url="https://weixin.2500sz.net/zt/2023/07/luggage_storage/" class="pbservice-item ggfw" >
<image src="{{imageSourceList.GGFW[2]}}" mode="widthFix"></image> <image src="{{imageSourceList.GGFW[3]}}" mode="widthFix"></image>
<view>行李寄存</view> <view>行李寄存</view>
</view> </view>
<view class="pbservice-item ggfw" data-event="toilet_public_click" data-title="找厕所" bindtap="gotoPath" <view class="pbservice-item ggfw" data-event="toilet_public_click" data-title="找厕所" bindtap="gotoPath"
data-path="/pages/pbService/bike/index?type=1"> data-path="/pages/pbService/bike/index?type=1">
<image src="{{imageSourceList.GGFW[3]}}" mode="widthFix"></image> <image src="{{imageSourceList.GGFW[4]}}" mode="widthFix"></image>
<view>找厕所</view> <view>找厕所</view>
</view> </view>
</view> </view>
@ -333,7 +367,7 @@
<!-- 十全十美 --> <!-- 十全十美 -->
<view class="sale-road-boxes"> <view class="sale-road-boxes">
<image mode="heightFix" style="height:100rpx" src="{{indexSeason.sqj}}"></image> <image mode="heightFix" style="height:100rpx" src="{{indexSeason.sqj}}"></image>
<image class="rmtj-right" src="{{imageSourceList.CBTP[2]}}" mode="" /> <!-- <image class="rmtj-right" src="{{imageSourceList.CBTP[2]}}" mode="" /> -->
</view> </view>
<view class="six-box-new" wx:if="{{!isTest}}"> <view class="six-box-new" wx:if="{{!isTest}}">
<image bindtap="gotoPath" data-event="{{area_ids[index]}}_click" data-title="苏城六纪" data-path="/pages/list/six/index?area={{area_ids[index]}}" wx:for="{{imageSourceList.SQSM}}" src="{{item}}" mode="widthFix" wx:key="index"> <image bindtap="gotoPath" data-event="{{area_ids[index]}}_click" data-title="苏城六纪" data-path="/pages/list/six/index?area={{area_ids[index]}}" wx:for="{{imageSourceList.SQSM}}" src="{{item}}" mode="widthFix" wx:key="index">
@ -343,11 +377,11 @@
<!-- 长三角文旅平台 --> <!-- 长三角文旅平台 -->
<view class="sale-road-boxes" style="margin-top:0" wx:if="{{otherPlat}}"> <view class="sale-road-boxes" style="margin-top:0" wx:if="{{otherPlat}}">
<image mode="heightFix" style="height:100rpx" src="{{indexSeason.csjwlpt}}"></image> <image mode="heightFix" style="height:100rpx" src="{{indexSeason.csjwlpt}}"></image>
<image class="rmtj-right" src="{{imageSourceList.CBTP[3]}}" mode="" /> <image class="rmtj-right" src="{{imageSourceList.CBTP[3]}}" mode="" style="width: 276rpx;height: 100rpx;"/>
</view> </view>
<view class="other-plats" wx:if="{{otherPlat&&!isTest}}"> <view class="other-plats" wx:if="{{otherPlat&&!isTest}}">
<view class="other-plat" wx:for="{{otherPlat}}" bindtap="gotoOther" data-item="{{item}}" wx:key="index"> <view class="other-plat" wx:for="{{imageSourceList.CSJWLPT}}" bindtap="gotoOther" data-item="{{item}}" wx:key="index">
<image src="{{imageSourceList.CSJWLPT[index]}}" mode="widthFix"></image> <image src="{{item.icon}}" mode="heightFix"></image>
<view>{{item.name}}</view> <view>{{item.name}}</view>
</view> </view>
</view> </view>
@ -355,7 +389,7 @@
<!-- 热门推荐 --> <!-- 热门推荐 -->
<view class="sale-road-boxes" style="margin-top:0"> <view class="sale-road-boxes" style="margin-top:0">
<image mode="heightFix" style="height:100rpx" src="{{indexSeason.rmtj}}"></image> <image mode="heightFix" style="height:100rpx" src="{{indexSeason.rmtj}}"></image>
<image class="rmtj-right" src="{{imageSourceList.CBTP[4]}}" mode="" /> <image class="rmtj-right" src="{{imageSourceList.CBTP[4]}}" mode="" style="width: 276rpx;height: 100rpx;"/>
</view> </view>
<view class="hot-list" wx:if="{{isTest==false}}"> <view class="hot-list" wx:if="{{isTest==false}}">
<view class="hot-list-item" wx:for="{{2}}" wx:for-index="number" wx:key="number"> <view class="hot-list-item" wx:for="{{2}}" wx:for-index="number" wx:key="number">

39
subPackages/index/index.wxss

@ -4,9 +4,10 @@ page {
/* background: #9DDCF5; */ /* background: #9DDCF5; */
padding-bottom: 36.67rpx; padding-bottom: 36.67rpx;
background-image: url('https://static.ticket.sz-trip.com/uploads/20241225/79918a9171dcf85365935419e4717519.jpg'); /* background-image: url('https://static.ticket.sz-trip.com/uploads/20241225/79918a9171dcf85365935419e4717519.jpg');
background-repeat: repeat-y; background-repeat: repeat-y;
background-size: 100% 100%; background-size: 100% 100%; */
background: #F3FBFB;
} }
.swiper,.swiper image { .swiper,.swiper image {
width: 697rpx; width: 697rpx;
@ -39,22 +40,13 @@ page {
.search-box { .search-box {
flex: 1; flex: 1;
width: 100%; width: 100%;
/* height: 64rpx; */
/* background: rgba(255, 255, 255, 0.6); */
/* border-radius: 32rpx; */
/* color: #666; */
/* height: 70.67rpx; */
height: 64rpx; height: 64rpx;
/* background: rgba(255,255,255,0.7); */
border-radius: 0rpx; border-radius: 0rpx;
/* color: #72674E; */ color: #15B593;
color: #333333;
/* background-image: url("https://static.ticket.sz-trip.com//uploads/20240228/10b93c1389ef5dfc02d07c4091af8f2d.png");
background-size: 100% 100%; */
display: flex; display: flex;
align-items: center; align-items: center;
font-size: 25rpx; font-size: 25rpx;
background-image: url("https://static.ticket.sz-trip.com/uploads/20241225/510a67a1e78a9eb1aeb6e049348d4701.png"); background-image: url("https://static.ticket.sz-trip.com/uploads/20250312/6cc354588441d7f89a36a91d7e1edd52.png");
background-size: 100% 100%; background-size: 100% 100%;
padding: 2rpx 5rpx; padding: 2rpx 5rpx;
box-sizing: border-box; box-sizing: border-box;
@ -544,11 +536,11 @@ page {
width: 200rpx; width: 200rpx;
height: 67rpx; height: 67rpx;
line-height: 67rpx; line-height: 67rpx;
border: 1px solid #5184B0; border: 1px solid #169D7E;
font-size: 27rpx; font-size: 27rpx;
font-family: PingFang SC; font-family: PingFang SC;
font-weight: 500; font-weight: 500;
color: #5184B0; color: #169D7E;
} }
.scroll-line { .scroll-line {
@ -681,9 +673,9 @@ page {
align-items: center; align-items: center;
} }
.other-plats image { .other-plats image {
width: 106rpx; width: 80rpx;
display: block; display: block;
height: 106rpx; height: 80rpx;
margin-bottom: 15rpx; margin-bottom: 15rpx;
} }
.other-plat { .other-plat {
@ -847,7 +839,7 @@ page {
font-size: 27rpx; font-size: 27rpx;
font-family: DIN; font-family: DIN;
font-weight: 500; font-weight: 500;
color: #FF6A57; color: #D62828;
text-align: center; text-align: center;
} }
.time-box text { .time-box text {
@ -911,7 +903,7 @@ page {
border-radius: 0rpx; border-radius: 0rpx;
overflow: hidden; overflow: hidden;
position: relative; position: relative;
background-image: url("https://static.ticket.sz-trip.com/uploads/20241225/ba525775a8361dd502c88a4e46552483.png"); background-image: url("https://static.ticket.sz-trip.com/uploads/20250312/004153a812042b46ca750146f5259ef7.png");
background-size: 100% 100%; background-size: 100% 100%;
padding: 3rpx; padding: 3rpx;
} }
@ -952,7 +944,7 @@ page {
height: 153rpx; height: 153rpx;
display: flex; display: flex;
margin-bottom: 13rpx; margin-bottom: 13rpx;
background-image: url("https://static.ticket.sz-trip.com/uploads/20241225/d469064b1bcf6c2f7cd59786e66fc249.png"); background-image: url("https://static.ticket.sz-trip.com/uploads/20250312/a41b881279749fba4c506c164914b601.png");
background-size: 100% 100%; background-size: 100% 100%;
padding: 1rpx; padding: 1rpx;
} }
@ -967,7 +959,7 @@ page {
border-radius: 15rpx 0 0 15rpx; */ border-radius: 15rpx 0 0 15rpx; */
width: 157rpx; width: 157rpx;
height: 154rpx; height: 154rpx;
background: #72707D; /* background: #72707D; */
border-radius: 20rpx; border-radius: 20rpx;
/* margin-right: 15.33rpx; */ /* margin-right: 15.33rpx; */
flex-shrink: 0; flex-shrink: 0;
@ -1060,7 +1052,6 @@ page {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
padding-left: 13.33rpx;
overflow: scroll; overflow: scroll;
margin-bottom: 53.33rpx; margin-bottom: 53.33rpx;
z-index: 1; z-index: 1;
@ -1068,8 +1059,8 @@ page {
} }
.six-box-new image { .six-box-new image {
width: 440rpx; width: 334rpx;
height: 213.33rpx !important; height: 193.33rpx !important;
/* background: #FFE7C0; */ /* background: #FFE7C0; */
border-radius: 20rpx; border-radius: 20rpx;
flex-shrink: 0; flex-shrink: 0;

Loading…
Cancel
Save