From 804d4f7d2023faf965a047a73cfb789d9b2798b1 Mon Sep 17 00:00:00 2001 From: rui <1593038819@qq.com> Date: Thu, 25 Jul 2019 00:05:18 +0800 Subject: [PATCH] =?UTF-8?q?[=E5=95=86=E6=88=B7=E8=AF=A6=E6=83=85=E9=A1=B5]?= =?UTF-8?q?[=E4=BF=AE=E6=94=B9][=E6=A0=B7=E5=BC=8F]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/searchbar/detail/index.js | 2 +- pages/index/searchbar/detail/index.wxml | 18 ++++---- pages/index/searchbar/detail/index.wxss | 61 ++++++++++++++++++------- 3 files changed, 56 insertions(+), 25 deletions(-) diff --git a/pages/index/searchbar/detail/index.js b/pages/index/searchbar/detail/index.js index 0a8bf88..faa9c8e 100644 --- a/pages/index/searchbar/detail/index.js +++ b/pages/index/searchbar/detail/index.js @@ -11,7 +11,7 @@ Page({ data: { poterbg: imgurl.poterbg.url, teljpgUrl: imgurl.teljpg.url, - share01: imgurl.share01.url, + fenxiang: imgurl.fenxiang.url, actUrl: imgurl.act.url, wmhome: imgurl.wmhome.url, page: 1, diff --git a/pages/index/searchbar/detail/index.wxml b/pages/index/searchbar/detail/index.wxml index a74959d..bb9a7d1 100644 --- a/pages/index/searchbar/detail/index.wxml +++ b/pages/index/searchbar/detail/index.wxml @@ -15,15 +15,17 @@ - + {{data.merchantName}} {{data.title}} + - + + 分享有礼 @@ -31,9 +33,9 @@ - 商户位置 + 商户位置: - + {{item.buildingName}}{{item.floorName}}--{{item.shopNumber}} @@ -44,14 +46,14 @@ - 客服电话 + 客服电话: - + {{data.linkLinePhone}} {{data.merchantLinkPhone}} - + diff --git a/pages/index/searchbar/detail/index.wxss b/pages/index/searchbar/detail/index.wxss index fe6a986..993d18a 100644 --- a/pages/index/searchbar/detail/index.wxss +++ b/pages/index/searchbar/detail/index.wxss @@ -53,19 +53,27 @@ .merchant-brand, .merchant-shop, .merchant-phone { width: 100%; - display: flex; - padding: 20rpx 0; + /* display: flex; */ + /* padding: 10rpx 0; */ background: #fff; - border-bottom: 1rpx solid #efefef; } .merchant-brand view:nth-child(1) { - width: 130rpx; - border-radius: 16rpx; + width: 98%; height: 130rpx; + display: flex; + flex-direction: column; + white-space: nowrap; + text-overflow: ellipsis; + overflow: hidden; } - -.merchant-brand view:nth-child(1) image { +.merchant-brand view:nth-child(1) text:nth-child(1){ + font-size:32rpx; + font-family:PingFangSC-Regular; + font-weight:400; + color:rgba(60,60,60,1); +} +/* .merchant-brand view:nth-child(1) image { display: block; width: 130rpx; height: 130rpx; @@ -81,17 +89,19 @@ white-space: nowrap; text-overflow: ellipsis; overflow: hidden; -} +} */ .merchant-shop text, .merchant-phone text { font-size: 30rpx; } - -.merchant-shop view, .merchant-phone view { +.merchant-shop .fl{ + color: #A6A6A6; +} +.merchant-phone view { /* display: flex; flex: 2; */ - color: #333; + color: #A6A6A6; } .merchant-activity view{ color: #333; @@ -168,17 +178,22 @@ text-align: left; font-size: 26rpx; margin-bottom: 6rpx; + height: 26rpx; line-height: 26rpx; + color: #A6A6A6; } .merchants { + float: left; display: block!important; + width: 70%; + margin-left:12rpx; } .merchant-brand { border: none !important; width: 92%; - margin: 0 auto; + margin: 20rpx auto 0; } .merchant-brand view:nth-child(2) text:nth-child(1) { margin-top: 20rpx; @@ -186,8 +201,8 @@ } .title{ - font-size: 24rpx; - color: #666; + font-size: 26rpx; + color: #A6A6A6; width: 530rpx; height: 40rpx; white-space: nowrap; @@ -244,12 +259,19 @@ padding: 0 4% 10rpx; } .fenxiang image { - width: 108rpx; + width: 48rpx; + height: 48rpx; position: absolute; top: 16rpx; + right: 14rpx; +} +.gift{ + color: #3C3C3C; + font-size: 20rpx; + position: absolute; right: 0; + top: 65rpx; } - .user-motto { width: 270rpx; border: 0; @@ -399,3 +421,10 @@ button::after{ border: none; } bottom: 0; margin: auto; } +.frHr{ + float: left; + color: #FD832D; + font-size: 24rpx; + margin-left: 12rpx; + margin-top: 12rpx; +}