{% if _json.json then _json = _json.json end %} {% if string.lower(_meta.platform) == "web" then noCache = '?' .. os.time() else noCache = '' end %} {% if _json then %}
默写单词的读法(点击可查阅答案)
{% for i,sence in pairs(tab(_json.body[1])) do sence = sence[1] %}
{{i}}

{{sence.question}}

{{sence.answer}}

{% end %}

请选择正确的答案

{% local index = _json.index local dataId = {} if (index-1) < 0 then dataId = {index+1,index+2,index+3} elseif (index+1) >= gettablen(_json.child[2]) then dataId = {index-1,index,index+1} else dataId = {index,index+1,index+2} end local option = {"A","B","C","D","E","F","G"} for i,val in pairs(dataId) do local data = _json.body[2][val][1] %}
{{val}}
{{data.question}}
{% for k,v in ipairs(option) do if data.option[v] then %}
{{v}}{{data.option[v]}}
{% else break end end %}

正确答案是: {{data.answer}}

{% end %}
{% local curindex = _json.index+1 local len = gettablen(_json.child[2]) %}
{{curindex}}/{{len}}
{% if string.lower(_meta.platform) == "ios" then %} {% end %} {% else %}

数据加载失败!

{% end %}