Skip to content

Commit 3eacb65

Browse files
committed
feat(韭菜之家>数据中心): 新增牛熊风向标统计数据
1 parent 5d2bd88 commit 3eacb65

File tree

25 files changed

+17115
-14721
lines changed

25 files changed

+17115
-14721
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# ChangeLog
22

3+
## [2.0.0]
4+
5+
feat: 韭菜之家> 数据统计>牛熊风向标
6+
37
## [1.9.9]
48

59
fix: 修复雪球 cookie 问题

README.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ Leek box - VSCode can also see the real-time data of stock & fund, do the most u
1313

1414
</div>
1515

16-
**论坛**交流:[韭菜盒子社区](https://support.qq.com/products/302926)**电报群** [邀请链接](https://t.me/joinchat/VKxykRyeRNcibg7I-ykZMg) 和每个人一起沟通交流
17-
1816
## Table of contents
1917

2018
- [leek-fund(韭菜盒子)](#leek-fund韭菜盒子)
@@ -91,11 +89,6 @@ Leek box - VSCode can also see the real-time data of stock & fund, do the most u
9189

9290
<img width="300" alt="微信公众号" src="https://raw.sevencdn.com/LeekHub/leek-fund/master/screenshot/wechat-qr1.jpg">
9391

94-
其他交流方式:
95-
96-
- **论坛**交流:[韭菜盒子社区](https://support.qq.com/products/302926)
97-
- **电报群** [邀请链接](https://t.me/joinchat/VKxykRyeRNcibg7I-ykZMg)
98-
9992
## 赞助支持一下!
10093

10194
[Buy me a coffee](https://github.com/giscafer/buy-me-a-coffee/blob/master/README.md)

demo/iframe-test.html

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7+
<title>iframe dom 操作测试</title>
8+
</head>
9+
<body>
10+
<script src="https://cdn.staticfile.org/jquery/2.0.0/jquery.min.js"></script>
11+
<iframe
12+
id="iframeWraper"
13+
src="https://emdatah5.eastmoney.com/dc/nxfxb/index"
14+
frameborder="0"
15+
frameborder="0"
16+
style="width: 100%; height: 900px"
17+
></iframe>
18+
<script>
19+
$('#iframeWraper').contents().find('.common-header2');
20+
</script>
21+
</body>
22+
</html>

index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Leek box - VSCode can also see the real-time data of stock & fund, do the most u
1212
[![Installs](https://img.shields.io/visual-studio-marketplace/i/giscafer.leek-fund.svg?style=for-the-badge)](https://marketplace.visualstudio.com/items?itemName=giscafer.leek-fund)
1313
[![Rating](https://img.shields.io/visual-studio-marketplace/stars/giscafer.leek-fund.svg?style=for-the-badge)](https://marketplace.visualstudio.com/items?itemName=giscafer.leek-fund)
1414

15-
**论坛**交流:[韭菜盒子社区](https://support.qq.com/products/302926)**电报群:** [邀请链接](https://t.me/joinchat/VKxykRyeRNcibg7I-ykZMg) 和每个人一起沟通交流
15+
<!-- **论坛**交流:[韭菜盒子社区](https://support.qq.com/products/302926),**电报群:** [邀请链接](https://t.me/joinchat/VKxykRyeRNcibg7I-ykZMg) 和每个人一起沟通交流 -->
1616

1717
## Table of contents
1818

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "leek-fund",
33
"displayName": "韭菜盒子",
44
"description": "韭菜盒子,VSCode 里也可以看股票 & 基金实时数据,做最好用的投资插件",
5-
"version": "1.9.9",
5+
"version": "2.0.0",
66
"author": "giscafer <[email protected]>",
77
"repository": {
88
"type": "git",

src/data/fundSuggestData.ts

Lines changed: 12499 additions & 11293 deletions
Large diffs are not rendered by default.

template-packages/leek-center/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"private": true,
55
"dependencies": {
66
"@ant-design/icons": "^4.3.0",
7+
"@ant-design/pro-card": "1.14.4",
78
"@babel/core": "7.12.3",
89
"@pmmmwh/react-refresh-webpack-plugin": "0.4.2",
910
"@svgr/webpack": "5.4.0",
@@ -17,13 +18,14 @@
1718
"@types/react-router-dom": "^5.1.7",
1819
"@typescript-eslint/eslint-plugin": "^4.5.0",
1920
"@typescript-eslint/parser": "^4.5.0",
20-
"antd": "^4.10.0",
21+
"antd": "4.14.0",
2122
"babel-eslint": "^10.1.0",
2223
"babel-jest": "^26.6.0",
2324
"babel-loader": "8.1.0",
2425
"babel-plugin-named-asset-import": "^0.3.7",
2526
"babel-preset-react-app": "^10.0.0",
2627
"bfj": "^7.0.2",
28+
"bizcharts": "^4.1.12",
2729
"camelcase": "^6.1.0",
2830
"case-sensitive-paths-webpack-plugin": "2.3.0",
2931
"css-loader": "4.3.0",
@@ -62,6 +64,7 @@
6264
"postcss-preset-env": "6.7.0",
6365
"postcss-safe-parser": "5.0.2",
6466
"prompts": "2.4.0",
67+
"rc-resize-observer": "^1.0.1",
6568
"react": "^17.0.1",
6669
"react-app-polyfill": "^2.0.0",
6770
"react-dev-utils": "^11.0.1",

template-packages/leek-center/src/App.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ function App() {
1414
{routes.map((routeConfig) => (
1515
<Route
1616
key={
17-
Array.isArray(routeConfig.path)
17+
(Array.isArray(routeConfig.path)
1818
? routeConfig.path.join(',')
19-
: routeConfig.path
19+
: routeConfig.path) as any
2020
}
2121
{...routeConfig}
2222
></Route>

template-packages/leek-center/src/components/flash-news-list/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export default function FlashNewsList({
4242
const newsList = store.news.newsList.filter((news) =>
4343
filterNews(newsFilter, news)
4444
);
45-
console.log('newsList: ', newsList);
45+
// console.log('newsList: ', newsList);
4646
if (!newsList.length) {
4747
return (
4848
<div style={{ padding: '100px 0' }} className="empty">

template-packages/leek-center/src/components/layout/Footer.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ export default function LFooter() {
2121
align="end"
2222
split={<Divider type="vertical" />}
2323
>
24-
<Button
24+
{/* <Button
2525
onClick={() => {
2626
postMessage('executeCommand', 'leek-fund.tucaoForum');
2727
}}
2828
type="link"
2929
>
3030
韭菜盒子社区
31-
</Button>
31+
</Button> */}
3232
<Button
3333
onClick={() => {
3434
postMessage('executeCommand', 'leek-fund.viewFundFlow');

0 commit comments

Comments
 (0)