From f2b48e628ec99e5ea1a8b33e1046c577361b4482 Mon Sep 17 00:00:00 2001 From: hurui Date: Mon, 5 Aug 2019 16:58:27 +0800 Subject: [PATCH] =?UTF-8?q?[=E9=97=A8=E5=BA=97=E8=AF=A6=E6=83=85][?= =?UTF-8?q?=E4=BF=AE=E6=94=B9][=E7=94=B5=E8=AF=9D]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [消费卡][修改][无卡时展示图] --- components/hot/index.wxss | 11 +++++++++-- pages/discountCardList/discountCardList.js | 1 + pages/discountCardList/discountCardList.wxml | 2 +- pages/index/searchbar/detail/index.wxss | 2 +- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/components/hot/index.wxss b/components/hot/index.wxss index 0dd2ebc..2c5c692 100644 --- a/components/hot/index.wxss +++ b/components/hot/index.wxss @@ -106,7 +106,10 @@ float: left; } .price{ - width: 210rpx; + width: 128rpx; + overflow: hidden; + text-overflow:ellipsis; + white-space:nowrap; font-size: 22rpx; text-decoration:line-through; float: left; @@ -117,10 +120,14 @@ float: left; } .sale{ - width: 210rpx; font-size: 32rpx; float: left; margin-top: -8rpx; + width: 128rpx; + overflow: hidden; + text-overflow:ellipsis; + white-space:nowrap; + } .sale text{ font-size: 20rpx!important; diff --git a/pages/discountCardList/discountCardList.js b/pages/discountCardList/discountCardList.js index b0f30f4..9865d55 100644 --- a/pages/discountCardList/discountCardList.js +++ b/pages/discountCardList/discountCardList.js @@ -21,6 +21,7 @@ Page({ id: 0 } ], + noCoupon: imgurl.noCoupon.url, couponUrl: imgurl.coupon.url, loadingUrl: imgurl.loading.url, wmhome: imgurl.wmhome.url, diff --git a/pages/discountCardList/discountCardList.wxml b/pages/discountCardList/discountCardList.wxml index 8c1c6ed..f7eb753 100644 --- a/pages/discountCardList/discountCardList.wxml +++ b/pages/discountCardList/discountCardList.wxml @@ -10,7 +10,7 @@ - + 请您敬请期待 我们正在筹备一大波优惠活动 diff --git a/pages/index/searchbar/detail/index.wxss b/pages/index/searchbar/detail/index.wxss index a449ddc..80982c4 100644 --- a/pages/index/searchbar/detail/index.wxss +++ b/pages/index/searchbar/detail/index.wxss @@ -454,5 +454,5 @@ button::after{ border: none; } .frHr{ float: left; margin-left: 12rpx; - margin-top: 22rpx; + margin-top:18rpx; } \ No newline at end of file