在线观看不卡亚洲电影_亚洲妓女99综合网_91青青青亚洲娱乐在线观看_日韩无码高清综合久久

鍍金池/ 問答
笑忘初 回答

你在php.ini 里面把 session.cookie_lifetime 和 session.gc_maxlifetime設(shè)置的超大就行,例如999999999

情皺 回答

你是想說跨域問題嗎?我是配置了proxy代理來解決數(shù)據(jù)交互問題的。圖片描述

已經(jīng)解決,是由于win7自還的powershell版本太低的問題,需要升級到版本4就可以了

powershell
$PSVersionTable.PSVersion
其中Major列為版本號,win7自帶的會(huì)顯示2
按教程http://www.pstips.net/powersh... 升級為4,然后重啟電腦就可以了
蝶戀花 回答

你可以在 customer.py 里這樣寫:

def A():
    pass
if __name__ == '__main__':
    A()

這樣在你 import 包時(shí),會(huì)檢查模塊是導(dǎo)入的還是直接運(yùn)行的
你可以參考一下這個(gè)

夢一場 回答

不要去到vendor目錄修改源碼,直接在App\Http\Auth\LoginController下重寫validateLogin方法即可,我的是laravel5.5版本不同可能會(huì)有略微差別。
至于驗(yàn)證碼的,當(dāng)然力薦mews/captcha
laravel中使用起來簡直不要太簡單。(多余的代碼就不寫了)

$this->validate($request, [
    'captcha' => 'required|captcha',
]);
笨尐豬 回答

試試把遠(yuǎn)程的分支刪掉,然后重新push,再merge到master上。

我不懂 回答

hover之后將該區(qū)域塊顯示出來,然后加上animation,從左到右的滑動(dòng)
舉個(gè)例子

<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>JS Bin</title>
  <script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js"></script>
  <style>
    ul li{list-style:none; width:100px; position:relative; float:left; overflow:hidden;}
    ul li img{width:100%;}
    ul li .info{position:absolute; bottom:0; left:0; width:100%; height:40px; line-height:40px; background:-webkit-gradient(linear, 0 0, 0 bottom, from(rgba(255,255,255,.2)), to(rgba(0,0,0,.2)));}
    .hide{display:none;}
    .slideleft{animation:left .5s 1; animation-fill-mode:forwards;}
    .slideright{animation:right .5s 1; animation-fill-mode:forwards;}
    .slidetop{animation:top .5s 1; animation-fill-mode:forwards;}
    .slidebottom{animation:bottom .5s 1; animation-fill-mode:forwards;}
    
    @keyframes left{
      from{left:-100%;}
      to{left:0;}
    }
    @keyframes top{
      from{bottom:-100%; left:0;}
      to{bottom:0; left:0;}
    }
    @keyframes bottom{
      from{bottom:100%;}
      to{bottom:0;}
    }
    @keyframes right{
      from{left:100%;}
      to{left:0;}
    }
  </style>
</head>
<body>
  <ul>
    <li>
      <img src="https://img1.epetbar.com/2017-05/24/10/7982bafb75e8aba985e08de99780be52.jpg?x-oss-process=style/fill&$1=300&$2=300" alt="">
      <div class="info hide">
        test
      </div>
    </li>
    <li>
      <img src="https://img1.epetbar.com/2017-05/24/10/7982bafb75e8aba985e08de99780be52.jpg?x-oss-process=style/fill&$1=300&$2=300" alt="">
      <div class="info hide">
        test
      </div>
    </li>
    <li>
      <img src="https://img1.epetbar.com/2017-05/24/10/7982bafb75e8aba985e08de99780be52.jpg?x-oss-process=style/fill&$1=300&$2=300" alt="">
      <div class="info hide">
        test
      </div>
    </li>
  </ul>

<script>
$("li").hover(function(e){
  var mX = e.clientX;
  var mY = e.clientY;
  var liLeft = $(this).offset().left;
  var liTop = $(this).offset().top;
  var liW = $(this).width();
  var liH = $(this).height();

  x = (mX - liLeft - ( liW  / 2 ) ) * ( liW  > liH ? (liH / liW ) : 1 )
  y = (mY - liTop - (liH / 2)) * (liH > liW ? (liW / liH) : 1),  
  // 上(0) 右(1) 下(2) 左(3)  
  direction = Math.round( ( ( ( Math.atan2( y, x ) * ( 180 / Math.PI ) ) + 180 ) / 90) + 3 ) % 4;
  if(direction == 0){
    $(this).find(".info").removeClass("hide").addClass("slidetop");
  }else if(direction == 1){
    $(this).find(".info").removeClass("hide").addClass("slideright");
  }else if(direction == 2){
    $(this).find(".info").removeClass("hide").addClass("slidebottom");
  }else if(direction == 3){
    $(this).find(".info").removeClass("hide").addClass("slideleft");
  }
},function(){
  $(this).find(".info").addClass("hide").removeClass("slideleft").removeClass("slidetop").removeClass("slideright").removeClass("slidebottom")
})
</script>
</body>
</html>
舊螢火 回答

代碼沒錯(cuò),是其他部分的代碼邏輯出現(xiàn)了點(diǎn)問題,導(dǎo)致傳過來的數(shù)據(jù)有問題

舊言 回答

css是無法操作html元素的,可以在輸出html(php或js模版生成)頁面時(shí)在input標(biāo)簽上加上readonly屬性??梢圆榭磆tml教程( http://www.pahei8.com )參考什么是html。

柚稚 回答

np.sum(np.array(range(10000000), dtype=float))
numpy底層用c優(yōu)化的,應(yīng)對任何數(shù)學(xué)問題,默認(rèn)的dtype是int32,當(dāng)然溢出來啦

哎呦喂 回答

你都fixed了怎么還會(huì)滾動(dòng)

吃藕丑 回答
  1. 定制viewController的過場動(dòng)畫,就是那個(gè)放大縮小。
  2. viewController的view也可以加到另一個(gè)viewController里,只要注意小的VC不要釋放了,一般用addChildViewController:處理。

ps:從VC變成view代碼改動(dòng)大,說明結(jié)構(gòu)不太好哦,得重構(gòu)下了。

卟乖 回答

vue 的模板代碼只能在它的掛載點(diǎn)之內(nèi)使用,head 標(biāo)簽顯然在掛載點(diǎn)之外。
解決辦法很簡單,不要因?yàn)橛昧?Vue 或者其它什么框架就忘記了 Vanilla JS:

document.title = 'whatever you want'
祈歡 回答

點(diǎn)控制臺上面的藍(lán)色字

疚幼 回答

不能為null 默認(rèn)為*
可以為null 默認(rèn)為null

愿如初 回答

zxing的識別率本來就不是特別高的,只能改源碼或是用其他庫吧。

青檸 回答

encode('utf-8') 試試呢? 有些接口的參數(shù)不能是unicode,如果你不指定編碼,就會(huì)以系統(tǒng)默認(rèn)編碼(多數(shù)是ascii)去編碼。所以中文就會(huì)報(bào)錯(cuò)的

尕筱澄 回答

抱歉我為了理解open函數(shù)所做的變量比喻真的很糟糕,把問題弄的更亂了。謝謝大家對我的解答。