meixioacomponent 0.3.26 → 0.3.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,42 +1,42 @@
1
1
  {
2
- "name": "meixioacomponent",
3
- "version": "0.3.26",
4
- "private": false,
5
- "author": "YuRi",
6
- "main": "lib/meixioacomponent.umd.min.js",
7
- "scripts": {
8
- "serve": "vue-cli-service serve",
9
- "lib": "vue-cli-service build --target lib --name meixioacomponent --dest lib packages/components/index.js",
10
- "build:theme": "cp-cli packages/components/style/ lib/style"
11
- },
12
- "dependencies": {
13
- "axios": "^0.27.2",
14
- "core-js": "^3.6.5",
15
- "cp-cli": "^1.0.2",
16
- "dayjs": "^1.11.3",
17
- "element-ui": "^2.15.6",
18
- "gulp": "^4.0.0",
19
- "register-service-worker": "^1.7.1",
20
- "vue": "^2.6.11",
21
- "vue-router": "^3.2.0",
22
- "vuedraggable": "^2.24.3",
23
- "vuex": "^3.4.0"
24
- },
25
- "devDependencies": {
26
- "@vue/cli-plugin-babel": "~4.5.13",
27
- "@vue/cli-plugin-pwa": "~4.5.13",
28
- "@vue/cli-plugin-router": "~4.5.13",
29
- "@vue/cli-plugin-vuex": "~4.5.13",
30
- "@vue/cli-service": "~4.5.13",
31
- "babel-plugin-component": "^1.1.1",
32
- "babel-plugin-transform-remove-console": "^6.9.4",
33
- "less": "^3.0.4",
34
- "less-loader": "^5.0.0",
35
- "vue-template-compiler": "^2.6.11"
36
- },
37
- "browserslist": [
38
- "> 1%",
39
- "last 2 versions",
40
- "not dead"
41
- ]
42
- }
2
+ "name": "meixioacomponent",
3
+ "version": "0.3.27",
4
+ "private": false,
5
+ "author": "YuRi",
6
+ "main": "lib/meixioacomponent.umd.min.js",
7
+ "scripts": {
8
+ "serve": "vue-cli-service serve",
9
+ "lib": "vue-cli-service build --target lib --name meixioacomponent --dest lib packages/components/index.js",
10
+ "build:theme": "cp-cli packages/components/style/ lib/style"
11
+ },
12
+ "dependencies": {
13
+ "axios": "^0.27.2",
14
+ "core-js": "^3.6.5",
15
+ "cp-cli": "^1.0.2",
16
+ "dayjs": "^1.11.3",
17
+ "element-ui": "^2.15.6",
18
+ "gulp": "^4.0.0",
19
+ "register-service-worker": "^1.7.1",
20
+ "vue": "^2.6.11",
21
+ "vue-router": "^3.2.0",
22
+ "vuedraggable": "^2.24.3",
23
+ "vuex": "^3.4.0"
24
+ },
25
+ "devDependencies": {
26
+ "@vue/cli-plugin-babel": "~4.5.13",
27
+ "@vue/cli-plugin-pwa": "~4.5.13",
28
+ "@vue/cli-plugin-router": "~4.5.13",
29
+ "@vue/cli-plugin-vuex": "~4.5.13",
30
+ "@vue/cli-service": "~4.5.13",
31
+ "babel-plugin-component": "^1.1.1",
32
+ "babel-plugin-transform-remove-console": "^6.9.4",
33
+ "less": "^3.0.4",
34
+ "less-loader": "^5.0.0",
35
+ "vue-template-compiler": "^2.6.11"
36
+ },
37
+ "browserslist": [
38
+ "> 1%",
39
+ "last 2 versions",
40
+ "not dead"
41
+ ]
42
+ }
@@ -8,6 +8,8 @@
8
8
  :color="`d`"
9
9
  :plain="true"
10
10
  :name="source"
11
+ :event="event"
12
+ @iconClick="iconClick"
11
13
  v-else-if="type == 'icon'"
12
14
  >
13
15
  </base-icon>
@@ -45,6 +47,10 @@ export default {
45
47
  default: false,
46
48
  },
47
49
  value: {},
50
+ event:{
51
+ type:Boolean,
52
+ default:false,
53
+ },
48
54
  },
49
55
  computed: {
50
56
  module: {
@@ -56,6 +62,11 @@ export default {
56
62
  },
57
63
  },
58
64
  },
65
+ methods:{
66
+ iconClick(){
67
+ this.$emit('iconClick');
68
+ }
69
+ }
59
70
  };
60
71
  </script>
61
72
 
package/src/App.vue ADDED
@@ -0,0 +1,65 @@
1
+ <template>
2
+ <div id="app">
3
+ <div style="height: 100vh">
4
+ <test />
5
+
6
+ <!-- <base-time-line
7
+ :hasTimeWeek="false"
8
+ :timeLineSource="items"
9
+ ></base-time-line> -->
10
+
11
+ <!-- <base-popover-button
12
+ v-model="test"
13
+ iconClass="element"
14
+ buttonIcon="el-icon-delete-solid"
15
+ ></base-popover-button>
16
+
17
+ <base-icon iconClass="element" name="el-icon-delete-solid" :event="true"> </base-icon> -->
18
+ </div>
19
+ </div>
20
+ </template>
21
+
22
+ <script>
23
+ import test from "./component/test.vue";
24
+
25
+ import BaseArea from "../packages/components/base/baseArea/baseArea.vue";
26
+ import BaseTimeLine from "../packages/components/base/baseTimeLine/baseTimeLine.vue";
27
+ export default {
28
+ components: { test, BaseArea, BaseTimeLine },
29
+ data() {
30
+ return {
31
+ test: [],
32
+ items: [
33
+ { type: "", label: "标签一" },
34
+ { type: "success", label: "标签二" },
35
+ { type: "info", label: "标签三" },
36
+ { type: "danger", label: "标签四" },
37
+ { type: "warning", label: "标签五" },
38
+ ],
39
+ value: [],
40
+ value2: [],
41
+ value3: [],
42
+ };
43
+ },
44
+ mounted() {},
45
+ methods: {},
46
+ };
47
+ </script>
48
+
49
+ <style lang="less" scoped>
50
+ .add-company-step-three-wrap {
51
+ width: 100%;
52
+ height: 100%;
53
+ overflow-y: auto;
54
+ .upload-wrap {
55
+ width: 100%;
56
+ height: 170px;
57
+ display: flex;
58
+ align-items: center;
59
+ justify-content: center;
60
+ /deep/ .base-upload-item-wrap {
61
+ margin: 0px;
62
+ }
63
+ }
64
+ }
65
+ </style>
Binary file