From b0be15d460c35c9417b58b240f3f942ed6c03543 Mon Sep 17 00:00:00 2001
From: Apcallover <1503963513@qq.com>
Date: Mon, 19 Feb 2024 15:15:20 +0800
Subject: [PATCH] =?UTF-8?q?flat:=20style=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
main.js | 23 ++++++++++++
pageMy/my/resume/index.vue | 10 ++---
pages.json | 2 +-
pages/index/index.vue | 77 +++++++++++++++++++++++++++++++++-----
4 files changed, 96 insertions(+), 16 deletions(-)
diff --git a/main.js b/main.js
index b9aae98..e49b2e0 100644
--- a/main.js
+++ b/main.js
@@ -10,6 +10,27 @@ import uView from '@/uni_modules/uview-ui'
// Vue.component('mescroll-body', MescrollBody)
// Vue.component('mescroll-uni', MescrollUni)
+function navTo(url, needLogin) {
+ if(needLogin) {
+ return
+ }
+ uni.navigateTo({
+ url: url
+ })
+}
+
+const msg = (title, duration=1500, mask=false, icon='none')=>{
+ if(typeof title === 'string'){
+ return;
+ }
+ uni.showToast({
+ title,
+ duration,
+ mask,
+ icon
+ });
+}
+
// 注册全局组件
import JlButton from "@/components/jl-button/main.vue"
import JlForm from "@/components/jl-form/main.vue"
@@ -20,6 +41,8 @@ Vue.component('jl-form', JlForm)
Vue.component('jl-form-item', JlFormItem)
Vue.component('cs-button', CSButton)
+Vue.prototype.$api = { msg }
+Vue.prototype.navTo = navTo
Vue.config.productionTip = false
Vue.use(util)
diff --git a/pageMy/my/resume/index.vue b/pageMy/my/resume/index.vue
index dddfc9b..611c036 100644
--- a/pageMy/my/resume/index.vue
+++ b/pageMy/my/resume/index.vue
@@ -19,7 +19,7 @@
我的职业技能
-
+
@@ -37,11 +37,11 @@
+ v-bind:class="['jobAddress', { 'input-error': (!myResume.city.id || !myResume.city.workplace) && isShowBorder }]">
您想工作的地点
- {{ myResume.city !== "{}" ? myResume.city.id ? getCity(myResume.city.id) : myResume.city.workplace : '请选择'
+ {{ myResume.city == {} ? myResume.city.id ? getCity(myResume.city.id) : myResume.city.workplace : '请选择'
}}
@@ -53,7 +53,7 @@
您的学历
- {{ myResume.education !== "{}" ? myResume.education.label : '请选择' }}
+ {{ myResume.education == {} ? myResume.education.label : '请选择' }}
@@ -306,7 +306,7 @@ export default {
// 电话号码格式正确
console.log(phone, "电话号码格式正确");
setResume({
- id: this.id, education: education.label, workplace:city.workplace?city.workplace: city.parentLabel + '-' + city.label, telephone: phone, wage
+ id: this.id, education: education.label, workplace: city.parentLabel + '-' + city.label, telephone: phone, wage
}).then(res => {
this.isShowButton = false;
this.getResume()
diff --git a/pages.json b/pages.json
index b127937..41fa360 100644
--- a/pages.json
+++ b/pages.json
@@ -441,7 +441,7 @@
"navigationBarBackgroundColor": "#FFFFFF",
"enablePullDownRefresh": true
}
- }
+ }
]
}],
"globalStyle" : {
diff --git a/pages/index/index.vue b/pages/index/index.vue
index ba53a61..74e4e1e 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -56,12 +56,12 @@
- 技能学习
- 提升个人技能
+ 最新任务
+ 最新任务推荐
-
+
+
+
+
+
+
+
+
+ 最新岗位
+ 最新人岗推荐
+
+
+
+
+
+
+
+
+
+ 我的申请
+ 我申请的信息
+
+
+
+
+
+
+
+
+
+ 我的收藏
+ 我收藏的信息
+
+
+
+
+
+
+
+
+
+ 我的浏览
+ 我浏览的信息
+
+
+
帮助与支持
-
在线咨询
-
+ -->
+
+
+
+
+ 在线咨询
+
+
+
+
+
+ 就业帮助
+
@@ -550,7 +605,7 @@
.jobService {
width: 100%;
- height: 440rpx;
+ height: 660rpx;
background: #FEFFFE;
margin-top: 16rpx;
padding: 24rpx 0rpx 0rpx 32rpx;
@@ -683,6 +738,8 @@
width: 100%;
height: auto;
background: #FEFFFE;
+ margin-top: 16rpx;
+ padding: 24rpx 0 0 0;
}