From 2cc32266f2d75df80c3252366f3a86e5fad3db1d Mon Sep 17 00:00:00 2001 From: nige Date: Tue, 8 Aug 2023 17:28:46 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=AC=E5=85=B1=E6=9C=8D=E5=8A=A1=E8=A1=8C?= =?UTF-8?q?=E6=9D=8E=20=E7=89=B9=E4=BA=A7=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.js | 2 +- pages/index/index.wxml | 9 +++++++-- pages/list/feiyi/index.wxss | 26 ++++++++++++-------------- pages/list/techan/index.wxss | 17 +++++++++++++---- pages/pbService/index.wxml | 5 +++++ 5 files changed, 38 insertions(+), 21 deletions(-) diff --git a/app.js b/app.js index a2fc7bd..18597dd 100644 --- a/app.js +++ b/app.js @@ -21,7 +21,7 @@ App({ unique_key: "wechatxcx" }).then(res => { let data = JSON.parse(res.data); - data.isTest = data.isTest87? true : false; + data.isTest = data.isTest88? true : false; this.globalData.configJson = data }).then(() => { // 获取ui配置文件 diff --git a/pages/index/index.wxml b/pages/index/index.wxml index ec59efe..8f80ede 100644 --- a/pages/index/index.wxml +++ b/pages/index/index.wxml @@ -288,6 +288,11 @@ 景区舒适度 + + + 行李寄存 + @@ -302,11 +307,11 @@ 安全服务 --> - 12348 - + --> diff --git a/pages/list/feiyi/index.wxss b/pages/list/feiyi/index.wxss index 76e134e..3fe4b0d 100644 --- a/pages/list/feiyi/index.wxss +++ b/pages/list/feiyi/index.wxss @@ -16,13 +16,16 @@ page { } .store-in-box { padding: 20rpx 30rpx; + padding-right: 0; background: #1d3256; border-left: 6rpx solid #c7a668; border-right: 6rpx solid #c7a668; } + .store-item-top { display: flex; align-items: center; + padding-right: 20rpx; } .main-store-img { width: 136rpx; @@ -75,27 +78,22 @@ page { .store-product-list { display: flex; margin-top: 30rpx; + overflow-x: scroll; +} +.store-product-list::-webkit-scrollbar { + display: none; } .product-item { margin-right: 20rpx; } -.store-product-list .product-item:nth-child(1) .product-img{ - border-top-left-radius: 16rpx; - border-bottom-left-radius: 16rpx; -} -.store-product-list .product-item:last-child .product-img{ - border-top-right-radius: 16rpx; - border-bottom-right-radius: 16rpx; -} -.store-product-list .product-item:nth-child(3n){ - margin-right: 0; -} + + .product-img { display: block; - width: 100%; - width: 194rpx; + + width: 220rpx; margin-bottom:20rpx; - height: 194rpx; + height: 220rpx; object-fit: cover; } .product-title { diff --git a/pages/list/techan/index.wxss b/pages/list/techan/index.wxss index 5e76619..da18a26 100644 --- a/pages/list/techan/index.wxss +++ b/pages/list/techan/index.wxss @@ -33,6 +33,9 @@ page { margin: 0 auto; margin-bottom: 15rpx; color: #704436; + /* padding: 0 10rpx; */ + box-sizing: border-box; + } .list { background: url(https://static.ticket.sz-trip.com/xcxImages/techan/bg1.png); @@ -88,10 +91,16 @@ page { } .product-list { display: flex; - margin: 0 30rpx; + margin: 0 20rpx 0 30rpx; + overflow-x:scroll ; + box-sizing: border-box; + padding-right:30rpx ; +} +.product-list::-webkit-scrollbar { + display: none; } .product-item { - width: 200rpx; + width: 212rpx; font-size: 28rpx; margin-right: 19rpx; } @@ -99,8 +108,8 @@ page { margin-right: 0; } .product-item image { - width: 200rpx; - height: 200rpx; + width: 212rpx; + height: 209rpx; } .market_price { color: #C6937F; diff --git a/pages/pbService/index.wxml b/pages/pbService/index.wxml index 1940aff..bc8607f 100644 --- a/pages/pbService/index.wxml +++ b/pages/pbService/index.wxml @@ -14,6 +14,11 @@ 安全服务 + + + 行李寄存 +