From c8a894fc4c911a56e74f165c08994f51848e8ae0 Mon Sep 17 00:00:00 2001
From: zsk <710162063@qq.com>
Date: Fri, 22 Mar 2024 16:41:33 +0800
Subject: [PATCH] =?UTF-8?q?=E8=AF=A6=E6=83=85=E6=8A=A5=E5=90=8D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/detail/index.js | 32 +++++++++++++++++++++++++++++++-
pages/detail/index.json | 3 +++
pages/detail/index.wxml | 4 ++--
3 files changed, 36 insertions(+), 3 deletions(-)
diff --git a/pages/detail/index.js b/pages/detail/index.js
index 91c2d23..1f7a0d7 100644
--- a/pages/detail/index.js
+++ b/pages/detail/index.js
@@ -6,6 +6,7 @@ var qqmapsdk;
Page({
data: {
+ recordShow: false,
images:[],
isLogin:false,
statusBarHeight: wx.getStorageSync("statusBarHeight"), // 状态栏高度
@@ -1269,6 +1270,21 @@ Page({
goNewEnroll(e) {
let that = this;
+ console.log(e.currentTarget.dataset.job);
+ this.setData({
+ recordShow: true,
+ currentInfo: e.currentTarget.dataset.job,
+ })
+ console.log(this.data.recordShow);
+ wx.hideTabBar({
+ animation: false,
+ success: (result) => {
+
+ },
+ fail: () => { },
+ complete: () => { }
+ });
+ return
let argument;
argument = JSON.stringify(that.data.jobDetail).replace(/\=|\&/g, "3D");
@@ -1588,5 +1604,19 @@ Page({
this.setData({
iosDialogTobe: false,
});
- },
+ },
+ hidedrawershow (e) {
+ console.log(e);
+ this.setData({
+ [e.detail.type]: false
+ })
+ wx.showTabBar({
+ animation: false,
+ success: (result) => {
+
+ },
+ fail: () => { },
+ complete: () => { }
+ });
+ },
});
diff --git a/pages/detail/index.json b/pages/detail/index.json
index e91b404..aec1eb9 100644
--- a/pages/detail/index.json
+++ b/pages/detail/index.json
@@ -1,4 +1,7 @@
{
+ "usingComponents": {
+ "bottom-drawer": "../../components/bottom-drawer/index"
+ },
"navigationBarBackgroundColor":"#0dcc91",
"navigationBarTextStyle":"white",
"backgroundColor": "#FFFFFF",
diff --git a/pages/detail/index.wxml b/pages/detail/index.wxml
index 04a57fd..95cf50e 100644
--- a/pages/detail/index.wxml
+++ b/pages/detail/index.wxml
@@ -256,7 +256,7 @@
-
+
@@ -265,4 +265,4 @@
-
+