From dea4726e50cfd8dc259ce044ca3dbcb72d26d6c6 Mon Sep 17 00:00:00 2001
From: francis_fh <13935151924@163.com>
Date: Thu, 27 Nov 2025 17:07:04 +0800
Subject: [PATCH 1/2] =?UTF-8?q?H5=E7=99=BB=E5=BD=95=E4=B9=8B=E5=90=8E?=
=?UTF-8?q?=E8=B7=B3=E8=BD=AC=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/login/h5-login.vue | 30 ++++++------------------------
1 file changed, 6 insertions(+), 24 deletions(-)
diff --git a/pages/login/h5-login.vue b/pages/login/h5-login.vue
index dbf8bda..7b10e8a 100644
--- a/pages/login/h5-login.vue
+++ b/pages/login/h5-login.vue
@@ -75,29 +75,11 @@
-
-
-
-
-
- 其他登录方式
-
-
-
-
-
-
-
-
- 社保卡登录
-
-
-
@@ -211,11 +193,11 @@ const handleLogin = async () => {
title: '登录成功',
icon: 'success'
})
-
- // 跳转到首页
- uni.reLaunch({
- url: '/pages/index/index'
- })
+ window.location.assign('http://222.80.110.161:11111/mechine-dual-vue/login')
+ // // 跳转到首页
+ // uni.reLaunch({
+ // url: '/pages/index/index'
+ // })
} else {
uni.showToast({
title: '登录失败',
From 714b06100ac4b73aec0c45a055ff66218edd9502 Mon Sep 17 00:00:00 2001
From: francis_fh <13935151924@163.com>
Date: Thu, 27 Nov 2025 18:12:26 +0800
Subject: [PATCH 2/2] =?UTF-8?q?=E7=A7=BB=E5=8A=A8=E7=AB=AF=E8=8E=B7?=
=?UTF-8?q?=E5=8F=96=E4=BD=8D=E7=BD=AE=E5=BC=80=E5=8F=91?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/job/publishJob.vue | 67 ++++++++++++++++++++--------------------
1 file changed, 33 insertions(+), 34 deletions(-)
diff --git a/pages/job/publishJob.vue b/pages/job/publishJob.vue
index ec0281a..13bfe3f 100644
--- a/pages/job/publishJob.vue
+++ b/pages/job/publishJob.vue
@@ -111,15 +111,13 @@
工作地点
-
-
-
-
-
+
+
+ 获取定位
@@ -594,6 +592,15 @@ const validateForm = () => {
}
}
+ // 验证定位信息
+ if (!formData.latitude || !formData.longitude) {
+ uni.showToast({
+ title: '请点击"获取定位"按钮获取工作地点位置',
+ icon: 'none'
+ });
+ return false;
+ }
+
// 薪资验证
const minSalary = parseFloat(formData.minSalary);
const maxSalary = parseFloat(formData.maxSalary);
@@ -792,36 +799,28 @@ const validateForm = () => {
}
}
- // 工作地点输入容器样式
- .location-input-container {
+ // 工作地点文字按钮样式
+ .location-text-btn {
+ width: 100%;
+ height: 80rpx;
+ background: #256BFA;
+ border: none;
+ border-radius: 12rpx;
display: flex;
align-items: center;
- position: relative;
+ justify-content: center;
+ margin-top: 20rpx;
+ transition: all 0.3s ease;
- .location-input {
- flex: 1;
- padding-right: 100rpx;
+ .location-btn-text {
+ font-size: 28rpx;
+ color: #fff;
+ font-weight: 500;
}
- .location-icon-btn {
- position: absolute;
- right: 0;
- top: 44%;
- transform: translateY(-50%);
- width: 80rpx;
- height: 60rpx;
- display: flex;
- align-items: center;
- justify-content: center;
- background: #f0f0f0;
- border: none;
- border-radius: 12rpx;
- transition: all 0.3s ease;
- z-index: 99;
-
- &:active {
- transform: translateY(-50%) scale(0.95);
- }
+ &:active {
+ background: #1a5cd9;
+ transform: scale(0.98);
}
}
}