feat: 添加小程序二维码标题和体验版提示信息
Some checks failed
Node CI / build (14.x, macOS-latest) (push) Has been cancelled
Node CI / build (14.x, ubuntu-latest) (push) Has been cancelled
Node CI / build (14.x, windows-latest) (push) Has been cancelled
Node CI / build (16.x, macOS-latest) (push) Has been cancelled
Node CI / build (16.x, ubuntu-latest) (push) Has been cancelled
Node CI / build (16.x, windows-latest) (push) Has been cancelled
CodeQL / Analyze (javascript) (push) Has been cancelled
coverage CI / build (push) Has been cancelled
Node pnpm CI / build (16.x, macOS-latest) (push) Has been cancelled
Node pnpm CI / build (16.x, ubuntu-latest) (push) Has been cancelled
Node pnpm CI / build (16.x, windows-latest) (push) Has been cancelled

This commit is contained in:
2026-07-23 17:23:13 +08:00
parent 2fbba8a993
commit b4b17f2ada
3 changed files with 300 additions and 1 deletions

View File

@@ -597,7 +597,11 @@ const OutdoorFairList: React.FC = () => {
)}
</Modal>
<Modal
title="招聘会小程序二维码"
title={
miniProgramQrInfo?.envVersion === 'trial'
? '招聘会小程序二维码(体验版)'
: '招聘会小程序二维码'
}
open={miniProgramQrModalOpen}
width={420}
footer={[
@@ -628,6 +632,11 @@ const OutdoorFairList: React.FC = () => {
<Typography.Text strong style={{ marginTop: 16, fontSize: 16 }}>
使
</Typography.Text>
{miniProgramQrInfo.envVersion === 'trial' && (
<Typography.Text type="warning" style={{ marginTop: 8 }}>
访
</Typography.Text>
)}
{miniProgramQrInfo.permanent && (
<Typography.Text type="secondary" style={{ marginTop: 8 }}>

View File

@@ -139,6 +139,8 @@ export interface OutdoorFairMiniProgramQrCodeInfo {
fairId: number;
page: string;
scene: string;
/** 小程序目标版本:当前尚未正式发布,默认为体验版 trial。 */
envVersion: 'trial' | 'release' | 'develop';
imageData: string;
/** getUnlimitedQRCode 生成的小程序码长期有效。 */
permanent: boolean;