鍍金池/ 問(wèn)答/ HTML問(wèn)答
艷骨 回答

here
https://static.howbuy.com/??/upload/auto/script/fund/jzzs_001605.js,/upload/auto/script/fund/jjjl_001605.js,/upload/auto/script/fund/data_001605.js?v=7c097a5

淡墨 回答

推薦下Dingo API

技術(shù)不夠的話隨便用個(gè)框架或者原生 PHP 在統(tǒng)一輸出 json_encode()

囍槑 回答

從代碼上來(lái)看是沒(méi)有問(wèn)題的,提供的信息太少了,沒(méi)辦法找到錯(cuò)誤,建議你整個(gè)流程調(diào)試一遍:
1、bookId有沒(méi)有拿到
2、chapters有沒(méi)有拿到
3、chapters有沒(méi)有渲染到頁(yè)面上

玩控 回答

<toast

v-model="msg"
type="text"
:time="time"
position="top"
text="刪除成功">

</toast>

作為一個(gè)子組件 props接收父組件傳遞的time 父組件的時(shí)間可以引入全局的變量,全局變量可以定義在main.js里面window.TOAST_TIME = 1800

薔薇花 回答

似乎是因?yàn)槲业?FFMpeg 并不支持 .m3u

ffmpeg -formats 可以查看你的 FFMpeg 所支持的封裝格式。

寫(xiě)榮 回答

1.webpack打包樣式

import React from 'react'
import './styles/index.css'
function demo(){
  return (
    <div className='a'>
        <div className='b'>
        </div>
    </div>
  )
}

2.嵌入式

import React from 'react'
function demo(){
  return (
    <div className='a' style={{width: 100}}>
        <div className='b' style={{width: 100}}>
        </div>
    </div>
  )
}
心悲涼 回答

s[i]在這個(gè)地方是原生dom對(duì)象,不是jquery對(duì)象,可以按照樓上說(shuō)的做法,也可以使用將原生dom對(duì)象轉(zhuǎn)化為jquery的方式$(s[i]).css("display","none")

膽怯 回答
let arr = ["", "A001", "V002", "V003", "_123", "133", "2334", "大124", "小afaf", "a001", "v004", "馬龍", "中華", "中國(guó)"];
arr.sort(function(a, b) {
    let max_length = Math.max(a.length, b.length),
        compare_result = 0,
        i = 0;
    while(compare_result === 0 && i < max_length) {
        compare_result = compare_char(a.charAt(i), b.charAt(i));
        i++;
    }
    return compare_result;
});

function compare_char(a, b) {
    var a_type = get_char_type(a),
        b_type = get_char_type(b);
    if(a_type === b_type && a_type < 4) {
        return a.charCodeAt(0) - b.charCodeAt(0);
    } else if(a_type === b_type && a_type === 4) {
        return a.localeCompare(b);
    } else {
        return a_type - b_type;
    }
}

function get_char_type(a) {
    var return_code = {
        nul: 0,
        symb: 1,
        number: 2,
        upper: 3,
        lower: 4,
        other: 5
    }
    if(a === '') {
        return return_code.nul; //空
    } else if(a.charCodeAt(0) > 127) {
        return return_code.other;
    } else if(a.charCodeAt(0) > 122) {
        return return_code.symb;
    } else if(a.charCodeAt(0) > 96) {
        return return_code.lower;
    } else if(a.charCodeAt(0) > 90) {
        return return_code.symb;
    } else if(a.charCodeAt(0) > 64) {
        return return_code.upper;
    } else if(a.charCodeAt(0) > 58) {
        return return_code.symb;
    } else if(a.charCodeAt(0) > 47) {
        return return_code.number;
    } else {
        return return_code.symb;
    }
}
console.log(arr);

寫(xiě)的亂了點(diǎn)湊活看吧

薄荷糖 回答

@羊德超 可否部分mock部分走真實(shí)的?

因?yàn)閛nload一次 頁(yè)面加載完后就不會(huì)再有了,寫(xiě)在下拉加載那個(gè)回調(diào)函數(shù)內(nèi),對(duì)你的加載動(dòng)畫(huà)進(jìn)行操作。

久礙你 回答
Vue.directive('demo', {
  bind: function (el, binding) {
    binding.value()
  }
}
涼薄 回答

多次提交啊
1.git add file1 file2 file2
2.git commit -m 'xxxxxx'
3.git add file4 file5 file6 src1 src2/file*
4.git commit -m 'xxxxxxxxx'

念初 回答

1.可以給那個(gè)按鈕的大盒子綁定一個(gè)mouseleave事件,移除隱藏,如果要單擊隱藏可以在外面套一個(gè)大的div綁定單擊事件
2.還有一個(gè)方法,直接判斷事件觸發(fā)源是不是除了那個(gè)按鈕盒子,貼上代碼

$(function(){ 
$(document).bind("click",function(e){ 
var target = $(e.target); 
if(target.closest(".pop").length == 0){ 
$(".pop").hide(); 
} 
}) 
}) 

可以給盒子命名一個(gè)類(lèi)為pop,利用jquery的closest()函數(shù)用于從當(dāng)前匹配元素開(kāi)始,逐級(jí)向上級(jí)選取符合指定表 達(dá)式的第一個(gè)元素,并以jQuery對(duì)象的形式返回是否含有.pop類(lèi)

3.希望可以幫到你

熟稔 回答

Redux沒(méi)有關(guān)系。

你的JSX寫(xiě)錯(cuò)了,islogoin組件開(kāi)頭要大寫(xiě),否則React會(huì)把它當(dāng)成原生HTML標(biāo)簽。

原生HTML標(biāo)簽不能隨便加屬性的

兔寶寶 回答

SPA單頁(yè)面 每個(gè)路由下都會(huì)加載樣式的

毀與悔 回答

內(nèi)部數(shù)據(jù)結(jié)構(gòu)沒(méi)有發(fā)生變化

你這個(gè)在mounted鉤子函數(shù)里面  輸出this.dataList[0] 確實(shí)是未定義的  沒(méi)有賦值
你activaed 鉤子函數(shù)是在 keep-alive組件激活時(shí)調(diào)用/ 通俗點(diǎn)講 也就是掛載完之后激活才賦值 所以上面
執(zhí)行mounted函數(shù)時(shí)未定義

或者 測(cè)試數(shù)據(jù)結(jié)構(gòu)變化最簡(jiǎn)單 typeof 一下this.dataList就OK了

憶往昔 回答

做了服務(wù)端渲染吧,這是一個(gè)警告,大意是說(shuō)你的客戶(hù)端的渲染和服務(wù)端的渲染輸出的組件的checksum這個(gè)東西輸出不一致,應(yīng)該是你渲染的組件在第一次render前做了什么操作