fix: PC端大厅路单显示庄闲龙虎文字、刷新图标修正、退出登录按钮显示

- waybill.js: 新增WaybillShowRoad珠盘路绘制函数
- table.vue: 大厅路单从bigRoad改为showRoad,显示庄/闲/龙/虎文字
- header.vue: 刷新按钮图标从btn_setting改为icon_refresh
- header.vue: 调整notice/setup宽度,退出登录按钮不再被截断
This commit is contained in:
li 2026-02-11 16:00:01 +08:00
parent d7e2243c07
commit bc6561acf9
3 changed files with 15 additions and 8 deletions

View File

@ -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){ 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 { export {
Waybill, Waybill,
WaybillbigRoad, WaybillbigRoad,
WaybillShowRoad,
NNcanvas NNcanvas
} }

View File

@ -119,7 +119,7 @@ export default {
width:100%; width:100%;
} }
.view-top .notice{ .view-top .notice{
width:9.5rem; width:9rem;
color:#fff; color:#fff;
border: .02rem solid #3b2b1d; border: .02rem solid #3b2b1d;
background: #1f150e; background: #1f150e;
@ -174,7 +174,7 @@ export default {
} }
.view-top .setup{ .view-top .setup{
float: left; float: left;
width:5rem; width:5.5rem;
height: 0.5rem; height: 0.5rem;
} }
@ -207,7 +207,7 @@ export default {
background-image:url(../../common/image/icon/btn_lock.png); background-image:url(../../common/image/icon/btn_lock.png);
} }
.view-top .setting-btn{ .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{ .view-top .signout-btn{
background-image:url(../../common/image/icon/btn_exit.png); background-image:url(../../common/image/icon/btn_exit.png);

View File

@ -83,7 +83,7 @@
<script> <script>
import 'swiper/dist/css/swiper.min.css' import 'swiper/dist/css/swiper.min.css'
import Swiper from'swiper' import Swiper from'swiper'
import { WaybillbigRoad,NNcanvas } from '@/common/js/waybill.js' import { WaybillbigRoad,WaybillShowRoad,NNcanvas } from '@/common/js/waybill.js'
import { mapState,mapMutations,mapGetters,mapActions} from 'vuex' import { mapState,mapMutations,mapGetters,mapActions} from 'vuex'
export default { export default {
data () { data () {
@ -219,15 +219,13 @@ export default {
canvas.setAttribute('height',unit*rows); canvas.setAttribute('height',unit*rows);
if(data.ludan){ if(data.ludan){
if(data.ludan.waybill){ if(data.ludan.waybill){
path=data.ludan.waybill.bigRoad; path=data.ludan.waybill.showRoad;
}else{ }else{
path=false; path=false;
} }
} }
var ask=false,askroad=false;
WaybillbigRoad(ctb,unit,rows,cols,path,gameId,ask,askroad) WaybillShowRoad(ctb,unit,rows,cols,path,gameId)
}else if(gameId==4||gameId==5){ }else if(gameId==4||gameId==5){
var rows =4, var rows =4,
cols =12, cols =12,