master
zsk 2 years ago
parent 180f85c5de
commit 6b3a8be3e7

@ -16,7 +16,20 @@ Page({
* 生命周期函数--监听页面加载 * 生命周期函数--监听页面加载
*/ */
onLoad(options) { onLoad(options) {
// console.log(wx.getStorageSync("jobDetailStorageChajian")) console.log(app.globalData)
// console.log(wx.getStorageSync("jobDetailStorageChajian"))
if (app.isNotEmptyCheck(app.globalData.user.userName)) {
// this.data.inputUserName = app.globalData.user.userName;
this.setData({
inputUserName: app.globalData.user.userName,
});
}
if (app.isNotEmptyCheck(app.globalData.loginUserInfo.tel)) {
// this.data.phoneNumber = app.globalData.loginUserInfo.tel;
this.setData({
phoneNumber: app.globalData.loginUserInfo.tel
});
}
}, },
bindinputUserName(e) { bindinputUserName(e) {
console.log(e) console.log(e)
@ -71,6 +84,9 @@ Page({
header: app.globalData.headers, header: app.globalData.headers,
data: formData, data: formData,
success: function (res) { success: function (res) {
// wx.redirectTo({
// url: "../success/index?applyType=" + that.data.applyType
// });
wx.showToast({ wx.showToast({
icon: "success", icon: "success",
title: "报名成功", title: "报名成功",

@ -75,7 +75,7 @@ Page({
makePhoneCall() { makePhoneCall() {
var that = this; var that = this;
wx.makePhoneCall({ wx.makePhoneCall({
phoneNumber: '18039237825', phoneNumber: '13253506869',
// that.data.pmdUserInfo.tel // that.data.pmdUserInfo.tel
}); });
}, },

@ -59,7 +59,7 @@
</view> </view>
</view> </view>
<view class="p10" style="padding-bottom:0;"> <view class="p10" style="padding-bottom:0;margin-top:0.2px;">
<view class="moneyView"> <view class="moneyView">
<navigator url="{{isLogin ? '/pages/wxMoney/index' : '/pages/login/index'}}" hover-class="none"> <navigator url="{{isLogin ? '/pages/wxMoney/index' : '/pages/login/index'}}" hover-class="none">
<view class="moneyText">账户余额(元) <view class="moneyText">账户余额(元)

Loading…
Cancel
Save