class Model { constructor() { footer(); header("模特"); this.modelType() } async modelType(){ var res = await indexServe.allModel({}); console.log(res); var hot = res.hot_models; var news = res.newest; hot.forEach(v => { $(".hot_list").innerHTML+=`
${v.title}
${v.title}