Skip to content

Commit

Permalink
add demo
Browse files Browse the repository at this point in the history
  • Loading branch information
lucefer committed Aug 7, 2017
1 parent 2ed7b2e commit 64db879
Show file tree
Hide file tree
Showing 11 changed files with 67 additions and 171 deletions.
8 changes: 8 additions & 0 deletions .babelrc
@@ -0,0 +1,8 @@
{
"presets": [["latest", {
"es2015": {
"modules": false
}
}]],
"comments": false
}
10 changes: 6 additions & 4 deletions demo/bubble.vue
Expand Up @@ -17,7 +17,6 @@

<script>
export default {
name: 'bubble',
data() {
return {
list: [
Expand Down Expand Up @@ -46,7 +45,6 @@
]
}
},
methods:{
hide(data) {
console.log("data",data)
Expand All @@ -58,18 +56,22 @@
</script>

<style>
*{
box-sizing: border-box;
}
html,body{
margin:0;
padding:0;
background: #EEE
}
.page-bubble{
padding: 15px;
width: 375px;
max-width: 440px;
width: 100%;
margin: 0 auto;
font-family:Helvetica Neue,Microsoft Yahei,sans-serif;
background: #000;
box-shadow: 0 0 10px #000
box-shadow: 0 0 3px #000
}
h6{
color: #FFF;
Expand Down
2 changes: 1 addition & 1 deletion demo/demo.html
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale = 1.0,user-scalable=0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>气泡拖拽</title>
</head>
Expand Down
122 changes: 39 additions & 83 deletions demo/dist/bundle.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion demo/dist/bundle.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion demo/dist/index.html
@@ -1 +1 @@
<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta http-equiv="X-UA-Compatible" content="ie=edge"><title>气泡拖拽</title><link href="style.css" rel="stylesheet"></head><body><div id="app"></div><script type="text/javascript" src="bundle.js"></script></body></html>
<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0"><meta http-equiv="X-UA-Compatible" content="ie=edge"><title>气泡拖拽</title><link href="style.css" rel="stylesheet"></head><body><div id="app"></div><script type="text/javascript" src="bundle.js"></script></body></html>

0 comments on commit 64db879

Please sign in to comment.