[bugfix] AddressEdit: missing border (#1800)

This commit is contained in:
neverland 2018-09-13 20:55:09 +08:00 committed by GitHub
parent 3d00566182
commit eeb7f0d1ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 51 additions and 35 deletions

View File

@ -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>

View File

@ -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"

View File

@ -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>
<!---->

View File

@ -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>
<!---->

View File

@ -28,6 +28,8 @@
}
&-detail {
padding: 0;
&__finish {
color: $blue;
font-size: 12px;