会议详情,项目详情,我的页面
This commit is contained in:
@@ -0,0 +1,65 @@
|
||||
Page({
|
||||
|
||||
/**
|
||||
* 页面的初始数据
|
||||
*/
|
||||
data: {
|
||||
list: [1,1,1,1,,1,1,1]
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面加载
|
||||
*/
|
||||
onLoad: function (options) {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面初次渲染完成
|
||||
*/
|
||||
onReady: function () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面显示
|
||||
*/
|
||||
onShow: function () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面隐藏
|
||||
*/
|
||||
onHide: function () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面卸载
|
||||
*/
|
||||
onUnload: function () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面相关事件处理函数--监听用户下拉动作
|
||||
*/
|
||||
onPullDownRefresh: function () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面上拉触底事件的处理函数
|
||||
*/
|
||||
onReachBottom: function () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 用户点击右上角分享
|
||||
*/
|
||||
onShareAppMessage: function () {
|
||||
|
||||
}
|
||||
})
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"navigationBarTitleText": "我的资料",
|
||||
"usingComponents": {}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
<view class="list-box">
|
||||
<view class="list-item" wx:for="list" wx:key="item">
|
||||
<text class="list-time">2021-10-12 12:00:00</text>
|
||||
<view class="list-files">
|
||||
<text>1文件名称列表文件名称列表文件名称列表文件名称列表.PDF</text>
|
||||
<text>2文件名称列表文件名称列表文件名称列表文件名称列表.PDF</text>
|
||||
<text>3文件名称文件名称列表文件名称列表.PDF</text>
|
||||
<text>4文件名称列表文件名称列表文件名称列表文件名称列表.PDF</text>
|
||||
<text>5文件名称列表文件名称列表文件名称列表文件名称列表.PDF</text>
|
||||
<text>6文件名称.PDF</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -0,0 +1,35 @@
|
||||
page{
|
||||
background-color: #F5F5F5;
|
||||
padding: 15px;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.list-item{
|
||||
display: flex;
|
||||
padding: 15px;
|
||||
flex-direction: column;
|
||||
background-color: #fff;
|
||||
border-radius: 10px;
|
||||
}
|
||||
.list-item:not(:first-child){
|
||||
margin-top: 10px;
|
||||
}
|
||||
.list-item .list-time{
|
||||
color: #999;
|
||||
font-size: 14px;
|
||||
}
|
||||
.list-item .list-files{
|
||||
margin-top: 5px;
|
||||
color: #069F99;
|
||||
font-size: 15px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
.list-item .list-files text{
|
||||
display: block;
|
||||
width: 100%;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
line-height: 24px;
|
||||
}
|
||||
Reference in New Issue
Block a user