<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title></title>
</head>
<style>
*{margin: 0;
padding:0}
li{list-style: none;
height: 50px;
background: red;}
.active {
background: yellow;
color: white;}
#ul li{
width: 19%;
float: left;
text-align: center;
vertical-align: middle;
margin: 0 2px;
cursor: pointer;
}

</style>
<body>
<div>
<ul )
}




</script>
</body>
</html>


//其实里面还有些缺陷的:
第一:在创建title的时候,必须数据库取出来的数据有5个模块,不然中间少几个模块,相对应的顺序就会改变了
注:有高手能搞定的或者其中还有什么问题,请发到836337706@qq.com谢谢了。

相关文章:

  • 2021-09-11
  • 2022-12-23
  • 2021-12-15
  • 2022-12-23
  • 2021-05-13
猜你喜欢
  • 2022-01-21
  • 2021-07-26
  • 2021-08-12
  • 2021-12-27
  • 2021-07-31
  • 2022-12-23
  • 2022-01-02
相关资源
相似解决方案