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/invite/invite",
"pages/meeting/visitorIinvitation/list/list",
"pages/meeting/visitorIinvitation/detail/detali",
"pages/meeting/visitorIinvitation/detail/detail",
"pages/meeting/visitorIinvitation/indexBar/indexBar"
],
"window": {

View File

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

View File

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

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-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-field input-class="textarea" bind:input="dialogInput" value="{{ dialogContent }}" type="textarea" placeholder="请输入描述信息" />
<view class="dialogBtnView">