This commit is contained in:
dengxin
2024-03-28 19:45:03 +08:00
parent f28aa3317c
commit 880396f213
8 changed files with 5005 additions and 5003 deletions

View File

@@ -6,7 +6,7 @@
姓名
</view>
<view class="user_Right">
{{auth.authInfo.realName}}
{{ auth.authInfo.realName }}
</view>
</view>
<view class="userBaseList">
@@ -14,7 +14,7 @@
性别
</view>
<view class="user_Right">
{{auth.authInfo.sex===1?'男':'女'}}
{{ auth.authInfo.sex === 1 ? '男' : '女' }}
</view>
</view>
<view class="userBaseList">
@@ -22,7 +22,7 @@
出生年月
</view>
<view class="user_Right">
{{birthday}}
{{ birthday }}
</view>
</view>
<view class="userBaseList">
@@ -30,7 +30,7 @@
手机号
</view>
<view class="user_Right">
{{auth.authInfo.telphone}}
{{ auth.authInfo.telphone }}
</view>
</view>
<view class="userBaseList">
@@ -53,88 +53,92 @@
</template>
<script>
import {
userInfo
} from '@/api/resume.js';
import {
dateFormat
} from "../../untils/format.js";
import {
mapGetters
} from 'vuex'
import {
userInfo
} from '@/api/resume.js';
import {
dateFormat
} from "../../untils/format.js";
import {
mapGetters
} from 'vuex'
export default {
data() {
return {
userInfo: {}
}
},
computed: {
...mapGetters(['auth', 'authInfo']),
birthday() {
return dateFormat(new Date(this.authInfo.birthday.replace(/\-/g, "/").replace('T',' ')), "yyyy-MM");
}
},
onShow() {},
methods: {
goSetUserBase: function() {
uni.navigateTo({
url: '../setUserBase/index'
})
export default {
data() {
return {
userInfo: {}
}
},
computed: {
...mapGetters(['auth', 'authInfo']),
birthday() {
if (!!this.authInfo.birthday) {
return dateFormat(new Date(this.authInfo.birthday.replace(/\-/g, "/").replace('T', ' ')), "yyyy-MM");
} else {
return "暂无"
}
}
},
onShow() { },
methods: {
goSetUserBase: function () {
uni.navigateTo({
url: '../setUserBase/index'
})
}
}
}
</script>
<style>
.nothingText text {
color: #1B66FF;
}
.nothingText text {
color: #1B66FF;
}
.nothingText {
text-align: center;
font-family: PingFangSC-Regular;
font-size: 28rpx;
color: #666666;
margin-top: 20rpx;
}
.nothingText {
text-align: center;
font-family: PingFangSC-Regular;
font-size: 28rpx;
color: #666666;
margin-top: 20rpx;
}
.nothing {
display: block;
margin: 0 auto;
width: 400rpx;
height: 200rpx;
margin-top: 50%;
}
.nothing {
display: block;
margin: 0 auto;
width: 400rpx;
height: 200rpx;
margin-top: 50%;
}
.user_Right {
font-family: PingFangSC-Regular;
font-size: 28rpx;
color: #999999;
}
.user_Right {
font-family: PingFangSC-Regular;
font-size: 28rpx;
color: #999999;
}
.user_left {
font-family: PingFangSC-Regular;
font-size: 32rpx;
color: #333333;
}
.user_left {
font-family: PingFangSC-Regular;
font-size: 32rpx;
color: #333333;
}
.userBaseList {
display: flex;
align-items: center;
justify-content: space-between;
padding: 30rpx;
padding-left: 0;
border-bottom: 1rpx solid #dddddd;
}
.userBaseList {
display: flex;
align-items: center;
justify-content: space-between;
padding: 30rpx;
padding-left: 0;
border-bottom: 1rpx solid #dddddd;
}
.userBase {
background-color: #fefefe;
padding-left: 30rpx;
margin-top: 30rpx;
}
.userBase {
background-color: #fefefe;
padding-left: 30rpx;
margin-top: 30rpx;
}
page {
background-color: #fff;
}
page {
background-color: #fff;
}
</style>

View File

@@ -141,7 +141,7 @@
</view>
</view>
</picker>
<picker :range="insureList" @change="insureChange" :value="indexBao">
<!-- <picker :range="insureList" @change="insureChange" :value="indexBao">
<view class="list">
<view class="listLeft">
<view class="name">
@@ -157,7 +157,7 @@
<image src="@/static/img/right.svg" mode=""></image>
</view>
</view>
</picker>
</picker> -->
<view v-if="auth.realNameState"></view>
<view class="btn nocheck" v-else-if="loading">
<view class="bottombtn">
@@ -304,6 +304,7 @@
},
idNumberFilter,
identityChange(val) {
console.log("val",val);
uni.showLoading();
this.$store.dispatch('authLabor').then(() => {
this.realIndex = val.detail.value;