|
@@ -1998,7 +1998,13 @@ export default defineComponent({
|
|
|
: styles.rightColumnHide
|
|
|
]}>
|
|
|
{rightList.map((item: any) => (
|
|
|
- <div class={styles.columnItemBox}>
|
|
|
+ <div
|
|
|
+ class={[
|
|
|
+ styles.columnItemBox,
|
|
|
+ item.id === 14 && data.coursewareType === 'PPT'
|
|
|
+ ? styles.hideBtn
|
|
|
+ : ''
|
|
|
+ ]}>
|
|
|
<div
|
|
|
class={[
|
|
|
styles.columnItem,
|
|
@@ -2007,9 +2013,6 @@ export default defineComponent({
|
|
|
(item.id === 11 && !isUpArrow.value) ||
|
|
|
(item.id === 12 && !isDownArrow.value)
|
|
|
? styles.itemDisabled
|
|
|
- : '',
|
|
|
- item.id === 14 && data.coursewareType === 'PPT'
|
|
|
- ? styles.hideBtn
|
|
|
: ''
|
|
|
]}
|
|
|
onClick={() => operateRightBtn(item.id)}>
|
|
@@ -2076,7 +2079,13 @@ export default defineComponent({
|
|
|
: styles.leftColumnHide
|
|
|
]}>
|
|
|
{rightList.map((item: any) => (
|
|
|
- <div class={styles.columnItemBox}>
|
|
|
+ <div
|
|
|
+ class={[
|
|
|
+ styles.columnItemBox,
|
|
|
+ item.id === 14 && data.coursewareType === 'PPT'
|
|
|
+ ? styles.hideBtn
|
|
|
+ : ''
|
|
|
+ ]}>
|
|
|
<div
|
|
|
class={[
|
|
|
styles.columnItem,
|
|
@@ -2085,9 +2094,6 @@ export default defineComponent({
|
|
|
(item.id === 11 && !isUpArrow.value) ||
|
|
|
(item.id === 12 && !isDownArrow.value)
|
|
|
? styles.itemDisabled
|
|
|
- : '',
|
|
|
- item.id === 14 && data.coursewareType === 'PPT'
|
|
|
- ? styles.hideBtn
|
|
|
: ''
|
|
|
]}
|
|
|
onClick={() => operateRightBtn(item.id)}>
|