From f197c5f3c3651a12ad1d92b23fc40ef4819e8f65 Mon Sep 17 00:00:00 2001 From: landluck Date: Mon, 10 Jul 2023 17:49:20 +0800 Subject: [PATCH] feat(field): expand click area support (#5479) --- .../test/__snapshots__/demo.spec.ts.snap | 24 ++++++--- .../test/__snapshots__/demo.spec.ts.snap | 24 ++++++--- packages/field/README.md | 6 ++- packages/field/index.wxml | 12 ++--- packages/field/input.wxml | 1 + .../test/__snapshots__/demo.spec.ts.snap | 54 ++++++++++++------- packages/field/textarea.wxml | 1 + .../test/__snapshots__/demo.spec.ts.snap | 6 +++ 8 files changed, 87 insertions(+), 41 deletions(-) diff --git a/packages/cascader/test/__snapshots__/demo.spec.ts.snap b/packages/cascader/test/__snapshots__/demo.spec.ts.snap index 9ca8a016..0f5973dc 100644 --- a/packages/cascader/test/__snapshots__/demo.spec.ts.snap +++ b/packages/cascader/test/__snapshots__/demo.spec.ts.snap @@ -29,14 +29,15 @@ exports[`should render demo and match snapshot 1`] = ` class="van-cell__title title-class" style="max-width:6.2em;min-width:6.2em;margin-right: 12px;" > - 地区 - + - 地区 - + - 地区 - + - 地区 - + - 评分 - + - 滑块 - + - 评分 - + - 滑块 - + - + + @@ -47,10 +47,10 @@ - + - + + + diff --git a/packages/field/input.wxml b/packages/field/input.wxml index efe9a08d..e39a5ee3 100644 --- a/packages/field/input.wxml +++ b/packages/field/input.wxml @@ -1,4 +1,5 @@ - 用户名 - + - 密码 - + - 用户名 - + - 用户名 - + - 手机号 - + - 手机号格式错误 - + @@ -564,14 +576,15 @@ exports[`should render demo and match snapshot 1`] = ` class="van-cell__title title-class" style="max-width:6.2em;min-width:6.2em;margin-right: 12px;" > - 用户名 - + - 留言 - + - 短信验证码 - +