更换logo
This commit is contained in:
parent
3970504c95
commit
02fc2a2619
BIN
favicon.ico
BIN
favicon.ico
Binary file not shown.
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 13 KiB |
BIN
favicon2.ico
Normal file
BIN
favicon2.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.2 KiB |
Binary file not shown.
Before Width: | Height: | Size: 7.9 KiB After Width: | Height: | Size: 13 KiB |
BIN
src/assets/logo2.png
Normal file
BIN
src/assets/logo2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 7.9 KiB |
@ -3,8 +3,8 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
const config = {
|
const config = {
|
||||||
appName: 'Gin-Vue-Admin',
|
appName: '嚯奖学吧',
|
||||||
appLogo: 'https://www.gin-vue-admin.com/img/logo.png',
|
appLogo: 'src/assets/logo.png',
|
||||||
showViteLogo: true
|
showViteLogo: true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@ $icon-arrow-size-aside:12px;
|
|||||||
$width-submenu-aside:55px;
|
$width-submenu-aside:55px;
|
||||||
$height-aside-tilte:60px;
|
$height-aside-tilte:60px;
|
||||||
$height-aside-img:30px;
|
$height-aside-img:30px;
|
||||||
$width-aside-img:30px;
|
$width-aside-img:50px;
|
||||||
// header
|
// header
|
||||||
$height-header: 60px;
|
$height-header: 60px;
|
||||||
// nav-scroll
|
// nav-scroll
|
||||||
|
@ -565,7 +565,7 @@ li {
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
.logoimg {
|
.logoimg {
|
||||||
width: $width-aside-img;
|
width: $width-aside-img;
|
||||||
height: $height-aside-img;
|
//height: $height-aside-img;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
padding: 3px;
|
padding: 3px;
|
||||||
|
@ -44,7 +44,7 @@ async function getCourseInfo() { // 获取课程信息
|
|||||||
const res = await api.getCourse({id:course_id.value})
|
const res = await api.getCourse({id:course_id.value})
|
||||||
if(res.code === 0) {
|
if(res.code === 0) {
|
||||||
chapter_info.value = res.data.course_ware_json
|
chapter_info.value = res.data.course_ware_json
|
||||||
form.value = res.data
|
form.value = res.data.course
|
||||||
console.log(form.value)
|
console.log(form.value)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -203,7 +203,7 @@ function onSubmit() {
|
|||||||
<el-input placeholder="请输入课程价格" type="number" v-model="form.price" />
|
<el-input placeholder="请输入课程价格" type="number" v-model="form.price" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="课程简介">
|
<el-form-item label="课程简介">
|
||||||
<el-input v-model="form.introduction" type="textarea" />
|
<el-input v-model="form.intro" type="textarea" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="包含试听">
|
<el-form-item label="包含试听">
|
||||||
<el-switch v-model="form.is_audition" active-text="是" inactive-text="否" :active-value="1" :inactive-value="-1" />
|
<el-switch v-model="form.is_audition" active-text="是" inactive-text="否" :active-value="1" :inactive-value="-1" />
|
||||||
|
@ -8,7 +8,7 @@ import {ref,onMounted } from 'vue'
|
|||||||
import { ElMessage, ElMessageBox } from 'element-plus'
|
import { ElMessage, ElMessageBox } from 'element-plus'
|
||||||
// 变量
|
// 变量
|
||||||
const queryParams = ref({
|
const queryParams = ref({
|
||||||
pageIndex:1,
|
page:1,
|
||||||
pageSize:10,
|
pageSize:10,
|
||||||
keyword:''
|
keyword:''
|
||||||
})
|
})
|
||||||
|
@ -11,7 +11,7 @@ const router = useRouter()
|
|||||||
const route = useRoute()
|
const route = useRoute()
|
||||||
// 变量
|
// 变量
|
||||||
const queryParams = ref({
|
const queryParams = ref({
|
||||||
pageIndex:1,
|
page:1,
|
||||||
pageSize:10,
|
pageSize:10,
|
||||||
name:'',
|
name:'',
|
||||||
status:'',
|
status:'',
|
||||||
|
@ -9,6 +9,7 @@ const route = useRoute()
|
|||||||
// 变量
|
// 变量
|
||||||
const course_id = ref(0)
|
const course_id = ref(0)
|
||||||
const courseData = ref({})
|
const courseData = ref({})
|
||||||
|
const baseInfo = ref({})
|
||||||
// 生命周期
|
// 生命周期
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
course_id.value = route.params.course_id
|
course_id.value = route.params.course_id
|
||||||
@ -19,10 +20,12 @@ async function getCourse() { // 获取课程信息
|
|||||||
const res = await api.getCourse({id:course_id.value})
|
const res = await api.getCourse({id:course_id.value})
|
||||||
if(res.code === 0) {
|
if(res.code === 0) {
|
||||||
courseData.value = res.data
|
courseData.value = res.data
|
||||||
|
baseInfo.value = res.data.course
|
||||||
|
// console.log(res.data.course)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
function downloadChapterChildFunc(item) { // 点击下载
|
function downloadChapterChildFunc(item) { // 点击下载
|
||||||
console.log(item)
|
// console.log(item)
|
||||||
|
|
||||||
window.open(row.url)
|
window.open(row.url)
|
||||||
}
|
}
|
||||||
@ -38,19 +41,19 @@ function downloadChapterChildFunc(item) { // 点击下载
|
|||||||
</div>
|
</div>
|
||||||
<div class="base-card">
|
<div class="base-card">
|
||||||
<div class="bc-left">课程名称:</div>
|
<div class="bc-left">课程名称:</div>
|
||||||
<div class="bc-right">{{courseData.name}}</div>
|
<div class="bc-right">{{baseInfo.name}}</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="base-card">
|
<div class="base-card">
|
||||||
<div class="bc-left">课程科目:</div>
|
<div class="bc-left">课程科目:</div>
|
||||||
<div class="bc-right">{{courseData.subject}}</div>
|
<div class="bc-right">{{baseInfo.subject}}</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="base-card">
|
<div class="base-card">
|
||||||
<div class="bc-left">课程状态:</div>
|
<div class="bc-left">课程状态:</div>
|
||||||
<div class="bc-right">{{courseData.status === 1?'上架':'下架'}}</div>
|
<div class="bc-right">{{baseInfo.status === 1?'上架':'下架'}}</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="base-card">
|
<div class="base-card">
|
||||||
<div class="bc-left">课程价格:</div>
|
<div class="bc-left">课程价格:</div>
|
||||||
<div class="bc-right">{{courseData.price}}</div>
|
<div class="bc-right">{{baseInfo.price}}</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="base-card">
|
<div class="base-card">
|
||||||
<div class="bc-left">教师姓名:</div>
|
<div class="bc-left">教师姓名:</div>
|
||||||
@ -58,11 +61,11 @@ function downloadChapterChildFunc(item) { // 点击下载
|
|||||||
</div>
|
</div>
|
||||||
<div class="base-card">
|
<div class="base-card">
|
||||||
<div class="bc-left">创建时间:</div>
|
<div class="bc-left">创建时间:</div>
|
||||||
<div class="bc-right">{{courseData.CreatedAt}}</div>
|
<div class="bc-right">{{baseInfo.CreatedAt}}</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="base-card">
|
<div class="base-card">
|
||||||
<div class="bc-left">课程简介:</div>
|
<div class="bc-left">课程简介:</div>
|
||||||
<div class="bc-right">{{courseData.introduction}}</div>
|
<div class="bc-right">{{baseInfo.intro}}</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -259,7 +259,7 @@ function handleSizeChange(val) {
|
|||||||
</el-upload>
|
</el-upload>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="说明" prop="lbtIntroduction">
|
<el-form-item label="说明" prop="lbtIntroduction">
|
||||||
<el-input type="number" v-model="form.lbtIntroduction" placeholder="说明" autocomplete="off" />
|
<el-input v-model="form.lbtIntroduction" placeholder="说明" autocomplete="off" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="链接状态" prop="method">
|
<el-form-item label="链接状态" prop="method">
|
||||||
<el-switch v-model="form.lbtSkipUrlType" active-value="1" inactive-value="2" active-text="外链" inactive-text="内链" />
|
<el-switch v-model="form.lbtSkipUrlType" active-value="1" inactive-value="2" active-text="外链" inactive-text="内链" />
|
||||||
|
Loading…
Reference in New Issue
Block a user