add
This commit is contained in:
parent
211d66e4c2
commit
50a558bbcb
14
src/App.vue
14
src/App.vue
@ -656,7 +656,7 @@ export default {
|
|||||||
}
|
}
|
||||||
.pop-bg {
|
.pop-bg {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
z-index: 35;
|
z-index: 3999;
|
||||||
transform: rotateX(0deg);
|
transform: rotateX(0deg);
|
||||||
left: 0;
|
left: 0;
|
||||||
top: 0;
|
top: 0;
|
||||||
@ -670,7 +670,7 @@ export default {
|
|||||||
.setting-pop {
|
.setting-pop {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
transform: rotateX(0deg);
|
transform: rotateX(0deg);
|
||||||
z-index: 1000;
|
z-index: 4000;
|
||||||
right: 0;
|
right: 0;
|
||||||
top: 0;
|
top: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
@ -795,7 +795,7 @@ export default {
|
|||||||
.chips-pop {
|
.chips-pop {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
transform: rotateX(0deg);
|
transform: rotateX(0deg);
|
||||||
z-index: 36;
|
z-index: 4001;
|
||||||
left: 0;
|
left: 0;
|
||||||
top: 0;
|
top: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
@ -870,7 +870,7 @@ export default {
|
|||||||
.aplayer-pop {
|
.aplayer-pop {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
transform: rotateX(0deg);
|
transform: rotateX(0deg);
|
||||||
z-index: 36;
|
z-index: 4001;
|
||||||
left: 0;
|
left: 0;
|
||||||
top: 0;
|
top: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
@ -898,7 +898,7 @@ export default {
|
|||||||
.record-pop {
|
.record-pop {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
transform: rotateX(0deg);
|
transform: rotateX(0deg);
|
||||||
z-index: 36;
|
z-index: 4001;
|
||||||
left: 0;
|
left: 0;
|
||||||
top: 0;
|
top: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
@ -928,7 +928,7 @@ export default {
|
|||||||
.system-pop {
|
.system-pop {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
transform: rotateX(0deg);
|
transform: rotateX(0deg);
|
||||||
z-index: 36;
|
z-index: 4001;
|
||||||
left: 0;
|
left: 0;
|
||||||
top: 0;
|
top: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
@ -1043,7 +1043,7 @@ export default {
|
|||||||
.share-pop {
|
.share-pop {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
transform: rotateX(0deg);
|
transform: rotateX(0deg);
|
||||||
z-index: 36;
|
z-index: 4001;
|
||||||
left: 0;
|
left: 0;
|
||||||
top: 0;
|
top: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
|
|||||||
@ -26,7 +26,7 @@ function autoask(newData) {
|
|||||||
const bigEyeRoad = newData.ludan_banker.waybill.bigEyeRoad
|
const bigEyeRoad = newData.ludan_banker.waybill.bigEyeRoad
|
||||||
const pathway = newData.ludan_banker.waybill.pathway
|
const pathway = newData.ludan_banker.waybill.pathway
|
||||||
const roach = newData.ludan_banker.waybill.roach
|
const roach = newData.ludan_banker.waybill.roach
|
||||||
if (bigEyeRoad[0]) {
|
if (bigEyeRoad && bigEyeRoad.length > 0) {
|
||||||
if (bigEyeRoad[bigEyeRoad.length - 1].result == 1) {
|
if (bigEyeRoad[bigEyeRoad.length - 1].result == 1) {
|
||||||
askObg.BbigEyeRoadcolor = "red"
|
askObg.BbigEyeRoadcolor = "red"
|
||||||
} else {
|
} else {
|
||||||
@ -36,7 +36,7 @@ function autoask(newData) {
|
|||||||
} else {
|
} else {
|
||||||
askObg.BbigEyeRoadisshow = false
|
askObg.BbigEyeRoadisshow = false
|
||||||
}
|
}
|
||||||
if (pathway[0]) {
|
if (pathway && pathway.length > 0) {
|
||||||
if (pathway[pathway.length - 1].result == 1) {
|
if (pathway[pathway.length - 1].result == 1) {
|
||||||
askObg.Bpathwaycolor = "red"
|
askObg.Bpathwaycolor = "red"
|
||||||
} else {
|
} else {
|
||||||
@ -46,7 +46,7 @@ function autoask(newData) {
|
|||||||
} else {
|
} else {
|
||||||
askObg.Bpathwayisshow = false
|
askObg.Bpathwayisshow = false
|
||||||
}
|
}
|
||||||
if (roach[0]) {
|
if (roach && roach.length > 0) {
|
||||||
if (roach[roach.length - 1].result == 1) {
|
if (roach[roach.length - 1].result == 1) {
|
||||||
askObg.Broachcolor = "red"
|
askObg.Broachcolor = "red"
|
||||||
} else {
|
} else {
|
||||||
@ -62,7 +62,7 @@ function autoask(newData) {
|
|||||||
const bigEyeRoad = newData.ludan_player.waybill.bigEyeRoad
|
const bigEyeRoad = newData.ludan_player.waybill.bigEyeRoad
|
||||||
const pathway = newData.ludan_player.waybill.pathway
|
const pathway = newData.ludan_player.waybill.pathway
|
||||||
const roach = newData.ludan_player.waybill.roach
|
const roach = newData.ludan_player.waybill.roach
|
||||||
if (bigEyeRoad[0]) {
|
if (bigEyeRoad && bigEyeRoad.length > 0) {
|
||||||
if (bigEyeRoad[bigEyeRoad.length - 1].result == 1) {
|
if (bigEyeRoad[bigEyeRoad.length - 1].result == 1) {
|
||||||
askObg.PbigEyeRoadcolor = "red"
|
askObg.PbigEyeRoadcolor = "red"
|
||||||
} else {
|
} else {
|
||||||
@ -72,7 +72,7 @@ function autoask(newData) {
|
|||||||
} else {
|
} else {
|
||||||
askObg.PbigEyeRoadisshow = false
|
askObg.PbigEyeRoadisshow = false
|
||||||
}
|
}
|
||||||
if (pathway[0]) {
|
if (pathway && pathway.length > 0) {
|
||||||
if (pathway[pathway.length - 1].result == 1) {
|
if (pathway[pathway.length - 1].result == 1) {
|
||||||
askObg.Ppathwaycolor = "red"
|
askObg.Ppathwaycolor = "red"
|
||||||
} else {
|
} else {
|
||||||
@ -82,7 +82,7 @@ function autoask(newData) {
|
|||||||
} else {
|
} else {
|
||||||
askObg.Ppathwayisshow = false
|
askObg.Ppathwayisshow = false
|
||||||
}
|
}
|
||||||
if (roach[0]) {
|
if (roach && roach.length > 0) {
|
||||||
if (roach[roach.length - 1].result == 1) {
|
if (roach[roach.length - 1].result == 1) {
|
||||||
askObg.Proachcolor = "red"
|
askObg.Proachcolor = "red"
|
||||||
} else {
|
} else {
|
||||||
@ -656,8 +656,12 @@ function cutRoad(
|
|||||||
Tab = cols - 1
|
Tab = cols - 1
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// Keep space for integrated Ask Panel at bottom right
|
// 下三路(大眼路/小路/曱甴路)- 使用横屏版本的逻辑
|
||||||
Tab = cols - 7
|
if (ask && askroad) {
|
||||||
|
Tab = cols - 1 // 问路时:给新增点留空间
|
||||||
|
} else {
|
||||||
|
Tab = cols - 2 // 正常时
|
||||||
|
}
|
||||||
}
|
}
|
||||||
// 初始位置
|
// 初始位置
|
||||||
if (billnumber == 1) {
|
if (billnumber == 1) {
|
||||||
@ -1242,10 +1246,13 @@ function CockrochPath(ctb, unit, start_x, x, y, type) {
|
|||||||
ctb.beginPath()
|
ctb.beginPath()
|
||||||
ctb.lineCap = "round"
|
ctb.lineCap = "round"
|
||||||
ctb.lineWidth = radius * 0.3 //线条宽度
|
ctb.lineWidth = radius * 0.3 //线条宽度
|
||||||
if (type == 2) {
|
var color
|
||||||
var color = "#1c1f89"
|
if (type == 1) {
|
||||||
} else if (type == 1) {
|
color = "#cf0012"
|
||||||
var color = "#cf0012"
|
} else if (type == 2) {
|
||||||
|
color = "#1c1f89"
|
||||||
|
} else {
|
||||||
|
color = "#1c1f89" // 默认蓝色
|
||||||
}
|
}
|
||||||
ctb.strokeStyle = color
|
ctb.strokeStyle = color
|
||||||
ctb.moveTo(
|
ctb.moveTo(
|
||||||
|
|||||||
@ -1415,18 +1415,17 @@ $gold: #c5a059;
|
|||||||
/* Status Overlay Styles */
|
/* Status Overlay Styles */
|
||||||
.status-overlay {
|
.status-overlay {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 60px; /* Moved down to avoid row overlap, or move Left? Let's move LEFT of Camera */
|
top: 10px;
|
||||||
left: 50%;
|
right: 50px; /* Left of switch button (10px + 30px + 10px gap) */
|
||||||
transform: translateX(-50%); /* Removed translateZ to avoid potential clipping/context issues */
|
z-index: 3000;
|
||||||
z-index: 2005; /* Matches highest priority buttons */
|
|
||||||
display: flex;
|
display: flex;
|
||||||
pointer-events: none; /* Allow clicks to pass through if needed, though buttons inside might need events. Actually, user might want to see it. It's display only. */
|
pointer-events: none;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
|
||||||
.status-circle {
|
.status-circle {
|
||||||
width: 50px;
|
width: 40px; /* Slightly smaller for corner */
|
||||||
height: 50px;
|
height: 40px;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
background: rgba(0,0,0,0.6);
|
background: rgba(0,0,0,0.6);
|
||||||
display: flex;
|
display: flex;
|
||||||
@ -1434,22 +1433,22 @@ $gold: #c5a059;
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-size: 16px;
|
font-size: 14px;
|
||||||
border: 2px solid rgba(255, 255, 255, 0.2);
|
border: 2px solid rgba(255, 255, 255, 0.2);
|
||||||
backdrop-filter: blur(4px);
|
backdrop-filter: blur(4px);
|
||||||
|
|
||||||
&.dealing {
|
&.dealing {
|
||||||
background: rgba(46, 204, 113, 0.8); /* Green */
|
background: rgba(46, 204, 113, 0.8); /* Green */
|
||||||
border-color: #2ecc71;
|
border-color: #2ecc71;
|
||||||
font-size: 14px;
|
font-size: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.countdown {
|
&.countdown {
|
||||||
background: rgba(231, 76, 60, 0.8); /* Red/Orange for countdown */
|
background: rgba(231, 76, 60, 0.8); /* Red/Orange for countdown */
|
||||||
border-color: #e74c3c;
|
border-color: #e74c3c;
|
||||||
font-size: 24px;
|
font-size: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.wait {
|
&.wait {
|
||||||
background: rgba(52, 152, 219, 0.8);
|
background: rgba(52, 152, 219, 0.8);
|
||||||
border-color: #3498db;
|
border-color: #3498db;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user