会议详情,项目详情,我的页面

This commit is contained in:
姚亚男
2021-10-09 15:50:06 +08:00
parent 8a2500b5a5
commit 2134e2525f
55 changed files with 1931 additions and 45 deletions
+71
View File
@@ -0,0 +1,71 @@
// pages/minedata/minedata.js
Page({
/**
* 页面的初始数据
*/
data: {
list: [,1,1,1,1,1,1,1,1]
},
// 合同详情
contractDetail(){
wx.navigateTo({
url: '../contractDetail/contractDetail',
})
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})
+4
View File
@@ -0,0 +1,4 @@
{
"navigationBarTitleText": "我的合同",
"usingComponents": {}
}
+13
View File
@@ -0,0 +1,13 @@
<!--pages/meeting/meeting.wxml-->
<view class="list-box">
<view class="list-item" wx:for="list" wx:key="item" bindtap="contractDetail">
<view class="list-info">
<text>合同名称</text>
<text>合同金额:5000元</text>
</view>
<view class="list-info">
<text>合同编号:002</text>
<text>负责人:张三</text>
</view>
</view>
</view>
+24
View File
@@ -0,0 +1,24 @@
/* pages/mineContract/mineContract.wxss */
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-info{
color: #333;
display: flex;
justify-content: space-between;
align-items: center;
font-size: 14px;
}