-
Notifications
You must be signed in to change notification settings - Fork 436
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
162 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import { ViewColumn } from 'vscode'; | ||
import { getTemplateFileContent } from '../shared/utils'; | ||
import ReusedWebviewPanel from './ReusedWebviewPanel'; | ||
|
||
function tucaoForum() { | ||
const panel = ReusedWebviewPanel.create('leek-fund.tucaoForum', '韭菜盒子社区', ViewColumn.One, { | ||
enableScripts: true, | ||
retainContextWhenHidden: true, | ||
}); | ||
panel.webview.html = getTemplateFileContent('tucao.html', panel.webview); | ||
} | ||
|
||
export default tucaoForum; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>主力资金流向</title> | ||
<link | ||
href="https://cdn.bootcdn.net/ajax/libs/element-ui/2.9.2/theme-chalk/index.css" | ||
rel="stylesheet" | ||
/> | ||
</head> | ||
<body> | ||
<div style="overflow-x: auto; min-width: 800px"> | ||
<button | ||
id="refreshBtn" | ||
class="el-button el-button--primary el-button--mini" | ||
style="position: fixed; right: 10px; top: 20px" | ||
> | ||
刷新 | ||
</button> | ||
<iframe | ||
id="iframeEl" | ||
src="https://emdatah5.eastmoney.com/dc/zjlx/index" | ||
frameborder="0" | ||
style="width: 100%; height: 900px" | ||
></iframe> | ||
</div> | ||
<script> | ||
document.querySelector('#refreshBtn').onclick = function (e) { | ||
e.preventDefault(); | ||
iframeEl.src = ''; | ||
iframeEl.src = 'https://emdatah5.eastmoney.com/dc/zjlx/index'; | ||
}; | ||
</script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>韭菜盒子社区</title> | ||
<link | ||
href="https://cdn.bootcdn.net/ajax/libs/element-ui/2.9.2/theme-chalk/index.css" | ||
rel="stylesheet" | ||
/> | ||
<style> | ||
a { | ||
text-decoration: none; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<div style="overflow-x: auto; min-width: 800px"> | ||
<a | ||
href="https://support.qq.com/products/302926" | ||
class="el-button el-button--primary el-button--mini" | ||
style="position: fixed; right: 10px; top: 10px" | ||
> | ||
浏览器打开 | ||
</a> | ||
<button | ||
id="refreshBtn" | ||
class="el-button el-button--primary el-button--mini" | ||
style="position: fixed; right: 120px; top: 10px" | ||
> | ||
刷新 | ||
</button> | ||
<iframe | ||
id="iframeEl" | ||
src="https://support.qq.com/products/302926" | ||
frameborder="0" | ||
style="width: 100%; height: 900px" | ||
></iframe> | ||
</div> | ||
<script> | ||
document.querySelector('#refreshBtn').onclick = function (e) { | ||
e.preventDefault(); | ||
iframeEl.src = ''; | ||
iframeEl.src = 'https://support.qq.com/products/302926'; | ||
}; | ||
</script> | ||
</body> | ||
</html> |