From dedf55d25f0c31a74d9937eddde94ee068705117 Mon Sep 17 00:00:00 2001 From: SelfRidicule Date: Wed, 28 Feb 2024 17:34:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=8F=E8=BF=B0:=E4=BC=9A=E8=AE=AE=E9=A2=84?= =?UTF-8?q?=E7=BA=A6=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../meetingRecord/meetingRecord.js | 95 +++++++++--------- .../meetingRecord/meetingRecord.json | 3 +- .../meetingRecord/meetingRecord.wxml | 28 +++++- .../meetingRecord/meetingRecord.wxss | 96 ++++++++++++++++++- 4 files changed, 171 insertions(+), 51 deletions(-) diff --git a/miniprogram/pages/meeting/reservationRecord/meetingRecord/meetingRecord.js b/miniprogram/pages/meeting/reservationRecord/meetingRecord/meetingRecord.js index 685edab..ba92a53 100644 --- a/miniprogram/pages/meeting/reservationRecord/meetingRecord/meetingRecord.js +++ b/miniprogram/pages/meeting/reservationRecord/meetingRecord/meetingRecord.js @@ -1,66 +1,67 @@ -// pages/meeting/reservationRecord/meetingRecord/meetingRecord.js +const app = getApp() + Page({ - /** - * 页面的初始数据 - */ - data: { + /** + * 页面的初始数据 + */ + data: { + IMG_NAME: app.IMG_NAME, + }, - }, + /** + * 生命周期函数--监听页面加载 + */ + onLoad(options) { - /** - * 生命周期函数--监听页面加载 - */ - onLoad(options) { + }, - }, + /** + * 生命周期函数--监听页面初次渲染完成 + */ + onReady() { - /** - * 生命周期函数--监听页面初次渲染完成 - */ - onReady() { + }, - }, + /** + * 生命周期函数--监听页面显示 + */ + onShow() { - /** - * 生命周期函数--监听页面显示 - */ - onShow() { + }, - }, + /** + * 生命周期函数--监听页面隐藏 + */ + onHide() { - /** - * 生命周期函数--监听页面隐藏 - */ - onHide() { + }, - }, + /** + * 生命周期函数--监听页面卸载 + */ + onUnload() { - /** - * 生命周期函数--监听页面卸载 - */ - onUnload() { + }, - }, + /** + * 页面相关事件处理函数--监听用户下拉动作 + */ + onPullDownRefresh() { - /** - * 页面相关事件处理函数--监听用户下拉动作 - */ - onPullDownRefresh() { + }, - }, + /** + * 页面上拉触底事件的处理函数 + */ + onReachBottom() { - /** - * 页面上拉触底事件的处理函数 - */ - onReachBottom() { + }, - }, + /** + * 用户点击右上角分享 + */ + onShareAppMessage() { - /** - * 用户点击右上角分享 - */ - onShareAppMessage() { - - } + } }) \ No newline at end of file diff --git a/miniprogram/pages/meeting/reservationRecord/meetingRecord/meetingRecord.json b/miniprogram/pages/meeting/reservationRecord/meetingRecord/meetingRecord.json index 8835af0..8180411 100644 --- a/miniprogram/pages/meeting/reservationRecord/meetingRecord/meetingRecord.json +++ b/miniprogram/pages/meeting/reservationRecord/meetingRecord/meetingRecord.json @@ -1,3 +1,4 @@ { - "usingComponents": {} + "usingComponents": {}, + "navigationBarTitleText": "会议预约记录" } \ No newline at end of file diff --git a/miniprogram/pages/meeting/reservationRecord/meetingRecord/meetingRecord.wxml b/miniprogram/pages/meeting/reservationRecord/meetingRecord/meetingRecord.wxml index 133b67d..6b4c79b 100644 --- a/miniprogram/pages/meeting/reservationRecord/meetingRecord/meetingRecord.wxml +++ b/miniprogram/pages/meeting/reservationRecord/meetingRecord/meetingRecord.wxml @@ -1,2 +1,26 @@ - -pages/meeting/reservationRecord/meetingRecord/meetingRecord.wxml \ No newline at end of file + + + + YGDH20240120122 + 待使用 + + + + + 10人间 | B2A | 3F + space space + 2023-01-01 10:10~12:12 + + + + 总价: + ¥200.00 + + + 去支付 + 去邀请 + 取消订单 + 查看会议 + + + \ No newline at end of file diff --git a/miniprogram/pages/meeting/reservationRecord/meetingRecord/meetingRecord.wxss b/miniprogram/pages/meeting/reservationRecord/meetingRecord/meetingRecord.wxss index d8c830f..5aeefb2 100644 --- a/miniprogram/pages/meeting/reservationRecord/meetingRecord/meetingRecord.wxss +++ b/miniprogram/pages/meeting/reservationRecord/meetingRecord/meetingRecord.wxss @@ -1 +1,95 @@ -/* pages/meeting/reservationRecord/meetingRecord/meetingRecord.wxss */ \ No newline at end of file +.containerView.public { + background: none; +} + +.itemView { + background: white; + margin: 30rpx 20rpx; + padding: 30rpx 20rpx; + /* box-shadow: rgba(210,210,210,0.5) 0px 3.752px 3.752px 0px; */ +} + +.itemView .headView { + display: flex; + justify-content: space-between; + align-items: center; +} + +.itemView .headView .number { + font-size: 26rpx; +} + +.itemView .headView .status { + font-size: 26rpx; + color: #4e96f8; + margin-right: 20rpx; +} + +.itemView .contentView { + box-sizing: border-box; + border-radius: 10rpx; + width: 100%; + margin-top: 20rpx; + padding: 30rpx 20rpx; + display: flex; + justify-content: flex-start; + align-items: center; + background: #f2f2f2; +} + +.itemView .contentView .img { + border: 1px solid blue; + border-radius: 10rpx; + width: 200rpx; + height: 110rpx; +} + +.itemView .contentView .msgView { + flex: 1; + margin-left: 20rpx; +} + +.itemView .contentView .msgView .title { + font-size: 28rpx; +} + +.itemView .contentView .msgView .name, +.itemView .contentView .msgView .time { + font-size: 24rpx; + color: gray; + margin-top: 6rpx; +} + +.itemView .priceView { + display: flex; + justify-content: flex-end; + align-items: center; + margin: 30rpx 0; +} + +.itemView .priceView .name { + font-size: 26rpx; +} + +.itemView .priceView .price { + font-size: 28rpx; + font-weight: bold; + color: red; + margin-left: 10rpx; +} + +.itemView .btnView { + display: flex; + justify-content: flex-end; + align-items: center; + +} + +.itemView .btnView .btn { + border: 1px solid #4e96f8; + border-radius: 10rpx; + margin-left: 16rpx; + padding: 10rpx 24rpx; + font-size: 24rpx; + color: #4e96f8; +} \ No newline at end of file