zoukankan      html  css  js  c++  java
  • table

    <template>
      <div class="tem">
       
        <div class="tem-content">
    
           <table id="list" class="">
        <tbody>
            <tr >
            <td class="text_overflowd"  style="50%">呜呜呜呜呜呜呜呜无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无无</td>
            <td style="20%" >呜无无无无无无</td>
            <td style="30%" >呜无无无无无无</td>
          </tr>
          <tr >
            <td  style="50%">
              <table class="w">
                    <tr> 
                      <td style="20%">1111111111111111111111111111111111111111111111111111111111111</td>
                      <td  style="80%">2</td>
                    </tr>
            </table>
            </td>
            <td style="20%" >呜无无无无无无</td>
            <td style="30%" >呜无无无无无无</td>
          </tr>
        </tbody>
        </table>
        </div>
      
      </div>
    </template>
    
    <script>
    
    
    export default {
      name: "Tem1",
    
      data() {
        return {};
      },
      props: {},
      watch: { },
      methods: {},
    };
    </script>
    
    <style lang="scss" scoped>
    .tem {
      height: 100%;
    
      .tem-content {
        width: 100%;
        table {
          width: 100%;
          border-collapse: collapse;
          text-align: center;
           table-layout: fixed;
        }
       
        td {
          border: 1px solid #999;
          height: 40px;
        
          word-break: break-all;
        }
      }
    
    }
    
    </style>
  • 相关阅读:
    MySQL(数据库)
    移动端兼容
    Vue常用指令
    JS浮点运算精度问题
    ES11新增的9个新特性
    后端要采用ArrayBuffer上传文件
    重磅来袭 Vue 3.0 One Piece 正式发布
    Vue 事件的高级使用方法
    浏览器的回流与重绘(Reflow&Repaint)
    微前端介绍
  • 原文地址:https://www.cnblogs.com/dianzan/p/15473388.html
Copyright © 2011-2022 走看看