admin
2025-06-10 568c763084b926a6f2d632b7ac65b9ec8280752f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title>看盘端</title>
        <link rel="stylesheet" type="text/css" href="./css/banshuping.css" />
        <script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
        <script src="http://cdn.yeshitv.com/js/vue.min.js"></script>
        <script src="https://unpkg.com/vconsole@latest/dist/vconsole.min.js"></script>
        <script src="js/banshuping.js"></script>
        <script src="js/kpl.js"></script>
        <style>
 
        </style>
    </head>
    <body>
        <div id="app">
            <div class="top">
                <span>
                    <h2 style="margin-left: 18px; font-size: 20px;">{{code_name}}
                    </h2>
                </span>
 
            </div>
 
            <div>
 
                <!-- 买前评分 -->
 
 
                <!-- 交易参数 -->
                <table v-if="trade_data">
                    <caption class="table-name">交易参数</caption>
                    <tr>
                        <td>买入意愿</td>
                        <td>
 
                            <span class="bold yellow"
                                :class="{'yellow':trade_data.star.count>0}">{{trade_data.star.desc}}</span>
 
                            <img v-for="(item,i) in trade_data.star.count" src="./images/star.png" /
                                style="margin-left: 3px;"></span>
                        </td>
                    </tr>
                    <tr>
                        <td>安全笔数</td>
                        <td>固定安全笔数<span class="num-style ">{{trade_data.safe_count.base}}</span>笔,衰减后安全笔数<span
                                class="num-style ">{{trade_data.safe_count.now}}</span>笔</td>
                    </tr>
                    <tr>
                        <td>动态M值</td>
                        <td>固定M值<span class="num-style ">{{trade_data.m_val.base}}万</span>&nbsp;&nbsp;&nbsp;动态M值<span
                                class="num-style ">{{trade_data.m_val.now}}万</span></td>
                    </tr>
                    <tr>
                        <td>买前大单</td>
                        <td>固定买前大单<span class="num-style ">{{trade_data.big_num.base}}</span>笔,衰减后买前大单<span
                                class="num-style ">{{trade_data.big_num.now}}</span>笔
                        </td>
                    </tr>
                    <tr>
                        <td>成交进度</td>
                        <td><span v-if="trade_data.trade_progress">
                                <span class="num-style ">{{trade_data.trade_progress.time}}</span>&nbsp;
                                <span class="num-style ">{{trade_data.trade_progress.num}}手</span>&nbsp;
                                <span class="num-style ">{{trade_data.trade_progress.money}}万</span>
                            </span>
                        </td>
                    </tr>
                    <tr>
                        <td>买入信号</td>
                        <td>
                            <span v-if="trade_data.buy_single">
                                <span class="num-style ">{{trade_data.buy_single.time}}</span>&nbsp;
                                <span class="num-style ">{{trade_data.buy_single.num}}手</span>&nbsp;
                                <span class="num-style ">{{trade_data.buy_single.money}}万</span>
                            </span>
                        </td>
                    </tr>
                    <tr>
                        <td>买入执行位</td>
                        <td>
                            <span v-if="trade_data.buy_exec">
                                <span class="num-style ">{{trade_data.buy_exec.time}}</span>&nbsp;
                                <span class="num-style ">{{trade_data.buy_exec.num}}手</span>&nbsp;
                                <span class="num-style ">{{trade_data.buy_exec.money}}万</span>
                            </span>
 
                            <span v-else class="num-style red bold">未下单</span>
                        </td>
                    </tr>
                </table>
 
                <!-- 开盘啦 -->
 
 
                <!-- 主动买入 -->
 
                <!-- 被动买入 -->
                <!-- 第一群 -->
                <div>
                    <span>
                        <!-- 最强风口 -->
                        <table class="half-width" id="kpl-best_feng_kou">
                            <caption class="table-name">最强风口</caption>
                            <thead>
                                <th>股票名称</th>
                                <th>强度</th>
                                <th>涨跌幅</th>
                                <th>所属板块</th>
                            </thead>
                            <tbody>
                                
                            </tbody>
                            <tfoot></tfoot>
                        </table>
 
                    </span>
                    <span>
                        <!--  市场风口-->
                        <table class="half-width" id="kpl-feng_kou">
                            <caption class="table-name">市场风口</caption>
                            <thead>
                                <th>股票名称</th>
                                <th>主力净值</th>
                                <th>涨跌幅</th>
                                <th>风口概念</th>
                            </thead>
                            <tbody>
                                
 
                            </tbody>
 
                        </table>
                    </span>
                </div>
                <!-- 第二群 -->
                <div>
                    <span>
                        <!-- 风向标 -->
                        <table style="width: 62%;float: left;" id="kpl-feng_xiang">
                            <caption class="table-name">风向标</caption>
                            <thead>
                                <th>股票名称</th>
                                <th>涨跌幅</th>
                                <th>所属板块</th>
                                <th>300W净额</th>
                                <th>主力净额</th>
                            </thead>
                            <tbody>
                                
                            </tbody>
 
                        </table>
 
                    </span>
                    <span>
                        <!-- 行业涨幅 -->
                        <table style="width: 38%;float: right;" id="kpl-industry_rank">
                            <caption class="table-name">行业涨幅</caption>
                            <thead>
                                <th>行业名称</th>
                                <th>主力净值</th>
                                <th>涨跌幅</th>
                            </thead>
                            <tbody>
                                
                            </tbody>
 
                        </table>
                    </span>
                </div>
                <!-- 今日挂撤记录 -->
                <table v-if="trade_record">
                    <caption class="table-name">今日挂撤记录</caption>
                    <thead>
                        <tr>
                            <td>是否炸板:<span v-if="trade_record.open_limit_up"> <span><img
                                            src="./images/stop_up.png">&nbsp;</span>炸板&nbsp;&nbsp;
                                    <span class="num-style ">{{trade_record.open_limit_up}}</span></span>
                                <span v-else class="num-style ">未炸板</span>
                            </td>
                        </tr>
                    </thead>
                    
                    <tr>
                        <td>
                        <div style="width: 100%;display: flex;justify-content: space-between;flex-wrap: wrap;">
                            <div style="width: 50%;" v-for="(item,index) in trade_record.records">
                                <span v-if="item.type==1">第{{item.index}}次下单:<span class="num-style ">{{item.time}}</span> <span class="score-card-color yellow">{{item.score}}</span></span>
                                <span v-else> 撤单:<span class="num-style ">{{item.time}}</span> {{item.desc}} </span>
                            </div>
                        
                        </div>
                        </td>
                    </tr>
                    
                </table>
 
            </div>
        </div>
        <script>
 
        </script>
 
    </body>
</html>