From 6e8d2563d5df97293d826ec31bddbf2ec290fb14 Mon Sep 17 00:00:00 2001 From: unknown <573515615@qq.com> Date: Sat, 1 Nov 2025 07:56:04 +0800 Subject: [PATCH] =?UTF-8?q?'=E5=B7=A5=E4=BD=9C=E8=AF=81'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/CustomTabBar.vue | 7 +- pages/index/index.vue | 51 ++++++-- pages/mine/apply.vue | 234 +++++++++++++++++++++++------------- pages/mine/mine.vue | 123 ++++++++++++++++++- 4 files changed, 314 insertions(+), 101 deletions(-) diff --git a/components/CustomTabBar.vue b/components/CustomTabBar.vue index 862a2a7..d835258 100644 --- a/components/CustomTabBar.vue +++ b/components/CustomTabBar.vue @@ -64,9 +64,10 @@ export default{ }); }, linkOrder(){ - uni.navigateTo({ - url: '/pages/type/type' - }); + // uni.navigateTo({ + // url: '/pages/type/type' + // }); + this.$emit('centerClick','') } }, mounted(){ diff --git a/pages/index/index.vue b/pages/index/index.vue index 1da1966..8be93a9 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -13,7 +13,7 @@ - + {{cityText||'选择城市'}} @@ -249,25 +249,27 @@ 好的 - - + + 工作证 - 张天辰 - 工号:GH02301~ - + {{personInfo.realname}} + + 人身保险 - 已上传 + 已上传 + 待上传 健康证 - 已上传 + 已上传 + 待上传 - 高空作业证 + @@ -329,7 +331,7 @@ - + @@ -352,6 +354,8 @@ export default { data() { return { + userinfo: {}, + personInfo: {}, jscode:'', // limit:3, typelist: [], @@ -467,6 +471,7 @@ onHide() { }, onLoad() { + this.getauth() // this.getdata() // this.getquestion() // this.recycleOrderList() @@ -510,6 +515,21 @@ } }, methods: { + centerClick(val){ + console.log(val,'fff') + this.pop2Show = true; + }, + getauth(){ + var _this = this; + _this.$api.userInfo({},res=>{ + if(res.code == '1'){ + _this.userinfo = res.data.user + _this.personInfo = res.data.person + _this.cityText = res.data.person.city_ids_show + }else{ + } + }) + }, back_city(res){ if(res){ this.cityText = res.cityName; @@ -1489,5 +1509,16 @@ color: #333333; line-height: 36rpx; } + .rightText2{ + width: 115rpx; + height: 48rpx; + line-height: 48rpx; + text-align: center; + background: rgba(251,143,12,0.1); + border-radius: 10rpx; + font-weight: 400; + font-size: 30rpx; + color: #FB8F0C; + } diff --git a/pages/mine/apply.vue b/pages/mine/apply.vue index 4be664c..ca57417 100644 --- a/pages/mine/apply.vue +++ b/pages/mine/apply.vue @@ -1,98 +1,113 @@ @@ -291,7 +315,8 @@ user_money:0, person_money:0, exchange_shop:'', - userinfo:{}, + userinfo:{}, + personInfo: {}, headflag:false, nickname:'微信用户', person:{}, @@ -303,7 +328,8 @@ passwordShow: false, eyeOpen: false, chargeShow: false, - chargeNum: '' + chargeNum: '', + pop2Show: false } }, components:{ @@ -334,6 +360,10 @@ }, methods: { + centerClick(val){ + console.log(val,'fff') + this.pop2Show = true; + }, createRecharge(){ console.log(this.person) let data = { @@ -400,12 +430,15 @@ if(res.data.user.avatar){ _this.avatar = res.data.user.avatar } + _this.userinfo = res.data.user + _this.personInfo = res.data.person // console.log(res.data.user) _this.nickname = res.data.user.nickname _this.point = res.data.user.user_point _this.user_money = res.data.user.money _this.person_money = res.data.user.person_money - _this.person = res.data.person + _this.person = res.data.person + uni.setStorageSync('personInfo', res.data.person); }else if(res.code == '0'){ _this.avatar = '/static/img/t2.png'; @@ -948,5 +981,85 @@ button::after{ font-weight: 500; font-size: 28rpx; color: #FFFFFF; + } + + .popBoxTwo{ + width: 520rpx; + height: 800rpx; + .popTwoImg{ + position: absolute; + left: 0; + top: 0; + width: 100%; + height: 100%; + z-index: 1; + } + .popContent{ + position: absolute; + left: 0; + top: 0; + width: 100%; + height: 100%; + z-index: 2; + display: flex; + flex-direction: column; + justify-content: flex-start; + align-items: center; + .popTwoText1{ + font-weight: bold; + font-size: 48rpx; + color: #7F5C2A; + line-height: 60rpx; + margin-top: 106rpx; + } + .popTwoText2{ + font-weight: bold; + font-size: 36rpx; + color: #4F3D24; + margin-top: 29rpx; + } + .popTwoText3{ + font-weight: 400; + font-size: 24rpx; + color: #B8A58B; + } + .popTwoText4{ + width: 420rpx; + height: 60rpx; + line-height: 60rpx; + padding-left: 27rpx; + background: rgba(255,141,96,0.1); + border-radius: 10rpx; + // opacity: 0.1; + font-weight: 400; + font-size: 24rpx; + color: #C56742; + margin-top: 15rpx; + } + .popTowHeadImg{ + width: 300rpx; + height: 300rpx; + background: #FCA30D; + border-radius: 30rpx; + margin-top: 23rpx; + } + .text1{ + font-weight: 500; + font-size: 24rpx; + color: #000000; + } + .status{ + width: 80rpx; + height: 36rpx; + line-height: 36rpx; + background: #FF8D60; + border-radius: 10rpx; + font-weight: 500; + font-size: 20rpx; + color: #FFFFFF; + margin-left: 9rpx; + text-align: center; + } + } } \ No newline at end of file