Skip to content

Commit

Permalink
增加了部分iView-UI组件
Browse files Browse the repository at this point in the history
  • Loading branch information
jaweii committed Aug 22, 2017
1 parent 312a087 commit dd2ba1b
Show file tree
Hide file tree
Showing 38 changed files with 4,404 additions and 123 deletions.
2 changes: 1 addition & 1 deletion dist/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!DOCTYPE html><html><head><meta charset=utf-8><title>Vue-Layout - 可视化布局</title><meta name=viewport content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"><link rel=stylesheet href="https://fonts.googleapis.com/icon?family=Material+Icons"><link rel=stylesheet href=//at.alicdn.com/t/font_383130_czyo4j6dtjxos9k9.css><link rel=stylesheet type=text/css href=https://cdn.jsdelivr.net/jotted/latest/jotted.min.css><link href=./static/css/app.ffc0f3a6debaf908f52fb72d76480876.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.49e47ce4a5e42d5a2ed2.js></script><script type=text/javascript src=./static/js/vendor.dcad2ea7097ee356b6af.js></script><script type=text/javascript src=./static/js/app.f7ebb5a284a8e95b77b8.js></script></body></html>
<!DOCTYPE html><html><head><meta charset=utf-8><title>Vue-Layout - 可视化布局</title><meta name=viewport content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"><link rel=stylesheet href="https://fonts.googleapis.com/icon?family=Material+Icons"><link rel=stylesheet href=//at.alicdn.com/t/font_383130_czyo4j6dtjxos9k9.css><link rel=stylesheet type=text/css href=https://cdn.jsdelivr.net/jotted/latest/jotted.min.css><link href=./static/css/app.8f815a5217633f8b300d053f5e1a1dd7.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.817632f893907d2bff8f.js></script><script type=text/javascript src=./static/js/vendor.f389496c2cf14c167337.js></script><script type=text/javascript src=./static/js/app.82b8a3c9b7913760cfdc.js></script></body></html>
6 changes: 6 additions & 0 deletions dist/static/css/app.8f815a5217633f8b300d053f5e1a1dd7.css

Large diffs are not rendered by default.

Large diffs are not rendered by default.

6 changes: 0 additions & 6 deletions dist/static/css/app.ffc0f3a6debaf908f52fb72d76480876.css

This file was deleted.

This file was deleted.

Binary file added dist/static/fonts/ionicons.05acfdb.woff
Binary file not shown.
Binary file added dist/static/fonts/ionicons.24712f6.ttf
Binary file not shown.
Binary file added dist/static/fonts/ionicons.2c2ae06.eot
Binary file not shown.
2,230 changes: 2,230 additions & 0 deletions dist/static/img/ionicons.621bd38.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions dist/static/js/app.82b8a3c9b7913760cfdc.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/static/js/app.82b8a3c9b7913760cfdc.js.map

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions dist/static/js/app.f7ebb5a284a8e95b77b8.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/static/js/app.f7ebb5a284a8e95b77b8.js.map

This file was deleted.

2 changes: 0 additions & 2 deletions dist/static/js/manifest.49e47ce4a5e42d5a2ed2.js

This file was deleted.

2 changes: 2 additions & 0 deletions dist/static/js/manifest.817632f893907d2bff8f.js

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

Large diffs are not rendered by default.

75 changes: 0 additions & 75 deletions dist/static/js/vendor.dcad2ea7097ee356b6af.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/static/js/vendor.dcad2ea7097ee356b6af.js.map

This file was deleted.

75 changes: 75 additions & 0 deletions dist/static/js/vendor.f389496c2cf14c167337.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/static/js/vendor.f389496c2cf14c167337.js.map

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"dependencies": {
"codemirror": "^5.27.4",
"dragula": "^3.7.2",
"iview": "^2.1.0",
"jotted": "^1.5.1",
"leancloud-storage": "^3.1.0",
"mint-ui": "^2.2.7",
Expand Down Expand Up @@ -98,4 +99,4 @@
"last 2 versions",
"not ie <= 8"
]
}
}
27 changes: 18 additions & 9 deletions src/components/components.vue
Original file line number Diff line number Diff line change
Expand Up @@ -146,20 +146,27 @@
<mt-switch>Switch</mt-switch>
</li>
<li draggable="true" @dragstart="dragStart" data-name="Field">
<mt-field label="Field" placeholder="placeholder" ></mt-field>
<mt-field label="Field" placeholder="placeholder"></mt-field>
</li>
<li draggable="true" @dragstart="dragStart" data-name="Badge">
<mt-badge type="primary">Badge</mt-badge>
<mt-badge type="primary">Badge</mt-badge>
</li>
</ul>
</div>
<div v-if="activeUI === 'iView-UI'">
<ul class="components-list">
<!--
<li draggable="true" @dragstart="dragStart" data-name="Header">
<mt-header fixed title="Header"></mt-header>
</li>
-->
<li draggable="true" @dragstart="dragStart" data-name="Row">
<iview-row />
</li>
<li draggable="true" @dragstart="dragStart" data-name="Button">
<Button size="large">Button</Button>
</li>
<li draggable="true" @dragstart="dragStart" data-name="ButtonGroup">
<iview-button-group />
</li>
<li draggable="true" @dragstart="dragStart" data-name="Icon">
<Icon type="happy-outline" :size="32"/>
</li>
</ul>
</div>
<div v-if="activeUI === 'Element-UI'">
Expand Down Expand Up @@ -195,6 +202,7 @@
<script>
import museUiList from './list/muse-ui'
import mintUiList from './list/mint-ui'
import iViewUiList from './list/iview-ui'
export default {
name: 'components',
data() {
Expand Down Expand Up @@ -231,7 +239,7 @@ export default {
computed: {
activeUI: {
get() {
return this.$store.state.activeUI
return this.$store.state.activeUI
},
set(val) {
this.$store.commit('setState', {
Expand All @@ -242,7 +250,8 @@ export default {
},
components: {
...museUiList,
...mintUiList
...mintUiList,
...iViewUiList
}
}
</script>
Expand Down
1 change: 1 addition & 0 deletions src/components/iconPicker.vue
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- Muse-UI图标选择器 -->
<template>
<section>
<div class="form" style="display:flex;">
Expand Down
Loading

0 comments on commit dd2ba1b

Please sign in to comment.