Skip to content

Commit

Permalink
调整目录结构
Browse files Browse the repository at this point in the history
  • Loading branch information
BelinChung committed Dec 14, 2015
1 parent e3cf099 commit ba293c0
Show file tree
Hide file tree
Showing 137 changed files with 120 additions and 2,675 deletions.
89 changes: 89 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
# Created by http://www.gitignore.io

### OSX ###
.DS_Store
.AppleDouble
.LSOverride

# Icon must end with two \r
Icon


# Thumbnails
._*

# Files that might appear on external disk
.Spotlight-V100
.Trashes

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk


### WebStorm ###
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm

## Directory-based project format
.idea/
# if you remove the above rule, at least ignore user-specific stuff:
# .idea/workspace.xml
# .idea/tasks.xml
# and these sensitive or high-churn files:
# .idea/dataSources.ids
# .idea/dataSources.xml
# .idea/sqlDataSources.xml
# .idea/dynamic.xml

## File-based project format
*.ipr
*.iws
*.iml

## Additional for IntelliJ
out/

# generated by mpeltonen/sbt-idea plugin
.idea_modules/

# generated by JIRA plugin
atlassian-ide-plugin.xml

# generated by Crashlytics plugin (for Android Studio and Intellij)
com_crashlytics_export_strings.xml


### Node ###
# Logs
logs
*.log

# Runtime data
pids
*.pid
*.seed

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release

# Dependency directory
# Commenting this out is preferred by some people, see
# https://npmjs.org/doc/faq.html#Should-I-check-my-node_modules-folder-into-git
node_modules

# Users Environment Variables
.lock-wscript

# project
build/
static/
temp/
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
22 changes: 11 additions & 11 deletions src/main.js → example/main.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
import Vue from 'vue'
import Router from 'vue-router'

import App from './example/App.vue'
import IndexView from './example/IndexView.vue'
import ButtonView from './example/ButtonView.vue'
import ToastView from './example/ToastView.vue'
import DialogView from './example/DialogView.vue'
import ActionSheet from './example/ActionSheetView.vue'
import MsgView from './example/MsgView.vue'
import ArticleView from './example/ArticleView.vue'
import CellView from './example/CellView.vue'
import ProgressView from './example/ProgressView.vue'
import IconsView from './example/IconsView.vue'
import App from './modules/App.vue'
import IndexView from './modules/IndexView.vue'
import ButtonView from './modules/ButtonView.vue'
import ToastView from './modules/ToastView.vue'
import DialogView from './modules/DialogView.vue'
import ActionSheet from './modules/ActionSheetView.vue'
import MsgView from './modules/MsgView.vue'
import ArticleView from './modules/ArticleView.vue'
import CellView from './modules/CellView.vue'
import ProgressView from './modules/ProgressView.vue'
import IconsView from './modules/IconsView.vue'

// install router
Vue.use(Router)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</template>

<script>
import Actionsheet from '../components/action-sheet/ActionSheet.vue'
import Actionsheet from '../../src/action-sheet/ActionSheet.vue'
export default {
name: 'ActionSheetView',
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions src/example/CellView.vue → example/modules/CellView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -280,8 +280,8 @@
</template>

<script>
import WeSelect from '../components/cell/Select.vue'
import Tooltips from '../components/msg//Tooltips.vue'
import WeSelect from '../../src/cell/Select.vue'
import Tooltips from '../../src/msg//Tooltips.vue'
export default {
name: 'CellView',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

<script>
import Dialog from '../components/dialog/Dialog.vue'
import Dialog from '../../src/dialog/Dialog.vue'
export default {
name: 'DialogView',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
</template>

<script>
import Icon from '../components/icon/Icon.vue'
import Icon from '../../src/icon/Icon.vue'
export default {
name: 'IconsView',
Expand Down
18 changes: 9 additions & 9 deletions src/example/IndexView.vue → example/modules/IndexView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,71 +8,71 @@
<div class="weui_cells weui_cells_access global_navs">
<!-- <a v-link="{ name: 'user', params: { userId: 123 }}">User</a> -->
<a class="weui_cell js_cell" v-link="'button'" data-id="cell">
<span class="weui_cell_hd"><img src="../../images/icon_nav_button.png" class="icon_nav" alt=""></span>
<span class="weui_cell_hd"><img src="../images/icon_nav_button.png" class="icon_nav" alt=""></span>
<div class="weui_cell_bd weui_cell_primary">
<p>Button</p>
</div>
<div class="weui_cell_ft">
</div>
</a>
<a class="weui_cell js_cell" v-link="'cell'" data-id="cell">
<span class="weui_cell_hd"><img src="../../images/icon_nav_cell.png" class="icon_nav" alt=""></span>
<span class="weui_cell_hd"><img src="../images/icon_nav_cell.png" class="icon_nav" alt=""></span>
<div class="weui_cell_bd weui_cell_primary">
<p>Cell</p>
</div>
<div class="weui_cell_ft">
</div>
</a>
<a class="weui_cell js_cell" v-link="'toast'" data-id="toast">
<span class="weui_cell_hd"><img src="../../images/icon_nav_toast.png" class="icon_nav" alt=""></span>
<span class="weui_cell_hd"><img src="../images/icon_nav_toast.png" class="icon_nav" alt=""></span>
<div class="weui_cell_bd weui_cell_primary">
<p>Toast</p>
</div>
<div class="weui_cell_ft">
</div>
</a>
<a class="weui_cell js_cell" v-link="'dialog'" href="javascript:;" data-id="dialog">
<span class="weui_cell_hd"><img src="../../images/icon_nav_dialog.png" class="icon_nav" alt=""></span>
<span class="weui_cell_hd"><img src="../images/icon_nav_dialog.png" class="icon_nav" alt=""></span>
<div class="weui_cell_bd weui_cell_primary">
<p>Dialog</p>
</div>
<div class="weui_cell_ft">
</div>
</a>
<a class="weui_cell js_cell" v-link="'progress'" data-id="progress">
<span class="weui_cell_hd"><img src="../../images/icon_nav_button.png" class="icon_nav" alt=""></span>
<span class="weui_cell_hd"><img src="../images/icon_nav_button.png" class="icon_nav" alt=""></span>
<div class="weui_cell_bd weui_cell_primary">
<p>Progress</p>
</div>
<div class="weui_cell_ft">
</div>
</a>
<a class="weui_cell js_cell" v-link="'msg'" data-id="msg">
<span class="weui_cell_hd"><img src="../../images/icon_nav_msg.png" class="icon_nav" alt=""></span>
<span class="weui_cell_hd"><img src="../images/icon_nav_msg.png" class="icon_nav" alt=""></span>
<div class="weui_cell_bd weui_cell_primary">
<p>Msg Page</p>
</div>
<div class="weui_cell_ft">
</div>
</a>
<a class="weui_cell js_cell" v-link="'article'" data-id="article">
<span class="weui_cell_hd"><img src="../../images/icon_nav_article.png" class="icon_nav" alt=""></span>
<span class="weui_cell_hd"><img src="../images/icon_nav_article.png" class="icon_nav" alt=""></span>
<div class="weui_cell_bd weui_cell_primary">
<p>Article Page</p>
</div>
<div class="weui_cell_ft">
</div>
</a>
<a class="weui_cell js_cell" v-link="'actionsheet'" data-id="actionSheet">
<span class="weui_cell_hd"><img src="../../images/icon_nav_actionSheet.png" class="icon_nav" alt=""></span>
<span class="weui_cell_hd"><img src="../images/icon_nav_actionSheet.png" class="icon_nav" alt=""></span>
<div class="weui_cell_bd weui_cell_primary">
<p>ActionSheet</p>
</div>
<div class="weui_cell_ft">
</div>
</a>
<a class="weui_cell js_cell" v-link="'icons'" data-id="icons">
<span class="weui_cell_hd"><img src="../../images/icon_nav_icons.png" class="icon_nav" alt=""></span>
<span class="weui_cell_hd"><img src="../images/icon_nav_icons.png" class="icon_nav" alt=""></span>
<div class="weui_cell_bd weui_cell_primary">
<p>Icons</p>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/example/MsgView.vue → example/modules/MsgView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</template>

<script>
import Msg from '../components/msg/Msg.vue'
import Msg from '../../src/msg/Msg.vue'
export default {
name:'MsgView',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

<script>
import Progress from '../components/progress/Progress.vue'
import Progress from '../../src/progress/Progress.vue'
export default {
name: 'ProgressView',
Expand Down
4 changes: 2 additions & 2 deletions src/example/ToastView.vue → example/modules/ToastView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@

<script>
import Toast from '../components/toast/Toast.vue'
import Loading from '../components/toast/Loading.vue'
import Toast from '../../src/toast/Toast.vue'
import Loading from '../../src/toast/Loading.vue'
export default {
name: 'ToastView',
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,12 @@
"name": "vue-weui",
"version": "1.0.0",
"description": "",
"main": "index.js",
"devDependencies": {
"babel-core": "^6.1.21",
"babel-loader": "^6.1.0",
"babel-plugin-transform-runtime": "^6.1.18",
"babel-preset-es2015": "^6.1.18",
"babel-runtime": "^6.1.18",
"babel-runtime": "^5.8.0",
"css-loader": "^0.21.0",
"style-loader": "^0.13.0",
"stylus-loader": "^1.4.0",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
137 changes: 0 additions & 137 deletions src/components/icon/Icon.vue

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file removed static/610c6bab9d5a2f510228cbe7bb45a1c7.png
Binary file not shown.
6 changes: 0 additions & 6 deletions static/build.js

This file was deleted.

104 changes: 0 additions & 104 deletions temp/src/example/example.js

This file was deleted.

Loading

0 comments on commit ba293c0

Please sign in to comment.