From e25a0bad090c444970b48df2713f02d691666b08 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期一, 05 二月 2024 14:19:49 +0800 Subject: [PATCH] 看盘功能完善 --- kp_html/kp/codes_list.html | 102 +++++++++++++++++++++++++++++++++++--------------- 1 files changed, 71 insertions(+), 31 deletions(-) diff --git a/kp_html/kp/codes_list.html b/kp_html/kp/codes_list.html index 0fd68d9..b5ba22d 100644 --- a/kp_html/kp/codes_list.html +++ b/kp_html/kp/codes_list.html @@ -70,18 +70,24 @@ <thead> <tr v-if="delegated_buy_code_infos.length>0"> <td> - <div class="delegated_codes_info scroll-y"> + <div class="delegated_codes_info"> <div v-for="(item,index) in delegated_buy_code_infos"> <div> <div>{{item.code_info[0]}}</div> <div>{{item.code_info[1]}}</div> </div> <div> - <div class="layui-progress" style="background-color: #BBB" :id="'progress_'+item.code_info[0]"> - <div class="layui-progress-bar" lay-percent="{{item.percent+'%'}}" ></div> + <div style="display: flex;justify-content: space-between;align-items: center;"> + <div class="layui-progress" style="background-color: #BBB; width: 88%;" :id="'progress_'+item.code_info[0]"> + <div class="layui-progress-bar" lay-percent="{{item.percent+'%'}}" ></div> + </div> + <button class="layui-btn layui-btn-xs" v-on:click="cancel_order(item.code_info[0])">鎾ゅ崟</button> </div> + + <div> - 杩樻湁<span :class="{'red':item.left_count <=4}">{{item.left_count}}</span>绗旓紝杩樻湁<span>{{item.left_money}}</span>鎴愪氦鍒版垜浠� + 杩樻湁<span :class="{'red':item.left_count <=4}">{{item.left_count}}</span>绗旓紝杩樻湁<span>{{item.left_money}}(灏佸崟锛歿{item.buy1_money}})</span>鎴愪氦鍒版垜浠� + 澶у崟鎴愪氦锛歿{item.big_num_count}}绗�/{{item.big_num_money}} </div> </div> @@ -158,39 +164,73 @@ </span> </td> </tr> - </table> - - - <!-- 浠婃棩鎸傛挙璁板綍 --> - <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"> </span>鐐告澘 - <span class="num-style ">{{trade_record.open_limit_up}}</span></span> - <span v-else class="num-style ">鏈偢鏉�</span> - </td> - </tr> - </thead> - <tr> + <td>鐪熷疄涓嬪崟浣嶈缃�</td> <td> - <div style="width: 100%;display: flex;justify-content: space-between;flex-wrap: wrap;" - class="scroll-y"> - - <div class="record-item" style="width: 520px; " v-for="(item,index) in trade_record.records"> - <div>{{item[0]}}</div> <div>銆恵{item[1]}}銆憑{item[2]}} <a href="javascript:void()" - style='color:red' v-if="item[3]&&item[3].length>0" - @click="show_more_records(item[3])">鏇村</a></div> - </div> - + <div style="padding: 3px 1px;"> + <button class="layui-btn layui-btn-xs layui-btn-normal" v-on:click="set_real_place_order_index">鐐瑰嚮璁剧疆</button> </div> </td> </tr> - </table> + + <div class="layui-tab layui-tab-brief"> + <ul class="layui-tab-title"> + <li class="layui-this">浠婃棩鎸傛挙璁板綍</li> + <li>L2涓嶄笅鍗曞師鍥�</li> + + </ul> + <div class="layui-tab-content"> + <div class="layui-tab-item layui-show"> + + <!-- 浠婃棩鎸傛挙璁板綍 --> + <table v-if="trade_record"> + + <thead> + <tr> + <td>鏄惁鐐告澘锛�<span v-if="trade_record.open_limit_up"> <span><img + src="./images/stop_up.png"> </span>鐐告澘 + <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;" + class="scroll-y"> + + <div class="record-item" style="width: 520px; " v-for="(item,index) in trade_record.records"> + <div>{{item[0]}}</div> <div>銆恵{item[1]}}銆憑{item[2]}} <a href="javascript:void()" + style='color:red' v-if="item[3]&&item[3].length>0" + @click="show_more_records(item[3])">鏇村</a></div> + </div> + + </div> + </td> + </tr> + + </table> + + + + </div> + <div class="layui-tab-item"> + <table> + <tr v-for="item in l2_cant_buy_reasons"> + <td>{{item[0]}}</td> + <td>{{item[1]}}</td> + </tr> + </table> + + + </div> + </div> + </div> + + </div> <div id="l2" :style="{'visibility':data_type==1?'visible':'hidden'}"> <div class="l2-nav"> @@ -269,7 +309,7 @@ <td style="width: 40px;">搴忓彿</td> <td style="width: 80px;">鏃堕棿</td> <td style="width: 30px;">閲戦(涓�)</td> - <td>浠锋牸</td> + <td style="width: 30px;">浠锋牸</td> <td style="width: 45px;">鎵嬫暟</td> <td style="width: 40px;">绫诲瀷</td> <td style="width: 80px;">鎾ゅ崟鏃堕棿</td> -- Gitblit v1.8.0