12
This commit is contained in:
parent
f09ce7b8d8
commit
295626fcb7
@ -22,7 +22,7 @@ const checkScreenOrientation = () => {
|
|||||||
isLandscapeMode.value = true;
|
isLandscapeMode.value = true;
|
||||||
} else {
|
} else {
|
||||||
isLandscapeMode.value = false;
|
isLandscapeMode.value = false;
|
||||||
showToast($t('common.landscape'));
|
showToast($t('signature.tips.landscape'));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -90,7 +90,7 @@ router.back()
|
|||||||
type="primary"
|
type="primary"
|
||||||
@click="goBack"
|
@click="goBack"
|
||||||
>
|
>
|
||||||
{{ $t('signature.back') }}
|
{{ $t('signature.action.back') }}
|
||||||
</van-button>
|
</van-button>
|
||||||
<van-button
|
<van-button
|
||||||
class="control-button"
|
class="control-button"
|
||||||
@ -98,7 +98,7 @@ router.back()
|
|||||||
type="warning"
|
type="warning"
|
||||||
@click="clearSignature"
|
@click="clearSignature"
|
||||||
>
|
>
|
||||||
{{ $t('signature.clear') }}
|
{{ $t('signature.action.clear') }}
|
||||||
</van-button>
|
</van-button>
|
||||||
<van-button
|
<van-button
|
||||||
class="control-button"
|
class="control-button"
|
||||||
@ -106,14 +106,14 @@ router.back()
|
|||||||
type="primary"
|
type="primary"
|
||||||
@click="submitSignature"
|
@click="submitSignature"
|
||||||
>
|
>
|
||||||
{{ $t('signature.confirm') }}
|
{{ $t('signature.action.confirm') }}
|
||||||
</van-button>
|
</van-button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<template v-else>
|
<template v-else>
|
||||||
<div class="orientation-hint">
|
<div class="orientation-hint">
|
||||||
<p>{{$t('common.landscape')}}</p>
|
<p>{{$t('signature.tips.landscape')}}</p>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<van-dialog v-model:show="show" class="signature-dialog" show-cancel-button @confirm="confirm">
|
<van-dialog v-model:show="show" class="signature-dialog" show-cancel-button @confirm="confirm">
|
||||||
|
@ -18,12 +18,12 @@ export default defineNuxtPlugin(() => {
|
|||||||
|
|
||||||
// 暂时设置固定语言,用于调试
|
// 暂时设置固定语言,用于调试
|
||||||
// 可以根据需要修改这里的语言代码:'zh-CN' | 'en-US' | 'ja-JP' | 'zh-TW'
|
// 可以根据需要修改这里的语言代码:'zh-CN' | 'en-US' | 'ja-JP' | 'zh-TW'
|
||||||
/* const fixedLang = 'ja-JP'
|
const fixedLang = 'zh-CN'
|
||||||
setLocale(fixedLang)
|
setLocale(fixedLang)
|
||||||
Locale.use(fixedLang)*/
|
Locale.use(fixedLang)
|
||||||
|
|
||||||
// 原自动检测系统语言的逻辑(暂时注释)
|
// 原自动检测系统语言的逻辑(暂时注释)
|
||||||
const lang = localStorage.getItem('lang')
|
/* const lang = localStorage.getItem('lang')
|
||||||
if (lang) {
|
if (lang) {
|
||||||
setLocale(lang as TypeLocale)
|
setLocale(lang as TypeLocale)
|
||||||
Locale.use(lang)
|
Locale.use(lang)
|
||||||
@ -31,6 +31,6 @@ export default defineNuxtPlugin(() => {
|
|||||||
else {
|
else {
|
||||||
setLocale(i18n.locale.value)
|
setLocale(i18n.locale.value)
|
||||||
Locale.use(i18n.locale.value)
|
Locale.use(i18n.locale.value)
|
||||||
}
|
}*/
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
@ -210,10 +210,13 @@ export const liveStore = createGlobalState(() => {
|
|||||||
handleTipMessage(tip?.tipType)
|
handleTipMessage(tip?.tipType)
|
||||||
break
|
break
|
||||||
case WS_TYPES.STOP_ARTWORK:
|
case WS_TYPES.STOP_ARTWORK:
|
||||||
|
console.log('changeQuote',quoteStatus.value)
|
||||||
//quoteStatus.value = false
|
//quoteStatus.value = false
|
||||||
break
|
break
|
||||||
case WS_TYPES.OVER:
|
case WS_TYPES.OVER:
|
||||||
|
|
||||||
quoteStatus.value = false
|
quoteStatus.value = false
|
||||||
|
console.log('changeQuote',quoteStatus.value)
|
||||||
message.success(createMessageConfig(
|
message.success(createMessageConfig(
|
||||||
t('live_room.text10'),
|
t('live_room.text10'),
|
||||||
'#575757',
|
'#575757',
|
||||||
@ -239,7 +242,6 @@ export const liveStore = createGlobalState(() => {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
const changeStatus = () => {
|
const changeStatus = () => {
|
||||||
console.log('changeStatus')
|
|
||||||
if (auctionData.value.artwork?.isSelling&&!auctionData.value.artwork.isSoled){
|
if (auctionData.value.artwork?.isSelling&&!auctionData.value.artwork.isSoled){
|
||||||
quoteStatus.value = !quoteStatus.value
|
quoteStatus.value = !quoteStatus.value
|
||||||
}else {
|
}else {
|
||||||
@ -247,7 +249,7 @@ export const liveStore = createGlobalState(() => {
|
|||||||
quoteStatus.value = false
|
quoteStatus.value = false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
console.log('changeQuote',quoteStatus.value)
|
||||||
}
|
}
|
||||||
return{
|
return{
|
||||||
fullLive,
|
fullLive,
|
||||||
|
Loading…
Reference in New Issue
Block a user