Commit 5f4841e5 by 陈超

T

parent 4ceefce1
...@@ -11,6 +11,11 @@ ...@@ -11,6 +11,11 @@
.van-cell__title[content-container] { .van-cell__title[content-container] {
display: flex; display: flex;
align-items: center; align-items: center;
}
.van-cell__title[avatar-container] {
display: flex;
align-items: center;
} }
.van-cell__value[content-container] { .van-cell__value[content-container] {
...@@ -73,7 +78,7 @@ ...@@ -73,7 +78,7 @@
<div id="app"> <div id="app">
<div content-container class="layout_v"> <div content-container class="layout_v">
<van-cell title="头像" is-link> <van-cell avatar-container title="头像" is-link>
<slot> <slot>
<van-uploader result-type="file" :after-read="onRead"> <van-uploader result-type="file" :after-read="onRead">
<van-image @error="onError" height="44" width="44" fit="cover" round :src="currentAvatar" /> <van-image @error="onError" height="44" width="44" fit="cover" round :src="currentAvatar" />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment