网站显示是这样的
服务器传过来的json是这样的
[HTML] 纯文本查看 复制代码 {"id":1418274,"description":"PgQpxCxuHRTSƒ9PEkIDAt3S1Ng1JgRxN7oVmjcS192wfqeACFDrhGƒnYFgTaDeVfuIwD+q7m+9f034eG9iQ94ƒ9bIIc7gRBa6vjS3+Rh1ancUX3FBPV+5SMa7SfnHAvNh02hf5ATGcngAElFn1ptQaYhZ0nUxRFVs+oye+l5yiwUDaXxFWzgouDs+qN+7oZOnWe3PƒQ35t32ZtBrw7yCaQ==","option":"{\"a\":\"\\u538b\\u529b\\u8868\",\"b\":\"\\u5b89\\u5168\\u5378\\u538b\\u88c5\\u7f6e\",\"c\":\"\\u6e29\\u5ea6\\u8ba1\"}","answer":"{\"answer\":[\"b\"],\"analysis\":null}","type":1,"audio_address":"voice\/voice_60a2c479dcd4947533.mp3","user_answer":["a"]}
网页解析是这样的
[HTML] 纯文本查看 复制代码 <div id="questions_1418273" data-v-49d9fa10="" style="display: flex;">
<span data-v-49d9fa10="">1、</span><div class="against-wrapper box" data-v-e79664a6="" data-v-49d9fa10="">
<div class="bb tt1418273 against-inner" data-v-e79664a6="" style="font-size: 15px; width: 21px; height: 21px; line-height: 21px;">
<span class="bbItem b1418273 c5ygh" data-v-1ae03896="">有</span>
<span class="bbItem b1418273 p8sej" data-v-1ae03896="">氢</span>
<span class="bbItem b1418273 nl4t7" data-v-1ae03896="">不</span>
</div><div class="bb tt1418273 against-inner" data-v-e79664a6="" style="font-size: 15px; width: 21px; height: 21px; line-height: 21px;">
<span class="bbItem b1418273 xw595" data-v-1ae03896="">不</span>
<span class="bbItem b1418273 p8sej" data-v-1ae03896="">气</span>
</div><div class="bb tt1418273 against-inner" data-v-e79664a6="" style="font-size: 15px; width: 21px; height: 21px; line-height: 21px;">
<span class="bbItem b1418273 f2sqw" data-v-1ae03896="">性</span>
<span class="bbItem b1418273 xw9k9" data-v-1ae03896="">有</span>
<span class="bbItem b1418273 tfr2g" data-v-1ae03896="">所</span>
</div><div class="bb tt1418273 against-inner" data-v-e79664a6="" style="font-size: 15px; width: 21px; height: 21px; line-height: 21px;">
<span class="bbItem b1418273 kioji" data-v-1ae03896="">不</span>
<span class="bbItem b1418273 x0ra3" data-v-1ae03896="">具</span>
<span class="bbItem b1418273 bj0bi" data-v-1ae03896="">测</span>
</div><div class="bb tt1418273 against-inner" data-v-e79664a6="" style="font-size: 15px; width: 21px; height: 21px; line-height: 21px;">
<span class="bbItem b1418273 m7u6y" data-v-1ae03896="">具</span>
<span class="bbItem b1418273 qhywv" data-v-1ae03896="">测</span>
<span class="bbItem b1418273 tfr2g" data-v-1ae03896="">具</span>
</div><div class="bb tt1418273 against-inner" data-v-e79664a6="" style="font-size: 15px; width: 21px; height: 21px; line-height: 21px;">
<span class="bbItem b1418273 g6owb" data-v-1ae03896="">是</span>
<span class="bbItem b1418273 p8sej" data-v-1ae03896="">有</span>
</div><
题干的js相关代码是这样的:
[JavaScript] 纯文本查看 复制代码 v("div", {
key: 1,
id: `questions_ ${a.id}`,
style: {
display: "flex"
}
}, [_("span", null, b(de(o)) + "、", 1), A(s, {
title: f(r)(a.description.replaceAll("ƒ", "/")),
allRightStylesObj: be.value,
onOnRightStyleCompleted: fe,
fontSize: u.value,
nodeKey: a.id
}, null, 8, ["title", "allRightStylesObj", "fontSize", "nodeKey"])], 8, Ke))]), _("div", Xe, [2 == a.type ? (y(!0),
现在就能找到这些东西,对js语言不熟,后面js中的f函数不太会找。还有什么其他方法能破解题干的文字吗?或者有什么方法快速找到f函数?哪位哥们带下小弟。 |