Skip to content

Commit 7488a7f

Browse files
docs: ✏️ 移除示例demo中手机号等字样方便过审
1 parent 517b583 commit 7488a7f

File tree

4 files changed

+26
-18
lines changed

4 files changed

+26
-18
lines changed

docs/component/form.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ function handleSubmit1() {
115115
{
116116
required: false,
117117
validator: validatorMessage,
118-
message: '请输入正确的手机号'
118+
message: '请输入正确的玛卡巴卡'
119119
}
120120
]"
121121
/>
@@ -501,16 +501,16 @@ function handleSubmit() {
501501
<wd-switch v-model="model.switchVal" />
502502
</view>
503503
</wd-cell>
504-
<wd-input label="卡号" label-width="100px" prop="cardId" suffix-icon="camera" placeholder="请输入卡号" clearable v-model="model.cardId" />
505-
<wd-input label="手机号" label-width="100px" prop="phone" placeholder="请输入手机号" clearable v-model="model.phone" />
504+
<wd-input label="歪比巴卜" label-width="100px" prop="cardId" suffix-icon="camera" placeholder="请输入歪比巴卜" clearable v-model="model.cardId" />
505+
<wd-input label="玛卡巴卡" label-width="100px" prop="phone" placeholder="请输入玛卡巴卡" clearable v-model="model.phone" />
506506
<wd-cell title="活动图片" title-width="100px" prop="fileList">
507507
<wd-upload :file-list="model.fileList" action="https://ftf.jd.com/api/uploadImg" @change="handleFileChange"></wd-upload>
508508
</wd-cell>
509509
</wd-cell-group>
510510
<view class="tip">
511511
<wd-checkbox v-model="model.read" prop="read" custom-label-class="label-class">
512512
已阅读并同意
513-
<text style="color: #4d80f0">《借款额度合同及相关授权》</text>
513+
<text style="color: #4d80f0">《巴拉巴拉吧啦协议》</text>
514514
</wd-checkbox>
515515
</view>
516516
<view class="footer">
@@ -687,20 +687,20 @@ const rules: FormRules = {
687687
cardId: [
688688
{
689689
required: true,
690-
message: '请输入卡号',
690+
message: '请输入歪比巴卜',
691691
validator: (value) => {
692692
if (value) {
693693
return Promise.resolve()
694694
} else {
695-
return Promise.reject('请输入卡号')
695+
return Promise.reject('请输入歪比巴卜')
696696
}
697697
}
698698
}
699699
],
700700
phone: [
701701
{
702702
required: true,
703-
message: '请输入手机号',
703+
message: '请输入玛卡巴卡',
704704
validator: (value) => {
705705
if (value) {
706706
return Promise.resolve()

src/pages/configProvider/Index.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,21 +85,21 @@
8585
<wd-switch v-model="switchVal" name="switchVal" @change="handleSwitch" />
8686
</wd-cell>
8787
<wd-input
88-
label="卡号"
88+
label="歪比巴卜"
8989
label-width="100px"
9090
name="cardId"
9191
suffix-icon="camera"
92-
placeholder="请输入卡号"
92+
placeholder="请输入歪比巴卜"
9393
clearable
9494
v-model="cardId"
9595
@change="handleCardId"
9696
/>
97-
<wd-input label="手机号" label-width="100px" name="phone" placeholder="请输入手机号" clearable v-model="phone" @change="handlePhone" />
97+
<wd-input label="玛卡巴卡" label-width="100px" name="phone" placeholder="请输入玛卡巴卡" clearable v-model="phone" @change="handlePhone" />
9898
</wd-cell-group>
9999
<view class="tip">
100100
<wd-checkbox v-model="read" name="read" @change="handleRead" custom-label-class="label-class">
101101
已阅读并同意
102-
<text style="color: #4d80f0">《借款额度合同及相关授权》</text>
102+
<text style="color: #4d80f0">《巴拉巴拉吧啦协议》</text>
103103
</wd-checkbox>
104104
</view>
105105
<view class="footer">

src/pages/form/Index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
{
5353
required: false,
5454
validator: validatorMessage,
55-
message: '请输入正确的手机号'
55+
message: '请输入正确的玛卡巴卡'
5656
}
5757
]"
5858
/>

src/pages/form/demo3.vue

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -89,16 +89,24 @@
8989
<wd-switch v-model="model.switchVal" />
9090
</view>
9191
</wd-cell>
92-
<wd-input label="卡号" label-width="100px" prop="cardId" suffix-icon="camera" placeholder="请输入卡号" clearable v-model="model.cardId" />
93-
<wd-input label="手机号" label-width="100px" prop="phone" placeholder="请输入手机号" clearable v-model="model.phone" />
92+
<wd-input
93+
label="歪比巴卜"
94+
label-width="100px"
95+
prop="cardId"
96+
suffix-icon="camera"
97+
placeholder="请输入歪比巴卜"
98+
clearable
99+
v-model="model.cardId"
100+
/>
101+
<wd-input label="玛卡巴卡" label-width="100px" prop="phone" placeholder="请输入玛卡巴卡" clearable v-model="model.phone" />
94102
<wd-cell title="活动图片" title-width="100px" prop="fileList">
95103
<wd-upload :file-list="model.fileList" action="https://ftf.jd.com/api/uploadImg" @change="handleFileChange"></wd-upload>
96104
</wd-cell>
97105
</wd-cell-group>
98106
<view class="tip">
99107
<wd-checkbox v-model="model.read" prop="read" custom-label-class="label-class">
100108
已阅读并同意
101-
<text style="color: #4d80f0">《借款额度合同及相关授权》</text>
109+
<text style="color: #4d80f0">《巴拉巴拉吧啦协议》</text>
102110
</wd-checkbox>
103111
</view>
104112
<view class="footer">
@@ -276,20 +284,20 @@ const rules: FormRules = {
276284
cardId: [
277285
{
278286
required: true,
279-
message: '请输入卡号',
287+
message: '请输入歪比巴卜',
280288
validator: (value) => {
281289
if (value) {
282290
return Promise.resolve()
283291
} else {
284-
return Promise.reject('请输入卡号')
292+
return Promise.reject('请输入歪比巴卜')
285293
}
286294
}
287295
}
288296
],
289297
phone: [
290298
{
291299
required: true,
292-
message: '请输入手机号',
300+
message: '请输入玛卡巴卡',
293301
validator: (value) => {
294302
if (value) {
295303
return Promise.resolve()

0 commit comments

Comments
 (0)