朋友圈
This commit is contained in:
parent
73b8e74e07
commit
f1150528fa
8
app.json
8
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",
|
||||
|
66
pages/friendCircle/friendCircle.js
Normal file
66
pages/friendCircle/friendCircle.js
Normal file
@ -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 () {
|
||||
|
||||
}
|
||||
})
|
3
pages/friendCircle/friendCircle.json
Normal file
3
pages/friendCircle/friendCircle.json
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
"usingComponents": {}
|
||||
}
|
59
pages/friendCircle/friendCircle.wxml
Normal file
59
pages/friendCircle/friendCircle.wxml
Normal file
@ -0,0 +1,59 @@
|
||||
<view class="friend-circle">
|
||||
<view class="friend-circle-box">
|
||||
<view class="avatar">
|
||||
<image src="../../images/avatar.png"></image>
|
||||
</view>
|
||||
<view class="content">
|
||||
<view class="name">张三</view>
|
||||
<view class="text">内容内容内容内容内容</view>
|
||||
<view class="date">2020-01-01 00:00:00</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="friend-circle-box">
|
||||
<view class="avatar">
|
||||
<image src="../../images/avatar.png"></image>
|
||||
</view>
|
||||
<view class="content">
|
||||
<view class="name">张三</view>
|
||||
<view class="text">内容内容内容内容内容</view>
|
||||
<view class="photo-one">
|
||||
<image src="../../images/center-bg.png"></image>
|
||||
</view>
|
||||
<view class="date">2020-01-01 00:00:00</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="friend-circle-box">
|
||||
<view class="avatar">
|
||||
<image src="../../images/avatar.png"></image>
|
||||
</view>
|
||||
<view class="content">
|
||||
<view class="name">张三</view>
|
||||
<view class="text">内容内容内容内容内容</view>
|
||||
<view class="photo-more">
|
||||
<image src="../../images/center-bg.png"></image>
|
||||
<image src="../../images/center-bg.png"></image>
|
||||
<image src="../../images/center-bg.png"></image>
|
||||
<image src="../../images/center-bg.png"></image>
|
||||
<image src="../../images/center-bg.png"></image>
|
||||
<image src="../../images/center-bg.png"></image>
|
||||
<image src="../../images/center-bg.png"></image>
|
||||
<image src="../../images/center-bg.png"></image>
|
||||
<image src="../../images/center-bg.png"></image>
|
||||
</view>
|
||||
<view class="date">2020-01-01 00:00:00</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="friend-circle-box">
|
||||
<view class="avatar">
|
||||
<image src="../../images/avatar.png"></image>
|
||||
</view>
|
||||
<view class="content">
|
||||
<view class="name">张三</view>
|
||||
<view class="text">内容内容内容内容内容</view>
|
||||
<view class="video">
|
||||
<video src="http://wxsnsdy.tc.qq.com/105/20210/snsdyvideodownload?filekey=30280201010421301f0201690402534804102ca905ce620b1241b726bc41dcff44e00204012882540400&bizid=1023&hy=SH&fileparam=302c020101042530230204136ffd93020457e3c4ff02024ef202031e8d7f02030f42400204045a320a0201000400"></video>
|
||||
</view>
|
||||
<view class="date">2020-01-01 00:00:00</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
48
pages/friendCircle/friendCircle.wxss
Normal file
48
pages/friendCircle/friendCircle.wxss
Normal file
@ -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%;
|
||||
}
|
Loading…
Reference in New Issue
Block a user