vscode/src/vs/workbench/contrib/example/browser/resources/index.html

17 lines
597 B
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>股票详情</title>
<link rel="stylesheet" href="[[CSS_PATH]]"> <!-- 动态替换 CSS 路径 -->
</head>
<body>
<h1>股票详情</h1>
<div class="info">代码: <span id="stock-code">[[STOCK_CODE]]</span></div> <!-- 动态替换股票代码 -->
<div id="price" class="info">价格: ¥加载中...</div>
<div id="change" class="info">涨跌幅: 加载中...</div>
<script src="[[JS_PATH]]"></script> <!-- 动态替换 JS 路径 -->
</body>
</html>