From f1150528fae9c49ea51ae55753d64675c48400c1 Mon Sep 17 00:00:00 2001 From: dong_bo0602 <358256383@qq.com> Date: Thu, 2 Jul 2020 18:46:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=8B=E5=8F=8B=E5=9C=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.json | 8 +++- pages/friendCircle/friendCircle.js | 66 ++++++++++++++++++++++++++++ pages/friendCircle/friendCircle.json | 3 ++ pages/friendCircle/friendCircle.wxml | 59 +++++++++++++++++++++++++ pages/friendCircle/friendCircle.wxss | 48 ++++++++++++++++++++ 5 files changed, 182 insertions(+), 2 deletions(-) create mode 100644 pages/friendCircle/friendCircle.js create mode 100644 pages/friendCircle/friendCircle.json create mode 100644 pages/friendCircle/friendCircle.wxml create mode 100644 pages/friendCircle/friendCircle.wxss diff --git a/app.json b/app.json index d4c96db..e1f57e6 100644 --- a/app.json +++ b/app.json @@ -1,7 +1,12 @@ { "pages": [ - "pages/venue/venue", + "pages/friendCircle/friendCircle", "pages/index/index", + "pages/venue/venue", + "pages/broadcastList/broadcastList", + "pages/orderDetail/orderDetail", + "pages/myVenueOrder/myVenueOrder", + "pages/book/book", "pages/broadcast/broadcast", "pages/activityDialog/activityDialog", "pages/teamDetail/teamDetail", @@ -11,7 +16,6 @@ "pages/heritage/heritage", "pages/broadcastDetail/broadcastDetail", "pages/venueDetail/venueDetail", - "pages/book/book", "pages/register/register", "pages/login/login", "pages/newVolunteerActivity/newVolunteerActivity", diff --git a/pages/friendCircle/friendCircle.js b/pages/friendCircle/friendCircle.js new file mode 100644 index 0000000..dd7887d --- /dev/null +++ b/pages/friendCircle/friendCircle.js @@ -0,0 +1,66 @@ +// pages/friendCircle/friendCircle.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 diff --git a/pages/friendCircle/friendCircle.json b/pages/friendCircle/friendCircle.json new file mode 100644 index 0000000..8835af0 --- /dev/null +++ b/pages/friendCircle/friendCircle.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/pages/friendCircle/friendCircle.wxml b/pages/friendCircle/friendCircle.wxml new file mode 100644 index 0000000..0005b82 --- /dev/null +++ b/pages/friendCircle/friendCircle.wxml @@ -0,0 +1,59 @@ + + + + + + + 张三 + 内容内容内容内容内容 + 2020-01-01 00:00:00 + + + + + + + + 张三 + 内容内容内容内容内容 + + + + 2020-01-01 00:00:00 + + + + + + + + 张三 + 内容内容内容内容内容 + + + + + + + + + + + + 2020-01-01 00:00:00 + + + + + + + + 张三 + 内容内容内容内容内容 + + + + 2020-01-01 00:00:00 + + + \ No newline at end of file diff --git a/pages/friendCircle/friendCircle.wxss b/pages/friendCircle/friendCircle.wxss new file mode 100644 index 0000000..b8dc371 --- /dev/null +++ b/pages/friendCircle/friendCircle.wxss @@ -0,0 +1,48 @@ +.friend-circle{ + padding: 30rpx; +} +.friend-circle-box{ + margin-bottom: 20rpx; + display: flex; + justify-content: space-between; + border-bottom: 1px solid #DEDEDE; + padding-bottom: 10rpx; +} +.avatar{ + width: 8%; +} +.avatar image{ + width: 100%; + height: 50rpx; +} +.content{ + width: 90%; +} +.name{ + font-size: 30rpx; + color: #949494; +} +.text{ + font-size: 32rpx; + color: #000; + margin: 10rpx 0; +} +.date{ + font-size: 28rpx; + color: #949494; +} +.photo-one image{ + width: 80%; +} +.photo-more image{ + width: 32%; + height: 150rpx; + margin-right: 2%; + margin-bottom: 10rpx; +} +.photo-more image:nth-child(3n){ + margin-right: 0; +} +.video video{ + width: 80%; +} \ No newline at end of file