{% if _json.json then _json = _json.json end %} {% if string.lower(_meta.platform) == "web" then noCache = '?' .. os.time() else noCache = '' end %} {% if _other.minify == 0 then %} {% if _userConfig.simpleColor == "1" then %}{% end %} {% else %} {% if _userConfig.simpleColor == "1" then %}{% end %} {% end %} {% if _json then local tagList = {"sense","phrase","phraseverbs","derivatives","origin","usage","version"} local tagName = {sense="MEANINGS 义项",phrase="PHRASES 短语",phraseverbs="PHRASES VERBS 短语动词",derivatives="DERIVATIVES 派生词",origin="ORIGIN 词源",usage="USAGE 用法说明",version="1911-2011 版本变迁"} local tagNameCh = {sense="义项",phrase="短语",phraseverbs="短语动词",derivatives="派生词",origin="词源",usage="用法说明",version="版本变迁"} local existTag = {} local Body = _json.body[1] local scbStatus = _json.wordPageScbStatus %}
{(html/head.html)}
{% for i,tag in pairs(tab(tagList)) do if Body[tag] then table.insert(existTag,tag) %} {% if tag == "sense" then %} {(html/sense.html)} {% elseif tag == "phrase" then %} {(html/phrase.html)} {% elseif tag == "phraseverbs" then %} {(html/phraseverbs.html)} {% elseif tag == "derivatives" then %} {(html/derivatives.html)} {% elseif tag == "origin" then %} {(html/origin.html)} {% elseif tag == "usage" then %} {(html/usage.html)} {% elseif tag == "version" then %} {(html/version.html)} {% end end end %}
下拉松开切换原书上一个词

{% if _json.prev then %}{{_json.prevWord}}{% else %}已是第一个词{% end %}

上拉松开切换原书下一个词

{% if _json.next then %}{{_json.nextWord}}{% else %}已是最后一个词{% end %}

{% if gettablen(existTag) > 0 then %}
{% for i,tag in pairs(existTag) do %}
{{tagNameCh[tag]}}
{% end %}
{% end %}
{% if _other.minify == 0 then %} {% if string.lower(_meta.platform) == "ios" then %} {% end %} {% else %} {% if string.lower(_meta.platform) == "ios" then %} {% end %} {% end %} {% else %}

数据加载失败!

{% end %}