斜塘答题

master
lion 3 years ago
commit 8b78f09e2c

@ -162,7 +162,8 @@
let redirect = encodeURIComponent(link.replace(/#\//, "")) let redirect = encodeURIComponent(link.replace(/#\//, ""))
// let appid = 'wx7b33df2cb829cec6' // let appid = 'wx7b33df2cb829cec6'
let appid = 'wxbf4862e929ab85b0' let appid = 'wxbf4862e929ab85b0'
uni.setStorageSync('userInfo_token', {"token":"7881|46ePF9WTeCxRWTioGoy6Sf1zVvwaCCb4DOQYm5FQ","user_id":5101});
// uni.setStorageSync('userInfo_token', {"token":"7777|QHwrodQSA6dhth3TEYjIwJfW2BNok5azI9CO25yb","user_id":5081});
window.location.href = window.location.href =
`https://open.weixin.qq.com/connect/oauth2/authorize?appid=${appid}&redirect_uri=${redirect}&response_type=code&scope=snsapi_base#wechat_redirect` `https://open.weixin.qq.com/connect/oauth2/authorize?appid=${appid}&redirect_uri=${redirect}&response_type=code&scope=snsapi_base#wechat_redirect`

@ -199,7 +199,7 @@
url = '/pages/me/me' url = '/pages/me/me'
} }
console.log(userinfo,url,isclick) console.log(userinfo,url,isclick)
return // return
if(isclick){ if(isclick){
uni.navigateTo({ uni.navigateTo({
url:url url:url

@ -194,6 +194,7 @@ export default {
api: '/api/mobile/quiz/get-departments', api: '/api/mobile/quiz/get-departments',
data: this.form, data: this.form,
method: 'GET', method: 'GET',
customLoading: true,
utilSuccess: function(res) { utilSuccess: function(res) {
let _arr = [] let _arr = []
res.map(item=>{ res.map(item=>{
@ -209,6 +210,9 @@ export default {
openPicker(){ openPicker(){
uni.hideKeyboard() uni.hideKeyboard()
this.partyShow = true this.partyShow = true
if (this.partyColumns.length === 0) {
this.getParty()
}
}, },
confirmParty(e){ confirmParty(e){
console.log(e) console.log(e)

Loading…
Cancel
Save