diff --git a/pages/center/Piabodata/TrendAnalysis.vue b/pages/center/Piabodata/TrendAnalysis.vue index 6ac9603..0011e72 100644 --- a/pages/center/Piabodata/TrendAnalysis.vue +++ b/pages/center/Piabodata/TrendAnalysis.vue @@ -57,11 +57,14 @@ 对比:{{index==1?item.num1+'%':item.num1}} diff --git a/pages/learning/Equinoctial/index.vue b/pages/learning/Equinoctial/index.vue index 2179ed4..3f72e78 100644 --- a/pages/learning/Equinoctial/index.vue +++ b/pages/learning/Equinoctial/index.vue @@ -34,23 +34,22 @@ - - 标签 - - {{biaoqian}} - - + @@ -116,7 +115,7 @@ + 写评价 @@ -207,13 +206,29 @@ startFile: '', num: 0, //上拉 转写文件下标 Bnum: 0, //下拉 转写文件下标 + pageInfo: {}, // 当前转写页面的值 ACTION: Symbol('zaudio'), // 唯一值区分每个页面的方法 isPageHide: false, // 是否息屏 duration: '', + }; }, + + computed: { + // 通过时间戳筛选找到需要展示的加精标签 + refinement() { + return timestamp => { + if (this.pageInfo.zatd instanceof Array) { + return this.pageInfo.zatd.findIndex(item => (item.startTime == timestamp.bg && item.jjTransfer == timestamp.onebest)) != -1 + } else { + return false + } + } + } + }, + onLoad(options) { this.startTime = options.startTime this.customerId = options.customerId; @@ -473,6 +488,7 @@ }, success: (data) => { if (data.data.code == 10000) { + this.pageInfo = data.data.data const jsonInfo = JSON.parse(data.data.data.audioContent); this.dialogList.push({ message: jsonInfo @@ -753,6 +769,43 @@ } } + .tags { + max-width: 85rpx; + height: 38rpx; + font-size: 24rpx; + color: #333333; + text-align: center; + line-height: 38rpx; + border-radius: 2rpx; + border: 1px solid #979797; + } + + .tags-t { + max-width: 171rpx; + height: 38rpx; + background: #008EF2; + border-radius: 2rpx; + display: flex; + align-items: center; + margin-left: 10rpx; + + .tags-t-c { + width: 126rpx; + height: 38rpx; + line-height: 38rpx; + font-size: 24rpx; + color: #FFFFFF; + text-align: center; + overflow: hidden; + + .tipsss { + width: 37rpx; + height: 37rpx; + line-height: 37rpx; + } + } + } + .biaoqiantom { background-color: #008EF2; color: #FFFFFF;