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 @@
-
+