浏览代码

调整图片位置

stanley-king 8 年之前
父节点
当前提交
2171746f80
共有 1 个文件被更改,包括 8 次插入6 次删除
  1. 8 6
      data/resource/mobile/activity/css/count_down.css

+ 8 - 6
data/resource/mobile/activity/css/count_down.css

@@ -1,6 +1,5 @@
 .maincontent {
 .maincontent {
-    font-family: "PingFang SC";
-    min-height: 4.36rem;
+    font-family: PingFang SC,Hiragino Sans GB,Microsoft YaHei,微软雅黑,Arial,sans-serif;;
     background: #fff;
     background: #fff;
     width: 10rem;
     width: 10rem;
     margin: 0 auto;
     margin: 0 auto;
@@ -9,26 +8,29 @@
 }
 }
 img {
 img {
     width: 100%;
     width: 100%;
+    vertical-align: middle;
 }
 }
 .count_down_content,.count_down_image {
 .count_down_content,.count_down_image {
     float: left;
     float: left;
 }
 }
 .count_down_content {
 .count_down_content {
-    width: 5.63rem;
+    width: 6.07rem;
     text-align: center;
     text-align: center;
-    padding-top: 0.7rem;
     overflow: hidden;
     overflow: hidden;
+    min-height: 3.76rem;
 }
 }
 .count_down_image {
 .count_down_image {
-    width: 4.37rem;
+    width: 3.2rem;
+    margin-top: 0.28rem;
 }
 }
 .count_down_content h3 {
 .count_down_content h3 {
     font-size: 0.43rem;
     font-size: 0.43rem;
+    margin-top: 0.49rem;
 }
 }
 .time_box {
 .time_box {
     font-family: "helvetica";
     font-family: "helvetica";
     overflow: hidden;
     overflow: hidden;
-    margin: 0.31rem auto 0.52rem auto;
+    margin: 0.31rem auto 0.41rem auto;
     width: 2.39rem;
     width: 2.39rem;
     font-size: 0.43rem;
     font-size: 0.43rem;
     line-height: 0.68rem;
     line-height: 0.68rem;