feat(live): 新增竞价信息变更提示
- 在 liveStore 中添加 CHANGEPRICEINFO 类型的处理逻辑 - 在 i18n 文件中添加相应的多语言提示文本 - 当收到 CHANGEPRICEINFO 类型的消息时,显示警告提示信息
This commit is contained in:
parent
fb213caf28
commit
65190430fa
@ -113,7 +113,8 @@ export const liveStore = createGlobalState(() => {
|
||||
const WS_TYPES = {
|
||||
TIP: 'tip',
|
||||
STOP_ARTWORK: 'stopArtwork',
|
||||
OVER: 'over'
|
||||
OVER: 'over',
|
||||
CHANGEPRICEINFO : 'changePriceInfo'
|
||||
}
|
||||
|
||||
const TIP_TYPES = {
|
||||
@ -171,6 +172,9 @@ export const liveStore = createGlobalState(() => {
|
||||
quoteStatus.value=false
|
||||
message.success(createMessageConfig(t('live_room.text4'), '#18A058', t('live_room.text5')))
|
||||
},
|
||||
[TIP_TYPES.CHANGEPRICEINFO]: ()=>{
|
||||
message.warning(t('live_room.text11'))
|
||||
},
|
||||
[TIP_TYPES.ARTWORK_OVER]: () =>{
|
||||
quoteStatus.value=false
|
||||
message.success(createMessageConfig(
|
||||
|
@ -230,7 +230,8 @@
|
||||
"text7": "Please wait for the next lot",
|
||||
"text8": "Sorry, bidding unsuccessful",
|
||||
"text9": "Bidding ended",
|
||||
"text10": "Bidding ended, thank you for participating"
|
||||
"text10": "Bidding ended, thank you for participating",
|
||||
"text11": "The bidding table has been updated"
|
||||
},
|
||||
"personal": {
|
||||
"title": "Please fill in your personal information",
|
||||
|
@ -230,7 +230,8 @@
|
||||
"text7": "次のロットをお待ちください",
|
||||
"text8": "申し訳ありません、落札失敗",
|
||||
"text9": "入札終了",
|
||||
"text10": "入札終了、ご参加ありがとうございました"
|
||||
"text10": "入札終了、ご参加ありがとうございました",
|
||||
"text11": "入札テーブルが更新されました"
|
||||
},
|
||||
"personal": {
|
||||
"title": "個人情報を入力してください",
|
||||
|
@ -230,7 +230,8 @@
|
||||
"text7": "请期待下个拍品",
|
||||
"text8": "很遗憾,竞拍失败",
|
||||
"text9": "竞拍结束",
|
||||
"text10": "竞拍结束,谢谢参与"
|
||||
"text10": "竞拍结束,谢谢参与",
|
||||
"text11": "竞价表已更新"
|
||||
},
|
||||
"personal": {
|
||||
"title": "请填写个人相关信息",
|
||||
|
@ -281,7 +281,8 @@
|
||||
"text7": "請期待下個拍品",
|
||||
"text8": "很遺憾,競拍失敗",
|
||||
"text9": "競拍結束",
|
||||
"text10": "競拍結束,謝謝參與"
|
||||
"text10": "競拍結束,謝謝參與",
|
||||
"text11": "競價表已更新"
|
||||
},
|
||||
"personal": {
|
||||
"title": "請填寫個人相關信息",
|
||||
|
Loading…
Reference in New Issue
Block a user