Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
marketing
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
marketing-web
marketing
Commits
8ebe39d1
Commit
8ebe39d1
authored
Nov 25, 2019
by
chenxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: update clipboard
parent
0f8bf461
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
8 deletions
+16
-8
index.html
dist/index.html
+2
-2
main.0b753eaa5279615b6cf6.js
dist/static/js/main.0b753eaa5279615b6cf6.js
+0
-0
main.c11bead6eefebd0a6536.js
dist/static/js/main.c11bead6eefebd0a6536.js
+0
-0
clipboard.js
src/directives/clipboard.js
+14
-6
No files found.
dist/index.html
View file @
8ebe39d1
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
name=
viewport
content=
"width=device-width,initial-scale=1"
><link
rel=
"shortcut icon"
href=
./static/img/favicon.ico
><title>
GIC后台
</title><link
rel=
stylesheet
type=
text/css
href=
static/css/iconfont.css
><link
rel=
stylesheet
type=
text/css
href=
static/css/common.css
><link
rel=
stylesheet
href=
//web-1251519181.file.myqcloud.com/components/element.2.12.0.css
><link
href=
/marketing/static/css/main.37e5651455f3b6a165a474f3459ffbfd.css
rel=
stylesheet
></head><body><div
id=
app
></div><script
src=
//web-1251519181.file.myqcloud.com/lib/vue/2.5.2/vue.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/element.2.12.0.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/header.2.0.33.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/footer.2.0.02.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/card.2.0.02.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/store.2.0.01.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/member-group.2.0.01.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/store-card.2.0.13.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/confirm-people.2.0.01.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/people.2.0.38.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/export-excel.2.0.12.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/input.2.0.00.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/delete.2.0.00.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/selector.1.1.93.js
></script><script
type=
text/javascript
src=
/marketing/static/js/manifest.4d6db5923abb0b2670c0.js
></script><script
type=
text/javascript
src=
/marketing/static/js/vendor.f6e5442e18ed1c7d4a4d.js
></script><script
type=
text/javascript
src=
/marketing/static/js/main.0b753eaa5279615b6cf6.js
></script></body></html>
\ No newline at end of file
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
name=
viewport
content=
"width=device-width,initial-scale=1"
><link
rel=
"shortcut icon"
href=
./static/img/favicon.ico
><title>
GIC后台
</title><link
rel=
stylesheet
type=
text/css
href=
static/css/iconfont.css
><link
rel=
stylesheet
type=
text/css
href=
static/css/common.css
><link
rel=
stylesheet
href=
//web-1251519181.file.myqcloud.com/components/element.2.12.0.css
><link
href=
/marketing/static/css/main.37e5651455f3b6a165a474f3459ffbfd.css
rel=
stylesheet
></head><body><div
id=
app
></div><script
src=
//web-1251519181.file.myqcloud.com/lib/vue/2.5.2/vue.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/element.2.12.0.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/header.2.0.33.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/footer.2.0.02.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/card.2.0.02.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/store.2.0.01.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/member-group.2.0.01.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/store-card.2.0.13.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/confirm-people.2.0.01.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/people.2.0.38.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/export-excel.2.0.12.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/input.2.0.00.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/delete.2.0.00.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/selector.1.1.93.js
></script><script
type=
text/javascript
src=
/marketing/static/js/manifest.4d6db5923abb0b2670c0.js
></script><script
type=
text/javascript
src=
/marketing/static/js/vendor.f6e5442e18ed1c7d4a4d.js
></script><script
type=
text/javascript
src=
/marketing/static/js/main.c11bead6eefebd0a6536.js
></script></body></html>
\ No newline at end of file
dist/static/js/main.0b753eaa5279615b6cf6.js
deleted
100644 → 0
View file @
0f8bf461
This diff is collapsed.
Click to expand it.
dist/static/js/main.c11bead6eefebd0a6536.js
0 → 100644
View file @
8ebe39d1
This diff is collapsed.
Click to expand it.
src/directives/clipboard.js
View file @
8ebe39d1
/**
* v-clipboard 剪切板
*/
// import Vue from 'vue';
export
default
{
bind
(
el
,
binding
,
vnode
,
oldVnode
)
{
let
val
=
''
;
el
.
addEventListener
(
'click'
,
function
()
{
val
=
binding
.
value
;
// let val = '';
el
.
val
=
binding
.
value
;
el
.
handler
=
function
()
{
const
val
=
el
.
val
;
const
input
=
document
.
createElement
(
'input'
);
el
.
appendChild
(
input
);
input
.
value
=
val
;
input
.
select
();
document
.
execCommand
(
'Copy'
);
el
.
__vue__
.
$tips
({
type
:
'success'
,
message
:
'复制
链接
成功'
});
el
.
__vue__
.
$tips
({
type
:
'success'
,
message
:
'复制成功'
});
input
.
parentNode
.
removeChild
(
input
);
});
};
el
.
addEventListener
(
'click'
,
el
.
handler
);
},
update
(
el
,
binding
,
vnode
,
oldVnode
)
{
el
.
val
=
binding
.
value
;
},
unbind
:
function
(
el
)
{
el
.
removeEventListener
(
'click'
,
el
.
handler
);
}
};
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