From dd34161956ebf4d8da4ac947dcaa28ba5492fbe1 Mon Sep 17 00:00:00 2001 From: cheng.xu Date: Wed, 18 Sep 2019 11:46:36 +0800 Subject: [PATCH] 首页页面调整 --- app.wxss | 3 +++ pages/index/index/index.wxml | 6 +++--- pages/index/index/index.wxss | 15 ++++++++++----- 3 files changed, 16 insertions(+), 8 deletions(-) diff --git a/app.wxss b/app.wxss index 5f02258..8a689aa 100644 --- a/app.wxss +++ b/app.wxss @@ -2,6 +2,9 @@ .flex { display: flex; } +.ib{ + display: inline-block; +} .flex_auto { flex: 1; } diff --git a/pages/index/index/index.wxml b/pages/index/index/index.wxml index 9e363ca..23758f2 100644 --- a/pages/index/index/index.wxml +++ b/pages/index/index/index.wxml @@ -132,11 +132,11 @@ - - + - + diff --git a/pages/index/index/index.wxss b/pages/index/index/index.wxss index 92a5487..6c07f8a 100644 --- a/pages/index/index/index.wxss +++ b/pages/index/index/index.wxss @@ -267,7 +267,9 @@ left: 10%; width: 203rpx; height: 226rpx; position: relative; - overflow: hidden + overflow: hidden; + + } .imgview image{ width: 203rpx; @@ -660,7 +662,7 @@ margin-top: 10rpx; margin-top: 6rpx; } .seckill-list view.translation{ - width:108rpx;height:20rpx; border-radius: 20rpx;background:#e0e0e0;margin: auto;line-height: 20rpx; + width:108rpx;height:20rpx; border-radius: 20rpx;background:#dfdfdf;margin: auto;line-height: 20rpx; } .seckill-list view.spot{ width:10rpx; @@ -683,12 +685,12 @@ left: 43%; } .translation{ - width:108rpx;height:20rpx; border-radius: 20rpx;background:#e0e0e0;line-height: 20rpx; - bottom: 45rpx; + width:108rpx;height:20rpx; border-radius: 20rpx;background:#b8d1d6;line-height: 20rpx; + bottom: 12rpx; left: 43%; } .translations{ - width:108rpx;height:20rpx; border-radius: 20rpx;background:#e0e0e0;line-height: 20rpx; + width:108rpx;height:20rpx; border-radius: 20rpx;background:#dfdfdf;line-height: 20rpx; bottom: 25rpx; left: 43%; } @@ -703,4 +705,7 @@ left: 43%; @keyframes sport { 0% {transform: translateY(80rpx);opacity: 0;} 100% {transform: translateY(0rpx);opacity: 1} +} +.m-left{ + margin-left: 18rpx; } \ No newline at end of file -- libgit2 0.21.4