This commit is contained in:
SelfRidicule 2024-03-08 14:11:33 +08:00
parent 33fca3fd0a
commit 5b459c4c7f
10 changed files with 71 additions and 134 deletions

View File

@ -63,7 +63,7 @@
"pages/meeting/reservationRecord/meetingRecord/meetingDetail/meetingDetail", "pages/meeting/reservationRecord/meetingRecord/meetingDetail/meetingDetail",
"pages/meeting/invite/invite", "pages/meeting/invite/invite",
"pages/meeting/visitorIinvitation/list/list", "pages/meeting/visitorIinvitation/list/list",
"pages/meeting/visitorIinvitation/detail/detali", "pages/meeting/visitorIinvitation/detail/detail",
"pages/meeting/visitorIinvitation/indexBar/indexBar" "pages/meeting/visitorIinvitation/indexBar/indexBar"
], ],
"window": { "window": {

View File

@ -1,7 +1,7 @@
let app = getApp(); let app = getApp();
import { import {
companyRq companyRq
} from "../../../api/meeting/visitorIinvitation.js" } from "../../../../api/meeting/visitorIinvitation.js"
Page({ Page({
@ -123,9 +123,9 @@ Page({
onLoad(options) { onLoad(options) {
// 页面初始化 options为页面跳转所带来的参数 // 页面初始化 options为页面跳转所带来的参数
wx.setNavigationBarTitle({ wx.setNavigationBarTitle({
title: options.name title: options.title
}) })
console.log('options.goods_id', options.name) console.log('options.goods_id', options.title)
companyRq({}).then(res => { companyRq({}).then(res => {
console.log('res', res) console.log('res', res)
if (res.code == 0) { if (res.code == 0) {

View File

@ -1,4 +1,5 @@
{ {
"navigationBarTitleText": "详情",
"usingComponents": { "usingComponents": {
"van-field": "@vant/weapp/field/index", "van-field": "@vant/weapp/field/index",
"van-picker": "@vant/weapp/picker/index", "van-picker": "@vant/weapp/picker/index",

View File

@ -25,7 +25,7 @@
</view> </view>
<!-- 被访单位弹框 --> <!-- 被访单位弹框 -->
<van-popup show="{{ companyShow }}" round position="bottom"> <van-popup show="{{ companyShow }}" round position="bottom">
<van-picker show-toolbar title="被访单位" columns="{{ companyColumns }}" bind:confirm="confirmHandle" bind:cancel="cancelHandle" bind:change="changeHandler"/> <van-picker show-toolbar title="被访单位" columns="{{ companyColumns }}" bind:confirm="confirmHandle" bind:cancel="cancelHandle" bind:change="changeHandler" />
</van-popup> </van-popup>
<!-- 被访人姓名弹框 --> <!-- 被访人姓名弹框 -->
<!-- <van-popup show="{{ usernameShow }}" round position="bottom" closeable custom-style="height: 100%;position:absolute" bind:close="onClose"> <!-- <van-popup show="{{ usernameShow }}" round position="bottom" closeable custom-style="height: 100%;position:absolute" bind:close="onClose">
@ -49,6 +49,6 @@
<van-datetime-picker type="datetime" value="{{ currentDate }}" bind:input="onInput" bind:confirm="confirmHandle" bind:cancel="cancelHandle" /> <van-datetime-picker type="datetime" value="{{ currentDate }}" bind:input="onInput" bind:confirm="confirmHandle" bind:cancel="cancelHandle" />
</van-popup> </van-popup>
<!-- 提交成功弹框 --> <!-- 提交成功弹框 -->
<van-dialog title="提交成功" show="{{ submitSuccesShow }}" confirm-button-color="#4187f2" bind:confirm="submitDialogFn"/> <van-dialog title="提交成功" show="{{ submitSuccesShow }}" confirm-button-color="#4187f2" bind:confirm="submitDialogFn" />
</view> </view>
</view> </view>

View File

@ -1,66 +0,0 @@
// pages/meeting/visitorIinvitation/detail/detali.js
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad(options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady() {
},
/**
* 生命周期函数--监听页面显示
*/
onShow() {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide() {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload() {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh() {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom() {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage() {
}
})

View File

@ -1,3 +0,0 @@
{
"usingComponents": {}
}

View File

@ -1,2 +0,0 @@
<!--pages/meeting/visitorIinvitation/detail/detali.wxml-->
<text>pages/meeting/visitorIinvitation/detail/detali.wxml</text>

View File

@ -1 +0,0 @@
/* pages/meeting/visitorIinvitation/detail/detali.wxss */

View File

@ -61,6 +61,13 @@ Page({
}) })
}, },
// 跳转-预约
goReservation() {
wx.navigateTo({
url: '/pages/meeting/visitorIinvitation/detail/detail?title=预约',
})
},
/** /**
* 生命周期函数--监听页面初次渲染完成 * 生命周期函数--监听页面初次渲染完成
*/ */

View File

@ -27,8 +27,9 @@
</van-tab> </van-tab>
</van-tabs> </van-tabs>
<view class="submitBtn">立即预约</view> <view class="submitBtn" bind:tap="goReservation">立即预约</view>
<!-- 审核弹出框 -->
<van-dialog use-slot title="审核" show="{{ dialogShow }}" show-confirm-button="{{false}}" show-cancel-button="{{false}}" close-on-click-overlay> <van-dialog use-slot title="审核" show="{{ dialogShow }}" show-confirm-button="{{false}}" show-cancel-button="{{false}}" close-on-click-overlay>
<van-field input-class="textarea" bind:input="dialogInput" value="{{ dialogContent }}" type="textarea" placeholder="请输入描述信息" /> <van-field input-class="textarea" bind:input="dialogInput" value="{{ dialogContent }}" type="textarea" placeholder="请输入描述信息" />
<view class="dialogBtnView"> <view class="dialogBtnView">