mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 18:43:26 +08:00
【优化】用户添加地址内详细地址从30字符限制调整为50字符限制。
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
<u-input :value="pickerValue" type="select" disabled placeholder="请选择省市区区域">
|
||||
<template slot="suffix">
|
||||
<!--<u-button text="请选择" type="success" size="mini" @click="toMap"></u-button>-->
|
||||
<u-button text="请选择" type="success" size="mini" @click="show = true"></u-button>
|
||||
<u-button text="请选择" type="success" size="mini" @click="show = true"></u-button>
|
||||
</template>
|
||||
</u-input>
|
||||
<!-- #endif -->
|
||||
@@ -34,20 +34,26 @@
|
||||
<u--input :value="pickerValue" type="select" disabled placeholder="请选择省市区区域">
|
||||
<template slot="suffix">
|
||||
<!--<u-button text="请选择" type="success" size="mini" @click="toMap"></u-button>-->
|
||||
<u-button text="请选择" type="success" size="mini" @click="show = true"></u-button>
|
||||
<u-button text="请选择" type="success" size="mini" @click="show = true"></u-button>
|
||||
</template>
|
||||
</u--input>
|
||||
<!-- #endif -->
|
||||
</u-form-item>
|
||||
|
||||
<u-form-item label="街道社区" borderBottom @click="toMap">
|
||||
<u-form-item label="街道社区" borderBottom @click="toMap">
|
||||
<!-- 注意:由于兼容性差异,如果需要使用前后插槽,nvue下需使用u--input,非nvue下需使用u-input -->
|
||||
<!-- #ifndef APP-NVUE -->
|
||||
<u-input :value="form.street" type="text" disabled placeholder="请定位">
|
||||
<template slot="suffix">
|
||||
<u-button text="请选择" type="success" size="mini"></u-button>
|
||||
</template>
|
||||
</u-input>
|
||||
<!-- #endif -->
|
||||
<!-- #ifdef APP-NVUE -->
|
||||
<u--input :value="form.street" type="text" disabled placeholder="请定位">
|
||||
<template slot="suffix">
|
||||
<u-button text="请选择" type="success" size="mini"></u-button>
|
||||
</template>
|
||||
</u--input>
|
||||
<!-- #endif -->
|
||||
</u-form-item>
|
||||
@@ -128,8 +134,8 @@
|
||||
},
|
||||
{
|
||||
min: 5,
|
||||
max: 30,
|
||||
message: '地址长度在5到30个字符',
|
||||
max: 50,
|
||||
message: '地址长度在5到50个字符',
|
||||
trigger: ['change', 'blur'],
|
||||
}
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user