更换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 = {
|
||||
appName: 'Gin-Vue-Admin',
|
||||
appLogo: 'https://www.gin-vue-admin.com/img/logo.png',
|
||||
appName: '嚯奖学吧',
|
||||
appLogo: 'src/assets/logo.png',
|
||||
showViteLogo: true
|
||||
}
|
||||
|
||||
|
@ -16,7 +16,7 @@ $icon-arrow-size-aside:12px;
|
||||
$width-submenu-aside:55px;
|
||||
$height-aside-tilte:60px;
|
||||
$height-aside-img:30px;
|
||||
$width-aside-img:30px;
|
||||
$width-aside-img:50px;
|
||||
// header
|
||||
$height-header: 60px;
|
||||
// nav-scroll
|
||||
@ -33,4 +33,4 @@ $color-table-thead:#262626;
|
||||
$height-car:68px;
|
||||
// mobile
|
||||
$padding-xs: 5px;
|
||||
$margin-xs: 5px;
|
||||
$margin-xs: 5px;
|
||||
|
@ -565,7 +565,7 @@ li {
|
||||
justify-content: center;
|
||||
.logoimg {
|
||||
width: $width-aside-img;
|
||||
height: $height-aside-img;
|
||||
//height: $height-aside-img;
|
||||
background: #fff;
|
||||
border-radius: 50%;
|
||||
padding: 3px;
|
||||
@ -1223,4 +1223,4 @@ $mainHight: 100vh;
|
||||
|
||||
.justify-content-flex-end {
|
||||
justify-content: flex-end;
|
||||
}
|
||||
}
|
||||
|
@ -44,7 +44,7 @@ async function getCourseInfo() { // 获取课程信息
|
||||
const res = await api.getCourse({id:course_id.value})
|
||||
if(res.code === 0) {
|
||||
chapter_info.value = res.data.course_ware_json
|
||||
form.value = res.data
|
||||
form.value = res.data.course
|
||||
console.log(form.value)
|
||||
}
|
||||
}
|
||||
@ -203,7 +203,7 @@ function onSubmit() {
|
||||
<el-input placeholder="请输入课程价格" type="number" v-model="form.price" />
|
||||
</el-form-item>
|
||||
<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 label="包含试听">
|
||||
<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'
|
||||
// 变量
|
||||
const queryParams = ref({
|
||||
pageIndex:1,
|
||||
page:1,
|
||||
pageSize:10,
|
||||
keyword:''
|
||||
})
|
||||
|
@ -11,7 +11,7 @@ const router = useRouter()
|
||||
const route = useRoute()
|
||||
// 变量
|
||||
const queryParams = ref({
|
||||
pageIndex:1,
|
||||
page:1,
|
||||
pageSize:10,
|
||||
name:'',
|
||||
status:'',
|
||||
|
@ -9,6 +9,7 @@ const route = useRoute()
|
||||
// 变量
|
||||
const course_id = ref(0)
|
||||
const courseData = ref({})
|
||||
const baseInfo = ref({})
|
||||
// 生命周期
|
||||
onMounted(() => {
|
||||
course_id.value = route.params.course_id
|
||||
@ -19,10 +20,12 @@ async function getCourse() { // 获取课程信息
|
||||
const res = await api.getCourse({id:course_id.value})
|
||||
if(res.code === 0) {
|
||||
courseData.value = res.data
|
||||
baseInfo.value = res.data.course
|
||||
// console.log(res.data.course)
|
||||
}
|
||||
}
|
||||
function downloadChapterChildFunc(item) { // 点击下载
|
||||
console.log(item)
|
||||
// console.log(item)
|
||||
|
||||
window.open(row.url)
|
||||
}
|
||||
@ -38,19 +41,19 @@ function downloadChapterChildFunc(item) { // 点击下载
|
||||
</div>
|
||||
<div class="base-card">
|
||||
<div class="bc-left">课程名称:</div>
|
||||
<div class="bc-right">{{courseData.name}}</div>
|
||||
<div class="bc-right">{{baseInfo.name}}</div>
|
||||
</div>
|
||||
<div class="base-card">
|
||||
<div class="bc-left">课程科目:</div>
|
||||
<div class="bc-right">{{courseData.subject}}</div>
|
||||
<div class="bc-right">{{baseInfo.subject}}</div>
|
||||
</div>
|
||||
<div class="base-card">
|
||||
<div class="bc-left">课程状态:</div>
|
||||
<div class="bc-right">{{courseData.status === 1?'上架':'下架'}}</div>
|
||||
<div class="bc-right">{{baseInfo.status === 1?'上架':'下架'}}</div>
|
||||
</div>
|
||||
<div class="base-card">
|
||||
<div class="bc-left">课程价格:</div>
|
||||
<div class="bc-right">{{courseData.price}}</div>
|
||||
<div class="bc-right">{{baseInfo.price}}</div>
|
||||
</div>
|
||||
<div class="base-card">
|
||||
<div class="bc-left">教师姓名:</div>
|
||||
@ -58,11 +61,11 @@ function downloadChapterChildFunc(item) { // 点击下载
|
||||
</div>
|
||||
<div class="base-card">
|
||||
<div class="bc-left">创建时间:</div>
|
||||
<div class="bc-right">{{courseData.CreatedAt}}</div>
|
||||
<div class="bc-right">{{baseInfo.CreatedAt}}</div>
|
||||
</div>
|
||||
<div class="base-card">
|
||||
<div class="bc-left">课程简介:</div>
|
||||
<div class="bc-right">{{courseData.introduction}}</div>
|
||||
<div class="bc-right">{{baseInfo.intro}}</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -259,7 +259,7 @@ function handleSizeChange(val) {
|
||||
</el-upload>
|
||||
</el-form-item>
|
||||
<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 label="链接状态" prop="method">
|
||||
<el-switch v-model="form.lbtSkipUrlType" active-value="1" inactive-value="2" active-text="外链" inactive-text="内链" />
|
||||
|
Loading…
Reference in New Issue
Block a user