详情报名

master
zsk 2 years ago
parent a54899c1e5
commit c8a894fc4c

@ -6,6 +6,7 @@ var qqmapsdk;
Page({ Page({
data: { data: {
recordShow: false,
images:[], images:[],
isLogin:false, isLogin:false,
statusBarHeight: wx.getStorageSync("statusBarHeight"), // 状态栏高度 statusBarHeight: wx.getStorageSync("statusBarHeight"), // 状态栏高度
@ -1269,6 +1270,21 @@ Page({
goNewEnroll(e) { goNewEnroll(e) {
let that = this; 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; let argument;
argument = JSON.stringify(that.data.jobDetail).replace(/\=|\&/g, "3D"); argument = JSON.stringify(that.data.jobDetail).replace(/\=|\&/g, "3D");
@ -1589,4 +1605,18 @@ Page({
iosDialogTobe: false, iosDialogTobe: false,
}); });
}, },
hidedrawershow (e) {
console.log(e);
this.setData({
[e.detail.type]: false
})
wx.showTabBar({
animation: false,
success: (result) => {
},
fail: () => { },
complete: () => { }
});
},
}); });

@ -1,4 +1,7 @@
{ {
"usingComponents": {
"bottom-drawer": "../../components/bottom-drawer/index"
},
"navigationBarBackgroundColor":"#0dcc91", "navigationBarBackgroundColor":"#0dcc91",
"navigationBarTextStyle":"white", "navigationBarTextStyle":"white",
"backgroundColor": "#FFFFFF", "backgroundColor": "#FFFFFF",

@ -256,7 +256,7 @@
<view class="flex-1 pr16" wx:if="{{!isMaskShow}}"> <view class="flex-1 pr16" wx:if="{{!isMaskShow}}">
<button type class="loginOut" bindtap="goNewEnroll">立即报名</button> <button type class="loginOut" bindtap="goNewEnroll" data-job="{{jobDetail}}">立即报名</button>
<!-- <button wx:else type="" class="detailBtn" hover-class="button-hover" open-type="getPhoneNumber" catchgetphonenumber="getPhoneNumber" catchtap="emptyMethod">立即报名</button> --> <!-- <button wx:else type="" class="detailBtn" hover-class="button-hover" open-type="getPhoneNumber" catchgetphonenumber="getPhoneNumber" catchtap="emptyMethod">立即报名</button> -->
</view> </view>
<view class="flex-1 pr16" wx:else> <view class="flex-1 pr16" wx:else>
@ -265,4 +265,4 @@
</view> </view>
</view> </view>
<view class="mask" wx:if="{{isMaskShow}}"></view> <view class="mask" wx:if="{{isMaskShow}}"></view>
<bottom-drawer show="{{recordShow}}" info="{{currentInfo}}" drawerType="recordShow" cancerShow="{{false}}" touchClose="{{true}}" bindhidedrawer="hidedrawershow" class="bottomDrawer" height="494px"></bottom-drawer>

Loading…
Cancel
Save