Browse Source

修改比赛详情样式

zs 3 năm trước cách đây
mục cha
commit
2860646efd
2 tập tin đã thay đổi với 9 bổ sung13 xóa
  1. 1 1
      pages/match/detail.wxml
  2. 8 12
      pages/match/detail.wxss

+ 1 - 1
pages/match/detail.wxml

@@ -18,7 +18,7 @@
             <text class="text3">{{schedulelist.red_branch||0}}</text>
           </view>
           <view class="one_2_2">
-            <text class="text">{{schedulelist.status=='0'?'开始':schedulelist.status=='1'?'开始':'结束'}}</text>
+            <text class="text">{{schedulelist.status=='0'?'开始':schedulelist.status=='1'?'开始':'结束'}}</text>
           </view>
         </view>
         <view class="one_3">

+ 8 - 12
pages/match/detail.wxss

@@ -2,6 +2,10 @@
   position: relative;
   width: 100%;
 }
+.ones{
+  float: left;
+  width: 100%;
+}
 
 .two {
   background-color: #ffffff;
@@ -10,14 +14,14 @@
 }
 
 .two1 {
-  width: 100%;
+  width: 95%;
   margin-left: 4%;
   font-size: 15px;
   font-weight: 550;
 }
 
 .tworight {
-  width: 100%;
+  width: 95%;
   float: left;
   padding: 2%;
   background-color: #ffffff;
@@ -82,7 +86,7 @@
   padding-top: 7px;
   padding-left: 5px;
   float: left;
-  width: 15%;
+  width: 16%;
   height: 75px;
   background-color: #ffffff;
   /* border: 1px solid red; */
@@ -171,13 +175,6 @@
   width: 100%;
 }
 
-.onea {
-  font-weight: 600;
-  position: absolute;
-  top: 5%;
-  left: 2%;
-}
-
 .back {
   width: 40rpx;
   height: 40rpx;
@@ -271,6 +268,7 @@
 }
 
 .one_2_2 {
+  margin-top: 8%;
   text-align: center;
 }
 
@@ -292,8 +290,6 @@
 
 .text {
   font-size: 15px;
-  position: relative;
-  top: 9px;
   text-align: center;
 }