更换logo

This commit is contained in:
axlrose2333 2023-02-16 18:03:36 +08:00
parent 3970504c95
commit 02fc2a2619
12 changed files with 21 additions and 18 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 13 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.9 KiB

View File

@ -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
}

View File

@ -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;

View File

@ -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;
}
}

View File

@ -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" />

View File

@ -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:''
})

View File

@ -11,7 +11,7 @@ const router = useRouter()
const route = useRoute()
//
const queryParams = ref({
pageIndex:1,
page:1,
pageSize:10,
name:'',
status:'',

View File

@ -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>

View File

@ -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="内链" />