update
This commit is contained in:
parent
60e2244724
commit
6d311b2cb6
@ -107,7 +107,7 @@
|
|||||||
CustomBar: 0,
|
CustomBar: 0,
|
||||||
Custom: 0,
|
Custom: 0,
|
||||||
modalName: '', // 是否弹框
|
modalName: '', // 是否弹框
|
||||||
prevPage: '', // 是否有上个页面
|
prevPage: {}, // 是否有上个页面
|
||||||
token: '',
|
token: '',
|
||||||
searchValue: ''
|
searchValue: ''
|
||||||
},
|
},
|
||||||
@ -119,10 +119,17 @@
|
|||||||
ready() {
|
ready() {
|
||||||
console.log(this.handleIndex, '---')
|
console.log(this.handleIndex, '---')
|
||||||
let pages = getCurrentPages()
|
let pages = getCurrentPages()
|
||||||
console.log(pages, 'pages==')
|
|
||||||
this.token = wx.getStorageSync('token')
|
this.token = wx.getStorageSync('token')
|
||||||
let prevPage = pages[pages.length - 2] // 上一个页面
|
console.log(pages[pages.length - 2], '3333')
|
||||||
this.prevPage = prevPage
|
let prevListPage = pages[pages.length - 2] // 上一个页面
|
||||||
|
console.log(prevListPage, '44444')
|
||||||
|
if (prevListPage) {
|
||||||
|
this.prevPage = true
|
||||||
|
} else {
|
||||||
|
this.prevPage = false
|
||||||
|
}
|
||||||
|
// this.prevPage = prevListPage
|
||||||
|
console.log('55555')
|
||||||
console.log(this.prevPage, 'prevPage=')
|
console.log(this.prevPage, 'prevPage=')
|
||||||
try {
|
try {
|
||||||
var systemInfo = wx.getSystemInfoSync()
|
var systemInfo = wx.getSystemInfoSync()
|
||||||
|
|||||||
@ -72,7 +72,7 @@
|
|||||||
<view class="inputBox animation-slide-bottom" style="animation-delay: 0.1s;">
|
<view class="inputBox animation-slide-bottom" style="animation-delay: 0.1s;">
|
||||||
<view class="font_28 textStyle bold">毕业院校</view>
|
<view class="font_28 textStyle bold">毕业院校</view>
|
||||||
<view catchtap="handleScroll">
|
<view catchtap="handleScroll">
|
||||||
<input value="{{school}}" disabled type="text" class="inputStyle font_30" readonly placeholder="请输入你的毕业院校" />
|
<input :value="school" ref="inputRef" disabled type="text" class="inputStyle font_30" readonly placeholder="请输入你的毕业院校" />
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="inputBox animation-slide-bottom" style="animation-delay: 0.1s;">
|
<view class="inputBox animation-slide-bottom" style="animation-delay: 0.1s;">
|
||||||
@ -209,7 +209,7 @@
|
|||||||
manner: ['毕业证/学位证书照片', '国内学信网在线认证'],
|
manner: ['毕业证/学位证书照片', '国内学信网在线认证'],
|
||||||
degreeIndex: '',
|
degreeIndex: '',
|
||||||
mannerIndex: 0,
|
mannerIndex: 0,
|
||||||
school: '',
|
school: '999',
|
||||||
attestation: '',
|
attestation: '',
|
||||||
ShowDegree: false,
|
ShowDegree: false,
|
||||||
init: false,
|
init: false,
|
||||||
@ -225,14 +225,24 @@
|
|||||||
accomplish: '',
|
accomplish: '',
|
||||||
anew: 1,
|
anew: 1,
|
||||||
up: '',
|
up: '',
|
||||||
choosePicsShow: false
|
choosePicsShow: false,
|
||||||
|
inputRef: null
|
||||||
},
|
},
|
||||||
|
|
||||||
onShow() {
|
onShow(e) {
|
||||||
|
if (e && e.school) {
|
||||||
|
this.school = e.school
|
||||||
|
}
|
||||||
|
// console.log(this, 'this.school')
|
||||||
// this.getTempId()
|
// this.getTempId()
|
||||||
// this.initPageData()
|
// this.initPageData()
|
||||||
// this.$parent.getTracker(this.$root.$name, this.config.navigationBarTitleText)
|
// this.$parent.getTracker(this.$root.$name, this.config.navigationBarTitleText)
|
||||||
},
|
},
|
||||||
|
// observers: {
|
||||||
|
// 'school': function (school) {
|
||||||
|
// console.log(school, '9999')
|
||||||
|
// }
|
||||||
|
// },
|
||||||
|
|
||||||
// onShareAppMessage(res) {
|
// onShareAppMessage(res) {
|
||||||
// return this.$parent.onShareAppMessage(this.config.navigationBarTitleText)
|
// return this.$parent.onShareAppMessage(this.config.navigationBarTitleText)
|
||||||
@ -281,13 +291,16 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
onPullDownRefresh() {
|
onPullDownRefresh() {
|
||||||
this.initPageData()
|
// this.initPageData()
|
||||||
},
|
|
||||||
show(e) {
|
|
||||||
this.school = e
|
|
||||||
},
|
},
|
||||||
|
// show(e) {
|
||||||
|
// console.log(e, '999')
|
||||||
|
// this.school = e
|
||||||
|
// },
|
||||||
methods: {
|
methods: {
|
||||||
|
onInput(e) {
|
||||||
|
console.log(e, 'eeee==2333=')
|
||||||
|
},
|
||||||
// 初始化页面数据
|
// 初始化页面数据
|
||||||
initPageData() {
|
initPageData() {
|
||||||
this.$get({url: `${service.host}/user/approve/profile`}).then(({code, data}) => {
|
this.$get({url: `${service.host}/user/approve/profile`}).then(({code, data}) => {
|
||||||
@ -357,6 +370,7 @@
|
|||||||
degree: vm.degree[vm.degreeIndex]
|
degree: vm.degree[vm.degreeIndex]
|
||||||
// eca_type: vm.mannerIndex
|
// eca_type: vm.mannerIndex
|
||||||
}
|
}
|
||||||
|
// console.log(vm, 'vn===')
|
||||||
// 在线认证
|
// 在线认证
|
||||||
if (vm.mannerIndex == 1) {
|
if (vm.mannerIndex == 1) {
|
||||||
data = {
|
data = {
|
||||||
@ -384,6 +398,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (vm.mannerIndex == 0) {
|
if (vm.mannerIndex == 0) {
|
||||||
|
console.log(vm.educate_photo, vm.school, vm.degree[vm.degreeIndex])
|
||||||
if (!vm.educate_photo || !vm.school || !vm.degree[vm.degreeIndex]) {
|
if (!vm.educate_photo || !vm.school || !vm.degree[vm.degreeIndex]) {
|
||||||
return vm.$showToast('请完善表单信息!')
|
return vm.$showToast('请完善表单信息!')
|
||||||
}
|
}
|
||||||
@ -436,11 +451,11 @@
|
|||||||
},
|
},
|
||||||
hideModal(e) {
|
hideModal(e) {
|
||||||
this.modalName = ''
|
this.modalName = ''
|
||||||
},
|
|
||||||
UpLoadImage(value) {
|
|
||||||
this.educate_photo = value
|
|
||||||
wx.hideLoading()
|
|
||||||
}
|
}
|
||||||
|
// UpLoadImage(value) {
|
||||||
|
// this.educate_photo = value
|
||||||
|
// wx.hideLoading()
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="myOrderList">
|
<view class="myOrderList">
|
||||||
<view style="background:#f8f8f8;height:{{windowHeight}}px;">
|
<view style="background:#f8f8f8;height:{{windowHeight}}px;">
|
||||||
<cuCustom :bgColor="bgVip" isCustom="{{true}}">
|
<cuCustom isCustom="{{true}}">
|
||||||
<view slot="backText">返回</view>
|
<view slot="backText">返回</view>
|
||||||
<view slot="content">我的订单</view>
|
<view slot="content">我的订单</view>
|
||||||
</cuCustom>
|
</cuCustom>
|
||||||
|
|||||||
@ -55,8 +55,12 @@
|
|||||||
// school: e.currentTarget.dataset.title,
|
// school: e.currentTarget.dataset.title,
|
||||||
// })
|
// })
|
||||||
// prevPage.data.school = e.currentTarget.dataset.title
|
// prevPage.data.school = e.currentTarget.dataset.title
|
||||||
// prevPage.show(e.$wx.currentTarget.dataset.title)
|
|
||||||
prevPage.setData({school: e.$wx.currentTarget.dataset.title})
|
let data = prevPage.data.school
|
||||||
|
console.log(prevPage, 'prevPage---')
|
||||||
|
data = e.$wx.currentTarget.dataset.title
|
||||||
|
prevPage.setData({school: data})
|
||||||
|
prevPage.onShow({school: data})
|
||||||
wx.navigateBack({
|
wx.navigateBack({
|
||||||
delta: 1
|
delta: 1
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user