作者 anyv
1 个管道 的构建 通过 耗费 4 秒

36

@@ -32,7 +32,7 @@ class IndentModel extends Model @@ -32,7 +32,7 @@ class IndentModel extends Model
32 * @throws \think\exception\DbException 32 * @throws \think\exception\DbException
33 */ 33 */
34 public function selectData($where){ 34 public function selectData($where){
35 - $data = $this->where($where)->order('pay_time desc,create_time desc')->select()->toArray(); 35 + $data = $this->where($where)->order('create_time desc')->select()->toArray();
36 return $data; 36 return $data;
37 } 37 }
38 38
@@ -206,18 +206,20 @@ @@ -206,18 +206,20 @@
206 $("input").on("blur",function(){window.scroll(0,0)}); 206 $("input").on("blur",function(){window.scroll(0,0)});
207 <!--验证弹窗--> 207 <!--验证弹窗-->
208 var state; 208 var state;
  209 +
  210 + $(".log_seven_btn_contant").click(function() {
209 $.post("{:url('Personalcenter/id_first_withdrawal')}",{},function(data){ 211 $.post("{:url('Personalcenter/id_first_withdrawal')}",{},function(data){
210 state = data; 212 state = data;
211 - });  
212 - $(".log_seven_btn_contant").click(function() {  
213 - console.log(state);  
214 - if(state != false){ 213 + if(data != false){
215 $(".tx_maskPhone").css("display","block"); 214 $(".tx_maskPhone").css("display","block");
216 }else{ 215 }else{
217 $(".tx_mask").css("display","block"); 216 $(".tx_mask").css("display","block");
218 return false; 217 return false;
219 } 218 }
220 }); 219 });
  220 +
  221 +
  222 + });
221 /** 223 /**
222 *手机号验证点击确定时 224 *手机号验证点击确定时
223 */ 225 */