-
{{ $t('complete') }}
-
+
-
+
-
-
+
-
+
{{ express.name }}
{{ express.address }}
- |
-
+
+
@@ -50,10 +50,10 @@ export default {
mixins: [i18n],
components: {
- [Field.name]: Field,
- [Icon.name]: Icon,
- [Cell.name]: Cell,
- [CellGroup.name]: CellGroup
+ Field,
+ Icon,
+ Cell,
+ CellGroup
},
props: {
diff --git a/packages/address-edit/index.vue b/packages/address-edit/index.vue
index 6b2aeeef9..f81b85f8e 100644
--- a/packages/address-edit/index.vue
+++ b/packages/address-edit/index.vue
@@ -1,7 +1,7 @@
-
-
+
-
-
+
{{ currentInfo.province || $t('placeholder.province') }}
{{ currentInfo.city || $t('placeholder.city') }}
{{ currentInfo.county || $t('placeholder.county') }}
- |
-
+
-
-
-
+
-
+
{{ $t('save') }}
@@ -58,14 +58,14 @@
{{ $t('deleteAddress', computedAddressText) }}
-
+
-
+
@@ -73,12 +73,12 @@
import Field from '../field';
import Cell from '../cell';
import CellGroup from '../cell-group';
-import Button from '../button';
+import VanButton from '../button';
import Popup from '../popup';
import Toast from '../toast';
import Dialog from '../dialog';
-import Area from '../area';
-import Detail from './Detail';
+import VanArea from '../area';
+import AddressEditDetail from './Detail';
import SwitchCell from '../switch-cell';
import validateMobile from '../utils/validate/mobile';
import { i18n } from '../locale';
@@ -89,14 +89,14 @@ export default {
mixins: [i18n],
components: {
- [Field.name]: Field,
- [Cell.name]: Cell,
- [CellGroup.name]: CellGroup,
- [SwitchCell.name]: SwitchCell,
- [Button.name]: Button,
- [Popup.name]: Popup,
- [Area.name]: Area,
- [Detail.name]: Detail
+ Field,
+ Cell,
+ CellGroup,
+ SwitchCell,
+ VanButton,
+ Popup,
+ VanArea,
+ AddressEditDetail
},
props: {
diff --git a/packages/address-list/index.vue b/packages/address-list/index.vue
index 7ce04b9b1..02a44861f 100644
--- a/packages/address-list/index.vue
+++ b/packages/address-list/index.vue
@@ -1,17 +1,17 @@
-
-
-
-
+
+
+
+
{{ item.name }},{{ item.tel }}
收货地址:{{ item.address }}
- |
-
-
-
-
-
+
+
+
+
+
+
|
@@ -26,11 +26,11 @@ export default {
name: 'van-address-list',
components: {
- [Icon.name]: Icon,
- [Cell.name]: Cell,
- [Radio.name]: Radio,
- [CellGroup.name]: CellGroup,
- [RadioGroup.name]: RadioGroup
+ Icon,
+ Cell,
+ Radio,
+ CellGroup,
+ RadioGroup
},
props: {
diff --git a/packages/area/index.vue b/packages/area/index.vue
index 121edc00d..a9f0c1097 100644
--- a/packages/area/index.vue
+++ b/packages/area/index.vue
@@ -1,6 +1,6 @@
-
-
-
+
@@ -22,7 +22,7 @@
-
+
@@ -38,7 +38,7 @@ export default {
mixins: [RouterLink],
components: {
- [Icon.name]: Icon
+ Icon
},
props: {
diff --git a/packages/checkbox/index.vue b/packages/checkbox/index.vue
index 794902b44..2f95aad47 100644
--- a/packages/checkbox/index.vue
+++ b/packages/checkbox/index.vue
@@ -12,7 +12,7 @@
class="van-checkbox__control"
:disabled="isDisabled"
/>
-
+
@@ -28,7 +28,7 @@ export default {
name: 'van-checkbox',
components: {
- [Icon.name]: Icon
+ Icon
},
mixins: [findParent],
diff --git a/packages/contact-card/index.vue b/packages/contact-card/index.vue
index 69f15f750..a52ec84e1 100644
--- a/packages/contact-card/index.vue
+++ b/packages/contact-card/index.vue
@@ -2,18 +2,18 @@
@@ -27,7 +27,7 @@ export default {
mixins: [i18n],
components: {
- [Icon.name]: Icon
+ Icon
},
props: {
diff --git a/packages/contact-edit/index.vue b/packages/contact-edit/index.vue
index 7f20df22b..ecbf90ac7 100644
--- a/packages/contact-edit/index.vue
+++ b/packages/contact-edit/index.vue
@@ -1,23 +1,23 @@