diff --git a/packages/goods-action-big-btn/index.js b/packages/goods-action-big-btn/index.js
new file mode 100644
index 000000000..8440d9055
--- /dev/null
+++ b/packages/goods-action-big-btn/index.js
@@ -0,0 +1,39 @@
+import { use } from '../utils';
+import Button from '../button';
+import RouterLink from '../mixins/router-link';
+
+const [sfc, bem] = use('goods-action-big-btn');
+
+export default sfc({
+ mixins: [RouterLink],
+
+ props: {
+ text: String,
+ primary: Boolean,
+ loading: Boolean,
+ disabled: Boolean
+ },
+
+ methods: {
+ onClick(event) {
+ this.$emit('click', event);
+ this.routerLink();
+ }
+ },
+
+ render(h) {
+ return (
+
+ );
+ }
+});
diff --git a/packages/goods-action-big-btn/index.vue b/packages/goods-action-big-btn/index.vue
deleted file mode 100644
index 0de9c451c..000000000
--- a/packages/goods-action-big-btn/index.vue
+++ /dev/null
@@ -1,43 +0,0 @@
-
-
- {{ text }}
-
-
-
-
diff --git a/packages/goods-action-mini-btn/index.js b/packages/goods-action-mini-btn/index.js
new file mode 100644
index 000000000..19eecb3d0
--- /dev/null
+++ b/packages/goods-action-mini-btn/index.js
@@ -0,0 +1,32 @@
+import { use } from '../utils';
+import Icon from '../icon';
+import RouterLink from '../mixins/router-link';
+
+const [sfc, bem] = use('goods-action-mini-btn');
+
+export default sfc({
+ mixins: [RouterLink],
+
+ props: {
+ text: String,
+ info: [String, Number],
+ icon: String,
+ iconClass: String
+ },
+
+ methods: {
+ onClick(event) {
+ this.$emit('click', event);
+ this.routerLink();
+ }
+ },
+
+ render(h) {
+ return (
+
+
+ {this.$slots.default || this.text}
+
+ );
+ }
+});
diff --git a/packages/goods-action-mini-btn/index.vue b/packages/goods-action-mini-btn/index.vue
deleted file mode 100644
index 17258f0fc..000000000
--- a/packages/goods-action-mini-btn/index.vue
+++ /dev/null
@@ -1,39 +0,0 @@
-
-
-
- {{ text }}
-
-
-
-
diff --git a/packages/goods-action/index.js b/packages/goods-action/index.js
new file mode 100644
index 000000000..c8d9873cd
--- /dev/null
+++ b/packages/goods-action/index.js
@@ -0,0 +1,9 @@
+import { use } from '../utils';
+
+const [sfc, bem] = use('goods-action');
+
+export default sfc({
+ render(h) {
+ return {this.$slots.default}
;
+ }
+});
diff --git a/packages/goods-action/index.vue b/packages/goods-action/index.vue
deleted file mode 100644
index 75af02e03..000000000
--- a/packages/goods-action/index.vue
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-
-
-
-
-
diff --git a/packages/goods-action/test/__snapshots__/demo.spec.js.snap b/packages/goods-action/test/__snapshots__/demo.spec.js.snap
index 9c6da4705..3133fcc80 100644
--- a/packages/goods-action/test/__snapshots__/demo.spec.js.snap
+++ b/packages/goods-action/test/__snapshots__/demo.spec.js.snap
@@ -4,26 +4,26 @@ exports[`renders demo correctly 1`] = `
-
+
- 客服
-
+ 客服
+
- 购物车
+ 购物车
-
+
- 客服
-
+ 客服
+
-
+ 购物车
+
- 店铺
+ 店铺