推进活动列表第一刀与联调回归
This commit is contained in:
@@ -45,7 +45,7 @@ function formatVariantSummary(result: BackendEventPlayResult): string {
|
||||
function formatPresentationSummary(result: BackendEventPlayResult): string {
|
||||
const currentPresentation = result.currentPresentation
|
||||
if (!currentPresentation) {
|
||||
return '当前未声明展示版本'
|
||||
return '当前发布 release 未绑定展示版本,或当前尚未发布'
|
||||
}
|
||||
|
||||
const presentationId = currentPresentation.presentationId || '--'
|
||||
@@ -57,7 +57,7 @@ function formatPresentationSummary(result: BackendEventPlayResult): string {
|
||||
function formatContentBundleSummary(result: BackendEventPlayResult): string {
|
||||
const currentContentBundle = result.currentContentBundle
|
||||
if (!currentContentBundle) {
|
||||
return '当前未声明内容包版本'
|
||||
return '当前发布 release 未绑定内容包版本,或当前尚未发布'
|
||||
}
|
||||
|
||||
const bundleId = currentContentBundle.bundleId || '--'
|
||||
@@ -147,6 +147,14 @@ Page({
|
||||
pageEventId: this.data.eventId || '',
|
||||
resultEventId: result.event.id || '',
|
||||
primaryAction: result.play.primaryAction || '',
|
||||
detailStatus: result.play.reason || '',
|
||||
detailCanLaunch: result.play.canLaunch,
|
||||
detailCurrentPresentation: result.currentPresentation
|
||||
? `${result.currentPresentation.presentationId || '--'} / ${result.currentPresentation.templateKey || '--'} / ${result.currentPresentation.version || '--'}`
|
||||
: '',
|
||||
detailCurrentContentBundle: result.currentContentBundle
|
||||
? `${result.currentContentBundle.bundleId || '--'} / ${result.currentContentBundle.bundleType || '--'} / ${result.currentContentBundle.version || '--'}`
|
||||
: '',
|
||||
assignmentMode,
|
||||
variantCount: result.play.courseVariants ? result.play.courseVariants.length : 0,
|
||||
},
|
||||
|
||||
@@ -13,8 +13,8 @@
|
||||
<view class="summary">状态:{{statusText}}</view>
|
||||
<view class="summary">赛道模式:{{variantModeText}}</view>
|
||||
<view class="summary">赛道摘要:{{variantSummaryText}}</view>
|
||||
<view class="summary">展示版本:{{presentationText}}</view>
|
||||
<view class="summary">内容包版本:{{contentBundleText}}</view>
|
||||
<view class="summary">当前发布展示版本:{{presentationText}}</view>
|
||||
<view class="summary">当前发布内容包版本:{{contentBundleText}}</view>
|
||||
<view class="actions">
|
||||
<button class="btn btn--secondary" bindtap="handleRefresh">刷新</button>
|
||||
<button class="btn btn--primary" bindtap="handleLaunch">前往准备页</button>
|
||||
|
||||
Reference in New Issue
Block a user