mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
[bugfix] AddressEdit: missing border (#1800)
This commit is contained in:
parent
3d00566182
commit
eeb7f0d1ca
@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div :class="b()">
|
<cell :class="b()">
|
||||||
<field
|
<field
|
||||||
v-on="$listeners"
|
v-on="$listeners"
|
||||||
autosize
|
autosize
|
||||||
@ -32,7 +32,7 @@
|
|||||||
clickable
|
clickable
|
||||||
@click="onSelect(express)"
|
@click="onSelect(express)"
|
||||||
/>
|
/>
|
||||||
</div>
|
</cell>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
@ -46,7 +46,6 @@
|
|||||||
v-model="data.postalCode"
|
v-model="data.postalCode"
|
||||||
type="tel"
|
type="tel"
|
||||||
maxlength="6"
|
maxlength="6"
|
||||||
class="van-hairline--top"
|
|
||||||
:label="$t('postal')"
|
:label="$t('postal')"
|
||||||
:placeholder="$t('postal')"
|
:placeholder="$t('postal')"
|
||||||
:error="errorInfo.postalCode"
|
:error="errorInfo.postalCode"
|
||||||
|
@ -53,25 +53,30 @@ exports[`renders demo correctly 1`] = `
|
|||||||
</div>
|
</div>
|
||||||
<!---->
|
<!---->
|
||||||
</div>
|
</div>
|
||||||
<div class="van-address-edit-detail">
|
<div class="van-cell van-hairline van-address-edit-detail">
|
||||||
<div rows="1" maxlength="200" placeholder="街道门牌、楼层房间号等信息" class="van-cell van-hairline van-field">
|
<!---->
|
||||||
<!---->
|
<!---->
|
||||||
<div class="van-cell__title"><span>详细地址</span>
|
<div class="van-cell__value van-cell__value--alone">
|
||||||
|
<div rows="1" maxlength="200" placeholder="街道门牌、楼层房间号等信息" class="van-cell van-hairline van-field">
|
||||||
<!---->
|
<!---->
|
||||||
</div>
|
<div class="van-cell__title"><span>详细地址</span>
|
||||||
<div class="van-cell__value">
|
|
||||||
<div class="van-field__body">
|
|
||||||
<textarea rows="1" maxlength="200" placeholder="街道门牌、楼层房间号等信息" class="van-field__control"></textarea>
|
|
||||||
<!---->
|
|
||||||
<!---->
|
<!---->
|
||||||
|
</div>
|
||||||
|
<div class="van-cell__value">
|
||||||
|
<div class="van-field__body">
|
||||||
|
<textarea rows="1" maxlength="200" placeholder="街道门牌、楼层房间号等信息" class="van-field__control"></textarea>
|
||||||
|
<!---->
|
||||||
|
<!---->
|
||||||
|
<!---->
|
||||||
|
</div>
|
||||||
<!---->
|
<!---->
|
||||||
</div>
|
</div>
|
||||||
<!---->
|
<!---->
|
||||||
</div>
|
</div>
|
||||||
<!---->
|
|
||||||
</div>
|
</div>
|
||||||
|
<!---->
|
||||||
</div>
|
</div>
|
||||||
<div maxlength="6" placeholder="邮政编码" class="van-hairline--top van-cell van-hairline van-field">
|
<div maxlength="6" placeholder="邮政编码" class="van-cell van-hairline van-field">
|
||||||
<!---->
|
<!---->
|
||||||
<div class="van-cell__title"><span>邮政编码</span>
|
<div class="van-cell__title"><span>邮政编码</span>
|
||||||
<!---->
|
<!---->
|
||||||
|
@ -51,23 +51,28 @@ exports[`create a AddressEdit 1`] = `
|
|||||||
</div>
|
</div>
|
||||||
<!---->
|
<!---->
|
||||||
</div>
|
</div>
|
||||||
<div class="van-address-edit-detail">
|
<div class="van-cell van-hairline van-address-edit-detail">
|
||||||
<div rows="1" maxlength="200" placeholder="街道门牌、楼层房间号等信息" class="van-cell van-hairline van-field">
|
<!---->
|
||||||
<!---->
|
<!---->
|
||||||
<div class="van-cell__title"><span>详细地址</span>
|
<div class="van-cell__value van-cell__value--alone">
|
||||||
|
<div rows="1" maxlength="200" placeholder="街道门牌、楼层房间号等信息" class="van-cell van-hairline van-field">
|
||||||
<!---->
|
<!---->
|
||||||
</div>
|
<div class="van-cell__title"><span>详细地址</span>
|
||||||
<div class="van-cell__value">
|
|
||||||
<div class="van-field__body">
|
|
||||||
<textarea rows="1" maxlength="200" placeholder="街道门牌、楼层房间号等信息" class="van-field__control"></textarea>
|
|
||||||
<!---->
|
|
||||||
<!---->
|
<!---->
|
||||||
|
</div>
|
||||||
|
<div class="van-cell__value">
|
||||||
|
<div class="van-field__body">
|
||||||
|
<textarea rows="1" maxlength="200" placeholder="街道门牌、楼层房间号等信息" class="van-field__control"></textarea>
|
||||||
|
<!---->
|
||||||
|
<!---->
|
||||||
|
<!---->
|
||||||
|
</div>
|
||||||
<!---->
|
<!---->
|
||||||
</div>
|
</div>
|
||||||
<!---->
|
<!---->
|
||||||
</div>
|
</div>
|
||||||
<!---->
|
|
||||||
</div>
|
</div>
|
||||||
|
<!---->
|
||||||
</div>
|
</div>
|
||||||
<!---->
|
<!---->
|
||||||
<!---->
|
<!---->
|
||||||
@ -156,25 +161,30 @@ exports[`create a AddressEdit with props 1`] = `
|
|||||||
</div>
|
</div>
|
||||||
<!---->
|
<!---->
|
||||||
</div>
|
</div>
|
||||||
<div class="van-address-edit-detail">
|
<div class="van-cell van-hairline van-address-edit-detail">
|
||||||
<div rows="1" maxlength="200" placeholder="街道门牌、楼层房间号等信息" class="van-cell van-hairline van-field">
|
<!---->
|
||||||
<!---->
|
<!---->
|
||||||
<div class="van-cell__title"><span>详细地址</span>
|
<div class="van-cell__value van-cell__value--alone">
|
||||||
|
<div rows="1" maxlength="200" placeholder="街道门牌、楼层房间号等信息" class="van-cell van-hairline van-field">
|
||||||
<!---->
|
<!---->
|
||||||
</div>
|
<div class="van-cell__title"><span>详细地址</span>
|
||||||
<div class="van-cell__value">
|
|
||||||
<div class="van-field__body">
|
|
||||||
<textarea rows="1" maxlength="200" placeholder="街道门牌、楼层房间号等信息" class="van-field__control">详细地址</textarea>
|
|
||||||
<!---->
|
|
||||||
<!---->
|
<!---->
|
||||||
|
</div>
|
||||||
|
<div class="van-cell__value">
|
||||||
|
<div class="van-field__body">
|
||||||
|
<textarea rows="1" maxlength="200" placeholder="街道门牌、楼层房间号等信息" class="van-field__control">详细地址</textarea>
|
||||||
|
<!---->
|
||||||
|
<!---->
|
||||||
|
<!---->
|
||||||
|
</div>
|
||||||
<!---->
|
<!---->
|
||||||
</div>
|
</div>
|
||||||
<!---->
|
<!---->
|
||||||
</div>
|
</div>
|
||||||
<!---->
|
|
||||||
</div>
|
</div>
|
||||||
|
<!---->
|
||||||
</div>
|
</div>
|
||||||
<div maxlength="6" placeholder="邮政编码" class="van-hairline--top van-cell van-hairline van-field">
|
<div maxlength="6" placeholder="邮政编码" class="van-cell van-hairline van-field">
|
||||||
<!---->
|
<!---->
|
||||||
<div class="van-cell__title"><span>邮政编码</span>
|
<div class="van-cell__title"><span>邮政编码</span>
|
||||||
<!---->
|
<!---->
|
||||||
|
@ -28,6 +28,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
&-detail {
|
&-detail {
|
||||||
|
padding: 0;
|
||||||
|
|
||||||
&__finish {
|
&__finish {
|
||||||
color: $blue;
|
color: $blue;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user