mpvue:table

  <template>
     <div class="gen-schedule-card">
       <div class="gen-table">
         <div class="gen-tr">
           <div class="gen-td">
               <div class="time">
                 10:00
               </div>
           </div>
           <div class="gen-td">
             aaa
           </div>
           <div class="gen-td">
             aaa
           </div>
           <div class="gen-td">
             aaa
           </div>
         </div>
         <div class="gen-tr">
           <div class="gen-td">
             <div class="schedule-name">赛事名称赛事名称赛事名称</div>
           </div>
           <div class="gen-td">
             aaa
           </div>
           <div class="gen-td">
             aaa
           </div>
           <div class="gen-td">
             aaa
           </div>
         </div>
       </div>
  
     </div>
  </template>
    <script>
    
        export default {
    
        }
    </script>
 <style scoped lang="less">
     @import '../common/common.less';
    .gen-table {
      border: 0px solid darkgray;
      .gen-tr {
        display: flex;
        width: 100%;
        justify-content: center;
        /*height: 5vh;*/
        align-items: center;
      }
      .gen-td {
        width:40%;
        justify-content: center;
        text-align: center;
      }
      .gen-th {
        width: 40%;
        justify-content: center;
        background: #3366FF;
        color: #fff;
        display: flex;
        height: 3rem;
        align-items: center;
      }
    }
      .gen-schedule-card{
        height: 10.8vh;
        width: 92vw;
        margin: 4vw 0;
        background-color: #fff;
        border-radius: 8rpx;
      }
      .gen-tr{
        height: 5vh;
        /*line-height: 4vh;*/
      }
      .time,.schedule-name{
        margin-left: 4vw;
        width: 25vw;
        text-align: left;
      }
      .time{
        font-size: 32rpx;
        margin-top: 2.7vh;
    
      }
      .schedule-name{
        color: #777;
        font-size: 20rpx;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }
    
 </style>
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值