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

View File

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