|
@@ -520,7 +520,8 @@ export default defineComponent({
|
|
|
const cnName = getInstrumentName(staffData.instrumentCodes, item.track)
|
|
|
return {
|
|
|
text: item.track + (cnName ? `(${cnName})` : ''),
|
|
|
- name: item.track + (cnName ? `(${cnName})` : ''), // true
|
|
|
+ // name: item.track + (cnName ? `(${cnName})` : ''), // true
|
|
|
+ name: cnName,
|
|
|
track: item.track,
|
|
|
musicPdfUrl: item.musicPdfUrl,
|
|
|
firstPdfUrl: item.firstPdfUrl,
|
|
@@ -564,10 +565,11 @@ export default defineComponent({
|
|
|
|
|
|
if (row.musicSheetType === 'SINGLE') {
|
|
|
staffData.musicPdfUrl = getCurrentPdf(row, row.scoreType)
|
|
|
-
|
|
|
+ staffData.isConcert = false;
|
|
|
// 生成的图片
|
|
|
// staffData.imgs = row.musicImg ? row.musicImg.split(',') : [];
|
|
|
} else {
|
|
|
+ staffData.isConcert = true;
|
|
|
// 初始化数据
|
|
|
// 是否显示总谱
|
|
|
if (staffData.isComberRender) {
|
|
@@ -997,17 +999,19 @@ export default defineComponent({
|
|
|
<p class={styles.finchLoad}>加载中...</p>
|
|
|
</>
|
|
|
)} */}
|
|
|
- <iframe
|
|
|
- id="staffIframeRef"
|
|
|
- style={{
|
|
|
- opacity: loading.value ? 0 : 1
|
|
|
- }}
|
|
|
- src={staffData.iframeSrc}
|
|
|
- onLoad={() => {
|
|
|
- loading.value = false
|
|
|
- // musicIframeLoad();
|
|
|
- }}
|
|
|
- ></iframe>
|
|
|
+ <div class={styles.musicDetail}>
|
|
|
+ <iframe
|
|
|
+ id="staffIframeRef"
|
|
|
+ style={{
|
|
|
+ opacity: loading.value ? 0 : 1
|
|
|
+ }}
|
|
|
+ src={staffData.iframeSrc}
|
|
|
+ onLoad={() => {
|
|
|
+ loading.value = false
|
|
|
+ // musicIframeLoad();
|
|
|
+ }}
|
|
|
+ ></iframe>
|
|
|
+ </div>
|
|
|
</>
|
|
|
)}
|
|
|
</>
|