diff --git a/hangout-master/Pages/travel/plan/main/menu.js b/hangout-master/Pages/travel/plan/main/menu.js new file mode 100644 index 0000000..a46e8db --- /dev/null +++ b/hangout-master/Pages/travel/plan/main/menu.js @@ -0,0 +1,78 @@ +// Pages/travel/plan/main/menu.js +Page({ + + /** + * 页面的初始数据 + */ + data: { + id: "silhouette", + }, + + onRet:function(){ + wx.redirectTo({ + url: '/Pages/travel/home/home', + }) + }, + + add:function(){ + wx.redirectTo({ + url: '/Pages/travel/plan/new/create', + }) + }, + + /** + * 生命周期函数--监听页面加载 + */ + onLoad: function (options) { + + }, + + /** + * 生命周期函数--监听页面初次渲染完成 + */ + onReady: function () { + + }, + + /** + * 生命周期函数--监听页面显示 + */ + onShow: function () { + + }, + + /** + * 生命周期函数--监听页面隐藏 + */ + onHide: function () { + + }, + + /** + * 生命周期函数--监听页面卸载 + */ + onUnload: function () { + + }, + + /** + * 页面相关事件处理函数--监听用户下拉动作 + */ + onPullDownRefresh: function () { + + }, + + /** + * 页面上拉触底事件的处理函数 + */ + onReachBottom: function () { + + }, + + /** + * 用户点击右上角分享 + */ + onShareAppMessage: function () { + + } +}) \ No newline at end of file diff --git a/hangout-master/Pages/travel/plan/main/menu.json b/hangout-master/Pages/travel/plan/main/menu.json new file mode 100644 index 0000000..8835af0 --- /dev/null +++ b/hangout-master/Pages/travel/plan/main/menu.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/hangout-master/Pages/travel/plan/main/menu.wxml b/hangout-master/Pages/travel/plan/main/menu.wxml new file mode 100644 index 0000000..b86aea6 --- /dev/null +++ b/hangout-master/Pages/travel/plan/main/menu.wxml @@ -0,0 +1,23 @@ + + + + + + + + + {{id}} 的行程 + + + + + + + + + + + + + + + diff --git a/hangout-master/Pages/travel/plan/main/menu.wxss b/hangout-master/Pages/travel/plan/main/menu.wxss new file mode 100644 index 0000000..3887384 --- /dev/null +++ b/hangout-master/Pages/travel/plan/main/menu.wxss @@ -0,0 +1,31 @@ +/* Pages/travel/plan/main/menu.wxss */ +.navi{ + width: 40px; + height: 30px; + margin: 5px; + padding-top: 10px; +} + +.title{ + position: relative; + font-size: 25px; + font-weight: 900; + color: #000; + text-align: center; + top:15px; + left:45px; +} + +.add{ + color: #7B8B6F; + padding-left: 50px; +} + +.hg { + height: 150px; + right: 5px; + width: 150px; + left: 100px; + padding-top: 100px; + padding-left:100px; + } \ No newline at end of file