php怎么获取html js里面的数据 转成数组
nuxt数据好像直接渲染到模板上面了吗。没有接口直接可以看到数据吗?有没有什么办法可以获取nuxt页面上面的数据,求大神指点 好像不是标准的json怎么用php 获取转成数组格式呀
< script >
window.__NUXT__ = (function(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, A) {
return {
layout: "main",
data: [{
locality_lang: {
h5_hot: "热门",
h5_tips_helps: "帮助",
h5_tips_free_content: "免费内容",
h5_tips_wins: a,
h5_tips_live_s: l,
h5_tips_pdtr: "下拉即可刷新",
h5_tips_rtr: "释放即可刷新",
h5_tips_nomore: "没有更多了",
h5_tips_translate: "翻译",
h5_tips_tfittc: "以下是翻译内容",
h5_tips_errors: "翻译出错,请稍后再试!",
h5_translation_load: "翻译中...",
h5_tips_shares: "分享",
},
lang: "1",
imeLag: 0,
teamDel: {
id: 17,
sportId: 1,
coachId: 30681,
stadiumId: A,
playerCount: 23,
localPlayerCount: 7,
foreignPlayerCount: 16,
nationalPlayerCount: 19,
playerAverageAge: 28,
coach: {
name: "奥拉",
countryName: "西班牙",
},
stadium: {
id: A,
name: "阿提哈",
capacity: 46708,
constryear: "2002",
}
}
}],
fetch: [],
error: null,
serverRendered: true,
routePath: "\u002Ffragment\u002Fclub\u002Finformation\u002F",
config: {}
}
});
</script>