feat(admin): UI-01 embed slot config form and live preview
Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
@@ -739,7 +739,16 @@
|
||||
"langZh": "Chinese",
|
||||
"langEn": "English",
|
||||
"collapsedLabel": "Collapsed by default",
|
||||
"collapsedHint": "Show a small handle first; click to expand"
|
||||
"collapsedHint": "Show a small handle first; click to expand",
|
||||
"imageFitLabel": "Image fit",
|
||||
"imageFitContain": "Fit (contain)",
|
||||
"imageFitCover": "Fill & crop (cover)",
|
||||
"offsetXLabel": "Horizontal offset",
|
||||
"offsetBottomLabel": "Bottom offset",
|
||||
"zIndexLabel": "Layer (z-index)",
|
||||
"pxUnitOffsetX": "px (0-120)",
|
||||
"pxUnitOffsetBottom": "px (0-240)",
|
||||
"dirtyTag": "Unsaved"
|
||||
},
|
||||
"create": {
|
||||
"title": "New Embed Slot",
|
||||
@@ -775,8 +784,24 @@
|
||||
"copy": "Copy",
|
||||
"copied": "Embed code copied",
|
||||
"hint": "Paste the code into the host page to mount the floating carousel; later rebinding or toggling never requires changing this code.",
|
||||
"overrideHint": "Only explicitly overridden non-default fields are included (data-*); the rest follow the backend configuration, so backend changes apply without touching this code.",
|
||||
"close": "Close"
|
||||
},
|
||||
"preview": {
|
||||
"title": "Live preview",
|
||||
"hint": "Local mock data (no API calls, nothing written to the slot); form edits show up immediately and only take effect online after clicking Save.",
|
||||
"desktop": "Desktop preview",
|
||||
"mobile": "Mobile preview (narrow screen)",
|
||||
"badge": "Preview",
|
||||
"chatMock": "Live chat",
|
||||
"collapsedHint": "Narrow screens (<480px) force the small size and collapse by default",
|
||||
"widgetTitle": "Event photos",
|
||||
"handleText": "Photos",
|
||||
"collapseLabel": "Collapse preview",
|
||||
"viewAlbum": "View album",
|
||||
"photoLabel": "Sample photo {n}",
|
||||
"mockAlbumTitle": "Event Album"
|
||||
},
|
||||
"toast": {
|
||||
"enabledOn": "Enabled (configVersion increased to {version})",
|
||||
"enabledOff": "Disabled (configVersion increased to {version}; public feed returns 404)"
|
||||
|
||||
@@ -739,7 +739,16 @@
|
||||
"langZh": "中文",
|
||||
"langEn": "英文",
|
||||
"collapsedLabel": "默认收起",
|
||||
"collapsedHint": "初始仅展示小把手,点击展开"
|
||||
"collapsedHint": "初始仅展示小把手,点击展开",
|
||||
"imageFitLabel": "图片适配",
|
||||
"imageFitContain": "完整展示(contain)",
|
||||
"imageFitCover": "裁切填满(cover)",
|
||||
"offsetXLabel": "水平偏移",
|
||||
"offsetBottomLabel": "底部偏移",
|
||||
"zIndexLabel": "层级",
|
||||
"pxUnitOffsetX": "像素(0-120)",
|
||||
"pxUnitOffsetBottom": "像素(0-240)",
|
||||
"dirtyTag": "未保存"
|
||||
},
|
||||
"create": {
|
||||
"title": "新建展示位",
|
||||
@@ -775,8 +784,24 @@
|
||||
"copy": "复制",
|
||||
"copied": "已复制嵌入代码",
|
||||
"hint": "将代码粘贴到官网页面即可挂载悬浮轮播;后续换绑相册、启停均无需改动该代码。",
|
||||
"overrideHint": "代码仅包含显式设置的非默认字段(data-* 覆盖);其余字段以后台配置为准,后台修改即生效,无需改动此代码。",
|
||||
"close": "关闭"
|
||||
},
|
||||
"preview": {
|
||||
"title": "实时预览",
|
||||
"hint": "本地示例数据(不调用接口、不写展示位);表单修改即时反映,点击「保存」后才更新线上配置。",
|
||||
"desktop": "桌面预览",
|
||||
"mobile": "手机预览(窄屏)",
|
||||
"badge": "预览",
|
||||
"chatMock": "在线客服",
|
||||
"collapsedHint": "窄屏(<480px)强制小尺寸并默认收起",
|
||||
"widgetTitle": "活动照片",
|
||||
"handleText": "照片",
|
||||
"collapseLabel": "收起预览",
|
||||
"viewAlbum": "查看相册",
|
||||
"photoLabel": "示例照片 {n}",
|
||||
"mockAlbumTitle": "活动相册"
|
||||
},
|
||||
"toast": {
|
||||
"enabledOn": "已启用(configVersion 已递增至 {version})",
|
||||
"enabledOff": "已停用(configVersion 已递增至 {version},公开端随即 404)"
|
||||
|
||||
Reference in New Issue
Block a user