Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
memberTag-web
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
memberTag
memberTag-web
Commits
0571deec
Commit
0571deec
authored
Oct 23, 2018
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add: 增加会员详情各个组件
parent
1f23825d
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
63 additions
and
1 deletions
+63
-1
public.js
src/common/js/public.js
+39
-0
index.vue
src/view/index/index.vue
+1
-1
myTagDetail.vue
src/view/myTag/myTagDetail.vue
+0
-0
public.css
static/css/public.css
+23
-0
No files found.
src/common/js/public.js
0 → 100644
View file @
0571deec
// 防抖
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
);
}
}
}
src/view/index/index.vue
View file @
0571deec
...
...
@@ -220,7 +220,7 @@
.content-body
{
display
:
flex
;
overflow
:
hidden
;
overflow
-y
:
auto
;
.right-wrap
{
flex
:
1
;
...
...
src/view/myTag/myTagDetail.vue
View file @
0571deec
This diff is collapsed.
Click to expand it.
static/css/public.css
View file @
0571deec
...
...
@@ -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
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment