style(douyu): 调整领取页标题与客服文案
This commit is contained in:
@@ -43,7 +43,7 @@ const STATUS_LABELS: Record<string, string> = {
|
|||||||
qr_pending: '待扫码',
|
qr_pending: '待扫码',
|
||||||
role_ready: '待确认角色',
|
role_ready: '待确认角色',
|
||||||
bound: '角色已绑定',
|
bound: '角色已绑定',
|
||||||
waiting_operator: '待运营处理',
|
waiting_operator: '待客服处理',
|
||||||
processing: '处理中',
|
processing: '处理中',
|
||||||
completed: '已完成',
|
completed: '已完成',
|
||||||
failed: '失败',
|
failed: '失败',
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ const STATUS_LABELS: Record<string, string> = {
|
|||||||
qr_pending: '等待扫码绑定',
|
qr_pending: '等待扫码绑定',
|
||||||
role_ready: '请确认游戏角色',
|
role_ready: '请确认游戏角色',
|
||||||
bound: '角色已绑定',
|
bound: '角色已绑定',
|
||||||
waiting_operator: '等待客服处理',
|
waiting_operator: '待客服处理',
|
||||||
processing: '正在兑换',
|
processing: '正在兑换',
|
||||||
completed: '领取完成',
|
completed: '领取完成',
|
||||||
failed: '处理失败',
|
failed: '处理失败',
|
||||||
@@ -185,7 +185,7 @@ export default function DouyuFulfillmentPage() {
|
|||||||
task && (live?.bindConfirmed || task.status === 'waiting_operator' || task.status === 'bound'),
|
task && (live?.bindConfirmed || task.status === 'waiting_operator' || task.status === 'bound'),
|
||||||
)
|
)
|
||||||
const bindingDescription = live?.bindConfirmed
|
const bindingDescription = live?.bindConfirmed
|
||||||
? '角色绑定已完成,等待客服处理。'
|
? '角色绑定已完成,待客服处理。'
|
||||||
: live?.bindReadyForConfirm
|
: live?.bindReadyForConfirm
|
||||||
? '已识别游戏角色,请核对并确认绑定。'
|
? '已识别游戏角色,请核对并确认绑定。'
|
||||||
: live?.message || '请使用微信扫描下方二维码,按提示选择和平精英角色。二维码仅用于本次订单。'
|
: live?.message || '请使用微信扫描下方二维码,按提示选择和平精英角色。二维码仅用于本次订单。'
|
||||||
@@ -229,7 +229,7 @@ export default function DouyuFulfillmentPage() {
|
|||||||
try {
|
try {
|
||||||
const response = await confirmDouyuBinding(orderNo)
|
const response = await confirmDouyuBinding(orderNo)
|
||||||
applyData(response.data)
|
applyData(response.data)
|
||||||
message.success('角色绑定已确认,等待客服处理')
|
message.success('角色绑定已确认,待客服处理')
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
message.error(error instanceof Error ? error.message : '确认角色绑定失败')
|
message.error(error instanceof Error ? error.message : '确认角色绑定失败')
|
||||||
} finally {
|
} finally {
|
||||||
@@ -347,7 +347,7 @@ export default function DouyuFulfillmentPage() {
|
|||||||
</section>
|
</section>
|
||||||
) : waitingForSupport ? (
|
) : waitingForSupport ? (
|
||||||
<section className="customer-binding-stage">
|
<section className="customer-binding-stage">
|
||||||
<Alert type="success" showIcon message="等待客服处理" />
|
<Alert type="success" showIcon message="待客服处理" />
|
||||||
</section>
|
</section>
|
||||||
) : (
|
) : (
|
||||||
<section className="customer-binding-stage">
|
<section className="customer-binding-stage">
|
||||||
|
|||||||
@@ -2978,9 +2978,9 @@
|
|||||||
|
|
||||||
.customer-auth-page.is-douyu .customer-auth-hero {
|
.customer-auth-page.is-douyu .customer-auth-hero {
|
||||||
min-height: 148px;
|
min-height: 148px;
|
||||||
align-items: flex-start;
|
align-items: flex-end;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
padding: 20px 16px 18px;
|
padding: 0 16px 18px;
|
||||||
background-color: #111827;
|
background-color: #111827;
|
||||||
background-image:
|
background-image:
|
||||||
linear-gradient(180deg, rgba(11, 18, 32, 0.08) 0%, rgba(11, 18, 32, 0.56) 68%, #232936 100%),
|
linear-gradient(180deg, rgba(11, 18, 32, 0.08) 0%, rgba(11, 18, 32, 0.56) 68%, #232936 100%),
|
||||||
@@ -2992,7 +2992,7 @@
|
|||||||
|
|
||||||
.customer-auth-page.is-douyu .customer-auth-brand {
|
.customer-auth-page.is-douyu .customer-auth-brand {
|
||||||
width: auto;
|
width: auto;
|
||||||
align-items: flex-start;
|
align-items: flex-end;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user