fix: 游戏页面货币符号从¥改为越南盾₫

This commit is contained in:
li 2026-02-11 16:44:33 +08:00
parent 6e6cd9772b
commit 1353a6bfce

View File

@ -70,14 +70,14 @@
<!-- 2. Balance --> <!-- 2. Balance -->
<div class="nav-item balance-info"> <div class="nav-item balance-info">
<div class="icon money-icon"></div> <span class="currency-symbol"></span>
<div class="text">{{ userInfo.money }}</div> <div class="text">{{ $fk(userInfo.money) }}</div>
</div> </div>
<!-- 3. Table Limit --> <!-- 3. Table Limit -->
<div class="nav-item limit-info"> <div class="nav-item limit-info">
<div class="icon limit-icon"></div> <div class="icon limit-icon"></div>
<div class="text">{{ tableData && tableData.limit_money }}</div> <div class="text">{{ tableData && $fk(tableData.limit_money) }}</div>
</div> </div>
<!-- 4. Right Controls (Camera, etc.) --> <!-- 4. Right Controls (Camera, etc.) -->
@ -169,7 +169,7 @@
<!-- 4. Roadmap (Bottom Section, Fixed Height or Flex Basis) --> <!-- 4. Roadmap (Bottom Section, Fixed Height or Flex Basis) -->
<div class="roadmap-container" :class="{ 'nn-mode': tableData && (tableData.game_id == 4 || tableData.game_id == 5) }" @click.stop="closeSwitchView(false)"> <div class="roadmap-container" :class="{ 'nn-mode': tableData && (tableData.game_id == 4 || tableData.game_id == 5) }" @click.stop="closeSwitchView(false)">
<PlayWay :tableData="tableData"></PlayWay> <PlayWay ref="playWayRef" :tableData="tableData"></PlayWay>
<!-- Poker for Baccarat/Dragon Tiger (overlay style) --> <!-- Poker for Baccarat/Dragon Tiger (overlay style) -->
<Poker <Poker
class="pokerView" class="pokerView"
@ -193,9 +193,33 @@
></RouletteResult> ></RouletteResult>
</div> </div>
<!-- 5. Ask Way Bar (独立问路条仅百家乐/龙虎) -->
<div class="ask-bar" v-if="tableData && [1,2].includes(tableData.game_id)">
<div class="ask-btn banker" @click="playWayRef?.askWay('banker')">
<span class="ask-label text-red">{{ Lang[Type].askbanker }}</span>
<div class="ask-dots">
<span class="dot hollow red" v-if="playWayRef?.autoaskData?.BbigEyeRoadisshow && playWayRef?.autoaskData?.BbigEyeRoadcolor == 'red'"></span>
<span class="dot hollow blue" v-if="playWayRef?.autoaskData?.BbigEyeRoadisshow && playWayRef?.autoaskData?.BbigEyeRoadcolor == 'blue'"></span>
<span class="dot solid red" v-if="playWayRef?.autoaskData?.Bpathwayisshow && playWayRef?.autoaskData?.Bpathwaycolor == 'red'"></span>
<span class="dot solid blue" v-if="playWayRef?.autoaskData?.Bpathwayisshow && playWayRef?.autoaskData?.Bpathwaycolor == 'blue'"></span>
<span class="dot slash red" v-if="playWayRef?.autoaskData?.Broachisshow && playWayRef?.autoaskData?.Broachcolor == 'red'"></span>
<span class="dot slash blue" v-if="playWayRef?.autoaskData?.Broachisshow && playWayRef?.autoaskData?.Broachcolor == 'blue'"></span>
</div>
</div>
<div class="ask-btn player" @click="playWayRef?.askWay('player')">
<span class="ask-label text-blue">{{ Lang[Type].askplayer }}</span>
<div class="ask-dots">
<span class="dot hollow red" v-if="playWayRef?.autoaskData?.PbigEyeRoadisshow && playWayRef?.autoaskData?.PbigEyeRoadcolor == 'red'"></span>
<span class="dot hollow blue" v-if="playWayRef?.autoaskData?.PbigEyeRoadisshow && playWayRef?.autoaskData?.PbigEyeRoadcolor == 'blue'"></span>
<span class="dot solid red" v-if="playWayRef?.autoaskData?.Ppathwayisshow && playWayRef?.autoaskData?.Ppathwaycolor == 'red'"></span>
<span class="dot solid blue" v-if="playWayRef?.autoaskData?.Ppathwayisshow && playWayRef?.autoaskData?.Ppathwaycolor == 'blue'"></span>
<span class="dot slash red" v-if="playWayRef?.autoaskData?.Proachisshow && playWayRef?.autoaskData?.Proachcolor == 'red'"></span>
<span class="dot slash blue" v-if="playWayRef?.autoaskData?.Proachisshow && playWayRef?.autoaskData?.Proachcolor == 'blue'"></span>
</div>
</div>
</div> </div>
<!-- Moved Switch Views to Root View Level for Full Height Overlay --> </div>
<van-popup <van-popup
v-model:show="switchtabshow" v-model:show="switchtabshow"
position="bottom" position="bottom"
@ -282,6 +306,7 @@ export default {
const hideVideo = ref(true) const hideVideo = ref(true)
const table_id = ref(null) const table_id = ref(null)
const chipTable = ref(null) const chipTable = ref(null)
const playWayRef = ref(null)
const currentRate = ref(0) const currentRate = ref(0)
const switchtabshow = ref(false) const switchtabshow = ref(false)
const isSwitchtab = ref(false) const isSwitchtab = ref(false)
@ -1235,7 +1260,9 @@ export default {
closeSwitchView, closeSwitchView,
toggleVide, toggleVide,
switchRouletteType, switchRouletteType,
videoUrl videoUrl,
playWayRef,
Lang
} }
} }
} }
@ -1299,7 +1326,7 @@ $gold: #c5a059;
} }
&.balance-info { &.balance-info {
.money-icon { background-image: url("~@/assets/images/icon/money.png"); } .currency-symbol { color: $gold; font-size: 14px; font-weight: bold; }
.text { color: $gold; font-family: monospace; font-size: 14px; } .text { color: $gold; font-family: monospace; font-size: 14px; }
} }
@ -1472,12 +1499,12 @@ $gold: #c5a059;
/* 4. Game Table Area (New Flex Item) */ /* 4. Game Table Area (New Flex Item) */
.game-area-block { .game-area-block {
width: 100%; width: 100%;
height: 200px; /* Fixed height for table area */ height: 172px; /* 缩小28px给问路条 */
flex-shrink: 0; flex-shrink: 0;
position: relative; position: relative;
background: transparent; background: transparent;
z-index: 10; z-index: 10;
overflow: hidden; overflow: visible;
/* NN/TC mode - same as other games */ /* NN/TC mode - same as other games */
&.nn-mode { &.nn-mode {
@ -1733,6 +1760,72 @@ $gold: #c5a059;
display: block !important; display: block !important;
} }
} }
/* 5. Ask Way Bar - 独立问路条 */
.ask-bar {
width: 100%;
height: 28px;
flex-shrink: 0;
display: flex;
background: #fff;
border-top: 1px solid #eee;
z-index: 20;
.ask-btn {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
gap: 6px;
cursor: pointer;
&.banker {
border-right: 1px solid #eee;
}
.ask-label {
font-size: 11px;
font-weight: 500;
white-space: nowrap;
}
.text-red { color: #e40000; }
.text-blue { color: #0056ee; }
.ask-dots {
display: flex;
gap: 4px;
align-items: center;
.dot {
display: inline-block;
&.solid {
width: 10px;
height: 10px;
border-radius: 50%;
&.red { background: #e40000; }
&.blue { background: #0056ee; }
}
&.hollow {
width: 8px;
height: 8px;
border-radius: 50%;
border: 1.5px solid;
&.red { border-color: #e40000; }
&.blue { border-color: #0056ee; }
}
&.slash {
width: 2px;
height: 10px;
transform: rotate(-45deg);
border-radius: 1px;
&.red { background: #e40000; }
&.blue { background: #0056ee; }
}
}
}
}
}
} }
} }
</style> </style>