diff --git a/components/coupons/index.wxss b/components/coupons/index.wxss index 8d3d2aa..dd00517 100644 --- a/components/coupons/index.wxss +++ b/components/coupons/index.wxss @@ -52,6 +52,11 @@ } .tit{ margin-top: 32rpx; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; + width: 300rpx; + height: 40rpx; } .coupons-info-price-o { display: block; @@ -102,6 +107,11 @@ color: #333; font-weight: 100; text-align: left; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; + width: 300rpx; + height: 40rpx; } .coupons-info-manjian { color: #fa7c7a; @@ -130,6 +140,7 @@ .sy{ display: block; text-align: center; + width: 120rpx; } .usermotto { margin-top: 200px; diff --git a/pages/bannerdetail/index.wxss b/pages/bannerdetail/index.wxss index 96ff751..85c865e 100644 --- a/pages/bannerdetail/index.wxss +++ b/pages/bannerdetail/index.wxss @@ -1,4 +1,5 @@ @import "../../app.wxss"; + .coupons { width: 100%; background: #f6f6f6; @@ -141,6 +142,7 @@ color: #b8b8b8; padding-top: 10rpx; } + .notes view:nth-child(1) { width: 92%; height: 87rpx; @@ -158,7 +160,7 @@ .notes view:nth-child(2) { width: 92%; height: auto; - padding:0 4% 4%; + padding: 0 4% 4%; background: #fff; border-bottom: 1rpx solid #f5f5f5; display: flex; @@ -186,7 +188,7 @@ background: #fff; position: fixed; padding-top: 10rpx; - height:98rpx; + height: 98rpx; bottom: 0rpx; left: 0; right: 0; @@ -204,6 +206,7 @@ text-align: center; border-radius: 6rpx; } + .coupons1-btn-gm { background: #00c0ff !important; border-radius: 10rpx !important; @@ -211,20 +214,22 @@ padding: 0 !important; font-family: PingFangSC-Semibold; font-size: 28rpx; - color: #ffffff !important; + color: #fff !important; letter-spacing: 0; height: 50rpx !important; width: 138rpx !important; line-height: 50rpx !important; } + .coupons1 { flex-direction: row; display: flex; padding: 30rpx; position: relative; height: 184rpx; - border:1px solid #eee; + border: 1px solid #eee; } + .coupons1-border { height: 1rpx; /* width: 100%; */ @@ -234,6 +239,7 @@ position: absolute; bottom: 0; } + .coupons1-img { width: 248rpx; height: 184rpx; @@ -252,26 +258,31 @@ .coupons1-info-name { font-size: 28rpx; - color: #000000; + color: #000; letter-spacing: 0; line-height: 38rpx; } + .coupons1-info-price { padding: 32rpx 0 0; } -.i{ + +.i { font-size: 20rpx; font-style: normal; } + .coupons1-info-price-p { display: inline-block; font-size: 36rpx; color: #f96563; line-height: 50rpx; } -.tit{ + +.tit { margin-top: 32rpx; } + .coupons1-info-price-o { display: block; text-align: center; @@ -299,6 +310,7 @@ .coupons1-btn { position: absolute; + width: 120rpx; top: 40rpx; right: 30rpx; } @@ -310,18 +322,25 @@ padding: 0 !important; font-family: PingFangSC-Semibold; font-size: 28rpx; - color: #ffffff !important; + color: #fff !important; letter-spacing: 0; height: 50rpx !important; width: 138rpx !important; line-height: 50rpx !important; } + .subtitle { font-size: 22rpx; color: #333; font-weight: 100; text-align: left; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; + width: 300rpx; + height: 40rpx; } + .coupons1-info-manjian { color: #fa7c7a; font-size: 20rpx; @@ -330,6 +349,7 @@ } /**上拉加载更多**/ + .userinfo { display: flex; flex-direction: column; @@ -346,10 +366,13 @@ .userinfo-nickname { color: #aaa; } -.sy{ + +.sy { display: block; text-align: center; + width: 120rpx!important; } + .usermotto { margin-top: 200px; } diff --git a/pages/index/coupons/index.wxss b/pages/index/coupons/index.wxss index e69de29..a2b04a6 100644 --- a/pages/index/coupons/index.wxss +++ b/pages/index/coupons/index.wxss @@ -0,0 +1,3 @@ +.index-coupons{ + height:2036rpx; +} \ No newline at end of file diff --git a/pages/order/index/index.wxss b/pages/order/index/index.wxss index 1d8fd52..e64d3af 100644 --- a/pages/order/index/index.wxss +++ b/pages/order/index/index.wxss @@ -131,7 +131,7 @@ display: block; text-align: center; font-size: 30rpx; - color: #999; + color: #00c0ff; } .dingdan image { display: block; diff --git a/pages/rushToBuy/index.js b/pages/rushToBuy/index.js index 68779ff..0d5bc6f 100644 --- a/pages/rushToBuy/index.js +++ b/pages/rushToBuy/index.js @@ -119,15 +119,6 @@ Page({ url: `/pages/coupon/detail/index?couponChannelId=${ e.currentTarget.dataset.couponchannelid }&couponId=${e.currentTarget.dataset.couponid}`, - success: function(res) { - // success - }, - fail: function() { - // fail - }, - complete: function() { - // complete - } }); }, /**