From bc6561acf91bbbf63ce12f109ef9f4b903a9ca8e Mon Sep 17 00:00:00 2001 From: li Date: Wed, 11 Feb 2026 16:00:01 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20PC=E7=AB=AF=E5=A4=A7=E5=8E=85=E8=B7=AF?= =?UTF-8?q?=E5=8D=95=E6=98=BE=E7=A4=BA=E5=BA=84=E9=97=B2=E9=BE=99=E8=99=8E?= =?UTF-8?q?=E6=96=87=E5=AD=97=E3=80=81=E5=88=B7=E6=96=B0=E5=9B=BE=E6=A0=87?= =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E3=80=81=E9=80=80=E5=87=BA=E7=99=BB=E5=BD=95?= =?UTF-8?q?=E6=8C=89=E9=92=AE=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - waybill.js: 新增WaybillShowRoad珠盘路绘制函数 - table.vue: 大厅路单从bigRoad改为showRoad,显示庄/闲/龙/虎文字 - header.vue: 刷新按钮图标从btn_setting改为icon_refresh - header.vue: 调整notice/setup宽度,退出登录按钮不再被截断 --- src/common/js/waybill.js | 9 +++++++++ src/components/header/header.vue | 6 +++--- src/components/table/table.vue | 8 +++----- 3 files changed, 15 insertions(+), 8 deletions(-) diff --git a/src/common/js/waybill.js b/src/common/js/waybill.js index ebd9f4be..10a975e8 100644 --- a/src/common/js/waybill.js +++ b/src/common/js/waybill.js @@ -68,6 +68,14 @@ function WaybillbigRoad(ctb,unit,rows,cols,path,gameId){ } } +// 珠盘路单独一条(大厅用,显示庄闲龙虎文字) +function WaybillShowRoad(ctb,unit,rows,cols,path,gameId){ + ctb.clearRect(0, 0, unit*100, unit*rows) + Drawline(ctb,unit,rows,cols,true); + if(path){ + cutRoad(1,'showWay',ctb,unit,path,cols,gameId,false,false) + } +} // 前端路单数据截取 function cutRoad(billnumber,roadType,ctb,unit,roadData,cols,gameId,ask,askroad){ @@ -671,5 +679,6 @@ function NNline(ctb,unit_x,unit_y,rows,cols){ export { Waybill, WaybillbigRoad, + WaybillShowRoad, NNcanvas } diff --git a/src/components/header/header.vue b/src/components/header/header.vue index b69df3f7..8af600bb 100644 --- a/src/components/header/header.vue +++ b/src/components/header/header.vue @@ -119,7 +119,7 @@ export default { width:100%; } .view-top .notice{ - width:9.5rem; + width:9rem; color:#fff; border: .02rem solid #3b2b1d; background: #1f150e; @@ -174,7 +174,7 @@ export default { } .view-top .setup{ float: left; - width:5rem; + width:5.5rem; height: 0.5rem; } @@ -207,7 +207,7 @@ export default { background-image:url(../../common/image/icon/btn_lock.png); } .view-top .setting-btn{ - background-image:url(../../common/image/icon/btn_setting.png); + background-image:url(../../common/image/icon/icon_refresh.png); } .view-top .signout-btn{ background-image:url(../../common/image/icon/btn_exit.png); diff --git a/src/components/table/table.vue b/src/components/table/table.vue index edf38653..365b1468 100644 --- a/src/components/table/table.vue +++ b/src/components/table/table.vue @@ -83,7 +83,7 @@