¥
¥
利用template 渲染后的数据 为什么a链接点击无法跳转
使用mui框架 在手机上测试
css样式 less写的
ul {
li {
float: left;
width: ~"calc(50% - 6px)";
text-align: center;
background-color: #fff;
margin: 3px 3px 5px 3px;
padding-bottom: 5px;
box-shadow: 4px 4px 4px #ccc;
a:first-of-type {
display: block;
text-align: center;
img {
width: 100%;
}
.one {
text-align: left;
font-size: 12px;
color: #333;
}
.two {
font-size: 12px;
span {
&:first-of-type {
color: #222;
font-weight:700;
}
&:last-of-type {
color: #555;
text-decoration: line-through;
}
}
}
}
a:last-of-type {
display: inline-block;
font-size: 12px;
width: 60%;
width: 80px;
border-radius: 4px;
}
}
}
html结构
李宁闪击篮球鞋驭帅10镭射队尚4男韦德之道空袭中高帮队尚3.5球鞋
¥499.1
¥888.1