You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
682 B
42 lines
682 B
// subpages/oneKeyService/pages/search/search.js
|
|
const api = require('../../../../utils/understandJs')
|
|
Page({
|
|
/**
|
|
* 页面的初始数据
|
|
*/
|
|
data: {
|
|
searchContent: '',
|
|
deptId: '',
|
|
historylist: [
|
|
{
|
|
label: '就业',
|
|
hot: true
|
|
},
|
|
{
|
|
label: '创业',
|
|
hot: false
|
|
}
|
|
]
|
|
},
|
|
|
|
/**
|
|
* 生命周期函数--监听页面加载
|
|
*/
|
|
onLoad: function (options) {
|
|
console.log(options)
|
|
this.setData({
|
|
searchContent: options.searchContent,
|
|
deptId: options.deptId
|
|
})
|
|
},
|
|
|
|
bindInputValue (e) {
|
|
this.setData({
|
|
searchContent: e.detail.value
|
|
})
|
|
},
|
|
|
|
searchFile () {
|
|
|
|
}
|
|
})
|