人生啊人生 hai 1 mes
pai
achega
983130a34f
Modificáronse 1 ficheiros con 24 adicións e 1 borrados
  1. 24 1
      src/view/student/trainChapter/trainAssessment.vue

+ 24 - 1
src/view/student/trainChapter/trainAssessment.vue

@@ -1,11 +1,28 @@
 <template>
     <div class="trainAssessment">
         
+        <div class="topRight" >
+            <NavMenus></NavMenus>
+        </div>
+        
+
         三维实训场景
 
     </div>
 </template>
 <script setup lang="ts">
+import { onMounted, reactive, computed, watch, onUnmounted, nextTick, ref } from 'vue';
+import NavMenus from '../components/navMenus.vue';
+import { useRoute } from 'vue-router';
+const route = useRoute();
+const taskId = route.params.taskId as string;
+const studentTaskId = route.params.studentTaskId as string;
+
+onMounted(() => {
+
+    console.log("taskId", taskId, studentTaskId);
+
+});
 
 </script>
 <style lang="scss" scoped>
@@ -17,7 +34,13 @@
     width: 100%;
     height: 100%;
 
-    
+    .topRight {
+        position: absolute;
+        right: 0rem;
+        top: 6rem;
+        z-index: 100;
+    }
+
 }