From 7631ccedcd193f21784d6b171aeb594699793576 Mon Sep 17 00:00:00 2001 From: SelfRidicule Date: Fri, 8 Mar 2024 15:56:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=8F=E8=BF=B0:=E9=A2=84=E7=BA=A6=E8=AF=A6?= =?UTF-8?q?=E6=83=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../visitorIinvitation/detail/detail.js | 3 +- .../visitorIinvitation/detail/detail.wxml | 124 +++++++++++------- .../visitorIinvitation/detail/detail.wxss | 102 ++++++++++---- 3 files changed, 155 insertions(+), 74 deletions(-) diff --git a/miniprogram/pages/meeting/visitorIinvitation/detail/detail.js b/miniprogram/pages/meeting/visitorIinvitation/detail/detail.js index 64c0cdd..b17ffca 100644 --- a/miniprogram/pages/meeting/visitorIinvitation/detail/detail.js +++ b/miniprogram/pages/meeting/visitorIinvitation/detail/detail.js @@ -10,6 +10,7 @@ Page({ */ data: { IMG_NAME: app.IMG_NAME, + detail: {}, value: '', companyShow: false, usernameShow: false, @@ -125,7 +126,7 @@ Page({ wx.setNavigationBarTitle({ title: options.title }) - console.log('options.goods_id', options.title) + console.log('options.goods_id', options) companyRq({}).then(res => { console.log('res', res) if (res.code == 0) { diff --git a/miniprogram/pages/meeting/visitorIinvitation/detail/detail.wxml b/miniprogram/pages/meeting/visitorIinvitation/detail/detail.wxml index fb2201c..ded4df0 100644 --- a/miniprogram/pages/meeting/visitorIinvitation/detail/detail.wxml +++ b/miniprogram/pages/meeting/visitorIinvitation/detail/detail.wxml @@ -1,34 +1,71 @@ - - - 请填写访客信息 + + + 预约信息 - - - - - - - - - - - - - - 访客照片 - - 提示:请保持五官清晰,以方便系统精准识 - - - - 提交 + + + 被访单位 + - - - - - - + + + 提示:请保持五官清晰,以方便系统精准识 + + + + 提交 + + + + + + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + \ No newline at end of file diff --git a/miniprogram/pages/meeting/visitorIinvitation/detail/detail.wxss b/miniprogram/pages/meeting/visitorIinvitation/detail/detail.wxss index 34d5f9e..c375b1c 100644 --- a/miniprogram/pages/meeting/visitorIinvitation/detail/detail.wxss +++ b/miniprogram/pages/meeting/visitorIinvitation/detail/detail.wxss @@ -1,38 +1,82 @@ -/* pages/meeting/visitorIinvitation/visitorIinvitation.wxss */ -.container{ - width: 100%; - position: absolute; - height: 100vh; - background-color: #f6f6f6; +.containerView.public { + height: auto; } -.titleView { - border-left: 8rpx solid #2A6FFF; + +.headView { + padding: 30rpx 20rpx; + background: #f6f6f6; +} + +.contentView {} + +.contentView .rowView { display: flex; + justify-content: space-between; align-items: center; - margin: 40rpx 30rpx 0; + padding: 2rpx 0 2rpx 30rpx; + border-bottom: 1px solid rgb(126, 126, 126, 0.2); } -.titleView .title{ - margin-left: 10rpx; - font-size: 26rpx; - font-weight: 400; - color: #666666; + +.contentView .rowView:last-of-type { + border-bottom: none; } -.inputView{ - margin-top: 20rpx; + + +.contentView .rowView .label { + position: relative; + font-size: 30rpx; + color: #000000; } -.uploadImgView{ - padding: 16px; - background-color: #ffffff; - color: #646566; - font-size: 28rpx; + +.contentView .rowView .label.must::after { + content: '*'; + display: block; + position: absolute; + left: 100%; + top: 6rpx; + margin-left: 10rpx; + color: red; } -.tipsView{ - text-align: center; - padding-top: 60rpx; - margin-bottom: 100rpx; + +.input { + font-size: 30rpx; } -.submitBtnView{ - width: 96%; - margin:0 auto ; - padding-bottom: 100rpx; + + +.uploadImgView { + padding: 0 40rpx; + background-color: #ffffff; + font-size: 28rpx; + color: #646566; +} + +.uploadImgView .tipsView { + text-align: center; +} + +.submitBtnView { + width: 600rpx; + padding: 20rpx; + background: #4e96f8; + color: white; + font-size: 30rpx; + text-align: center; + border-radius: 10rpx; + margin: 60rpx auto; +} + +.submitBtn { + box-sizing: border-box; + position: fixed; + z-index: 10; + width: 600rpx; + left: 50%; + transform: translateX(-50%); + bottom: 120rpx; + border-radius: 10rpx; + padding: 20rpx; + background: #4e96f8; + color: white; + font-size: 30rpx; + text-align: center; } \ No newline at end of file