From f20084c342c1e1a0baabb880db8c101187eaf11d Mon Sep 17 00:00:00 2001 From: Myth Date: Tue, 30 Mar 2021 17:26:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=B8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/activity/springten/index.js | 2 +- pages/activity/springten/index.wxml | 11 ++++------- pages/activity/springten/index.wxss | 22 +++++++++++----------- 3 files changed, 16 insertions(+), 19 deletions(-) diff --git a/pages/activity/springten/index.js b/pages/activity/springten/index.js index ca90d67..10ccc59 100644 --- a/pages/activity/springten/index.js +++ b/pages/activity/springten/index.js @@ -54,7 +54,7 @@ Page({ commonApi._post("scene/get_scene_by_tag",{ offset:this.data.list.length, limit:10, - tag_id:17+Number(this.data.type), + tag_id:this.data.type!=0?17+Number(this.data.type):27, area_id:this.data.areaIndex>-1?this.data.areas[this.data.areaIndex].area_id:null }).then(res=>{ res.data.list.map(item=>{ diff --git a/pages/activity/springten/index.wxml b/pages/activity/springten/index.wxml index 7d91173..7d5d1ba 100644 --- a/pages/activity/springten/index.wxml +++ b/pages/activity/springten/index.wxml @@ -13,22 +13,19 @@ {{item}} + - {{item.title}} - - {{item}} - + 上榜理由:{{item.brief_intro}} 地址:{{item.address}} - 上榜理由:{{item.brief_intro}} - 前往购买 - 打开导航 + + 打开导航 查看详情 立即预订 diff --git a/pages/activity/springten/index.wxss b/pages/activity/springten/index.wxss index d5556e5..004aa87 100644 --- a/pages/activity/springten/index.wxss +++ b/pages/activity/springten/index.wxss @@ -44,16 +44,16 @@ width: 124rpx; } .list { - background:url(https://fastadmin.oss-cn-shenzhen.aliyuncs.com/xcxImages/springten/bg2.png) repeat-y; + background:url(https://m.cloud.sz-trip.com/static/images/activity/topten/hua0326.png) repeat-y; background-size: 100%; } .item { margin: 0 25rpx; margin-top: 43rpx; - background:url(https://fastadmin.oss-cn-shenzhen.aliyuncs.com/xcxImages/springten/bg1.png); + background:url(https://m.cloud.sz-trip.com/static/images/activity/topten/itemBac0326.png); background-size: 100% 100%; width: 700rpx; - height: 325rpx; + height: 177rpx; position: relative; } .nomore { @@ -64,13 +64,12 @@ } .item-in { display: flex; - padding: 30rpx; - padding-bottom: 20rpx; + padding: 20rpx; justify-content: space-between; } .item-in image { - width: 253rpx; - height: 213rpx; + width: 199rpx; + height: 133rpx; display: block; flex-shrink: 0; } @@ -103,16 +102,17 @@ .item-address { font-size: 23rpx; color: #666666; + width: 280rpx; } .item-result { font-size: 25rpx; - color: #333; - margin: 0 30rpx; + color: #C01717; + margin:10rpx 0 } .item-btn { position: absolute; - right: 37rpx; - bottom: 70rpx; + right: 20rpx; + bottom: 17rpx; width: 160rpx; line-height: 53rpx; background: #8356A6;