混淆,改动代码

This commit is contained in:
GYJ
2024-12-21 10:38:04 +08:00
parent a7f6209b08
commit f87a4b285e
34 changed files with 780 additions and 782 deletions

View File

@@ -1,7 +1,7 @@
<template>
<view>
<view class="usermain">
<view class="usermain-item u-border-bottom">
<view class="userMain">
<view class="userMain-item u-border-bottom">
<view>头像</view>
<view>
<!-- #ifdef MP-WEIXIN -->
@@ -16,7 +16,7 @@
<!-- #endif -->
</view>
</view>
<view class="usermain-item item-padding u-border-bottom">
<view class="userMain-item item-padding u-border-bottom">
<view>用户名</view>
<view>
<view class="cu-form-group">
@@ -24,14 +24,14 @@
</view>
</view>
</view>
<!-- <view class="usermain-item item-padding">
<!-- <view class="userMain-item item-padding">
<view >姓名</view>
<view class="cu-form-group">
<input v-model="realName" placeholder="请填写您的真实姓名" />
</view>
</view> -->
<view class="usermain-item item-padding u-border-bottom">
<view class="userMain-item item-padding u-border-bottom">
<view>手机</view>
<view>
<!-- #ifndef MP-WEIXIN -->
@@ -52,7 +52,7 @@
</view>
</view>
<!-- <view class="usermain-item item-padding" @click="goMyAddress">
<!-- <view class="userMain-item item-padding" @click="goMyAddress">
<view >地址管理</view>
<view>
@@ -63,7 +63,7 @@
</view> -->
</view>
<view class="footer-btn">
<view class="usermain-btn" @click="messagebtn()">保存</view>
<view class="userMain-btn" @click="messagebtn()">保存</view>
</view>
</view>
</template>
@@ -99,7 +99,7 @@
code: code
}
this.$Request.postT('/app/Login/wxPhone', data).then(res => {
if (res.code == 0) {
if (res.code === 0) {
this.phone = res.data.phone_info.purePhoneNumber;
} else {
uni.showToast({
@@ -294,7 +294,7 @@
getUserInfo() {
let userId = uni.getStorageSync('userId')
this.$u.api.userinfo().then(res => {
if (res.code == 0) {
if (res.code === 0) {
this.userName = res.data.userName;
this.phone = res.data.phone;
this.phones = res.data.phone
@@ -427,11 +427,11 @@
height: 100%;
}
.usermain {
.userMain {
background: #FFFFFF;
}
.usermain-item {
.userMain-item {
display: flex;
align-items: center;
margin-left: 40rpx;
@@ -440,7 +440,7 @@
/* border-bottom: 2rpx solid #f2f2f2; */
}
.usermain-item.item-padding {
.userMain-item.item-padding {
padding: 0 40rpx 0 0;
}
@@ -461,7 +461,7 @@
margin-top: 150rpx;
}
.footer-btn .usermain-btn {
.footer-btn .userMain-btn {
color: #FFFFFF;
background: #ff7581;
text-align: center;