From 5b861fc422641b5ee5214e547c03ccd68ae16506 Mon Sep 17 00:00:00 2001 From: mx <1@qq.com> Date: Thu, 6 Mar 2025 17:28:18 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B8=AE=E6=8A=A5=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/addEmployeeAndBaoming.vue | 5 +- pages/components/merchantTask.vue | 16 +---- pages/helpBaoming.vue | 16 ++++- pages/taskDetails.vue | 116 ++++++++++++++++++++++-------- 4 files changed, 108 insertions(+), 45 deletions(-) diff --git a/pages/addEmployeeAndBaoming.vue b/pages/addEmployeeAndBaoming.vue index cfa04e7..b9487fa 100644 --- a/pages/addEmployeeAndBaoming.vue +++ b/pages/addEmployeeAndBaoming.vue @@ -181,8 +181,11 @@ export default { addAndSign(this.queryParams).then(response => { this.$modal.msgSuccess("报名成功"); + // uni.navigateTo({ + // url: "helpBaoming?id=" + this.queryParams.taskId + // }) uni.navigateTo({ - url: "helpBaoming?id=" + this.queryParams.taskId + url: "taskDetails?id="+this.queryParams.taskId }) }) }, diff --git a/pages/components/merchantTask.vue b/pages/components/merchantTask.vue index 76fce16..ec81bab 100644 --- a/pages/components/merchantTask.vue +++ b/pages/components/merchantTask.vue @@ -51,8 +51,6 @@ - - - + @@ -75,17 +73,15 @@ {{task.taskName}} - - ¥{{task.dayPrice}}元 /天 - + 用工日期 @@ -176,10 +172,7 @@ }; }, created: function() { -// <<<<<<< HEAD -// this.realName = this.$store.state.user.nickName -// this.getList(); -// ======= + this.realName = this.$store.state.user.nickName verifyToken().then(response => { if (response.code == 401){ @@ -191,9 +184,6 @@ this.getList(); } }) - - -// >>>>>>> 2bae866b15807e8e0ba3242cc13a85d25a1b5248 }, methods:{ reload(){ diff --git a/pages/helpBaoming.vue b/pages/helpBaoming.vue index 2f1cbbe..293a1fe 100644 --- a/pages/helpBaoming.vue +++ b/pages/helpBaoming.vue @@ -15,8 +15,9 @@ + 未报名人员 - + {{item.employeeName}} @@ -106,6 +107,10 @@ export default { // }) // this.$tab.reLaunch('/pages/index') + + uni.reLaunch({ + url: "taskDetails?id="+this.queryParams.id + }) }) }, addEmployeeAndBaoming(){ @@ -174,6 +179,10 @@ html, body { height: calc(100% - 270rpx); overflow-y: auto; margin-top: 30rpx; + .bm-lab{ + margin-left: 20rpx; + margin-bottom: 30rpx; + } .list{ display: grid; grid-template-columns: repeat(4, 1fr); /* 创建3个等宽的列 */ @@ -271,7 +280,7 @@ html, body { margin-left: 8rpx; border-radius: 10rpx; width: 300rpx; - height: 90rpx; + height: 85rpx; display: flex; align-items: center; justify-content: center; @@ -286,7 +295,7 @@ html, body { margin-left: 8rpx; border-radius: 10rpx; width: 300rpx; - height: 90rpx; + height: 85rpx; display: flex; align-items: center; justify-content: center; @@ -294,6 +303,7 @@ html, body { } + } diff --git a/pages/taskDetails.vue b/pages/taskDetails.vue index 0a75ff5..f3f45f2 100644 --- a/pages/taskDetails.vue +++ b/pages/taskDetails.vue @@ -3,7 +3,7 @@ - + {{task.baomingNum}} @@ -42,27 +42,35 @@ - + + - - - - - - {{item.employeeName}} - - - {{item.phone}} - - - {{item.remark == null ? "备注说明文案" : item.remark}} - + + + + + + {{item.employeeName}} + + + {{item.phone}} + + + {{item.remark == null ? "备注说明文案" : item.remark}} + + - + + + 帮报名 + + + + @@ -96,8 +104,10 @@ @@ -283,7 +312,7 @@ } .search-container{ margin-top: 10rpx; - margin-bo: 10rpx; + margin-bottom: 10rpx; width: 100%; display: flex; align-items: center; @@ -318,6 +347,7 @@ /*padding: 0rpx 10rpx 10rpx 10rpx;*/ margin-top: 30rpx; place-items: center; + .item-check1{ background-size: 100% 100%; background-image: url("http://8.155.21.176:9000/yonggong/m-images/sign/sign.png"); @@ -450,6 +480,36 @@ } + .td-bottom{ + background-color: #ffffff; + width: 100%; + height: 180rpx; + position: absolute; + /*bottom: env(safe-area-inset-bottom);*/ + bottom: 0; + left: 0; + display: flex; + align-items: center; + justify-items: center; + padding: 0rpx 50rpx 0rpx 50rpx; + .help-baoming{ + width: 100%; + background-color: #107ff6; + color: #ffffff; + font-weight: 650; + font-size: 30rpx; + margin-left: 8rpx; + border-radius: 10rpx; + height: 90rpx; + display: flex; + align-items: center; + justify-content: center; + margin-left: auto; /* 推动元素到右边 */ + } + + + + }