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

鍍金池/ 問答
尐潴豬 回答
找到了以下文章,希望可以幫到您

https://juejin.im/post/5a482d...

如果設(shè)置http緩存不行的話為什么不試一下h5的瀏覽器緩存呢。只需要簡單設(shè)置manifest即可使用

舊顏 回答

canvas畫的。猜下結(jié)構(gòu)
點(diǎn)(方向,坐標(biāo),碰撞)
邊界(點(diǎn)碰到邊界反彈,超出邊界連接范圍居中)
連線范圍(范圍內(nèi)距離近的點(diǎn)連線)

構(gòu)造基本結(jié)構(gòu)
定時(shí)器刷新動(dòng)作(反向運(yùn)動(dòng)(包括邊界判斷),連接范圍判斷)

好像就這些吧。比較簡陋的猜想

陪妳哭 回答

如果你使用java jdbc, 可以通過metadata獲得字段類型

ResultSet rs = stmt.executeQuery("SELECT a, b, c FROM TABLE2");//得到查詢結(jié)果,一個(gè)數(shù)據(jù)集 
ResultSetMetaData rsmd = rs.getMetaData(); 
int numberOfColumns = rsmd.getColumnCount(); //得到數(shù)據(jù)集的列數(shù)  

ResultSetMetaData中的結(jié)構(gòu):

om.mysql.jdbc.ResultSetMetaData@132e13d - Field level information: 
com.mysql.jdbc.Field@1617189[catalog=test,tableName=MyBean,originalTableName=mybean,columnName=id,originalColumnName=id,mysqlType=3(FIELD_TYPE_LONG),flags= PRIMARY_KEY, charsetIndex=63, charsetName=US-ASCII]
com.mysql.jdbc.Field@64f6cd[catalog=test,tableName=MyBean,originalTableName=mybean,columnName=name,originalColumnName=name,mysqlType=253(FIELD_TYPE_VAR_STRING),flags=, charsetIndex=8, charsetName=Cp1252]
任她鬧 回答

不要有這種使用場景吧 顯然違反約定
也不符合代碼規(guī)范

怪痞 回答

答非所問了,點(diǎn)進(jìn)題主給的鏈接是404,所以忽略

css的,在主流瀏覽器中試試

<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <style>
        *{margin:0;padding:0}
        .show{
            text-transform: uppercase;
            font-size: 84px;
            line-height: 96px;
            opacity: .1;
            color: #fff;
            width:300px;
        }
        #spotlight{
            display: block;
            width: 150px;
            height: 150px;
            position:absolute;
            top:50px;
            left:0;
            opacity: 1;
            overflow: hidden;
            border-radius: 50%;
        }
        #spotlightHelper{
            width: 150px;
            height: 150px;
            position:absolute;
            top:-50px;
        }
    </style>
</head>
<body style="background: #0c0a15">
<div>
    <div class="show">
        <span>Page</span>
        <span>Not</span>
        <span>Found</span>
    </div>
    <div class="show" id="spotlight">
        <div id="spotlightHelper">
            <span>Page</span>
            <span>Not</span>
            <span>Found</span>
        </div>
    </div>
</div>
<script>
    let sl=document.getElementById('spotlight'),
      slAttr=sl.getBoundingClientRect(),
      slW=slAttr.width,
      slH=slAttr.height;
    let slHelper=document.getElementById('spotlightHelper')
    document.onmousemove=function (e) {
      let curX=e.clientX-slW/2,curY=e.clientY-slH/2
      sl.style.cssText=`top:${curY}px;left:${curX}px;`
      slHelper.style.cssText=`top:${-curY}px;left:${-curX}px;`
    }
</script>
</body>
</html>
尛曖昧 回答

opacity屬性和transition屬性配合可以實(shí)現(xiàn)淡出效果

艷骨 回答

是不是swiper初始化的時(shí)候組件還沒創(chuàng)建渲染加載?

愛是癌 回答

推薦@pezy 大佬寫的設(shè)計(jì)模式專欄。

設(shè)計(jì)模式

入她眼 回答

關(guān)于php處理excel的開源庫:

若PHP版本大于5.6,可以使用 phpoffice/phpspreadsheet:
composer:https://packagist.org/package...
github:https://github.com/PHPOffice/...
文檔:https://phpspreadsheet.readth...

否則,可以使用 phpoffice/phpexcel
composer:https://packagist.org/package...
github:https://github.com/PHPOffice/...

你好胸 回答

剛測試了一下, unset不可以用在三元表達(dá)式里面,老老實(shí)實(shí)用if

對(duì)node不是很熟,簡單實(shí)用而已。但是fsnode提供的模塊,只能在node環(huán)境中才能執(zhí)行相關(guān)方法,如果你的react是要運(yùn)行在瀏覽器的,那這里是不可能調(diào)用fs模塊的,因?yàn)闉g覽器并沒有提供fs相關(guān)api。在 webpack 執(zhí)行時(shí)候可以使用fs是因?yàn)?code>webpack本身是運(yùn)行在node環(huán)境中的,不要把node環(huán)境和瀏覽器環(huán)境弄混了。

薄荷糖 回答

你不知道一個(gè)對(duì)象可以有多個(gè)key嗎,放一個(gè)對(duì)象里咯

不討囍 回答

'2018-05-18 23:59:59.0'.slice(0, '2018-05-18 23:59:59.0'.indexOf(' '))

夢囈 回答

因?yàn)榈谝淮翁D(zhuǎn) 只不過是javascript 在瀏覽器里修改了url,不生成http請(qǐng)求
但你一刷新,就產(chǎn)生http請(qǐng)求了,而document是只存在于瀏覽器中的,node服務(wù)端是沒有document這個(gè)對(duì)象的

入她眼 回答
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
</head>
<body>
    <script type="text/javascript">
            var list = [{
                "authorityId": 1,
                "authorityName": "數(shù)據(jù)分析",
                "grade": "1001",
                "fatherId": "0"
            },
            {
                "authorityId": 2,
                "authorityName": "商務(wù)政策",
                "grade": "1002",
                "fatherId": "0"
            },
            {
                "authorityId": 3,
                "authorityName": "市場動(dòng)態(tài)",
                "grade": "1003",
                "fatherId": "0"
            },
            {
                "authorityId": 4,
                "authorityName": "消息中心",
                "grade": "1004",
                "fatherId": "0"
            },
            {
                "authorityId": 5,
                "authorityName": "個(gè)人中心",
                "grade": "1005",
                "fatherId": "0"
            },
            {
                "authorityId": 6,
                "authorityName": "價(jià)格查詢分析",
                "grade": "2101",
                "fatherId": "1001"
            },
            {
                "authorityId": 7,
                "authorityName": "銷量查詢分析",
                "grade": "2102",
                "fatherId": "1001"
            },
            {
                "authorityId": 8,
                "authorityName": "裝備查詢分析",
                "grade": "2103",
                "fatherId": "1001",
            },
            {
                "authorityId": 9,
                "authorityName": "政策數(shù)據(jù)分析",
                "grade": "2201",
                "fatherId": "1002"
            },
            {
                "authorityId": 10,
                "authorityName": "政策原件下載",
                "grade": "2202",
                "fatherId": "1002"
            },
            {
                "authorityId": 11,
                "authorityName": "新車上市",
                "grade": "2301",
                "fatherId": "1003"
            },
            {
                "authorityId": 12,
                "authorityName": "營銷活動(dòng)",
                "grade": "2302",
                "fatherId": "1003"
            }
        ]

        var data = []


        function loop(list, data, fatherId) {
            list.forEach(item => {
                if (item.fatherId === fatherId) {
                    var child = {
                        label: item.authorityName,
                        grade: item.grade,
                        children: []
                    }

                    loop(list, child.children, item.grade)

                    data.push(child)
                }
            })
        }
        
        loop(list, data, '0')

        console.log(data)

    </script>
</body>
</html>
陪妳哭 回答

將你的二級(jí)目錄rewrite到index.html中。
配置proxy:

    "/first":{
      "target": "http://localhost:8000/",
      "pathRewrite": { "^/first.*$" : "/index.html" }
    },

建議你二級(jí)目錄給個(gè)統(tǒng)一的標(biāo)識(shí),比如: /main

clipboard.png

你現(xiàn)在不是選擇 .more_img 節(jié)點(diǎn)么?怎么會(huì)有img標(biāo)簽的樣式?

======================
補(bǔ)充(主要是由于scoped作用域引起的):
1.https://vue-loader.vuejs.org/...
2.去掉 scoped