This commit is contained in:
2019-12-13 14:35:22 +08:00
parent a09b330797
commit 6f32ad42c6
16 changed files with 131 additions and 4 deletions

66
pages/search/search.js Normal file
View File

@@ -0,0 +1,66 @@
// pages/search/search.js
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})

6
pages/search/search.json Normal file
View File

@@ -0,0 +1,6 @@
{
"usingComponents": {
"search":"../components/index/search/index",
"hot":"../components/search/hot/index"
}
}

7
pages/search/search.scss Normal file
View File

@@ -0,0 +1,7 @@
.box {
border-top: #eaeaea solid 1rpx;
width: 750rpx;
display: flex;
align-items: center;
flex-direction: column;
}

4
pages/search/search.wxml Normal file
View File

@@ -0,0 +1,4 @@
<view class="box">
<search></search>
<hot></hot>
</view>

1
pages/search/search.wxss Normal file
View File

@@ -0,0 +1 @@
.box{border-top:#eaeaea solid 1rpx;width:750rpx;display:flex;align-items:center;flex-direction:column}