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

鍍金池/ 問(wèn)答/ HTML5問(wèn)答
深記你 回答

props傳遞是自帶監(jiān)聽(tīng)的

如果沒(méi)改變 你可以 watch $route的變化

我不懂 回答

e.stopPropagation();
e.preventDefault();

這兩個(gè)保險(xiǎn)裝置都用了?

好難瘦 回答

樓上說(shuō)的背景圖的方案,我也比較推薦

img的話,max-widthmax-height讓圖片不變形

畫(huà)第二個(gè)圓的時(shí)候 每次調(diào)整一下角度

var aa=Math.PI*2/100
var n=0
ctx.arc(c.width/2,c.height/2,100,-Math.PI/2,n*aa-Math.PI/2,false)
n+=0.1

原理就是這樣

風(fēng)畔 回答

document.body.className = result() ? 'row' : 'col'

安淺陌 回答

拼縫位置靠上點(diǎn),body加個(gè)純色背景呢?
感覺(jué)像是小數(shù)像素取整的問(wèn)題……

野橘 回答

局部刷新的問(wèn)題:確定點(diǎn)擊菜單,加載右側(cè)數(shù)據(jù)是不是ajax請(qǐng)求。如果不是,肯定就是全局刷新。如果是,還要確定內(nèi)部的實(shí)現(xiàn)方法,需要看代碼。
頁(yè)面title可以隨時(shí)修改。document.title=xxxx就可以修改title了。所以說(shuō),頁(yè)面刷新有可能會(huì)引起title的變化,title的變化不一定不是頁(yè)面刷新。

哎呦喂 回答
var fd = new FormData();
fd.append('fname', 'test.wav');
fd.append('data', soundBlob);
$.ajax({
    type: 'POST',
    url: '/yuyin',
    data: fd,
    processData: false,
    contentType: false
}).done(function(data) {
      console.log(data);
});
尋仙 回答
<button class="btn anviz-btn-primary footer-search-btn" data-class=""><i class="footer-icon icon-loading animated-cycle"></i></button>

想的太復(fù)雜了,這樣就可以實(shí)現(xiàn)動(dòng)畫(huà)了

涼薄 回答

試下調(diào)換兩個(gè)文件的順序?先加載 vue 再加載 vendor

喜歡你 回答

能不能發(fā)送完,要看數(shù)據(jù)量和網(wǎng)速,而不是條數(shù)!

掛念你 回答
$.ajax({
    type: 'get',
    url: PointUrl + '/index.php?act=member_pointorder&op=order_info',
    data: {
        key: key,
        order_id: getQueryString('point_orderid')
    },
    dataType: 'json',
    success: function(result) {
        checkLogin(result.login);
        var data = result.datas;
        var time = data.order_info.point_addtime;
        var localTime = changeTime(time);
        console.log(localTime);
        //這里可以打印出正確的日期格式
        document.getElementById('delivery_time').innerHTML=localTime;//顯示到節(jié)點(diǎn)里
    }
});
茍活 回答

try this:

const routes: Routes = [
{ path: '', redirectTo: 'a', pathMatch: 'full' },
{ path: 'a', component: AComponent },
{ path: 'b', component: BComponent },
{ path: 'c', component: CComponent }
];

歆久 回答

package.json嗎?
目前是自動(dòng)更新的...

萌二代 回答

獲取視頻的寬高,動(dòng)態(tài)修改video元素的寬高

維他命 回答

其實(shí)也不難,你如果只是做一個(gè)彈框組件,應(yīng)該是這樣,這個(gè)組件設(shè)計(jì)遮罩層和顯示板,顯示板內(nèi)容使用slot進(jìn)行外部注入,當(dāng)然如果是專用的,你可以直接寫(xiě)入具體內(nèi)容。

涉及參數(shù):彈框是否顯示作為v-model對(duì)外開(kāi)放。除了這個(gè)如果是有關(guān)閉按鈕或者上面說(shuō)點(diǎn)擊,則需要對(duì)法觸發(fā)click事件,如果需要在彈框關(guān)閉前關(guān)閉后做一些事,需要觸發(fā)before-close和after-close事件,如果涉及表單組件,是否需要彈框每次都是新的內(nèi)容則需要destory-on-close

至于最后如何做,都是需要什么就添加什么,組件不外乎就是和外部通信,組件只做該組件做的功能,不能糅合,后面也不好維護(hù)和擴(kuò)展。

跨域問(wèn)題的話,開(kāi)發(fā)階段使用webpack-dev-server進(jìn)行代理配置即可,線上就需要服務(wù)器配置允許跨域了。

浪婳 回答

time 中的時(shí)間都是前綴了0的,所以可以直接用 time 來(lái)進(jìn)行字符串比較大小

const data = [
    { id: 1, time: "2018-07-04 00:04:12" },
    { id: 2, time: "2018-07-04 00:14:12" },
    { id: 3, time: "2018-07-04 00:04:12" },
    { id: 4, time: "2018-07-04 00:00:12" },
    { id: 5, time: "2018-07-04 00:04:02" },
    { id: 6, time: "2018-07-04 00:24:52" },
    { id: 7, time: "2018-07-04 01:04:12" },
    { id: 8, time: "2018-07-04 05:04:12" },
    { id: 9, time: "2018-07-04 07:04:12" },
    { id: 10, time: "2018-07-04 00:00:00" },
]

const max = data
    .reduce((max, m) => {
        return max.time > m.time ? max : m;
    });

console.log(max);
不討囍 回答

位于中心 10px 半徑的圓

background: radial-gradient(circle 10px at center, red, blue);