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