微信小程序手写table表格

wxml


  
    张三
    李四
    王五
    赵六
  
  
    
      
      
      
      
    
  

wxss:想加其他样式得可以自己+

.tr {
  display: flex;
  width: 100%;
  justify-content: center;
  height: 3rem;
  align-items: center;
}

.td {
  width: 40%;
  justify-content: center;
  text-align: center;
}

.th {
  width: 40%;
  justify-content: center;
  /* color: #fff; */
  display: flex;
  height: 3rem;
  align-items: center;
font-size: 15px;
}

总结:有循环的可以自己填写数据

你可能感兴趣的:(微信小程序,notepad++,小程序)