mirror of
https://gitee.com/elegant_wings/dbd-meeting-wx-small.git
synced 2025-06-21 15:29:37 +08:00
更改UI
更改UI大小,修复报修页面换行BUG;加入修改个人信息不填姓名时的提醒
This commit is contained in:
parent
315f501292
commit
f61daf18bb
@ -1,5 +1,5 @@
|
||||
let app = getApp()
|
||||
|
||||
import Notify from '@vant/weapp/notify/notify';
|
||||
import {
|
||||
userProfile,
|
||||
getUserInfoRq
|
||||
@ -81,7 +81,13 @@ Page({
|
||||
|
||||
confirm() {
|
||||
let that = this
|
||||
console.log(this.data.name)
|
||||
if (this.data.name == '姓名') {
|
||||
console.log(that.data)
|
||||
if(!that.data.nickname || that.data.nickname == '') {
|
||||
Notify('请输入姓名!');
|
||||
return
|
||||
}
|
||||
app.AjaxRequest('POST', {
|
||||
'content-type': 'application/json',
|
||||
'Authorization': 'Bearer ' + app.Getopenid()
|
||||
|
@ -1,4 +1,6 @@
|
||||
{
|
||||
"usingComponents": {},
|
||||
"usingComponents": {
|
||||
"van-notify": "@vant/weapp/notify/index"
|
||||
},
|
||||
"navigationBarTitleText": "个人信息"
|
||||
}
|
@ -77,4 +77,5 @@
|
||||
</view> -->
|
||||
</view>
|
||||
<view class="submitBtn" bindtap="exitaccount">退出登录</view>
|
||||
</view>
|
||||
</view>
|
||||
<van-notify id="van-notify" />
|
@ -7,8 +7,6 @@
|
||||
background: #f6f6f6;
|
||||
}
|
||||
|
||||
.contentView {}
|
||||
|
||||
.contentView .rowView.self {
|
||||
padding: 28rpx 28rpx 28rpx 30rpx;
|
||||
justify-content: flex-start;
|
||||
@ -89,11 +87,12 @@
|
||||
|
||||
.contentView .rowView .label,
|
||||
.contentView .rowColumnView .label {
|
||||
display: inline-block;
|
||||
white-space: nowrap;
|
||||
/* display: inline-block; */
|
||||
position: relative;
|
||||
font-size: 34rpx;
|
||||
color: #000000;
|
||||
/* max-width: 160rpx; */
|
||||
/* min-width: 160rpx; */
|
||||
margin-right: 30rpx;
|
||||
}
|
||||
|
||||
@ -112,7 +111,6 @@
|
||||
font-size: 34rpx;
|
||||
}
|
||||
|
||||
|
||||
.uploadImgView {
|
||||
padding: 0 40rpx;
|
||||
background-color: #ffffff;
|
||||
|
@ -32,18 +32,18 @@
|
||||
.bulge .tab-bar-bulge{
|
||||
position: absolute;
|
||||
z-index: -1;
|
||||
width: 64px;
|
||||
height: 64px;
|
||||
top: -24px;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
top: -34px;
|
||||
border-radius: 50%;
|
||||
border-top: 1px solid #e6e6e6;
|
||||
background-color: #FFF;
|
||||
}
|
||||
.bulge .image{
|
||||
position: absolute;
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
top: -16px;
|
||||
width: 64px;
|
||||
height: 64px;
|
||||
top: -26px;
|
||||
}
|
||||
.bulge .tab-bar-view{
|
||||
position: relative;
|
||||
@ -55,4 +55,6 @@
|
||||
font-size: 12px;
|
||||
margin-top: 4px;
|
||||
}
|
||||
|
||||
.bulge .tab-bar-view {
|
||||
margin-top: 8px;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user