提交 89cca47c authored 作者: 赵世杰's avatar 赵世杰

1

上级 4518cf5f
......@@ -59,8 +59,8 @@
},
login(){
uni.request({
url: 'http://192.168.0.6:8000/loginform',
// url: 'https://jyzp.365jft.com/jfb-recruit/loginform',
// url: 'http://192.168.0.6:8000/loginform',
url: 'https://jyzp.365jft.com/jfb-recruit/loginform',
method: 'POST',
data: {
account: this.openId,
......
// 基础配置
const baseConfig = {
baseUrl: 'http://192.168.0.6:8000',
// baseUrl: 'https://jyzp.365jft.com/jfb-recruit',
// baseUrl: 'http://192.168.0.6:8000',
baseUrl: 'https://jyzp.365jft.com/jfb-recruit',
timeout: 10000, // 10秒超时
header: {
'Content-Type': 'application/json'
......
......@@ -3,17 +3,13 @@
"^u-(.*)": "@/uni_modules/uview-ui/components/u-$1/u-$1.vue"
},
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
{
"path" : "pages/user/resume/index",
"style" :
{
"navigationBarTitleText" : "简历"
}
},
{
"path": "pages/home/index",
"style": {
"navigationBarTitleText": "君营直聘"
"navigationBarTitleText": "君营直聘",
"enablePullDownRefresh": true, // 开启下拉刷新
"backgroundColor": "#F5F5F5", // 下拉刷新背景色
"backgroundTextStyle": "dark" // 下拉刷新文字颜色(dark/light)
}
},
{
......@@ -49,18 +45,31 @@
"navigationBarTitleText" : "求职意向"
}
},
{
"path" : "pages/user/resume/index",
"style" :
{
"navigationBarTitleText" : "简历"
}
},
{
"path" : "pages/user/deliverLog",
"style" :
{
"navigationBarTitleText" : "投递记录"
"navigationBarTitleText" : "投递记录",
"enablePullDownRefresh": true, // 开启下拉刷新
"backgroundColor": "#F5F5F5", // 下拉刷新背景色
"backgroundTextStyle": "dark" // 下拉刷新文字颜色(dark/light)
}
},
{
"path" : "pages/user/collectLog",
"style" :
{
"navigationBarTitleText" : "收藏记录"
"navigationBarTitleText" : "收藏记录",
"enablePullDownRefresh": true, // 开启下拉刷新
"backgroundColor": "#F5F5F5", // 下拉刷新背景色
"backgroundTextStyle": "dark" // 下拉刷新文字颜色(dark/light)
}
},
{
......
......@@ -44,7 +44,7 @@
</view>
<view class="f_b occupational">
<view>{{item.industryName}}</view>
<view>{{item.org.city != '市辖区' ? item.org.city : item.org.province}}</view>
<view>{{item.city != '市辖区' ? item.city : item.province + ' ' + item.region}}</view>
</view>
</view>
<u-loadmore
......@@ -77,6 +77,9 @@
},
onLoad() {
},
onPullDownRefresh() {
this.load('sx')
},
onShow() {
this.getDetail()
this.load()
......@@ -114,13 +117,21 @@
this.tabName = e.name
this.load()
},
load() {
load(type) {
this.$http.get('/public/recruit/l', {
status: 'up',
baseCode: 'jyjfb',
selTitle: this.selTitle,
industryName: this.tabName == '推荐' ? '' : this.tabName
}).then(res => {
this.list = res.data.list
if (type == 'sx') {
uni.stopPullDownRefresh();
uni.showToast({
title: '刷新成功',
icon: 'none'
})
}
})
},
toDetail(el = {}) {
......
......@@ -54,13 +54,23 @@
onLoad() {
this.load()
},
onPullDownRefresh() {
this.load('sx')
},
onShow() {
},
methods: {
load() {
load(type) {
this.$http.get('/collect/l', {}).then(res => {
this.list = res.data.list
if (type == 'sx') {
uni.stopPullDownRefresh();
uni.showToast({
title: '刷新成功',
icon: 'none'
})
}
})
},
toDetail(el = {}) {
......
......@@ -54,13 +54,23 @@
onLoad() {
this.load()
},
onPullDownRefresh() {
this.load('sx')
},
onShow() {
},
methods: {
load() {
load(type) {
this.$http.get('/signRecord/l', {}).then(res => {
this.list = res.data.list
if (type == 'sx') {
uni.stopPullDownRefresh();
uni.showToast({
title: '刷新成功',
icon: 'none'
})
}
})
},
toDetail(el = {}) {
......
......@@ -8,7 +8,8 @@
<view class="f_s">
{{ userInfo.age || 0 }}
<view style="margin: 0 20rpx;">|</view>
{{ userInfo.sex ? '男' : '女' }}
{{ userInfo.sex ? '男' : '' }}
{{ userInfo.sex === false ? '女' : '' }}
</view>
<view class="f_s">
<u-icon name="phone-fill" size="20"/>
......
......@@ -4,9 +4,9 @@
"pages/home/jobDetails",
"pages/user/resume/intention",
"pages/user/index",
"pages/user/resume/index",
"pages/user/resume/personalInfo",
"pages/user/resume/addIntention",
"pages/user/resume/index",
"pages/user/deliverLog",
"pages/user/collectLog",
"pages/home/companyDetails",
......
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论