From f8f88ddb44ec14c7f0416f8a34d0444d838e20da Mon Sep 17 00:00:00 2001 From: Huangzhe Date: Mon, 17 Mar 2025 20:56:00 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=9F=A9=E9=98=B5=E6=A0=B7=E5=BC=8F?= =?UTF-8?q?=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 通过 matrixQuestion 来适配相应的矩阵问题 - 矩阵的样式更新 --- components.d.ts | 3 - .../components/Questions/MartrixQuestion.vue | 177 ++++++------- .../components/Questions/MatrixCheckbox.vue | 64 +++-- .../components/Questions/MatrixQuestion.vue | 244 +++++++++--------- .../components/Questions/MatrixRadio.vue | 64 ++--- .../components/Questions/MatrixText.vue | 59 ++--- 6 files changed, 287 insertions(+), 324 deletions(-) diff --git a/components.d.ts b/components.d.ts index a50d18f..76bc478 100644 --- a/components.d.ts +++ b/components.d.ts @@ -32,7 +32,6 @@ declare module 'vue' { VanGrid: typeof import('vant/es')['Grid'] VanGridItem: typeof import('vant/es')['GridItem'] VanIcon: typeof import('vant/es')['Icon'] - VanList: typeof import('vant/es')['List'] VanNavBar: typeof import('vant/es')['NavBar'] VanPicker: typeof import('vant/es')['Picker'] VanPopup: typeof import('vant/es')['Popup'] @@ -41,8 +40,6 @@ declare module 'vue' { VanRow: typeof import('vant/es')['Row'] VanStepper: typeof import('vant/es')['Stepper'] VanSwitch: typeof import('vant/es')['Switch'] - VanTab: typeof import('vant/es')['Tab'] - VanTabs: typeof import('vant/es')['Tabs'] YLCascader: typeof import('./src/components/YLCascader.vue')['default'] YLInput: typeof import('./src/components/YLInput.vue')['default'] YLPicker: typeof import('./src/components/YLPicker.vue')['default'] diff --git a/src/views/Design/components/Questions/MartrixQuestion.vue b/src/views/Design/components/Questions/MartrixQuestion.vue index 537389c..5fa266d 100644 --- a/src/views/Design/components/Questions/MartrixQuestion.vue +++ b/src/views/Design/components/Questions/MartrixQuestion.vue @@ -1,38 +1,38 @@ - + diff --git a/src/views/Design/components/Questions/MatrixQuestion.vue b/src/views/Design/components/Questions/MatrixQuestion.vue index be7534f..e9b0ccc 100644 --- a/src/views/Design/components/Questions/MatrixQuestion.vue +++ b/src/views/Design/components/Questions/MatrixQuestion.vue @@ -1,123 +1,127 @@