diff --git a/view/peko/home/css/index.css b/view/peko/home/css/index.css index 7e837c9..8ee0c7b 100644 --- a/view/peko/home/css/index.css +++ b/view/peko/home/css/index.css @@ -24,11 +24,11 @@ } body .homePc .diamound, html .homePc .diamound { - width: 1.46667rem; - height: 0.53333rem; + width: 1.2rem; + height: 0.5rem; line-height: 0.46667rem; color: #FFFFFF; - font-size: 0.32rem; + font-size: 0.25rem; text-align: center; background: rgba(255, 255, 255, 0.2); border-radius: 0.53333rem; @@ -36,14 +36,14 @@ border: 1px solid #fff; position: absolute; right: 3.46667rem; - top: 0.30667rem; + top: 0.3rem; vertical-align: middle; } body .homePc .diamound img, html .homePc .diamound img { display: inline-block; - width: 0.4rem; - height: 0.4rem; + width: 0.33rem; + height: 0.33rem; vertical-align: middle; margin-top: -0.01rem; } diff --git a/view/peko/home/css/index.scss b/view/peko/home/css/index.scss index aea5c93..6cb4e2e 100644 --- a/view/peko/home/css/index.scss +++ b/view/peko/home/css/index.scss @@ -195,11 +195,11 @@ position: relative; .diamound { - width: px2rem(110); - height: px2rem(40); + width: 1.2rem; + height: 0.5rem; line-height: px2rem(35); color: #FFFFFF; - font-size: px2rem(24); + font-size: 0.25rem; text-align: center; background: rgba(255, 255, 255, 0.2); border-radius: px2rem(40); @@ -207,13 +207,13 @@ border: 1px solid #fff; position: absolute; right: px2rem(260); - top: px2rem(23); + top: 0.3rem; vertical-align: middle; img { display: inline-block; - width: px2rem(30); - height: px2rem(30); + width: 0.33rem; + height: 0.33rem; vertical-align: middle; margin-top: -0.01rem; } diff --git a/view/peko/home/index.html b/view/peko/home/index.html index 37e8208..7bdb570 100644 --- a/view/peko/home/index.html +++ b/view/peko/home/index.html @@ -15,7 +15,7 @@