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

鍍金池/ 問答
薔薇花 回答

其實直接

print(p1);

就可以

黑與白 回答

路徑改成
val bankText = sc.textFile("file:\\D:/Projects/Zeppelin/bank/bank-full.csv")

誮惜顏 回答

還是換種思路把. 推薦 https://github.com/shshaw/Spl... 這個庫, 可以把一段話分成單個的字符, 然后控制每個字符出現(xiàn)順序來完成動畫吧.

嘟尛嘴 回答

涉及到錢用分做單位比較方便

喜歡你 回答

https://www.cnblogs.com/taode... 這里找到辦法了。
sublime text 3 >首選項>package settings>emmet>settings user>

{
    // Custom snippets definitions, as per https://github.com/emmetio/emmet/blob/master/snippets.json
    "snippets": {
        "html": {
            "snippets": {
                "myfavicon": "<link rel=\"shortcut icon\" type=\"image/ico\" href=\"/favicon.ico\" />",
                "mycompat": "<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge,chrome=1\" />\n<!--[if lt IE 9]>\n<script src=\"https://cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js\"></script>\n<script src=\"https://cdn.bootcss.com/respond.js/1.4.2/respond.min.js\"></script>\n<![endif]--><!--[if IE 9]>\n<script src=\"https://cdn.bootcss.com/geopattern/1.2.3/js/base64.min.js\"></script>\n<script src=\"https://cdn.bootcss.com/geopattern/1.2.3/js/typedarray.min.js\"></script>\n<![endif]-->",
                "360compat": "<meta name=\"renderer\" content=\"webkit\">",
                "mykeywords": "<meta name=\"keywords\" content=\"your keywords\">",
                "mydesc": "<meta name=\"description\" content=\"your description\">",
                "myviewport": "<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">",
                "bootstrap4": "<link href=\"https://cdn.bootcss.com/bootstrap/4.0.0/css/bootstrap.min.css\" rel=\"stylesheet\">\n<script src=\"https://cdn.bootcss.com/bootstrap/4.0.0/js/bootstrap.js\"></script>",
                "bootstrap3": "<link href=\"https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css\" rel=\"stylesheet\">\n<script src=\"https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.js\"></script>"


            },
            "abbreviations": {
                "mydoc": "html>(head>meta[charset='utf-8']+title{${1:文檔標題}}+mykeywords+mydesc+myviewport+mycompat)+body+jq3",
                "html:5": "!!!+mydoc[lang='zh-cn']",
                "jq3":"script[src='https://cdn.bootcss.com/jquery/3.1.0/jquery.min.js']"
            }
        }
    }
}
喵小咪 回答

其實就是運行不同的命令,傳入不同的參數(shù),使用不同的文件。
比如運行npm run dev
實際命令可配置為node build/build.js --env dev。
build.js中獲取到相應參數(shù)dev,取到相應的文件并執(zhí)行。

孤影 回答

touch事件,給你個簡單的事例吧,返回動畫什么的你自己完成吧,我是直接返回的。

<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0,minimum-scale=1.0, maximum-scale=1.0,user-scalable=no">
        <title></title>
        <style>
            *{
                margin: 0;
                padding: 0;    
            }
            html{
                width: 100%;
                height: 100%;
            }
            body{
                width: 100%;
                height: 100%;
                position: relative;
                /* touch-action: none; */

            }
            .box{
                width: 100px;
                height: 100px;
                position: absolute;
                bottom: 0;
                left: 50%;
                transform: translateX(-50%);
                background: #000;
            }
        </style>
    </head>
    <body >
        <div class="box" id="box"></div>
    </body>
    <script>
        touch('box');
        function touch(id){
            var obj = document.getElementById(id); 
            obj.addEventListener('touchstart', function(event) { 
            // 如果這個元素的位置內(nèi)只有一個手指的話 
            if (event.targetTouches.length == 1) { 
            var touch = event.targetTouches[0]; 
            // 把元素放在手指所在的位置 
            var disX=touch.pageX-obj.offsetLeft; 
            var disY=touch.pageY-obj.offsetTop;
            obj.addEventListener('touchmove',move);  
            function move(event){    
                //event.preventDefault();
                document.documentElement.style.touchAction = 'none';
                    var touch2=event.targetTouches[0];
                    //var l=touch2.pageX-disX;
                    var t=touch2.pageY-disY;
                    // if(l<0){
                    //     l=0;
                    // };
                    // if(l>document.documentElement.clientWidth-obj.offsetWidth){
                    //     l=document.documentElement.clientWidth-obj.offsetWidth
                    // };
                    if(t<0){
                        t=0;
                    };
                    if(t>document.documentElement.clientHeight-obj.offsetHeight){
                        t=document.documentElement.clientHeight-obj.offsetHeight;
                    };
                    //obj.style.left=l+'px';
                    obj.style.top=t+'px';
         
            };
              obj.addEventListener('touchend',chend);
              function chend(event){
                if(obj.offsetTop<150){
                    alert('成功');
                    obj.style.top='auto';
                    obj.style.bottom='0px';
                }else{
                    obj.style.top='auto';
                    obj.style.bottom='0px';
                };
                document.documentElement.style.touchAction = 'auto';
                obj.removeEventListener('touchmove',move);
                obj.removeEventListener('touchend',chend);
              };
        }; 
        }, false);
    };
    </script>
</html>
焚音 回答
        String express = "(\\@\\w+\\@)";
        String sqlString = "select * , @ as iid from as_person where icorp = @icorp@ and iperosn = @iperson@";
        Matcher match = Pattern.compile(express).matcher(sqlString);
        while (match.find()) {
            System.out.println(match.group());
        }

結果是
@icorp@
@iperson@

悶騷型 回答

一般都是有個狀態(tài),改變的數(shù)據(jù),沒有dom操作,根據(jù)這個索引的關注狀態(tài)進行改變,data-index="{{item.index}}",這個是索引值,你數(shù)據(jù)里面的,可能還有個是否關注,例如:<view>{{item.concern==0?"關注":"已關注"}}</view>,通過獲取出來數(shù)據(jù)是否關注,0,1判斷。點擊進行改變當前索引值的數(shù)據(jù)的concern就可以了

陪妳哭 回答

vue.min.js是VUE框架打包壓縮好的文件,一般構建工程自己引入vue-router包再用構建工具如webpack打包

玩控 回答

問題解決了,不過其實我也不太清楚是怎樣解決了,反正我是重新啟動了一下項目就OK了,可能是因為網(wǎng)絡的問題吧。

舊言 回答

如果你是移動端的話,應該是fixed定位的問題。通過監(jiān)控獲取焦點改變定位absolute,失去焦點的時候再fixed回來就可以了。桌面端咱沒遇到過這個問題。

檸檬藍 回答

個人覺得不需要
第 2 條里面說每個 api 都會判斷用戶是否登錄;
親,是否可以嘗試下請求需要登錄后權限的 api 在頭信息里面帶上 token 之類的的標識呢?

我的大概思路:調(diào)用登錄 api 成功后保存 token 到 cookie 里面,然后在 api 在請求頭信息里面帶上 token 拿數(shù)據(jù);
這樣 api 層可以完全單獨出來。

詆毀你 回答

組件使用規(guī)范

在非 template/render 模式下(例如使用 CDN 引用時),組件名要分隔,例如DatePicker必須要寫成date-picker

心癌 回答

先把token保存到本地,下次接口請求再帶上。

如果有用axios,可以再攔截器中統(tǒng)一設置