会议详情,项目详情,我的页面
This commit is contained in:
@@ -0,0 +1,88 @@
|
||||
// pages/meeting/meeting.js
|
||||
Page({
|
||||
|
||||
/**
|
||||
* 页面的初始数据
|
||||
*/
|
||||
data: {
|
||||
payProveImage: ''
|
||||
},
|
||||
|
||||
// 上传缴费凭证
|
||||
uploadImage(){
|
||||
const that = this
|
||||
wx.chooseImage({
|
||||
count: 1,
|
||||
sizeType: ['original', 'compressed'],
|
||||
sourceType: ['album', 'camera'],
|
||||
success (res) {
|
||||
// tempFilePath可以作为img标签的src属性显示图片
|
||||
that.setData({
|
||||
payProveImage: res.tempFilePaths
|
||||
})
|
||||
console.log(that.data.payProveImage)
|
||||
}
|
||||
})
|
||||
},
|
||||
// 删除缴费凭证
|
||||
delete(){
|
||||
this.setData({
|
||||
payProveImage: ''
|
||||
})
|
||||
},
|
||||
/**
|
||||
* 生命周期函数--监听页面加载
|
||||
*/
|
||||
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,117 @@
|
||||
<view>
|
||||
<view class="basic-info">
|
||||
<view class="meeting-name">
|
||||
<text>会议名称</text>
|
||||
<text>会议名称会议名称</text>
|
||||
</view>
|
||||
<view>
|
||||
<text>会议类型</text>
|
||||
<text>arff4ds8a3s6651</text>
|
||||
</view>
|
||||
<view>
|
||||
<text>负责人</text>
|
||||
<text>找找</text>
|
||||
</view>
|
||||
<view>
|
||||
<text>召开时间</text>
|
||||
<text>张三</text>
|
||||
</view>
|
||||
<view>
|
||||
<text>召开地点</text>
|
||||
<text>500元</text>
|
||||
</view>
|
||||
<view>
|
||||
<text>会议费用</text>
|
||||
<text>500元</text>
|
||||
</view>
|
||||
<view>
|
||||
<text>年份</text>
|
||||
<text>500元</text>
|
||||
</view>
|
||||
<view>
|
||||
<text>签到时间</text>
|
||||
<text>500元</text>
|
||||
</view>
|
||||
<view>
|
||||
<text>会议费用(VIP)</text>
|
||||
<text>500元</text>
|
||||
</view>
|
||||
<view>
|
||||
<text>会议内容</text>
|
||||
<text>500元</text>
|
||||
</view>
|
||||
<view>
|
||||
<text>备注</text>
|
||||
<text>500元</text>
|
||||
</view>
|
||||
<view class="meeting-files">
|
||||
<text>附件</text>
|
||||
<view class="file-name">
|
||||
<view>
|
||||
<image src="../../assets/images/pdf.png"></image>
|
||||
<text>文件名内阁成员函数的工具包</text>
|
||||
</view>
|
||||
<text class="look-file">查看</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="meeting-files" style="margin-top: 0;">
|
||||
<text>会议文件</text>
|
||||
<view class="warning-text">
|
||||
<image src="../../assets/images/warn.png"></image>
|
||||
<text>单个账号会议文件只可发送五次</text>
|
||||
</view>
|
||||
<view class="file-name">
|
||||
<view>
|
||||
<image src="../../assets/images/pdf.png"></image>
|
||||
<text>文件名内阁成员函数的工具包</text>
|
||||
</view>
|
||||
<text class="look-file">查看</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="basic-info" style="margin-top: 10px;">
|
||||
<view class="title">
|
||||
<text>报名信息</text>
|
||||
</view>
|
||||
<view>
|
||||
<text>参会人1</text>
|
||||
<text>会议名称会议名称</text>
|
||||
</view>
|
||||
<view>
|
||||
<text>参会人2</text>
|
||||
<text>会议名称会议名称</text>
|
||||
</view>
|
||||
<view>
|
||||
<text>缴费方式</text>
|
||||
<text>会议名称会议名称</text>
|
||||
</view>
|
||||
<view>
|
||||
<text>是否需要发票</text>
|
||||
<text>会议名称会议名称</text>
|
||||
</view>
|
||||
<view>
|
||||
<text>邮寄地址</text>
|
||||
<text>会议名称会议名称</text>
|
||||
</view>
|
||||
<view>
|
||||
<text>邮编</text>
|
||||
<text>会议名称会议名称</text>
|
||||
</view>
|
||||
<view class="pay-prove-box">
|
||||
<text>缴费凭证</text>
|
||||
<view class="pay-prove-content">
|
||||
<view class="pay-prove" wx:if="{{payProveImage}}">
|
||||
<image src="{{payProveImage}}" mode="aspectFill"></image>
|
||||
<text class="delete-image" bindtap="delete">×</text>
|
||||
</view>
|
||||
<view class="pay-prove" bindtap="uploadImage">
|
||||
<image src="../../assets/images/uploadImage.png" mode="aspectFill" style="width: 40px; height: 40px;"></image>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="sign-up-empty"></view>
|
||||
<view class="sign-up">
|
||||
<text>确定</text>
|
||||
</view>
|
||||
</view>
|
||||
@@ -0,0 +1,151 @@
|
||||
page{
|
||||
box-sizing: border-box;
|
||||
background-color: #F5F5F5;
|
||||
}
|
||||
.basic-info .title{
|
||||
height: 40px;
|
||||
}
|
||||
.basic-info .title text{
|
||||
display: block;
|
||||
border-left: 3px solid #069F99;
|
||||
height: 14px;
|
||||
padding-left: 10px;
|
||||
border-radius: 2px;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
color: #333;
|
||||
font-size: 15px;
|
||||
font-weight: 500;
|
||||
}
|
||||
.basic-info view{
|
||||
background-color: #FFF;
|
||||
padding: 15px;
|
||||
height: 40px;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
color: #333;
|
||||
font-size: 14px;
|
||||
border-bottom: 0.5px solid #f5f5f5;
|
||||
position: relative;
|
||||
}
|
||||
.basic-info view:last-child{
|
||||
border-bottom: 0;
|
||||
}
|
||||
.meeting-name{
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.meeting-files{
|
||||
margin-top: 10px;
|
||||
flex-direction: column;
|
||||
align-items: flex-start !important;
|
||||
height: auto !important;
|
||||
}
|
||||
.basic-info .meeting-files .file-name{
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
padding: 0;
|
||||
height: 40px;
|
||||
margin-top: 10px;
|
||||
}
|
||||
.file-name view{
|
||||
padding: 0;
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
border-bottom: 0;
|
||||
}
|
||||
.file-name view image{
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
margin-right: 10px;
|
||||
}
|
||||
.basic-info .meeting-files .file-name .look-file{
|
||||
color: #069F99;
|
||||
}
|
||||
.warning-text{
|
||||
position: absolute !important;
|
||||
top: 5px;
|
||||
left: 75px;
|
||||
color: #FF5E60 !important;
|
||||
font-size: 10px !important;
|
||||
padding: 0 !important;
|
||||
}
|
||||
.warning-text image{
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
}
|
||||
.pay-prove-box{
|
||||
display: flex !important;
|
||||
flex-direction: column !important;
|
||||
justify-content: flex-start !important;
|
||||
align-items: flex-start !important;
|
||||
padding: 0;
|
||||
height: 120px !important;
|
||||
}
|
||||
.pay-prove-box .pay-prove-content{
|
||||
margin-top: 20px;
|
||||
display: flex;
|
||||
justify-content: flex-start;
|
||||
align-items: center;
|
||||
padding: 0;
|
||||
height: 80px;
|
||||
}
|
||||
.pay-prove-box .pay-prove-content .pay-prove{
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
margin-right: 10px;
|
||||
position: relative !important;
|
||||
background-color: #D1D1D1;
|
||||
padding: 0;
|
||||
border-radius: 5px;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.pay-prove-box .pay-prove-content .pay-prove image{
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
}
|
||||
.pay-prove-box .pay-prove-content .pay-prove .delete-image{
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
color: #fff;
|
||||
background-color: #FF5E60;
|
||||
border-radius: 50%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
font-size: 7px;
|
||||
position: absolute;
|
||||
top: -3px;
|
||||
right: -3px;
|
||||
}
|
||||
.sign-up-empty{
|
||||
height: 60px;
|
||||
width: 100%;
|
||||
display: block;
|
||||
margin-top: 10px;
|
||||
}
|
||||
.sign-up{
|
||||
width: 100%;
|
||||
padding: 10px 15px;
|
||||
box-sizing: border-box;
|
||||
background-color: #fff;
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
}
|
||||
.sign-up text{
|
||||
background-color: #069F99;
|
||||
height: 40px;
|
||||
border-radius: 10px;
|
||||
color: #fff;
|
||||
font-size: 16px;
|
||||
font-weight: 600;
|
||||
display: block;
|
||||
text-align: center;
|
||||
line-height: 40px;
|
||||
}
|
||||
Reference in New Issue
Block a user