|
@@ -26,9 +26,6 @@
|
|
|
</view>
|
|
</view>
|
|
|
<input class="custom-input" v-model="userInfo.nickName" type="text" placeholder="请输入昵称">
|
|
<input class="custom-input" v-model="userInfo.nickName" type="text" placeholder="请输入昵称">
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="arrow-right">
|
|
|
|
|
- <!-- <u-icon name="arrow-right" color="#666" size="16"></u-icon> -->
|
|
|
|
|
- </view>
|
|
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="custom-line"></view>
|
|
<view class="custom-line"></view>
|
|
@@ -106,12 +103,12 @@
|
|
|
<view class="nav-info">
|
|
<view class="nav-info">
|
|
|
<view class="nav-desc">
|
|
<view class="nav-desc">
|
|
|
<view class="nav-name">
|
|
<view class="nav-name">
|
|
|
- <view class="">关系</view>
|
|
|
|
|
|
|
+ <text class="">关系</text>
|
|
|
</view>
|
|
</view>
|
|
|
<input class="custom-input" v-model="userInfo.blood" type="text" placeholder="请输入有关系(如父子)">
|
|
<input class="custom-input" v-model="userInfo.blood" type="text" placeholder="请输入有关系(如父子)">
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="arrow-right">
|
|
|
|
|
- </view>
|
|
|
|
|
|
|
+<!-- <view class="arrow-right">-->
|
|
|
|
|
+<!-- </view>-->
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="custom-line"></view>
|
|
<view class="custom-line"></view>
|
|
@@ -139,9 +136,7 @@
|
|
|
<view class="nav-name">
|
|
<view class="nav-name">
|
|
|
<view class="">备注</view>
|
|
<view class="">备注</view>
|
|
|
</view>
|
|
</view>
|
|
|
- <input class="custom-input" v-model="userInfo.remark" type="text" placeholder="请输入昵称">
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="arrow-right">
|
|
|
|
|
|
|
+ <input class="custom-input" v-model="userInfo.remark" type="text" placeholder="请输入备注信息">
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
@@ -203,14 +198,13 @@ export default {
|
|
|
onLoad(option) {
|
|
onLoad(option) {
|
|
|
|
|
|
|
|
// 判断Openid是否为空
|
|
// 判断Openid是否为空
|
|
|
- if (!this.$isDataEmpty(option.data)) {
|
|
|
|
|
|
|
+ if (option.data) {
|
|
|
const data = JSON.parse(option.data);
|
|
const data = JSON.parse(option.data);
|
|
|
this.userInfo = data;
|
|
this.userInfo = data;
|
|
|
if (this.userInfo.ranks != '0') {
|
|
if (this.userInfo.ranks != '0') {
|
|
|
this.userInfo.ranksState = '1';
|
|
this.userInfo.ranksState = '1';
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
- console.log("333333333333333333333333333”")
|
|
|
|
|
console.log(this.userInfo)
|
|
console.log(this.userInfo)
|
|
|
|
|
|
|
|
},
|
|
},
|
|
@@ -319,24 +313,24 @@ export default {
|
|
|
@import './index.rpx.scss';
|
|
@import './index.rpx.scss';
|
|
|
|
|
|
|
|
.user-info-wrap {
|
|
.user-info-wrap {
|
|
|
- margin-left: 12px;
|
|
|
|
|
- margin-right: 12px;
|
|
|
|
|
|
|
+ margin-left: 24rpx;
|
|
|
|
|
+ margin-right: 24rpx;
|
|
|
|
|
|
|
|
/* 导航菜单 */
|
|
/* 导航菜单 */
|
|
|
.nav-bar {
|
|
.nav-bar {
|
|
|
background: #fff;
|
|
background: #fff;
|
|
|
- border-radius: 10px;
|
|
|
|
|
- margin-top: 12px;
|
|
|
|
|
|
|
+ border-radius: 20rpx;
|
|
|
|
|
+ margin-top: 24rpx;
|
|
|
|
|
|
|
|
/* 商店信息 */
|
|
/* 商店信息 */
|
|
|
.nav-content {
|
|
.nav-content {
|
|
|
- padding-right: 6px;
|
|
|
|
|
- padding-top: 10px;
|
|
|
|
|
- padding-bottom: 6px;
|
|
|
|
|
|
|
+ padding-right: 12rpx;
|
|
|
|
|
+ padding-top: 20rpx;
|
|
|
|
|
+ padding-bottom: 12rpx;
|
|
|
|
|
|
|
|
.nav-info {
|
|
.nav-info {
|
|
|
display: flex;
|
|
display: flex;
|
|
|
- padding-left: 10px;
|
|
|
|
|
|
|
+ padding-left: 20rpx;
|
|
|
align-items: center;
|
|
align-items: center;
|
|
|
|
|
|
|
|
.logo {
|
|
.logo {
|
|
@@ -344,36 +338,36 @@ export default {
|
|
|
text-align: center;
|
|
text-align: center;
|
|
|
|
|
|
|
|
image {
|
|
image {
|
|
|
- width: 24px;
|
|
|
|
|
- height: 24px;
|
|
|
|
|
|
|
+ width: 48rpx;
|
|
|
|
|
+ height: 48rpx;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.nav-desc {
|
|
.nav-desc {
|
|
|
- width: 46%;
|
|
|
|
|
|
|
+ width: 100%;
|
|
|
display: flex;
|
|
display: flex;
|
|
|
- line-height: 30px;
|
|
|
|
|
|
|
+ line-height: 60rpx;
|
|
|
font-family: PingFangSC-Regular, PingFang SC;
|
|
font-family: PingFangSC-Regular, PingFang SC;
|
|
|
font-weight: 400;
|
|
font-weight: 400;
|
|
|
align-items: center;
|
|
align-items: center;
|
|
|
|
|
|
|
|
.custom-input {
|
|
.custom-input {
|
|
|
- font-size: 12px;
|
|
|
|
|
|
|
+ font-size: 24rpx;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.nav-name {
|
|
.nav-name {
|
|
|
width: 60%;
|
|
width: 60%;
|
|
|
- font-size: 14px;
|
|
|
|
|
|
|
+ font-size: 28rpx;
|
|
|
color: #333333;
|
|
color: #333333;
|
|
|
- line-height: 22px;
|
|
|
|
|
|
|
+ line-height: 44rpx;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.change-store {
|
|
.change-store {
|
|
|
text-align: right;
|
|
text-align: right;
|
|
|
width: 40%;
|
|
width: 40%;
|
|
|
- font-size: 12px;
|
|
|
|
|
|
|
+ font-size:24rpx;
|
|
|
color: #333333;
|
|
color: #333333;
|
|
|
- line-height: 22px;
|
|
|
|
|
|
|
+ line-height: 44rpx;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -382,30 +376,30 @@ export default {
|
|
|
text-align: right;
|
|
text-align: right;
|
|
|
margin: 0 auto;
|
|
margin: 0 auto;
|
|
|
cursor: pointer;
|
|
cursor: pointer;
|
|
|
- padding-top: 3px;
|
|
|
|
|
|
|
+ padding-top: 6rpx;
|
|
|
display: flex;
|
|
display: flex;
|
|
|
justify-content: flex-end;
|
|
justify-content: flex-end;
|
|
|
align-items: center;
|
|
align-items: center;
|
|
|
|
|
|
|
|
image {
|
|
image {
|
|
|
- width: 18px;
|
|
|
|
|
- height: 18px;
|
|
|
|
|
|
|
+ width: 36rpx;
|
|
|
|
|
+ height: 36rpx;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.head-img {
|
|
.head-img {
|
|
|
text-align: center;
|
|
text-align: center;
|
|
|
- padding-right: 20px;
|
|
|
|
|
|
|
+ padding-right: 40rpx;
|
|
|
|
|
|
|
|
image {
|
|
image {
|
|
|
- width: 24px;
|
|
|
|
|
- height: 24px;
|
|
|
|
|
|
|
+ width: 48rpx;
|
|
|
|
|
+ height: 48rpx;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.change-store {
|
|
.change-store {
|
|
|
- font-size: 14px;
|
|
|
|
|
|
|
+ font-size: 28rpx;
|
|
|
color: #999;
|
|
color: #999;
|
|
|
- line-height: 22px;
|
|
|
|
|
|
|
+ line-height: 44rpx;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
@@ -413,18 +407,18 @@ export default {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.sure-btn {
|
|
.sure-btn {
|
|
|
- margin-top: 20px;
|
|
|
|
|
|
|
+ margin-top: 40rpx;
|
|
|
width: 100%;
|
|
width: 100%;
|
|
|
|
|
|
|
|
.btn {
|
|
.btn {
|
|
|
text-align: center;
|
|
text-align: center;
|
|
|
- height: 42px;
|
|
|
|
|
|
|
+ height: 84rpx;
|
|
|
background: #FFE05C;
|
|
background: #FFE05C;
|
|
|
- border-radius: 27px;
|
|
|
|
|
|
|
+ border-radius: 54rpx;
|
|
|
color: #333333;
|
|
color: #333333;
|
|
|
- line-height: 42px;
|
|
|
|
|
- margin-top: 12px;
|
|
|
|
|
- font-size: 14px;
|
|
|
|
|
|
|
+ line-height: 84rpx;
|
|
|
|
|
+ margin-top: 24rpx;
|
|
|
|
|
+ font-size: 24rpx;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
@@ -435,21 +429,21 @@ export default {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.button {
|
|
.button {
|
|
|
- padding: 6px 12px;
|
|
|
|
|
- font-size: 14px;
|
|
|
|
|
|
|
+ padding: 12rpx 24rpx;
|
|
|
|
|
+ font-size: 28rpx;
|
|
|
background-color: #e6e6e6;
|
|
background-color: #e6e6e6;
|
|
|
border: none;
|
|
border: none;
|
|
|
- border-radius: 4px;
|
|
|
|
|
|
|
+ border-radius: 8rpx;
|
|
|
cursor: pointer;
|
|
cursor: pointer;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.custom-input-ranks {
|
|
.custom-input-ranks {
|
|
|
- width: 30px;
|
|
|
|
|
- font-size: 12px;
|
|
|
|
|
|
|
+ width: 60rpx;
|
|
|
|
|
+ font-size: 24rpx;
|
|
|
text-align: center;
|
|
text-align: center;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.radio-item {
|
|
.radio-item {
|
|
|
- padding-right: 6px;
|
|
|
|
|
|
|
+ padding-right: 12rpx;
|
|
|
}
|
|
}
|
|
|
</style>
|
|
</style>
|