Commit 2d354fb4 by 陈超

T

parent dc57382a
...@@ -137,21 +137,21 @@ ...@@ -137,21 +137,21 @@
this.checkPhone(this.readyToSend) this.checkPhone(this.readyToSend)
}, },
readyToSend: function() { readyToSend: function() {
let that = this
if(!this.counting) { if(!this.counting) {
this.counting = true let phone = that.phone
let phone = this.phone
$.ajax({ $.ajax({
type: "POST", type: "POST",
url:GET_PHONEVERIFY, url:GET_PHONEVERIFY,
data:"phone="+phone, data:"phone="+phone,
dataType:"json", dataType:"json",
success:function(data){ success:function(data){
console.log(data)
if(data.status=='0'){ if(data.status=='0'){
ui.error(data.info) ui.error(data.info)
return return
}else{ }else{
this.onTick() that.counting = true
that.onTick()
return return
} }
} }
......
...@@ -104,7 +104,9 @@ ...@@ -104,7 +104,9 @@
<van-tabbar-item> <van-tabbar-item>
<span class="text_10_400">考试咨询</span> <span class="text_10_400">考试咨询</span>
<template #icon="props"> <template #icon="props">
<a href="{:U('classroom/Index/find')}">
<img :src="props.active ? '__THEME__/img/zixun.png' : '__THEME__/img/zixun_s.png'" /> <img :src="props.active ? '__THEME__/img/zixun.png' : '__THEME__/img/zixun_s.png'" />
</a>
</template> </template>
</van-tabbar-item> </van-tabbar-item>
<van-tabbar-item> <van-tabbar-item>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment