Commit 0571deec by 无尘

add: 增加会员详情各个组件

parent 1f23825d
// 防抖
export function _debounce(fn, delay) {
var delay = delay || 200;
var timer;
// console.log(fn)
return function () {
var that = this;
var args = arguments;
if (timer) {
clearTimeout(timer);
}
timer = setTimeout(function () {
timer = null;
fn.apply(that, args);
}, delay);
};
}
// 节流
export function _throttle(fn, interval) {
var last;
var timer;
var interval = interval || 200;
return function () {
var that = this;
var args = arguments;
var now = +new Date();
if (last && now - last < interval) {
clearTimeout(timer);
timer = setTimeout(function () {
last = now;
fn.apply(that, args);
}, interval);
} else {
last = now;
fn.apply(that, args);
}
}
}
......@@ -220,7 +220,7 @@
.content-body {
display: flex;
overflow: hidden;
overflow-y: auto;
.right-wrap {
flex: 1;
......
......@@ -334,6 +334,10 @@ input:focus {
margin-left: 16px;
}
.m-l-20 {
margin-left: 20px;
}
.m-t-10 {
margin-top: 10px;
}
......@@ -350,10 +354,18 @@ input:focus {
margin-right: 8px;
}
.m-r-20 {
margin-right: 20px;
}
.m-b-20 {
margin-bottom: 20px;
}
.p-20 {
padding: 20px;
}
.p-lr-4 {
padding: 0 4px;
}
......@@ -1071,4 +1083,15 @@ input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill {
line-height: 60px;
}
.add-search-select .el-select span {
display: none;
-webkit-transform: scale(0);
-ms-transform: scale(0);
-o-transform: scale(0);
transform: scale(0);
}
.city-select-wrap .el-tabs__content {
overflow: unset;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment