diff --git a/core/cless_jx3.py b/core/cless_jx3.py index 2c1769a..44c012c 100644 --- a/core/cless_jx3.py +++ b/core/cless_jx3.py @@ -167,6 +167,7 @@ class JX3Function: if not data: return_data["msg"] = "获取接口信息失败" return return_data + data = data[:7] # 加载模板 try: return_data["temp"] = load_template("temp_test.html") diff --git a/templates/temp_test.html b/templates/temp_test.html index b0b964e..d046b8b 100644 --- a/templates/temp_test.html +++ b/templates/temp_test.html @@ -2,7 +2,7 @@ - 剑网3各平台金价查询 + 剑网3金价趋势 +
-

剑网3各平台金价查询

-
服务器: {{ server }}
+

剑网3金价趋势({{ server }})

+
数据更新时间: {{ update_time }}
- -
-
共找到 {{ items|length }} 条数据
-
数据更新时间: {{ update_time }}
-
- +
- - - - - - - + + {% for item in items %} + + {% endfor %} - {% for item in items %} - - - - - - - + + {% for item in items %} + + {% endfor %} + + + + {% for item in items %} + + {% endfor %} - {% endfor %}
时间贴吧万宝楼DD373UU89851737881平台 / 时间{{ item.date }}
{{ item.date }}{{ item.priceTieba }}{{ item.priceWanbaolou }}{{ item.priceDd373 }}{{ item.priceUu898 }}{{ item.price5173 }}{{ item.price7881 }}贴吧{{ item.priceTieba }}
万宝楼{{ item.priceWanbaolou }}
- - -
-

万宝楼价格走势

- 折线图 -
+ - \ No newline at end of file +