From bedafff187c668c35c6c5e9e6351afdd401d426b Mon Sep 17 00:00:00 2001 From: XiaoXinPro 14 IAH5R <568170040@qq.com> Date: Mon, 17 Oct 2022 18:10:00 +0800 Subject: [PATCH] upload --- components/banner/index.wxml | 6 +- components/hot/index.wxml | 16 +-- components/hot/index.wxss | 115 +++++++++++++--------- components/optimization/optimization.wxml | 4 +- pages/theme/index1/index.wxml | 9 +- 5 files changed, 87 insertions(+), 63 deletions(-) diff --git a/components/banner/index.wxml b/components/banner/index.wxml index 5881f02..e25caee 100644 --- a/components/banner/index.wxml +++ b/components/banner/index.wxml @@ -1,7 +1,7 @@ - + @@ -10,8 +10,8 @@ - - + + diff --git a/components/hot/index.wxml b/components/hot/index.wxml index d8ac2bc..7bf613f 100644 --- a/components/hot/index.wxml +++ b/components/hot/index.wxml @@ -5,7 +5,7 @@ 爆款专区 - + 换一换 @@ -13,14 +13,14 @@ - - + + {{kData.title}} ¥{{kData.priceStr}} - {{kData.salePriceStr}} + {{kData.salePriceStr}} 砍价 @@ -35,15 +35,15 @@ - + {{pData.title}} ¥{{pData.priceStr}} - {{pData.salePriceStr}} - 拼团 + {{pData.salePriceStr}} + 拼团 @@ -57,4 +57,4 @@ - + \ No newline at end of file diff --git a/components/hot/index.wxss b/components/hot/index.wxss index 30bf798..8f1a3bb 100644 --- a/components/hot/index.wxss +++ b/components/hot/index.wxss @@ -1,47 +1,57 @@ /* components/hot/hot.wxss */ @import "../../app.wxss"; -.hotBox{ - width:710rpx; - margin: 0 auto ; + +.hotBox { + width: 710rpx; + margin: 0 auto; } -.hotTitle{ + +.hotTitle { width: 100%; height: 60rpx; line-height: 60rpx; font-size: 30rpx; display: flex; justify-content: space-between; - font-family:PingFangSC-Medium; + font-family: PingFangSC-Medium; } -.titleL .titleR{ + +.titleL .titleR { width: 100rpx; } -.titleR .text{ + +.titleR .text { float: left; margin-right: 10rpx; - font-family:PingFangSC-Regular!important; + font-family: PingFangSC-Regular !important; } -.titleR .view{ + +.titleR .view { height: 40rpx; width: 40rpx; /* margin-top: 10rpx; */ float: left; } -.titleR .img{ + +.titleR .img { height: 28rpx; width: 28rpx; } -.sql{ - width:12rpx; - height:24rpx; - border-radius:8rpx; + +.sql { + width: 12rpx; + height: 24rpx; + border-radius: 8rpx; float: left; margin: 20rpx 10rpx 0 0; } -.hotCon{ + +.hotCon { width: 100%; } -.kanjia, .pintuan{ + +.kanjia, +.pintuan { width: 346rpx; height: 156rpx; float: left; @@ -50,76 +60,88 @@ justify-content: space-between; position: relative; } -.kanjia{ + +.kanjia { margin-right: 18rpx; - background:linear-gradient(130deg,rgba(50,177,252,1) 0%,rgba(47,108,255,1) 100%); + background: linear-gradient(130deg, rgba(50, 177, 252, 1) 0%, rgba(47, 108, 255, 1) 100%); } -.pintuan{ - background:linear-gradient(127deg,rgba(252,177,74,1) 0%,rgba(254,70,20,1) 100%); + +.pintuan { + background: linear-gradient(127deg, rgba(252, 177, 74, 1) 0%, rgba(254, 70, 20, 1) 100%); } -.hotCon .img{ + +.hotCon .img { width: 86rpx; height: 86rpx; margin: 24rpx 0 46rpx 16rpx; } -.hotCon .btn{ - width:80rpx; - height:44rpx; + +.hotCon .btn { + width: 80rpx; + height: 44rpx; line-height: 44rpx; - background:rgba(255,255,255,1); - border-radius:18rpx; + background: rgba(255, 255, 255, 1); + border-radius: 18rpx; font-size: 24rpx; position: absolute; right: 20rpx; bottom: 20rpx; text-align: center; } -.btnk{ + +.btnk { color: #2C8DFF; } -.btnp{ + +.btnp { color: #FD782D; } -.btnNone{ - width:80rpx; - height:44rpx; + +.btnNone { + width: 80rpx; + height: 44rpx; line-height: 44rpx; - border-radius:18rpx; + border-radius: 18rpx; font-size: 24rpx; position: absolute; right: 20rpx; bottom: 20rpx; text-align: center; - background:rgba(255,255,255,0.5) + background: rgba(255, 255, 255, 0.5) } -.kjText,.ptText{ + +.kjText, +.ptText { color: #FFFFFF; margin: 14rpx 10rpx 20rpx 10rpx; } -.title{ +.title { width: 210rpx; font-size: 30rpx; overflow: hidden; - text-overflow:ellipsis; - white-space:nowrap; + text-overflow: ellipsis; + white-space: nowrap; float: left; } -.price{ + +.price { width: 128rpx; overflow: hidden; - text-overflow:ellipsis; - white-space:nowrap; + text-overflow: ellipsis; + white-space: nowrap; font-size: 22rpx; - text-decoration:line-through; + text-decoration: line-through; float: left; } -.expect{ + +.expect { width: 210rpx; font-size: 22rpx; float: left; } -.sale{ + +.sale { width: 140rpx; font-size: 32rpx; float: left; @@ -128,6 +150,7 @@ text-overflow: ellipsis; overflow: hidden; } -.sale .price{ - font-size: 20rpx!important; -} + +.sale .simple { + font-size: 20rpx !important; +} \ No newline at end of file diff --git a/components/optimization/optimization.wxml b/components/optimization/optimization.wxml index 6a43942..ca66c43 100644 --- a/components/optimization/optimization.wxml +++ b/components/optimization/optimization.wxml @@ -6,7 +6,7 @@ - + {{item.title}} @@ -14,7 +14,7 @@ - + diff --git a/pages/theme/index1/index.wxml b/pages/theme/index1/index.wxml index 49d73fe..7210e13 100644 --- a/pages/theme/index1/index.wxml +++ b/pages/theme/index1/index.wxml @@ -1,5 +1,5 @@ - + @@ -32,7 +32,8 @@ 还需 -

{{upgradeScore}}成长值

可升级
+

{{upgradeScore}}成长值

可升级 +
@@ -47,7 +48,7 @@ - + {{item.name}} @@ -97,7 +98,7 @@ - +