亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

過兒
???

???? ??? ?? ?? ??? ??? ??? ? ????.

?? ??
  • ?? ??? ??:??? ???

    新下載了一個(gè)tp框架,然后安裝captcha驗(yàn)證碼,安裝不了,貌似是版本不對,解決方法:在命令后面加個(gè)2.*,composer require topthink/think-captcha 2.* 安裝適應(yīng)你tp版本的2系列的版本 最新的適用于TP6

    2019-10-150個(gè)贊

  • ?? ??? ??:Xiaomi Mall ??? ???(js? ?? ??? ??)

    function ChangeReg(divId,divName,Count) { for(var i=0;i<=Count;i++){ document.getElementById(divName+i).style.display='none' } document.getElementById(divName+divId).style.display='block' } 實(shí)現(xiàn)登錄掃碼兩頁面切換功能

    2019-02-090個(gè)贊

  • ?? ??? ??:?? ???? ???(jQuery ??)

    //點(diǎn)擊選中其他的顏色 $('.detail_color_left').click(function(){ $('.detail_color_left').attr('class','detail_color_left'); $(this).attr('class','detail_color_left checked'); })

    2019-02-100個(gè)贊

  • ?? ??? ??:????? ?? ?? ??? ?????.

    再利用layui布局中,<div class="layui-container"> 無法設(shè)置margin邊距,需要在外層套一層div方可實(shí)現(xiàn)!

    2019-02-110個(gè)贊

  • ?? ??? ??:????? ?? ?? ??? ?? ? ??? ??? ???? ??? ?????.

    $(function(){ //鼠標(biāo)移上變色 $('.fa-check-square').mouseover(function(){ if($(this).attr('class')!='fa fa-check-square checked'){ $(this).css('color','#ff6700'); } }) $('.fa-check-square').mouseleave(function(){ $(this).css('color','#fff'); }) //單選中效果 $('.fa-check-square').click(function(){ var cla=$(this).attr('class'); if(cla!='fa fa-check-square checked'){ $(this).attr('class','fa fa-check-square checked'); }else{ $(this).attr('class','fa fa-check-square'); } checkAll(); }) //全選效果 $('#select_all').click(function(){ var cla=$(this).attr('class'); if(cla!='fa fa-check-square checked'){ $('.fa-check-square').attr('class','fa fa-check-square checked'); }else{ $('.fa-check-square').attr('class','fa fa-check-square'); } }) //檢查是否全選 function checkAll(){ var allitem=$('.list_item span[class*="fa-check-square"]').length; var checkeditem=$('.list_item span[class$="checked"]').length; if(allitem!=checkeditem){ $('#select_all').attr('class','fa fa-check-square'); }else{ $('#select_all').attr('class','fa fa-check-square checked'); } } //實(shí)現(xiàn)加法 $('.add').click(function(){ var nowvalue=$(this).siblings('input').val(); var nowvalue=parseInt(nowvalue); var currentvalue=0; var currentvalue=nowvalue+1; $(this).siblings('input').val(currentvalue); var per_price=$(this).parents('.cal_num').siblings('.per_price').children('p').html(); var per_price=parseFloat(per_price); var total_price=per_price*currentvalue; $(this).parents('.cal_num').siblings('.total_price').children('p').html(total_price+'元'); }) //實(shí)現(xiàn)剪法 $('.sub').click(function(){ var nowvalue=$(this).siblings('input').val(); var nowvalue=parseInt(nowvalue); var currentvalue=nowvalue; if(currentvalue>1){ currentvalue=nowvalue-1; }else{ currentvalue=1; } $(this).siblings('input').val(currentvalue); var per_price=$(this).parents('.cal_num').siblings('.per_price').children('p').html(); var per_price=parseFloat(per_price); var total_price=per_price*currentvalue; $(this).parents('.cal_num').siblings('.total_price').children('p').html(total_price+'元'); }) })

    2019-02-110個(gè)贊