作者 李洪娟

优秀

正在显示 100 个修改的文件 包含 2234 行增加0 行删除

要显示太多修改。

为保证性能只显示 100 of 100+ 个文件。

//app.js
App({
onLaunch: function () {
// 展示本地存储能力
var logs = wx.getStorageSync('logs') || []
logs.unshift(Date.now())
wx.setStorageSync('logs', logs)
//自动更新版本
const updateManager = wx.getUpdateManager()
updateManager.onCheckForUpdate(function (res) {
// 请求完新版本信息的回调
})
updateManager.onUpdateReady(function () {
wx.showModal({
title: '更新提示',
content: '新版本已经准备好,是否重启应用?',
success: function (res) {
if (res.confirm) {
// 新的版本已经下载好,调用 applyUpdate 应用新版本并重启
updateManager.applyUpdate()
}
}
})
})
updateManager.onUpdateFailed(function () {
// 新的版本下载失败
wx.showModal({
title: '更新提示',
content: '新版本下载失败',
showCancel: false
})
})
},
post: function (url, data, headerParams, showLoad) {
wx.showNavigationBarLoading()
var promise = new Promise((resolve, reject) => {
//init
let that = this;
let postData = data;
let baseUrl = 'http://elite.w.bronet.cn/api/';
//网络请求
let header = {
'content-type': 'application/x-www-form-urlencoded'
}
header = Object.assign(header, headerParams)
//网络请求
wx.request({
url: baseUrl + url,
data: postData,
method: 'POST',
header: header,
success: function (res) { //返回取得的数据
if (res.data.code == '20000') {
resolve(res.data);
} else if (res.data.code == '201') {
resolve(res.data);
}else{
console.log(res)
wx.showToast({
title: res.data.msg,
icon:'none'
})
}
// else if (res.data.code == '10001') {
// wx.showToast({
// title: res.data.msg,
// icon: 'none',
// duration: 1000,
// success: function (res) {
// let t = setInterval(function () {
// clearInterval(t)
// wx.navigateTo({
// url: '/pages/index/index',
// })
// }, 1000)
// }
// })
// }
// else {
// wx.showModal({
// title: '提示',
// content: res.data.msg,
// showCancel: false
// })
// reject(res.data)
// }
setTimeout(function () {
// if (show||show==undefined){
// wx.hideLoading()
// }
wx.hideNavigationBarLoading()
}, 600)
},
fail: function (e) {
reject('网络出错');
// wx.hideLoading()
wx.hideNavigationBarLoading()
}
})
});
return promise;
},
// pay(res, successData) {
// wx.requestPayment({
// "timeStamp": res.pay.timeStamp,
// "nonceStr": res.pay.nonceStr,
// "package": res.pay.package,
// "signType": "MD5",
// "paySign": res.pay.paySign,
// "success": function (res) {
// wx.showToast({
// title: '支付完成',
// icon: "success",
// duration: 1500,
// success: function (data) {
// successData(data)
// }
// })
// },
// "fail": function (res) {
// wx.showToast({
// title: '取消支付成功!',
// icon: "icon",
// duration: 1500,
// })
// }
// })
// },
// nowDate() {
// let date = new Date();
// let month = date.getMonth() + 1;
// let day = date.getDate();
// return date.getFullYear() + '-' + (month > 9 ? month : ('0' + month)) + '-' + (day > 9 ? day : ('0' + day));
// },
// minDate() {
// let date = new Date();
// date.setDate(date.getDate() - 287);
// let m = date.getMonth() + 1;
// return date.getFullYear() + '-' + m + '-' + date.getDate();
// },
// timeFormate(timestamp, timeType) {
// var timeStamp = timestamp.length == 13 ? timestamp : timestamp * 1000
// var date = new Date(timeStamp); //时间戳为10位需*1000,时间戳为13位的话不需乘1000
// var Y = date.getFullYear() + '-';
// var M = (date.getMonth() + 1 < 10 ? '0' + (date.getMonth() + 1) : date.getMonth() + 1) + '-';
// var D = date.getDate() + ' ';
// var h = date.getHours() + ':';
// var m = (date.getMinutes() < 10 ? '0' + date.getMinutes() : date.getMinutes());
// var s = date.getSeconds();
// if (timeType == 'YYMMDD') {
// return Y + M + D;
// } else {
// return h + m;
// }
// },
// 接口管理
interface: {
// historyDelete: '/home/index/historyDelete',//删除
// shopClass: '/home/index/shopClass',//分类
// shopPage: '/home/index/shopPage',//分页
// history: '/home/index/history',//检索
// index: '/home/index/index', //首页
// login: '/wxapp/public/login', //小程序登录注册
getSessionKey: '/wxapp/public/getSessionKey', //获取sessionKey和openid
},
//全局变量
globalData: {
userInfo: null,
cid: null,
class_id: null
}
})
\ No newline at end of file
... ...
{
"pages": [
"pages/personalData/personalData",
"pages/index/index",
"pages/openIndex/openIndex",
"pages/publish/publish",
"pages/positionDetails/positionDetails",
"pages/goodWord/goodWord",
"pages/easyPart/easyPart",
"pages/hotRecommend/hotRecommend",
"pages/atHome/atHome",
"pages/employerDetails/employerDetails",
"pages/regSuccess/regSuccess",
"pages/inviteFriends/inviteFriends",
"pages/recommend/recommend",
"pages/financialRecord/financialRecord",
"pages/feedback/feedback",
"pages/registration/registration",
"pages/myResume2/myResume2",
"pages/myResume/myResume",
"pages/record2/record2",
"pages/record/record",
"pages/myMessage2/myMessage2",
"pages/myMessage/myMessage",
"pages/index/select/select",
"pages/index/search_4/search_4",
"pages/index/search_2/search_2",
"pages/index/url/url",
"pages/mine/mine"
],
"window": {
"backgroundTextStyle": "light",
"navigationBarBackgroundColor": "#fff",
"navigationBarTitleText": "WeChat",
"navigationBarTextStyle": "black"
},
"tabBar": {
"selectedColor": "#FF8839",
"list": [
{
"pagePath": "pages/index/index",
"text": "首页",
"selectedColor": "#6EAC3D",
"iconPath": "img/nav_02@2x.png",
"selectedIconPath": "img/nav_01@2x.png"
},
{
"pagePath": "pages/publish/publish",
"text": "发布",
"selectedColor": "#6EAC3D",
"iconPath": "img/nav_03@2x.png",
"selectedIconPath": "img/nav_03@2x.png"
},
{
"pagePath": "pages/mine/mine",
"text": "我的",
"selectedColor": "#6EAC3D",
"iconPath": "img/nav_04@2x.png",
"selectedIconPath": "img/nav_05@2x.png"
}
]
},
"permission": {
"scope.userLocation": {
"desc": "你的位置信息将用于小程序位置接口的效果展示"
}
},
"sitemapLocation": "sitemap.json"
}
\ No newline at end of file
... ...

873 字节

const app = getApp();
Page({
/**
* 页面的初始数据
*/
data: {
industry: '',
categories_id: '',
jobs: '',
// 定义绑定跳转的id
id: '',
},
/**
* 生命周期函数--监听页面加载
*/
regSuccess() {
wx.navigateTo({
url: '/pages/regSuccess/regSuccess',
})
},
toPosition(e){
console.log(e)
// 绑定id跳转至工作详情
let that = this;
let id = e.currentTarget.dataset.id;
wx.navigateTo({
url: '/pages/positionDetails/positionDetails?id='+id,
})
},
// 跳转招聘者信息
toRecruiter() {
wx.navigateTo({
url: '/pages/employerDetails/employerDetails',
})
},
onLoad: function (options) {
console.log(options)
//页面切换,更换页面标题
wx.setNavigationBarTitle({
title: options.categories_name
})
this.setData({
categories_id: options.categories_id
})
// 调用岗位功能参数
// this.getIndustry()
this.getJods()
},
// 获取多个工作
getJods() {
let that = this;
let url = 'index/job/jobs';
let params = {
categories_id: that.data.categories_id,
}
let header = {
"XX-Token": wx.getStorageSync('token'),
"XX-Device-Type": 'wxapp'
}
app.post(url, params, header).then((res) => {
console.log(res);
// console.log(res.data)
// 获取值
that.setData({
jobs: res.data
})
// console.log(that.data.industry)
}).catch((err) => {
})
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})
\ No newline at end of file
... ...
{
}
\ No newline at end of file
... ...
<view class='container'>
<!-- 条目 -->
<view class='items'>
<view class='item' bindtap='toPosition' wx:for="{{jobs}}" wx:key="" data-id="{{item.id}}">
<!-- 头部 -->
<view class='item_top'>
<view class='item_top_left'>
<view class='item_top_left_pic'>
<image src='{{item.logo}}'></image>
</view>
<view class='item_top_left_text'>
<view class='text_top'>{{item.station_name}}</view>
<view class='text_bottom'>{{item.min_money}}-{{item.max_money}}{{item.unit_name}}</view>
</view>
</view>
<view class='item_top_right' bindtap='regSuccess'>
报名
</view>
</view>
<!-- 底部 -->
<view class='item_bottom'>
<view class='item_bottom_left' bindtap='toRecruiter'>
<view class='item_bottom_left_pic'>
<image src='/img/aicon_10@2x.png'></image>
</view>
<!-- 名字 -->
<view>{{item.resume_name}}</view>
</view>
<view class='item_bottom_right'>
<view class='item_bottom_left_pic'>
<image src='/img/aicon_09@2x.png'></image>
</view>
<view>{{item.work_county}} 3.2km</view>
</view>
</view>
</view>
<!-- <view class='item' bindtap='toPosition'>
<view class='item_top'>
<view class='item_top_left'>
<view class='item_top_left_pic'>
<image src='/img/aicon_08@2x.png'></image>
</view>
<view class='item_top_left_text'>
<view class='text_top'>酒店服务员</view>
<view class='text_bottom'>4000-5000元/月</view>
</view>
</view>
<view class='item_top_right' bindtap='regSuccess'>
报名
</view>
</view>
<view class='item_bottom'>
<view class='item_bottom_left' bindtap='toRecruiter'>
<view class='item_bottom_left_pic'>
<image src='/img/aicon_10@2x.png'></image>
</view>
<view>王思迪</view>
</view>
<view class='item_bottom_right'>
<view class='item_bottom_left_pic'>
<image src='/img/aicon_09@2x.png'></image>
</view>
<view>南开区 3.2km</view>
</view>
</view>
</view> -->
</view>
<!-- 提示 -->
<view class='bottom'>
没有更多内容了
</view>
</view>
\ No newline at end of file
... ...
page{
line-height: 1;
/* background: #EBEBEB; */
}
.container{
display: flex;
flex-flow: column;
}
.top{
display: flex;
align-items: center;
justify-content: center;
background: #fff;
border-top: 1px solid #EBEBEB;
border-bottom: 1px solid #EBEBEB;
padding: 24rpx 0;
}
.top_box{
display: flex;
align-items: center;
width:686rpx;
height:60rpx;
background:rgba(237,238,242,1);
border-radius:10rpx;
box-sizing: border-box;
padding: 0 24rpx;
}
.top_pic{
width:28rpx;
height:28rpx;
display: flex;
}
.top_pic image{
width: 100%;
height: 100%;
}
.top_box input{
margin-left: 25rpx;
width: 100%;
height: 100%;
font-size:26rpx;
font-family:PingFang-SC-Medium;
font-weight:500;
color:#000;
}
.about{
font-size:30rpx;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(26,26,26,1);
border-bottom: 1px solid #EBEBEB;
padding: 24rpx 34rpx 24rpx 55rpx;
position: relative;
display: flex;
align-items: center;
}
.about::before{
content: "";
width:6rpx;
height:24rpx;
background:rgba(255,102,0,1);
position: absolute;
left: 34rpx;
}
/* 条目 */
.items{
display: flex;
flex-flow: column;
}
.item{
/* margin-top: 1px; */
display: flex;
flex-flow: column;
background: #fff;
padding: 40rpx;
border-bottom: 1px solid #EBEBEB;
}
.item:first-child{
border-top: 1px solid #EBEBEB
}
.item_top{
display: flex;
justify-content: space-between;
}
.item_top_left{
display: flex;
}
.item_top_left_pic{
width:72rpx;
height:72rpx;
border-radius:2rpx;
display: flex;
}
.item_top_left_pic image{
width: 100%;
height: 100%;
}
.item_top_left_text{
margin-left: 23rpx;
display: flex;
flex-flow: column;
}
.text_top{
font-size:32rpx;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(26,26,26,1);
}
.text_bottom{
margin-top: 17rpx;
font-size:28rpx;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(255,59,40,1);
}
.item_top_right{
width:140rpx;
height:66rpx;
line-height: 66rpx;
text-align: center;
border:1px solid rgba(255,102,0,1);
border-radius:33rpx;
font-size:28rpx;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(255,102,0,1);
}
.item_bottom{
margin-top: 20rpx;
margin-left: 80rpx;
display: flex;
align-items: center;
justify-content: space-between;
font-size:26rpx;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(153,153,153,1);
}
.item_bottom_left{
display: flex;
align-items: center;
}
.item_bottom_left_pic{
width:22rpx;
height:22rpx;
display: flex;
margin-right: 13rpx;
}
.item_bottom_left_pic image{
width: 100%;
height: 100%;
}
.item_bottom_right{
display: flex;
align-items: center;
}
.item_bottom_left_pic{
margin-left: 14rpx;
width:20rpx;
height:24rpx;
display: flex;
}
.item_bottom_left_pic image{
width: 100%;
height: 100%;
}
.bottom{
margin-top: 23rpx;
text-align: center;
font-size:24rpx;
font-family:PingFang-SC-Regular;
font-weight:400;
color:rgba(153,153,153,1);
}
\ No newline at end of file
... ...
// pages/easyPart/eastPart.js
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
regSuccess() {
wx.navigateTo({
url: '/pages/regSuccess/regSuccess',
})
},
toPosition() {
wx.navigateTo({
url: '/pages/positionDetails/positionDetails',
})
},
// 跳转招聘者信息
toRecruiter() {
wx.navigateTo({
url: '/pages/employerDetails/employerDetails',
})
},
onLoad: function (options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})
\ No newline at end of file
... ...
{
"usingComponents": {},
"navigationBarTitleText": "轻松兼职"
}
\ No newline at end of file
... ...
<view class='container'>
<!-- 条目 -->
<view class='items'>
<view class='item' bindtap='toPosition'>
<!-- 头部 -->
<view class='item_top'>
<view class='item_top_left'>
<view class='item_top_left_pic'>
<image src='/img/aicon_08@2x.png'></image>
</view>
<view class='item_top_left_text'>
<view class='text_top'>酒店服务员</view>
<view class='text_bottom'>4000-5000元/月</view>
</view>
</view>
<view class='item_top_right' bindtap='regSuccess'>
报名
</view>
</view>
<!-- 底部 -->
<view class='item_bottom'>
<view class='item_bottom_left' bindtap='toRecruiter'>
<view class='item_bottom_left_pic'>
<image src='/img/aicon_10@2x.png'></image>
</view>
<!-- 名字 -->
<view>王思迪</view>
</view>
<view class='item_bottom_right'>
<view class='item_bottom_left_pic'>
<image src='/img/aicon_09@2x.png'></image>
</view>
<view>南开区 3.2km</view>
</view>
</view>
</view>
</view>
<!-- 提示 -->
<view class='bottom'>
没有更多内容了
</view>
</view>
... ...
page{
line-height: 1;
/* background: #EBEBEB; */
}
.container{
display: flex;
flex-flow: column;
}
.top{
display: flex;
align-items: center;
justify-content: center;
background: #fff;
border-top: 1px solid #EBEBEB;
border-bottom: 1px solid #EBEBEB;
padding: 24rpx 0;
}
.top_box{
display: flex;
align-items: center;
width:686rpx;
height:60rpx;
background:rgba(237,238,242,1);
border-radius:10rpx;
box-sizing: border-box;
padding: 0 24rpx;
}
.top_pic{
width:28rpx;
height:28rpx;
display: flex;
}
.top_pic image{
width: 100%;
height: 100%;
}
.top_box input{
margin-left: 25rpx;
width: 100%;
height: 100%;
font-size:26rpx;
font-family:PingFang-SC-Medium;
font-weight:500;
color:#000;
}
.about{
font-size:30rpx;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(26,26,26,1);
border-bottom: 1px solid #EBEBEB;
padding: 24rpx 34rpx 24rpx 55rpx;
position: relative;
display: flex;
align-items: center;
}
.about::before{
content: "";
width:6rpx;
height:24rpx;
background:rgba(255,102,0,1);
position: absolute;
left: 34rpx;
}
/* 条目 */
.items{
display: flex;
flex-flow: column;
}
.item{
/* margin-top: 1px; */
display: flex;
flex-flow: column;
background: #fff;
padding: 40rpx;
border-bottom: 1px solid #EBEBEB;
}
.item:first-child{
border-top: 1px solid #EBEBEB
}
.item_top{
display: flex;
justify-content: space-between;
}
.item_top_left{
display: flex;
}
.item_top_left_pic{
width:72rpx;
height:72rpx;
border-radius:2rpx;
display: flex;
}
.item_top_left_pic image{
width: 100%;
height: 100%;
}
.item_top_left_text{
margin-left: 23rpx;
display: flex;
flex-flow: column;
}
.text_top{
font-size:32rpx;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(26,26,26,1);
}
.text_bottom{
margin-top: 17rpx;
font-size:28rpx;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(255,59,40,1);
}
.item_top_right{
width:140rpx;
height:66rpx;
line-height: 66rpx;
text-align: center;
border:1px solid rgba(255,102,0,1);
border-radius:33rpx;
font-size:28rpx;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(255,102,0,1);
}
.item_bottom{
margin-top: 20rpx;
margin-left: 80rpx;
display: flex;
align-items: center;
justify-content: space-between;
font-size:26rpx;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(153,153,153,1);
}
.item_bottom_left{
display: flex;
align-items: center;
}
.item_bottom_left_pic{
width:22rpx;
height:22rpx;
display: flex;
margin-right: 13rpx;
}
.item_bottom_left_pic image{
width: 100%;
height: 100%;
}
.item_bottom_right{
display: flex;
align-items: center;
}
.item_bottom_left_pic{
margin-left: 14rpx;
width:20rpx;
height:24rpx;
display: flex;
}
.item_bottom_left_pic image{
width: 100%;
height: 100%;
}
.bottom{
margin-top: 23rpx;
text-align: center;
font-size:24rpx;
font-family:PingFang-SC-Regular;
font-weight:400;
color:rgba(153,153,153,1);
}
\ No newline at end of file
... ...
// pages/employerDetails/employerDetails.js
const app = getApp();
Page({
/**
* 页面的初始数据
*/
data: {
employer: '',
id: '',
job_id: '',
user_id: '',
employerJ: '',
},
/**
* 生命周期函数--监听页面加载
*/
// 跳转岗位信息
toPosition(e) {
let id = e.currentTarget.dataset.id
wx.navigateTo({
url: '/pages/positionDetails/positionDetails?id='+id,
})
},
// 跳转招聘者信息
toRecruiter() {
wx.navigateTo({
url: '/pages/employerDetails/employerDetails',
})
},
onLoad: function (options) {
console.log(options)
this.setData({
job_id: options.job_id,
user_id: options.user_id
})
this.employerDetails()
this.employerJobs()
},
employerDetails() {
let that = this;
let url = 'index/user/user_resume';
let params = {
job_id: that.data.job_id,
user_id: that.data.user_id
}
let header = {
"XX-Token": wx.getStorageSync('token'),
"XX-Device-Type": 'wxapp'
}
app.post(url, params, header).then((res) => {
console.log(res);
// 获取值
that.setData({
employer: res.data
})
}).catch((err) => {
})
},
// 获取多个工作
employerJobs() {
let that = this;
let url = 'index/job/jobs';
let params = {
job_id: that.data.id,
user_id: that.data.id
}
let header = {
"XX-Token": wx.getStorageSync('token'),
"XX-Device-Type": 'wxapp'
}
app.post(url, params, header).then((res) => {
console.log(res);
// 获取值
that.setData({
employerJ: res.data
})
}).catch((err) => {
})
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})
\ No newline at end of file
... ...
{
"usingComponents": {},
"navigationBarTitleText": "招聘者详情"
}
\ No newline at end of file
... ...
<view class='container'>
<view class='top'>
<view class='top_pic'>
<image src='{{employer.banner}}'></image>
</view>
<view class='top_text'>
<view class='top_text_left'>
{{employer.resume_name}}
</view>
<view class='top_text_right'>
<image src='{{employer.logo}}'></image>
</view>
</view>
</view>
<!-- 地址 -->
<view class='addr'>
<view class='addr_left'>
{{employer.work_address}}
</view>
<view class='addr_right'>
<view class='addr_right_icon'>
<image src='../../img/aicon_09@2x.png'></image>
</view>
<view class='addr_right_distance'>{{employer.distance}}</view>
</view>
</view>
<!-- 相关岗位 -->
<view class='items'>
<view class='related'>
相关岗位
</view>
<view class='item' bindtap='toPosition' wx:for='{{employerJ}}' wx:key='' data-id='{{item.id}}'>
<!-- 头部 -->
<view class='item_top'>
<view class='item_top_left'>
<view class='item_top_left_pic'>
<image src='{{item.logo}}'></image>
</view>
<view class='item_top_left_text'>
<view class='text_top'>{{item.station_name}}</view>
<view class='text_bottom'>{{item.min_money}}-{{item.max_money}}{{item.unit_name}}</view>
</view>
</view>
<view class='item_top_right'>
报名
</view>
</view>
<!-- 底部 -->
<view class='item_bottom'>
<view class='item_bottom_left' bindtap='toRecruiter'>
<view class='item_bottom_left_pic'>
<image src='/img/aicon_10@2x.png'></image>
</view>
<!-- 名字 -->
<view>{{item.resume_name}}</view>
</view>
<view class='item_bottom_right' >
<view class='item_bottom_left_pic'>
<image src='/img/aicon_09@2x.png'></image>
</view>
<view>{{item.work_county}} {{item.distance}}</view>
</view>
</view>
</view>
<!-- <view class='item' bindtap='toPosition'>
<view class='item_top'>
<view class='item_top_left'>
<view class='item_top_left_pic'>
<image src='/img/aicon_08@2x.png'></image>
</view>
<view class='item_top_left_text'>
<view class='text_top'>酒店服务员</view>
<view class='text_bottom'>4000-5000元/月</view>
</view>
</view>
<view class='item_top_right'>
报名
</view>
</view>
<view class='item_bottom'>
<view class='item_bottom_left' bindtap='toRecruiter'>
<view class='item_bottom_left_pic'>
<image src='/img/aicon_10@2x.png'></image>
</view>
<view>王思迪</view>
</view>
<view class='item_bottom_right'>
<view class='item_bottom_left_pic'>
<image src='/img/aicon_09@2x.png'></image>
</view>
<view>南开区 3.2km</view>
</view>
</view>
</view> -->
</view>
<!-- 没有更多内容了 -->
<view class='bottom'>
没有更多内容了
</view>
</view>
\ No newline at end of file
... ...
page{
line-height: 1;
background: #F5F5F5;
}
.container{
width: 750rpx;
display: flex;
flex-flow: column;
/* align-items: center; */
}
.top{
display: flex;
flex-flow: column;
background: #fff;
}
.top_pic{
width:750rpx;
height:360rpx;
display: flex;
}
.top_pic image{
width: 100%;
height: 100%;
}
.top_text{
display: flex;
align-items: center;
justify-content: space-between;
box-sizing: border-box;
padding: 20rpx 32rpx;
}
.top_text_left{
font-size:36rpx;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(26,26,26,1);
}
.top_text_right{
width:72rpx;
height:72rpx;
border-radius:2rpx;
}
.top_text_right image{
width: 100%;
height: 100%;
border-radius:2rpx;
}
.addr{
margin-top: 14rpx;
display: flex;
justify-content: space-between;
background: #fff;
box-sizing: border-box;
padding: 40rpx 32rpx;
}
.addr_left{
width: 418rpx;
font-size:28rpx;
font-family:PingFang-SC-Regular;
font-weight:400;
color:rgba(26,26,26,1);
line-height:42rpx;
}
.addr_right{
display: flex;
/* align-items: center; */
}
.addr_right_icon{
width:20rpx;
height:24rpx;
display: flex;
}
.addr_right_icon image{
width: 100%;
height: 100%;
}
.addr_right_distance{
margin-left: 15rpx;
font-size:26rpx;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(153,153,153,1);
}
.items{
margin-top: 14rpx;
display: flex;
flex-flow: column;
background: #fff;
}
.related{
font-size:30rpx;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(26,26,26,1);
box-sizing: border-box;
padding: 40rpx 54rpx 25rpx 54rpx;
position: relative;
border-bottom: 1px solid #EBEBEB;
}
.related::before{
content: '';
position: absolute;
top: 42rpx;
left: 32rpx;
width:6rpx;
height:24rpx;
background:rgba(255,102,0,1);
}
.item{
margin-top: 1px;
display: flex;
flex-flow: column;
background: #fff;
padding: 40rpx 30rpx;
border-bottom: 1px solid #EBEBEB;
}
.item_top{
display: flex;
justify-content: space-between;
}
.item_top_left{
display: flex;
}
.item_top_left_pic{
width:72rpx;
height:72rpx;
border-radius:2rpx;
display: flex;
}
.item_top_left_pic image{
width: 100%;
height: 100%;
}
.item_top_left_text{
margin-left: 23rpx;
display: flex;
flex-flow: column;
}
.text_top{
font-size:32rpx;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(26,26,26,1);
}
.text_bottom{
margin-top: 17rpx;
font-size:28rpx;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(255,59,40,1);
}
.item_top_right{
width:140rpx;
height:66rpx;
line-height: 66rpx;
text-align: center;
border:1px solid rgba(255,102,0,1);
border-radius:33rpx;
font-size:28rpx;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(255,102,0,1);
}
.item_bottom{
margin-top: 20rpx;
margin-left: 80rpx;
display: flex;
align-items: center;
justify-content: space-between;
font-size:26rpx;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(153,153,153,1);
}
.item_bottom_left{
display: flex;
align-items: center;
}
.item_bottom_left_pic{
width:22rpx;
height:22rpx;
display: flex;
margin-right: 13rpx;
}
.item_bottom_left_pic image{
width: 100%;
height: 100%;
}
.item_bottom_right{
display: flex;
align-items: center;
}
.item_bottom_left_pic{
margin-left: 14rpx;
width:20rpx;
height:24rpx;
display: flex;
}
.item_bottom_left_pic image{
width: 100%;
height: 100%;
}
.bottom{
padding: 24rpx 0;
text-align: center;
font-size:24rpx;
font-family:PingFang-SC-Regular;
font-weight:400;
color:rgba(153,153,153,1);
background: #fff;
}
\ No newline at end of file
... ...
// pages/feedback/feedback.js
const app = getApp();
Page({
/**
* 页面的初始数据
*/
data: {
content: '',
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
// this.getFeedback
},
enterContent(e) {
console.log(e)
this.setData({
content: e.detail.value
})
},
sub_btn() {
let that = this;
let content = that.data.content;
if (content == '') {
wx.showToast({
title: '请输入内容',
icon: 'none'
})
}
let url = 'index/share/submit_opinion';
let params = {
content : that.data.content,
}
let header = {
"XX-Token": wx.getStorageSync('token'),
"XX-Device-Type": 'wxapp'
}
app.post(url, params, header).then((res) => {
console.log(res);
wx.showToast({
title: '提交成功',
icon: 'none',
duration: 1500
})
// setTimeout(function(){
// wx.navigateTo({
// url: '/pages/mine/mine',
// })
// },1500)
}).catch((err) => {
})
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})
\ No newline at end of file
... ...
{
"usingComponents": {},
"navigationBarTitleText": "意见反馈"
}
\ No newline at end of file
... ...
<view class='container'>
<view class='top'>
<textarea bindinput='enterContent' placeholder='请输入您的意见,我们会积极处理并改正的~'></textarea>
<view class='text_num'>0/200</view>
</view>
<view class='bottom' bindtap='sub_btn' >
提交
</view>
</view>
\ No newline at end of file
... ...
page{
line-height: 1;
}
.container{
width: 750rpx;
display: flex;
flex-flow: column;
align-items: center;
justify-content: center;
}
.top{
margin-top: 27rpx;
display: flex;
align-items: center;
justify-content: center;
position: relative;
}
.top textarea{
width:686rpx;
height:300rpx;
background:rgba(247,247,247,1);
border-radius:10rpx;
font-size: 28rpx;
box-sizing: border-box;
padding: 23rpx 25rpx;
}
.text_num{
font-size:24rpx;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(153,153,153,1);
position: absolute;
bottom: 23rpx;
right: 25rpx
}
.bottom{
margin-top: 40rpx;
width:686rpx;
height:80rpx;
line-height: 80rpx;
text-align: center;
background:rgba(255,129,44,1);
border-radius:5rpx;
font-size:28rpx;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(255,255,255,1);
}
\ No newline at end of file
... ...
// pages/financialRecord/financialRecord.js
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})
\ No newline at end of file
... ...
{
"usingComponents": {},
"navigationBarTitleText": "财务记录"
}
\ No newline at end of file
... ...
<!--pages/financialRecord/financialRecord.wxml-->
<view class='container'>
<view class='item'>
<view class='item_top'>
<view class='item_top_left'>提现</view>
<view class='item_top_right'>-100</view>
</view>
<view class='item_bottom'>
<view class='item_bottom_left'>2019-02-28 11:23</view>
<view class='item_bottom_right'>交易成功</view>
</view>
</view>
<view class='item'>
<view class='item_top'>
<view class='item_top_left'>邀请好友</view>
<view class='item_top_right color_red'>+2.00</view>
</view>
<view class='item_bottom'>
<view class='item_bottom_left'>2019-02-28 11:23</view>
<view class='item_bottom_right'>邀请成功</view>
</view>
</view>
<view class='item'>
<view class='item_top'>
<view class='item_top_left'>退款</view>
<view class='item_top_right color_red'>+100.00</view>
</view>
<view class='item_bottom'>
<view class='item_bottom_left'>2019-02-28 11:23</view>
<view class='item_bottom_right'>交易失败</view>
</view>
</view>
<view class='item'>
<view class='item_top'>
<view class='item_top_left'>退款</view>
<view class='item_top_right color_red'>+2.00</view>
</view>
<view class='item_bottom'>
<view class='item_bottom_left'>2019-02-28 11:23</view>
<view class='item_bottom_right'>提交审核</view>
</view>
</view>
<view class='item'>
<view class='item_top'>
<view class='item_top_left'>首次完成任务</view>
<view class='item_top_right color_red'>+100.00</view>
</view>
<view class='item_bottom'>
<view class='item_bottom_left'>2019-02-28 11:23</view>
<view class='item_bottom_right'>已成功</view>
</view>
</view>
</view>
... ...
/* pages/financialRecord/financialRecord.wxss */
page{
line-height: 1;
}
.container{
width: 750rpx;
display: flex;
flex-flow: column;
}
.item{
display: flex;
flex-flow: column;
padding: 30rpx 0;
margin: 0 32rpx;
border-bottom: 1px solid #EBEBEB;
}
.item_top{
width: 100%;
display: flex;
justify-content: space-between;
}
.item_top_left{
font-size:32rpx;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(26,26,26,1);
}
.item_top_right{
font-size:32rpx;
font-family:Roboto-Regular;
font-weight:400;
color:rgba(255,170,0,1);
}
.item_bottom{
margin-top: 20rpx;
width: 100%;
display: flex;
justify-content: space-between;
}
.item_bottom_left{
font-size:24rpx;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(153,153,153,1);
}
.item_bottom_right{
font-size:26rpx;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(102,102,102,1);
}
.color_red{
color: #FF3B28;
}
\ No newline at end of file
... ...
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
regSuccess() {
wx.navigateTo({
url: '/pages/regSuccess/regSuccess',
})
},
toPosition() {
wx.navigateTo({
url: '/pages/positionDetails/positionDetails',
})
},
// 跳转招聘者信息
toRecruiter() {
wx.navigateTo({
url: '/pages/employerDetails/employerDetails',
})
},
onLoad: function (options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})
\ No newline at end of file
... ...
{
"usingComponents": {},
"navigationBarTitleText": "好评工作"
}
\ No newline at end of file
... ...
<view class='container'>
<!-- 条目 -->
<view class='items'>
<view class='item' bindtap='toPosition'>
<!-- 头部 -->
<view class='item_top'>
<view class='item_top_left'>
<view class='item_top_left_pic'>
<image src='/img/aicon_08@2x.png'></image>
</view>
<view class='item_top_left_text'>
<view class='text_top'>酒店服务员</view>
<view class='text_bottom'>4000-5000元/月</view>
</view>
</view>
<view class='item_top_right' bindtap='regSuccess'>
报名
</view>
</view>
<!-- 底部 -->
<view class='item_bottom'>
<view class='item_bottom_left' bindtap='toRecruiter'>
<view class='item_bottom_left_pic'>
<image src='/img/aicon_10@2x.png'></image>
</view>
<!-- 名字 -->
<view>王思迪</view>
</view>
<view class='item_bottom_right'>
<view class='item_bottom_left_pic'>
<image src='/img/aicon_09@2x.png'></image>
</view>
<view>南开区 3.2km</view>
</view>
</view>
</view>
</view>
<!-- 提示 -->
<view class='bottom'>
没有更多内容了
</view>
</view>
... ...
page{
line-height: 1;
/* background: #EBEBEB; */
}
.container{
display: flex;
flex-flow: column;
}
.top{
display: flex;
align-items: center;
justify-content: center;
background: #fff;
border-top: 1px solid #EBEBEB;
border-bottom: 1px solid #EBEBEB;
padding: 24rpx 0;
}
.top_box{
display: flex;
align-items: center;
width:686rpx;
height:60rpx;
background:rgba(237,238,242,1);
border-radius:10rpx;
box-sizing: border-box;
padding: 0 24rpx;
}
.top_pic{
width:28rpx;
height:28rpx;
display: flex;
}
.top_pic image{
width: 100%;
height: 100%;
}
.top_box input{
margin-left: 25rpx;
width: 100%;
height: 100%;
font-size:26rpx;
font-family:PingFang-SC-Medium;
font-weight:500;
color:#000;
}
.about{
font-size:30rpx;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(26,26,26,1);
border-bottom: 1px solid #EBEBEB;
padding: 24rpx 34rpx 24rpx 55rpx;
position: relative;
display: flex;
align-items: center;
}
.about::before{
content: "";
width:6rpx;
height:24rpx;
background:rgba(255,102,0,1);
position: absolute;
left: 34rpx;
}
/* 条目 */
.items{
display: flex;
flex-flow: column;
}
.item{
/* margin-top: 1px; */
display: flex;
flex-flow: column;
background: #fff;
padding: 40rpx;
border-bottom: 1px solid #EBEBEB;
}
.item:first-child{
border-top: 1px solid #EBEBEB
}
.item_top{
display: flex;
justify-content: space-between;
}
.item_top_left{
display: flex;
}
.item_top_left_pic{
width:72rpx;
height:72rpx;
border-radius:2rpx;
display: flex;
}
.item_top_left_pic image{
width: 100%;
height: 100%;
}
.item_top_left_text{
margin-left: 23rpx;
display: flex;
flex-flow: column;
}
.text_top{
font-size:32rpx;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(26,26,26,1);
}
.text_bottom{
margin-top: 17rpx;
font-size:28rpx;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(255,59,40,1);
}
.item_top_right{
width:140rpx;
height:66rpx;
line-height: 66rpx;
text-align: center;
border:1px solid rgba(255,102,0,1);
border-radius:33rpx;
font-size:28rpx;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(255,102,0,1);
}
.item_bottom{
margin-top: 20rpx;
margin-left: 80rpx;
display: flex;
align-items: center;
justify-content: space-between;
font-size:26rpx;
font-family:PingFang-SC-Medium;
font-weight:500;
color:rgba(153,153,153,1);
}
.item_bottom_left{
display: flex;
align-items: center;
}
.item_bottom_left_pic{
width:22rpx;
height:22rpx;
display: flex;
margin-right: 13rpx;
}
.item_bottom_left_pic image{
width: 100%;
height: 100%;
}
.item_bottom_right{
display: flex;
align-items: center;
}
.item_bottom_left_pic{
margin-left: 14rpx;
width:20rpx;
height:24rpx;
display: flex;
}
.item_bottom_left_pic image{
width: 100%;
height: 100%;
}
.bottom{
margin-top: 23rpx;
text-align: center;
font-size:24rpx;
font-family:PingFang-SC-Regular;
font-weight:400;
color:rgba(153,153,153,1);
}
\ No newline at end of file
... ...
// pages/hotRecommend/hotRecommend.js
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
regSuccess() {
wx.navigateTo({
url: '/pages/regSuccess/regSuccess',
})
},
onLoad: function (options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})
\ No newline at end of file
... ...
{
"usingComponents": {},
"navigationBarTitleText": "热门推荐"
}
\ No newline at end of file
... ...