Browse Source

20180516添加地址组件配置

liaoyanli5 7 years ago
parent
commit
9e8d2e508b
7 changed files with 56 additions and 4 deletions
  1. 7 0
      config.json
  2. 0 3
      dist/nutui.js
  3. 0 1
      dist/nutui.js.map
  4. 0 0
      src/demo/choose.vue
  5. 7 0
      src/package/choose/index.js
  6. 17 0
      src/package/choose/src/choose.vue
  7. 25 0
      src/view/choose.vue

+ 7 - 0
config.json

@@ -277,6 +277,13 @@
       "type": "component",
       "type": "component",
       "desc": "图片选取组件。",
       "desc": "图片选取组件。",
       "showDemo": true
       "showDemo": true
+    },
+    {
+      "name": "Choose",
+      "chnName": "抽屉式选择(���(含地址选�))",
+      "desc": "多用于�地址��选择,�默可配置参数",
+      "type": "component",
+      "showDemo": true
     }
     }
   ]
   ]
 }
 }

File diff suppressed because it is too large
+ 0 - 3
dist/nutui.js


+ 0 - 1
dist/nutui.js.map

@@ -1 +0,0 @@
-{"version":3,"file":"nutui.js","sources":[],"mappings":";A","sourceRoot":""}

+ 0 - 0
src/demo/choose.vue


+ 7 - 0
src/package/choose/index.js

@@ -0,0 +1,7 @@
+import Choose from './src/choose.vue';
+
+Choose.install = function(Vue) {
+  Vue.component(Choose.name, Choose);
+};
+
+export default Choose

+ 17 - 0
src/package/choose/src/choose.vue

@@ -0,0 +1,17 @@
+<template>
+    <div class="nut-choose"></div>
+</template>
+<script>
+export default {
+    name:'nut-choose',
+    props: {
+    },
+    data() {
+        return {};
+    },
+    methods: {
+    }
+}
+</script>
+<style lang="scss">
+</style>

+ 25 - 0
src/view/choose.vue

@@ -0,0 +1,25 @@
+<template>
+    <div>
+        <!-- 组件名和描述 -->
+        <nut-demoheader 
+        :name="$route.name"
+        ></nut-demoheader>
+
+        <!-- DEMO区域 -->
+        <!-- <nut-switch :height="30" :width="60" @switch-on="switchOn" @switch-off="switchOff"></nut-switch> -->
+    </div>
+</template>
+
+<script>
+export default {
+    data(){
+        return{
+        }
+    },
+    methods:{
+    }
+}
+</script>
+
+<style lang="scss">
+</style>