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>
|
||||
<div :class="b()">
|
||||
<cell :class="b()">
|
||||
<field
|
||||
v-on="$listeners"
|
||||
autosize
|
||||
@ -32,7 +32,7 @@
|
||||
clickable
|
||||
@click="onSelect(express)"
|
||||
/>
|
||||
</div>
|
||||
</cell>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
@ -46,7 +46,6 @@
|
||||
v-model="data.postalCode"
|
||||
type="tel"
|
||||
maxlength="6"
|
||||
class="van-hairline--top"
|
||||
:label="$t('postal')"
|
||||
:placeholder="$t('postal')"
|
||||
:error="errorInfo.postalCode"
|
||||
|
@ -53,25 +53,30 @@ exports[`renders demo correctly 1`] = `
|
||||
</div>
|
||||
<!---->
|
||||
</div>
|
||||
<div class="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 van-hairline van-address-edit-detail">
|
||||
<!---->
|
||||
<!---->
|
||||
<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__value">
|
||||
<div class="van-field__body">
|
||||
<textarea rows="1" maxlength="200" placeholder="街道门牌、楼层房间号等信息" class="van-field__control"></textarea>
|
||||
<!---->
|
||||
<div class="van-cell__title"><span>详细地址</span>
|
||||
<!---->
|
||||
</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 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>
|
||||
<!---->
|
||||
|
@ -51,23 +51,28 @@ exports[`create a AddressEdit 1`] = `
|
||||
</div>
|
||||
<!---->
|
||||
</div>
|
||||
<div class="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 van-hairline van-address-edit-detail">
|
||||
<!---->
|
||||
<!---->
|
||||
<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__value">
|
||||
<div class="van-field__body">
|
||||
<textarea rows="1" maxlength="200" placeholder="街道门牌、楼层房间号等信息" class="van-field__control"></textarea>
|
||||
<!---->
|
||||
<div class="van-cell__title"><span>详细地址</span>
|
||||
<!---->
|
||||
</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>
|
||||
<!---->
|
||||
<!---->
|
||||
@ -156,25 +161,30 @@ exports[`create a AddressEdit with props 1`] = `
|
||||
</div>
|
||||
<!---->
|
||||
</div>
|
||||
<div class="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 van-hairline van-address-edit-detail">
|
||||
<!---->
|
||||
<!---->
|
||||
<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__value">
|
||||
<div class="van-field__body">
|
||||
<textarea rows="1" maxlength="200" placeholder="街道门牌、楼层房间号等信息" class="van-field__control">详细地址</textarea>
|
||||
<!---->
|
||||
<div class="van-cell__title"><span>详细地址</span>
|
||||
<!---->
|
||||
</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 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>
|
||||
<!---->
|
||||
|
@ -28,6 +28,8 @@
|
||||
}
|
||||
|
||||
&-detail {
|
||||
padding: 0;
|
||||
|
||||
&__finish {
|
||||
color: $blue;
|
||||
font-size: 12px;
|
||||
|
Loading…
x
Reference in New Issue
Block a user