|
@@ -28,7 +28,7 @@
|
|
|
<div class="border_radius_16 gradient mt10 pt10">
|
|
<div class="border_radius_16 gradient mt10 pt10">
|
|
|
<div class="border_radius_16 bg_color_fff flex-center-between" style="padding:0 16px">
|
|
<div class="border_radius_16 bg_color_fff flex-center-between" style="padding:0 16px">
|
|
|
<div class="color_price">
|
|
<div class="color_price">
|
|
|
- <span class="bold font_size36">3999</span>
|
|
|
|
|
|
|
+ <span class="bold font_size36">{{info.coursePrice}}</span>
|
|
|
<span class="font_size18">{{$t('common.mibi')}}</span>
|
|
<span class="font_size18">{{$t('common.mibi')}}</span>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="flex-center-between">
|
|
<div class="flex-center-between">
|
|
@@ -43,11 +43,17 @@
|
|
|
<div class="flex-between mt20">
|
|
<div class="flex-between mt20">
|
|
|
<div class="flex_1 bg_color_fff padding16 border_radius_16 box_shadow_card mr20">
|
|
<div class="flex_1 bg_color_fff padding16 border_radius_16 box_shadow_card mr20">
|
|
|
<el-tabs v-model="activeName" class="demo-tabs">
|
|
<el-tabs v-model="activeName" class="demo-tabs">
|
|
|
- <el-tab-pane label="User" name="first">
|
|
|
|
|
-
|
|
|
|
|
|
|
+ <el-tab-pane :label="$t('common.kechengjieshao')" name="first">
|
|
|
|
|
+ <CourseDescription :info="info" />
|
|
|
</el-tab-pane>
|
|
</el-tab-pane>
|
|
|
- <el-tab-pane label="Task" name="fourth">
|
|
|
|
|
-
|
|
|
|
|
|
|
+ <el-tab-pane :label="$t('common.kechengmulu')" name="kechengmulu">
|
|
|
|
|
+ <CourseDirectory :info="info" />
|
|
|
|
|
+ </el-tab-pane>
|
|
|
|
|
+ <el-tab-pane :label="$t('common.pinglun')" name="pinglun">
|
|
|
|
|
+ <pinglun :info="info" />
|
|
|
|
|
+ </el-tab-pane>
|
|
|
|
|
+ <el-tab-pane :label="$t('common.xuxibiji')" name="xuxibiji">
|
|
|
|
|
+ <Xuxibiji :info="info" />
|
|
|
</el-tab-pane>
|
|
</el-tab-pane>
|
|
|
</el-tabs>
|
|
</el-tabs>
|
|
|
</div>
|
|
</div>
|
|
@@ -63,6 +69,10 @@
|
|
|
import playIcon from '@/assets/imgs/bofang.png'
|
|
import playIcon from '@/assets/imgs/bofang.png'
|
|
|
import zuIcon from '@/assets/imgs/zu.png'
|
|
import zuIcon from '@/assets/imgs/zu.png'
|
|
|
import Right from './components/right.vue'
|
|
import Right from './components/right.vue'
|
|
|
|
|
+ import CourseDescription from './components/CourseDescription.vue'
|
|
|
|
|
+ import CourseDirectory from './components/CourseDirectory.vue'
|
|
|
|
|
+ import Pinglun from './components/pinglun.vue'
|
|
|
|
|
+ import Xuxibiji from './components/xuxibiji.vue'
|
|
|
|
|
|
|
|
// 引入api
|
|
// 引入api
|
|
|
import { getCourseDetail } from '@/api/course.js'
|
|
import { getCourseDetail } from '@/api/course.js'
|
|
@@ -75,7 +85,7 @@
|
|
|
import { useAppStore } from '@/pinia/appStore'
|
|
import { useAppStore } from '@/pinia/appStore'
|
|
|
const appStore = useAppStore()
|
|
const appStore = useAppStore()
|
|
|
|
|
|
|
|
- const activeName = ref('first');
|
|
|
|
|
|
|
+ const activeName = ref('xuxibiji');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|