|
@@ -13,14 +13,22 @@ Page({
|
|
|
// height: app.globalData.height * 2 + 20,
|
|
|
// },
|
|
|
active: 4,
|
|
|
- ColorList: app.globalData.ColorList
|
|
|
+ ColorList: app.globalData.ColorList,
|
|
|
+ searchValue:'',
|
|
|
+ },
|
|
|
+ changeSearch(){
|
|
|
+ console.log(this.data.searchValue);
|
|
|
+ },
|
|
|
+ onChange(e){
|
|
|
+ this.setData({
|
|
|
+ searchValue: e.detail,
|
|
|
+ });
|
|
|
},
|
|
|
/**
|
|
|
* 生命周期函数--监听页面加载
|
|
|
*/
|
|
|
onLoad: function (options) {
|
|
|
},
|
|
|
-
|
|
|
/**
|
|
|
* 生命周期函数--监听页面初次渲染完成
|
|
|
*/
|