diff --git a/packages/checkbox/index.ts b/packages/checkbox/index.ts
index 397a9097..defb21df 100644
--- a/packages/checkbox/index.ts
+++ b/packages/checkbox/index.ts
@@ -24,18 +24,6 @@ VantComponent({
},
computed: {
- iconClass(): string {
- const { disabled, value, shape } = this.data;
- return this.classNames(
- 'van-checkbox__icon',
- `van-checkbox__icon--${shape}`,
- {
- 'van-checkbox__icon--disabled': disabled,
- 'van-checkbox__icon--checked': value
- }
- );
- },
-
iconStyle(): string {
const { value, disabled, checkedColor } = this.data;
if (checkedColor && value && !disabled) {
diff --git a/packages/checkbox/index.wxml b/packages/checkbox/index.wxml
index ab5637a9..da96d043 100644
--- a/packages/checkbox/index.wxml
+++ b/packages/checkbox/index.wxml
@@ -1,10 +1,12 @@
+
+
+
diff --git a/packages/collapse-item/index.ts b/packages/collapse-item/index.ts
index 85393c6c..af70c961 100644
--- a/packages/collapse-item/index.ts
+++ b/packages/collapse-item/index.ts
@@ -12,11 +12,11 @@ VantComponent({
},
props: {
- name: [String, Number],
+ name: null,
+ title: null,
+ value: null,
icon: String,
label: String,
- title: [String, Number],
- value: [String, Number],
disabled: Boolean,
border: {
type: Boolean,
@@ -33,16 +33,6 @@ VantComponent({
expanded: false
},
- computed: {
- titleClass() {
- const { disabled, expanded } = this.data;
- return this.classNames('van-collapse-item__title', {
- 'van-collapse-item__title--disabled': disabled,
- 'van-collapse-item__title--expanded': expanded
- });
- }
- },
-
methods: {
updateExpanded() {
if (!this.parent) {
diff --git a/packages/collapse-item/index.wxml b/packages/collapse-item/index.wxml
index 6bf5ff10..4f51da13 100644
--- a/packages/collapse-item/index.wxml
+++ b/packages/collapse-item/index.wxml
@@ -1,3 +1,5 @@
+
+
+
+
+
+
diff --git a/packages/mixins/basic.ts b/packages/mixins/basic.ts
index 50ede2fc..7de3fbfa 100644
--- a/packages/mixins/basic.ts
+++ b/packages/mixins/basic.ts
@@ -1,9 +1,5 @@
-import { classNames } from '../common/class-names';
-
export const basic = Behavior({
methods: {
- classNames,
-
$emit() {
this.triggerEvent.apply(this, arguments);
},
diff --git a/packages/popup/index.ts b/packages/popup/index.ts
index 0db4abb8..545d6811 100644
--- a/packages/popup/index.ts
+++ b/packages/popup/index.ts
@@ -31,16 +31,6 @@ VantComponent({
}
},
- computed: {
- popupClass() {
- const { position, safeAreaInsetBottom, isIPhoneX } = this.data;
- return this.classNames('custom-class', 'van-popup', {
- [`van-popup--${position}`]: position,
- [`van-popup--safe`]: isIPhoneX && safeAreaInsetBottom && position === 'bottom'
- });
- }
- },
-
methods: {
onClickOverlay() {
this.$emit('click-overlay');
diff --git a/packages/popup/index.wxml b/packages/popup/index.wxml
index 07bd1ae1..bafbfecb 100644
--- a/packages/popup/index.wxml
+++ b/packages/popup/index.wxml
@@ -1,3 +1,5 @@
+
+