|
@@ -33,9 +33,13 @@ export default defineComponent({
|
|
|
dataJson: {
|
|
|
type: Object,
|
|
|
default: () => {}
|
|
|
- }
|
|
|
+ },
|
|
|
+ modeType : {
|
|
|
+ type: String,
|
|
|
+ default: ''
|
|
|
+ }
|
|
|
},
|
|
|
- setup() {
|
|
|
+ setup(props) {
|
|
|
const route = useRoute();
|
|
|
const state = reactive({
|
|
|
platform: route.query.platform, // microapp 老师端应用里面打开单独处理返回逻辑
|
|
@@ -121,24 +125,30 @@ export default defineComponent({
|
|
|
return () => (
|
|
|
<div class={[styles.tempoPractice, state.win === 'pc' ? styles.pc : '']}>
|
|
|
<div class={styles.head}>
|
|
|
- <div
|
|
|
- class={styles.back}
|
|
|
- onClick={goback}
|
|
|
- style={{ cursor: 'pointer' }}>
|
|
|
- <img src={icon_back} />
|
|
|
- </div>
|
|
|
+ {
|
|
|
+ props.modeType !== 'courseware' &&
|
|
|
+ <div
|
|
|
+ class={styles.back}
|
|
|
+ onClick={goback}
|
|
|
+ style={{ cursor: 'pointer' }}>
|
|
|
+ <img src={icon_back} />
|
|
|
+ </div>
|
|
|
+ }
|
|
|
<div class={styles.title}>
|
|
|
<img src={icon_title} />
|
|
|
</div>
|
|
|
- <div
|
|
|
- class={styles.back}
|
|
|
- style={{ cursor: 'pointer' }}
|
|
|
- onClick={() => {
|
|
|
- handleStop();
|
|
|
- state.settingStatus = true;
|
|
|
- }}>
|
|
|
- <img src={icon_setting} />
|
|
|
- </div>
|
|
|
+ {
|
|
|
+ props.modeType !== 'courseware' &&
|
|
|
+ <div
|
|
|
+ class={styles.back}
|
|
|
+ style={{ cursor: 'pointer' }}
|
|
|
+ onClick={() => {
|
|
|
+ handleStop();
|
|
|
+ state.settingStatus = true;
|
|
|
+ }}>
|
|
|
+ <img src={icon_setting} />
|
|
|
+ </div>
|
|
|
+ }
|
|
|
</div>
|
|
|
|
|
|
<div class={styles.conCon}>
|