|
|
@@ -1,17 +1,33 @@
|
|
|
<template>
|
|
|
<tab-side-component>
|
|
|
- <h1 class="title">新建课程</h1>
|
|
|
+ <back-title>新建课程</back-title>
|
|
|
+ <div class="sub-title">课程名称:</div>
|
|
|
+ <c-input placeholder="请勿与已有课程名称重名"/>
|
|
|
+ <div class="sub-title">课程简介:</div>
|
|
|
+ <c-input textarea="true" placeholder="请勿与已有课程名称重名"/>
|
|
|
+ <div class="sub-title">选课码:</div>
|
|
|
+ <c-input placeholder="学生将通过选课码注册课程"/>
|
|
|
+ <c-button>确认创建</c-button>
|
|
|
</tab-side-component>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
import TabSideComponent from '@/components/TabSideComponent'
|
|
|
+import CInput from '@/components/CInput'
|
|
|
+import CButton from '@/components/CButton'
|
|
|
+import BackTitle from '@/components/BackTitle'
|
|
|
|
|
|
export default {
|
|
|
- components: { TabSideComponent }
|
|
|
+ components: { BackTitle, CButton, CInput, TabSideComponent }
|
|
|
}
|
|
|
</script>
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
-
|
|
|
+.c-input {
|
|
|
+ margin-bottom: 24px;
|
|
|
+}
|
|
|
+.title {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+}
|
|
|
</style>
|