Html
    Css
    Js

    
                        
* {
	margin:0;
	padding:0;
}
ul,li {
	list-style:none;
}
.clear {
	clear:both;
}
.wrap {
	width:1200px;
	margin:50px auto;
}
.wrap .wrap_header {
	width:100%;
	padding:15px 10px;
	box-sizing:border-box;
	background:rgba(195,239,255,0.3);
}
.wrap .wrap_header h1 {
	display:inline;
	color:#666;
	font-size:15px;
}
.wrap .wrap_header span {
	display:inline-block;
	padding:2px 10px;
	background:#ffe4c6;
	color:#f78000;
	border:1px solid #ffbf7b;
	font-size:12px;
	border-radius:5px;
	margin-right:30px;
	position:relative;
}
.wrap .wrap_header span .pos {
	position:absolute;
	top:-1px;
	right:-15px;
	display:block;
	width:15px;
	height:100%;
	background:#ff9191;
	color:#fff;
	text-align:center;
	border:1px solid #ff9191;
	border-radius:0 5px 5px 0;
	cursor:pointer;
}
.wrap .contenter {
	background:rgba(235,250,255,0.3);
	padding:15px;
	box-sizing:border-box;
}
.wrap .block {
	width:100%;
	float:left;
	padding:15px 0;
	border-bottom:1px dashed #e5e5e5;
}
.wrap .block:nth-of-type(4) {
	border:none;
}
.wrap .block .title {
	float:left;
	color:#f78000;
	font-size:15px;
	margin-right:30px;
}
.wrap .block ul {
	float:left;
}
.wrap .block ul li {
	float:left;
	font-size:13px;
	color:#666;
	margin-right:20px;
	line-height:22px;
	cursor:pointer;
}
.wrap .block ul li.one {
	background:rgba(195,239,255,0.3)
}

                        
↑上面代码改变,会自动显示代码结果 jQuery调用版本:1.11.3
 立即下载

vue产品筛选

vue写的商城产品筛选,适合初学者学习

7
      王鹏0
      2021/8/12 10:47:47
      this.$(this.cont, con, index)
          王鹏0
          2021/8/12 10:48:54
          $后加
      回复
      不是每个超人都叫咸蛋0
      2019/8/5 15:19:41
      不是每个超人都叫咸蛋0
      2019/8/5 15:19:02
      ??1
      2019/2/11 12:27:49
      删除方法语句应该这样写:少了方法 this.$(this.cont, con, index)
          ??0
          2019/2/11 13:47:54
          $后面少了
      回复
      ??0
      2019/2/11 12:21:14
      点击×号,删除不了 回复