This commit is contained in:
曹辉 2022-11-10 16:40:52 +08:00
parent a2a2bea165
commit f91a5d2612
2 changed files with 27 additions and 12 deletions

View File

@ -7,13 +7,18 @@
<image class="pictureA" src="../../static/jiantou.png" mode=""></image>
</view>
<view class="content">
<view class="name">昵称
<view class="name">
<span class="">
昵称
</span>
<input type="text" placeholder="请填写" v-model="appPersonallist.userName" />
</view>
<view class="name">姓名:
<view class="name">
<span>姓名:</span>
<input type="text" placeholder="请输入" v-model="appPersonallist.nickName" />
</view>
<view class="name">电话
<view class="name">
<span>电话</span>
<input type="text" placeholder="请输入" v-model="appPersonallist.phonenumber" />
</view>
<!-- <view class="nursetype name" style="border: none;" @tap='show=true'>
@ -103,11 +108,11 @@
gofinish() {
var that = this
uni.uploadFile({
url: baseurl + '/nurseApplet/uploadFile/uploadHeadPictureUrl',
url: baseurl + '/nurseApp/personLogin/updateHeadAvatarHead',
filePath: that.appPersonallist.avatar, //file: (filePath)
name: 'file',
formData: { //
'nursePersonId': that.appPersonallist.nursePersonId,
'userId': that.appPersonallist.userId,
},
timeout: 5000,
success(res) {
@ -187,14 +192,24 @@
line-height: 100rpx;
.name {
margin-left: 5%;
margin-left: 20rpx;
height: 100rpx;
line-height: 100rpx;
border-bottom: 1rpx solid #D8D4D4;
position: relative;
span{
display: inline-block;
width: 20%;
}
input {
position: absolute;
top:50%;
transform: translateY(-50%);
line-height: 100rpx;
display: inline-block;
width: 80%;
font-size: 36rpx;
margin-top: -11%;
margin-left: 15%;
}
}
@ -209,7 +224,7 @@
.Commodity {
line-height: 130rpx;
margin-left: 5%;
margin-left: 20rpx;
border-bottom: 1rpx solid #D8D4D4;
position: relative;

View File

@ -65,8 +65,7 @@
}
},
onLoad(options) {
onShow() {
this.baseurl = baseurl;
let that = this
try {
@ -83,6 +82,7 @@
} catch (e) {}
this.myInfo()
},
onLoad(options) {},
methods: {
myInfo() {
nursePerson(this.phonenumber, this.password).then(res => {