Commit 9b2b93fa by 陈超

T

parent 5fb55bea
...@@ -25,6 +25,27 @@ ...@@ -25,6 +25,27 @@
right: 1rem; right: 1rem;
} }
</style>
<div id="app">
<div class="layout_v">
<van-cell title="头像" is-link>
<slot>
<van-uploader result-type="file" :after-read="onRead">
<van-image @error="onError" height="44" width="44" fit="cover" round :src="currentAvatar" />
</van-uploader>
</slot>
</van-cell>
<van-cell @click="onNickName" title="昵称" is-link :value="currentNickName"></van-cell>
<van-cell @click="onGender" title="性别" is-link :value="currentGender"></van-cell>
<van-cell @click="onAddress" title="收货信息" is-link></van-cell>
<div @click="onConfirm" class="confirm_button" style="margin-top: 7.125rem;">
<span>确认修改</span>
</div>
</div>
<style scoped>
.overlay { .overlay {
display: flex; display: flex;
justify-content: center; justify-content: center;
...@@ -66,27 +87,7 @@ ...@@ -66,27 +87,7 @@
.van-cell:not(:last-child)::after { .van-cell:not(:last-child)::after {
border-bottom: 0; border-bottom: 0;
} }
</style> </style>
<div id="app">
<div class="layout_v">
<van-cell title="头像" is-link>
<slot>
<van-uploader result-type="file" :after-read="onRead">
<van-image @error="onError" height="44" width="44" fit="cover" round :src="currentAvatar" />
</van-uploader>
</slot>
</van-cell>
<van-cell @click="onNickName" title="昵称" is-link :value="currentNickName"></van-cell>
<van-cell @click="onGender" title="性别" is-link :value="currentGender"></van-cell>
<van-cell @click="onAddress" title="收货信息" is-link></van-cell>
<div @click="onConfirm" class="confirm_button" style="margin-top: 7.125rem;">
<span>确认修改</span>
</div>
</div>
<overlay class="overlay" :show="show"> <overlay class="overlay" :show="show">
<div class="layout_v content_holder content_container"> <div class="layout_v content_holder content_container">
<div class="text_16_500 layout_h_c title_text">修改昵称</div> <div class="text_16_500 layout_h_c title_text">修改昵称</div>
......
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