分类 页面 清理

master
zsk 2 years ago
parent c564a83bbb
commit 3effab8e99

@ -133,20 +133,7 @@ Page({
this.wxLogin();
}
var query = wx.createSelectorQuery();
query.select(".page-section").boundingClientRect();
query.exec(function (res) {
//res就是 所有标签为v1的元素的信息 的数组
console.log(res);
//取高度
console.log(res[0].height);
that.setData({
swiperHeight: res[0].height,
});
});
that.searchAnimate();
console.log(that.data.userInfo);
},
showphone: function () {
var that = this;

@ -1,71 +0,0 @@
.container {
/* margin: 10px;
padding: 0 10px; */
padding-bottom: 32px;
margin-bottom: 10px;
background-color: #fff;
border-radius: 8px;
}
.sub {
overflow: hidden;
}
.sub .title {
margin: 32px 0 20px 0;
font-size: 18px;
line-height: 1;
font-weight: bold;
text-align: left;
}
.sub .content {
display: flex;
flex-wrap: wrap;
}
.sub .content > span {
width: calc(32% - 2px);
height: 34px;
line-height: 34px;
border-radius: 4px;
background-color: #fff;
text-align: center;
color: #333;
font-size: 14px;
border: 1px solid transparent;
}
.sub .content > span.active {
background-color: var(--color-ysd-bg);
color: var(--color-ysd);
border-color: var(--color-ysd);
}
.sub .content > span:not(:nth-child(3n)) {
margin-right: 2%;
}
.sub .content > span:not(:nth-last-child(-n + 3)) {
margin-bottom: 12px;
}
.btnBox {
position: sticky;
bottom: 0;
height: 44px;
padding-top: 12px;
display: flex;
justify-content: center;
background-color: #fff;
}
.btnBox button {
width: 128px !important;
height: 32px;
padding: 0;
margin: 0;
border-radius: 24px;
line-height: 32px;
font-size: 14px;
box-sizing: border-box;
}
.btnBox .clearFilter{
margin-right: 20px;
line-height: 30px;
border:1px solid var(--color-ysd);
background-color: #fff;
color: var(--color-ysd);
}

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save