@nebulars/sseengine 1.3.95 → 1.3.103

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nebulars/sseengine",
3
3
  "description": "An engine for sse",
4
- "version": "1.3.95",
4
+ "version": "1.3.103",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
7
7
  "dev": "forage serve --name sseengine",
@@ -18,5 +18,6 @@
18
18
  "@scaff/vite": "^3.7.38",
19
19
  "axios": "^1.11.0",
20
20
  "vuex-fast": "^2.2.2"
21
- }
21
+ },
22
+ "gitHead": "e5efa6f7bc6aa36e26775db5a8850ea292d95648"
22
23
  }
@@ -0,0 +1,43 @@
1
+ <style lang="less" scoped>
2
+ .fqa-hots {
3
+ & {
4
+ display: flex;
5
+ gap: @gap;
6
+ }
7
+
8
+ &-btn {
9
+ & {
10
+ cursor: pointer;
11
+ padding: 0 @gap;
12
+ border-radius: @radiu;
13
+ line-height: @space;
14
+ background-color: @color-line;
15
+ transition: all @effect;
16
+ }
17
+
18
+ &:hover {
19
+ background-color: darken(@color-line, 5%);
20
+ }
21
+ }
22
+ }
23
+ </style>
24
+
25
+ <template>
26
+ <div class="fqa-hots">
27
+ <div class="fqa-hots-btn" type="primary">
28
+ <fqa-icon icon="FireOutlined" size="16" />
29
+ <span>比亚迪最新财报解读</span>
30
+ </div>
31
+ <div class="fqa-hots-btn" type="primary">
32
+ <fqa-icon icon="FireOutlined" size="16" />
33
+ <span>比亚迪最新财报解读</span>
34
+ </div>
35
+ <div class="fqa-hots-btn" type="primary">
36
+ <span>比亚迪最新财报解读</span>
37
+ </div>
38
+ </div>
39
+ </template>
40
+
41
+ <script>
42
+ export default {};
43
+ </script>
@@ -296,7 +296,8 @@ export default {
296
296
  },
297
297
 
298
298
  async mounted() {
299
- await this.$util.kitchen.sleep(6);
299
+ // Maybe Bug ???
300
+ await this.$util.kitchen.sleep(0);
300
301
  await this.subscribe(true);
301
302
  },
302
303
  };
package/src/modify.less CHANGED
@@ -68,7 +68,8 @@
68
68
  }
69
69
 
70
70
  .@{space}--Input {
71
- height: 100%;
71
+ // height: 100%;
72
+ height: auto !important;
72
73
  }
73
74
 
74
75
  .@{space}--Header {
@@ -124,4 +125,4 @@
124
125
 
125
126
  .@{space}--Mention {
126
127
  position: relative;
127
- }
128
+ }
@@ -0,0 +1,8 @@
1
+ export default ({ http }) => {
2
+ return {
3
+ async HOTS_GET({ dispatch }) {
4
+ const { data } = http.api.sethotKeywordsGetLatest();
5
+ console.log(5, data);
6
+ },
7
+ };
8
+ };
@@ -157,6 +157,9 @@ export default (proxy = {}) => {
157
157
 
158
158
  // Snap Choosen
159
159
  choosen: [],
160
+
161
+ // Hot Words
162
+ hots: [],
160
163
  };
161
164
 
162
165
  // Reset
@@ -1,127 +0,0 @@
1
- @space: FinQA;
2
-
3
- /**
4
- * Layout
5
- * ======== ======== ========
6
- */
7
- .@{space}--Container {
8
- position: relative;
9
- background-color: transparent;
10
- }
11
-
12
- .@{space}--Header,
13
- .@{space}--Footer,
14
- .@{space}--Main {
15
- display: flex;
16
- }
17
-
18
- .@{space}--Header,
19
- .@{space}--Footer {
20
- flex-direction: row;
21
- }
22
-
23
- .@{space}--Main {
24
- flex-direction: column;
25
- }
26
-
27
- .@{space}--Main,
28
- .@{space}--Chat {
29
- flex: 1;
30
- }
31
-
32
- .@{space}--Header,
33
- .@{space}--Footer,
34
- .@{space}--Main {
35
- align-items: center;
36
- }
37
-
38
- .@{space}--Header,
39
- .@{space}--Footer {
40
- justify-content: space-between;
41
- }
42
-
43
- .@{space}--Header,
44
- .@{space}--Footer,
45
- .@{space}--Main {
46
- transition: all @fast;
47
- }
48
-
49
- /**
50
- * Interface
51
- * ======== ======== ========
52
- */
53
- .@{space}--Header,
54
- .@{space}--Footer,
55
- .@{space}--Chat,
56
- .@{space}--Mention {
57
- padding-inline: @gap;
58
- }
59
-
60
- .@{space}--Input {
61
- padding: @gap;
62
- }
63
-
64
- .@{space}--Header,
65
- .@{space}--Footer,
66
- .@{space}--Main {
67
- width: 100%;
68
- }
69
-
70
- .@{space}--Input {
71
- height: 100%;
72
- }
73
-
74
- .@{space}--Header {
75
- height: @size-header;
76
- }
77
-
78
- .@{space}--Footer {
79
- height: @size-footer;
80
- }
81
-
82
- .@{space}--Main {
83
- }
84
-
85
- .@{space}--Chat,
86
- .@{space}--Mention {
87
- width: @size-main;
88
- }
89
-
90
- .@{space}--Mention {
91
- // height: @size-mention;
92
- }
93
-
94
- .@{space}--Welcome {
95
- height: 100%;
96
- }
97
-
98
- /**
99
- * Colour
100
- * ======== ======== ========
101
- */
102
- .@{space}--Input {
103
- background-color: @color-input;
104
- }
105
-
106
- /**
107
- * Responsive
108
- * ======== ======== ========
109
- */
110
- .@{space}--Main {
111
- }
112
-
113
- /**
114
- * Modify
115
- * ======== ======== ========
116
- */
117
- .@{space}--Header {
118
- background-color: @color-input;
119
- }
120
-
121
- .@{space}--Input {
122
- border-radius: @gap;
123
- }
124
-
125
- .@{space}--Mention {
126
- position: relative;
127
- }