修改线上服务器为本地服务器

develoop
lijiaqi 4 months ago
parent 36a0aa9774
commit 3b2fe69a6f
  1. 4
      .env.development
  2. 15
      src/api/courseChaptersApi.ts
  3. 44
      src/utils/request.ts
  4. 66
      src/views/course/CourseObjectives.vue
  5. 55
      src/views/course/CourseObjectives111.vue
  6. 5
      src/views/course/basicCourseInformation.vue
  7. 10
      src/views/course/components/courseEdit.vue
  8. 321
      src/views/course/courseDetails.vue

@ -1,5 +1,5 @@
# 变量必须以 VITE_ 为前缀才能暴露给外部读取 # 变量必须以 VITE_ 为前缀才能暴露给外部读取
NODE_ENV = 'development' NODE_ENV = 'development'
VITE_APP_TITLE = '无糖运营平台' VITE_APP_TITLE = '无糖运营平台'
# VITE_APP_BASE_API = 'http://127.0.0.1:8008' VITE_APP_BASE_API = 'http://127.0.0.1:8080'
VITE_APP_BASE_API = 'http://39.106.16.162:8080' # VITE_APP_BASE_API = 'http://39.106.16.162:8080'

@ -96,20 +96,7 @@ export const deleteCourse = (params: any) => {
// 获取详情 // 获取详情
export const getCourseInfo = (params: any) => { export const getCourseInfo = (params: any) => {
return request({ return request({
// <<<<<<< HEAD url: '/api/objective_contents/' + params.id,
url: '/objective_contents/' + params.id,
method: 'get',
// // params
// =======
// <<<<<<< HEAD
// url: '/api/objective_contents/' + params.id,
// method: 'get', // method: 'get',
// params,
// =======
// url: '/objective_contents/' + params.id,
// method: "get",
// // params
// >>>>>>> 1a620e19de970965f426e07348b1dbc4be900eaf
// >>>>>>> 991fa5ab08c56c84c5a276226f8fbc2ec78f859a
}) })
} }

@ -21,28 +21,28 @@ request.interceptors.response.use(
}, },
(error) => { (error) => {
//处理网络错误 //处理网络错误
let msg = '' // let msg = ''
const status = error.response.status // const status = error.response.status
switch (status) { // switch (status) {
case 401: // case 401:
msg = 'token过期' // msg = 'token过期'
break // break
case 403: // case 403:
msg = '无权访问' // msg = '无权访问'
break // break
case 404: // case 404:
msg = '请求地址错误' // msg = '请求地址错误'
break // break
case 500: // case 500:
msg = '服务器出现问题' // msg = '服务器出现问题'
break // break
default: // default:
msg = '无网络' // msg = '出错了'
} // }
ElMessage({ // ElMessage({
type: 'error', // type: 'error',
message: msg, // message: msg,
}) // })
return Promise.reject(error) return Promise.reject(error)
}, },
) )

@ -46,8 +46,9 @@ const addBook = (id) => {
flog.value = false flog.value = false
// updateDisabledStatus() // updateDisabledStatus()
} }
const text = ref('我是后台获取的值') const text = ref('')
const textChange = (val) => { const textChange = (val) => {
text.value = val
console.log(text.value) console.log(text.value)
} }
// //
@ -161,7 +162,7 @@ const data = ref({})
const courseId = ref(0) const courseId = ref(0)
onMounted(async () => { onMounted(async () => {
if (!Object.keys(route.query).length) { if (!Object.keys(route.query).length) {
return router.push('/curriculumCenter/CourseObjectives') return router.push('/curriculumCenter/basicCourseInformation')
} }
courseId.value = route.query.id courseId.value = route.query.id
console.log(courseId.value) console.log(courseId.value)
@ -333,13 +334,13 @@ onMounted(async () => {
<template> <template>
<div class="container"> <div class="container">
<div class="leftContent"> <div class="leftContent">
<!-- <div class="topContent"> <div class="topContent">
<div class="title">| 课程总目标</div> <div class="title">| 课程总目标</div>
<div class="content1"> <div class="content1">
<textarea class="textarea" @change="textChange" v-model="text"> <textarea class="textarea" @change="textChange" v-model="text">
文本内容</textarea> 文本内容</textarea>
</div> </div>
</div> --> </div>
<div class="footContent"> <div class="footContent">
<div class="title">| 分目标雷达图</div> <div class="title">| 分目标雷达图</div>
<div class="content3"> <div class="content3">
@ -356,13 +357,13 @@ onMounted(async () => {
padding: 0 20px; padding: 0 20px;
height: 60px; height: 60px;
"> ">
<div class="left2">| 课程目标</div> <div class="left2">| 课程目标</div>
<div class="right2"> <div class="right2">
<!-- <el-button type="primary" @click="addBook">新增</el-button> --> <!-- <el-button type="primary" @click="addBook">新增</el-button> -->
</div> </div>
</div> </div>
<div class="content2"> <div class="content2">
<el-scrollbar height="370px"> <el-scrollbar height="600px">
<ul class="objectLi"> <ul class="objectLi">
<li v-for="(item, index) in data.courseObjectivesTrees" :key="item.id"> <li v-for="(item, index) in data.courseObjectivesTrees" :key="item.id">
<div class="courseObject"> <div class="courseObject">
@ -413,6 +414,12 @@ onMounted(async () => {
<el-dialog v-if="dialogVisible" v-model="dialogVisible" :title="flog ? '编辑' : '新增'" width="500" <el-dialog v-if="dialogVisible" v-model="dialogVisible" :title="flog ? '编辑' : '新增'" width="500"
:before-close="handleClose"> :before-close="handleClose">
<el-form :model="formData" label-width="auto" style="max-width: 600px"> <el-form :model="formData" label-width="auto" style="max-width: 600px">
<!-- <el-form-item label="目标" prop="target">
<el-select v-model="formData.target" placeholder="Select" size="large" style="width: 240px">
<el-option v-for="item in targetList" :key="item.id" :label="item.label" :value="item.id"
:disabled="item.disabled" />
</el-select>
</el-form-item> -->
<el-form-item label="内容" prop="description"> <el-form-item label="内容" prop="description">
<el-input v-model="formData.description" placeholder="请输入内容"></el-input> <el-input v-model="formData.description" placeholder="请输入内容"></el-input>
</el-form-item> </el-form-item>
@ -441,7 +448,8 @@ const li
display: flex; display: flex;
flex-direction: row; flex-direction: row;
flex-wrap: nowrap; flex-wrap: nowrap;
width: 70%; width: 100%;
padding: 0 10px 0 10px; padding: 0 10px 0 10px;
justify-content: space-around; justify-content: space-around;
} }
@ -451,10 +459,18 @@ const li
height: 730px; height: 730px;
margin: 10px; margin: 10px;
.topContent {
border-radius: 20px 20px 0 0px;
height: 280px;
background-color: #74deff;
margin-button: 5px;
background-image: linear-gradient(to right, #4984ff, #74deff);
}
.footContent { .footContent {
border-radius: 20px; border-radius: 20px;
// margin-top: 20px; margin-top: 20px;
height: 230px; height: 430px;
background-color: #ffa674; background-color: #ffa674;
background-image: linear-gradient(to right, #f9e397, #ffa674); background-image: linear-gradient(to right, #f9e397, #ffa674);
} }
@ -462,8 +478,8 @@ const li
.rightContent { .rightContent {
margin: 10px; margin: 10px;
width: 550px; width: 950px;
height: 430px; height: 730px;
background-image: linear-gradient(to right, #4984ff, #74deff); background-image: linear-gradient(to right, #4984ff, #74deff);
border-radius: 20px; border-radius: 20px;
} }
@ -478,16 +494,38 @@ const li
padding-top: 10px; padding-top: 10px;
} }
.content1 {
border-radius: 20px 20px 0 0px;
margin-top: 20px;
width: 100%;
height: 220px;
background-color: #fff;
background-image: linear-gradient(#c7e3ff, #ffffff);
.textarea {
width: 100%;
border: none;
background: transparent;
padding: 20px;
height: 215px;
}
p {
padding: 30px;
font-size: 16px;
}
}
.content2 { .content2 {
border-radius: 20px; border-radius: 20px;
padding: 10px; padding: 10px;
width: 100%; width: 100%;
height: 370px; height: 670px;
background-color: #fff; background-color: #fff;
background-image: linear-gradient(#c7e3ff, #ffffff); background-image: linear-gradient(#c7e3ff, #ffffff);
.objectLi>li { .objectLi>li {
// width: 545px; width: 845px;
height: 250px; height: 250px;
// margin: 40px; // margin: 40px;
// background-color: #ffffff; // background-color: #ffffff;
@ -531,7 +569,7 @@ const li
.small>li { .small>li {
// display: inline-flex; // display: inline-flex;
// width: 650px; width: 650px;
height: 150px; height: 150px;
// margin: 40px; // margin: 40px;
background-color: #ffffff; background-color: #ffffff;

@ -108,15 +108,15 @@ const close = () => {
dialogVisible.value = false dialogVisible.value = false
} }
// //
const filterTarger = (target) => { // const filterTarger = (target) => {
const res = targetList.value.find((item) => { // const res = targetList.value.find((item) => {
if (item.id === target) { // if (item.id === target) {
console.log(item) // console.log(item)
return item // return item
} // }
}) // })
return res.label // return res.label
} // }
// //
const flog = ref(false) const flog = ref(false)
@ -166,7 +166,7 @@ onMounted(async () => {
const res = await getCourseList({ id: courseId.value }) const res = await getCourseList({ id: courseId.value })
console.log(res) console.log(res)
list.value = res.data list.value = res.data
console.log(list.value) console.log(list.value, 'list.value')
content88.value = list.value[0].contents[0].content content88.value = list.value[0].contents[0].content
console.log(list.value[0].contents[0].content) console.log(list.value[0].contents[0].content)
console.log(content88.value) console.log(content88.value)
@ -233,17 +233,14 @@ onMounted(async () => {
</div> </div>
</div> </div>
<div class="rightContent"> <div class="rightContent">
<div <div class="title" style="
class="title"
style="
width: 100%; width: 100%;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
padding: 0 20px; padding: 0 20px;
height: 60px; height: 60px;
" ">
>
<div class="left2">| 课程分目标</div> <div class="left2">| 课程分目标</div>
<div class="right2"> <div class="right2">
<!-- <el-button type="primary" @click="addBook">新增</el-button> --> <!-- <el-button type="primary" @click="addBook">新增</el-button> -->
@ -276,18 +273,10 @@ onMounted(async () => {
<!-- {{ filterTarger(obj.targetId) }} --> <!-- {{ filterTarger(obj.targetId) }} -->
</div> </div>
<div class="partObject2"> <div class="partObject2">
<el-button <el-button class="edit" type="text" @click="editBook(obj)">
class="edit"
type="text"
@click="editBook(obj)"
>
编辑 编辑
</el-button> </el-button>
<el-button <el-button class="destroy" type="text" @click="del(obj.id)">
class="destroy"
type="text"
@click="del(obj.id)"
>
删除 删除
</el-button> </el-button>
</div> </div>
@ -305,13 +294,7 @@ onMounted(async () => {
</div> </div>
</div> </div>
</div> </div>
<el-dialog <el-dialog v-if="dialogVisible" v-model="dialogVisible" title="新增目标" width="500" :before-close="handleClose">
v-if="dialogVisible"
v-model="dialogVisible"
title="新增目标"
width="500"
:before-close="handleClose"
>
<el-form :model="formData" label-width="auto" style="max-width: 600px"> <el-form :model="formData" label-width="auto" style="max-width: 600px">
<!-- <el-form-item label="目标" prop="target"> <!-- <el-form-item label="目标" prop="target">
<el-select v-model="formData.target" placeholder="Select" size="large" style="width: 240px"> <el-select v-model="formData.target" placeholder="Select" size="large" style="width: 240px">
@ -320,10 +303,7 @@ onMounted(async () => {
</el-select> </el-select>
</el-form-item> --> </el-form-item> -->
<el-form-item label="内容" prop="description"> <el-form-item label="内容" prop="description">
<el-input <el-input v-model="formData.description" placeholder="请输入内容"></el-input>
v-model="formData.description"
placeholder="请输入内容"
></el-input>
</el-form-item> </el-form-item>
</el-form> </el-form>
<template #footer> <template #footer>
@ -433,6 +413,7 @@ const li
// background-color: #ffffff; // background-color: #ffffff;
border-radius: 5px; border-radius: 5px;
margin: 20px; margin: 20px;
.courseObject { .courseObject {
height: 45px; height: 45px;
line-height: 40px; line-height: 40px;
@ -457,6 +438,7 @@ const li
} }
} }
} }
// overflow-y: auto // overflow-y: auto
.smallContent { .smallContent {
// border-radius: 20px; // border-radius: 20px;
@ -466,6 +448,7 @@ const li
background-color: #fff; background-color: #fff;
background-image: linear-gradient(#c7e3ff, #ffffff); background-image: linear-gradient(#c7e3ff, #ffffff);
} }
.small>li { .small>li {
// display: inline-flex; // display: inline-flex;
width: 750px; width: 750px;

@ -119,17 +119,20 @@ const onDeleteCourse = async (id: any) => {
}) })
await deleteCourseApi(id) await deleteCourseApi(id)
.then(() => { .then(() => {
console.log(id, '删除id')
ElMessage.success('删除成功') ElMessage.success('删除成功')
// console.log(res) // console.log(res)
}) })
.catch((err: any) => { .catch((err: any) => {
console.log(id, 'id')
ElMessage.error(err.response.data.message) ElMessage.error(err.response.data.message)
}) })
getCourseList() getCourseList()
} }
// id // id
const onGetCourseObject = async (id: any) => { const onGetCourseObject = async (id: any) => {
console.log(id, 'id')
// const res = await getCourseObjectApi(id) // const res = await getCourseObjectApi(id)
router.push({ router.push({
path: '/curriculumCenter/courseDetails', path: '/curriculumCenter/courseDetails',

@ -57,7 +57,7 @@ const rules = {
trigger: 'blur', trigger: 'blur',
}, },
{ {
pattern: /^[a-zA-Z\u4e00-\u9fa5A-Z0-9]*$/, pattern: /^[a-zA-Z\u4e00-\u9fa5A-Z]*$/,
message: '只能输入汉字或字母', message: '只能输入汉字或字母',
trigger: 'blur', trigger: 'blur',
}, },
@ -176,8 +176,14 @@ const onSubmit = async () => {
console.log(formModel.value, 'formModel.value') console.log(formModel.value, 'formModel.value')
// console.log(formModel.value) // console.log(formModel.value)
await addCourseApi(formModel.value) await addCourseApi(formModel.value)
.then(() => {
ElMessage.success('添加成功') ElMessage.success('添加成功')
// console.log(res)
})
.catch((err: any) => {
// console.log(err)
ElMessage.error(err.response.data.message)
})
// //
emit('CloseCouresNameChange') emit('CloseCouresNameChange')

@ -40,15 +40,17 @@ const formData = ref({
description: '', description: '',
}) })
const activeIndex = ref(0) const activeIndex = ref(0)
const addBook = (id) => { //
const addPoint = (id) => {
console.log(id, 'id')
activeIndex.value = id activeIndex.value = id
dialogVisible.value = true dialogVisible.value = true
flog.value = false flog.value = false
// updateDisabledStatus() // updateDisabledStatus()
} }
const text = ref('我是后台获取的值') const text = ref('')
const textChange = (val) => { const textChange = (val) => {
console.log(text.value) console.log(text.value, 'text.value')
} }
// //
const dialogVisible = ref(false) const dialogVisible = ref(false)
@ -57,23 +59,23 @@ const handleClose = () => {
dialogVisible.value = false dialogVisible.value = false
} }
// //
const submit = async () => { // const submit = async () => {
if (flog.value) { // if (flog.value) {
await editCourse({ // await editCourse({
...editdata.value, // ...editdata.value,
content: formData.value.description, // content: formData.value.description,
}) // })
} else { // } else {
await addCourse({ // await addCourse({
objectiveId: activeIndex.value, // objectiveId: activeIndex.value,
content: formData.value.description, // content: formData.value.description,
}) // })
} // }
getList() // getList()
dialogVisible.value = false // dialogVisible.value = false
formData.value.description = '' // formData.value.description = ''
activeIndex.value = '' // activeIndex.value = ''
} // }
const close = () => { const close = () => {
formData.value = { formData.value = {
id: null, id: null,
@ -83,31 +85,49 @@ const close = () => {
dialogVisible.value = false dialogVisible.value = false
} }
// //
const filterTarger = (target) => { // const filterTarger = (target) => {
const res = targetList.value.find((item) => { // const res = targetList.value.find((item) => {
if (item.id === target) { // if (item.id === target) {
console.log(item) // console.log(item, 'item')
return item // return item
} // }
}) // })
return res.label // return res.label
} // }
const editdata = ref({ id: '', objectiveId: '' }) const editdata = ref({ id: '', objectiveId: '' })
// //
const flog = ref(false) const flog = ref(false)
const editBook = async (obj) => { const editBook = async (obj) => {
//
const res = await getCourseInfo({ id: obj.id }) const res = await getCourseInfo({ id: obj.id })
console.log(res, '回显res')
editdata.value.id = res.data.id editdata.value.id = res.data.id
editdata.value.objectiveId = res.data.objectiveId editdata.value.objectiveId = res.data.objectiveId
flog.value = true flog.value = true
console.log(obj) // console.log(obj, 'obj')
activeIndex.value = res.data.id activeIndex.value = res.data.id
// formData.value.id = obj.id
// formData.value.target = obj.targetId
formData.value.description = res.data.content formData.value.description = res.data.content
dialogVisible.value = true dialogVisible.value = true
} }
//
const submit = async () => {
if (flog.value) {
await editCourse({
...editdata.value,
content: formData.value.description,
})
} else {
await addCourse({
objectiveId: activeIndex.value,
content: formData.value.description,
})
}
getList()
dialogVisible.value = false
formData.value.description = ''
activeIndex.value = ''
}
//
const del = async (obj) => { const del = async (obj) => {
await ElMessageBox.confirm('你确认要删除该课程目标吗', '温馨提示', { await ElMessageBox.confirm('你确认要删除该课程目标吗', '温馨提示', {
type: 'warning', type: 'warning',
@ -118,61 +138,193 @@ const del = async (obj) => {
ElMessage.success('删除成功') ElMessage.success('删除成功')
getList() getList()
} }
const data = ref({})
const courseId = ref(0)
//
const getList = async () => { const getList = async () => {
const res = await getCourseList({ id: courseId.value }) const res = await getCourseList({ id: courseId.value })
console.log(res, 'res')
data.value = res.data[0] data.value = res.data[0]
console.log(data.value, 'data.value')
text.value = res.data[0].name text.value = res.data[0].name
} }
const data = ref({})
const courseId = ref(0)
onMounted(async () => { onMounted(async () => {
if (!Object.keys(route.query).length) { if (!Object.keys(route.query).length) {
return router.push('/curriculumCenter/courseDetails') return router.push('/curriculumCenter/courseDetails')
// return router.push('/curriculumCenter/basicCourseInformation')
} }
courseId.value = route.query.id courseId.value = route.query.id
console.log(courseId.value) console.log(courseId.value, 'courseid.vlue')
getList() getList()
console.log(data.value) let chartDom = document.getElementById('main')
// myChart.resize({
const chartDom = document.getElementById('main') // width: 200,
// height: 100,
const myChart = echarts.init(chartDom) // })
const option = { let myChart = echarts.init(chartDom)
title: { let option
// text: 'Basic Radar Chart', option = {
radar: [
{
nameGap: 10,
indicator: [
{
text: '目标一\n',
max: 100,
},
{
text: '目标五\n\n',
max: 100,
},
{
text: '目标四\n\n',
max: 100,
},
{
text: '目标三\n\n',
max: 100,
},
{
text: '目标二\n\n',
max: 100,
},
],
//
center: ['50%', '60%'],
//
radius: 60,
//
startAngle: 90,
//
splitNumber: 5,
shape: 'circle',
name: {
formatter: '{value}',
textStyle: {
color: '#333333',
fontSize: 12,
}, },
legend: { gap: 10,
data: ['Allocated Budget', 'Actual Spending'],
}, },
radar: { splitArea: {
// shape: 'circle', areaStyle: {
color: [
'transparent',
'transparent',
'rgba(114, 172, 209, 0)',
'transparent',
'rgba(114, 172, 209, 0)',
],
},
},
// 线
axisLine: {
lineStyle: {
color: '#C8D9FF',
},
},
splitLine: {
lineStyle: {
color: '#DADADA',
width: 2,
type: 'dashed', //dashed solid dotted 线线 线
},
},
},
{
nameGap: 10,
indicator: [ indicator: [
{ name: '目标1', max: 6500 }, {
{ name: '目标6', max: 16000 }, text: '达成度',
{ name: 'Information Technology', max: 30000 }, max: 100,
{ name: 'Customer Support', max: 38000 }, },
{ name: 'Development', max: 52000 }, {
{ name: 'Marketing', max: 25000 }, text: '达成度',
max: 100,
},
{
text: '达成度',
max: 100,
},
{
text: '达成度',
max: 100,
},
{
text: '达成度',
max: 100,
},
], ],
center: ['50%', '60%'],
radius: 60,
startAngle: 90,
splitNumber: 1,
shape: 'circle',
splitArea: {
show: false,
},
axisLine: {
show: false,
},
name: {
formatter: '{value}',
textStyle: {
color: 'rgba(0,0,0,0.4)',
fontSize: 12,
},
}, },
splitLine: {
lineStyle: {
color: '#6093FF',
type: 'solid',
width: 8,
},
},
},
],
series: [ series: [
{ {
name: 'Budget vs spending',
type: 'radar', type: 'radar',
emphasis: {
lineStyle: {
width: 20,
},
},
symbol: 'none',
data: [ data: [
{ {
value: [100, 3000, 20000, 35000, 50000, 18000], value: [74, 60, 80, 60, 74],
name: 'Allocated Budget', name: 'Data C',
areaStyle: {
color: '#DBE4F9',
},
},
],
},
{
type: 'radar',
emphasis: {
lineStyle: {
width: 20,
},
}, },
symbol: 'none',
data: [
{ {
value: [5000, 14000, 28000, 26000, 42000, 21000], value: [74, 60, 80, 40, 74],
name: 'Actual Spending', name: 'Data B',
areaStyle: {
color: '#0052FF',
},
}, },
], ],
}, },
], ],
} }
option && myChart.setOption(option) option && myChart.setOption(option)
}) })
</script> </script>
@ -180,12 +332,20 @@ onMounted(async () => {
<div class="top"> <div class="top">
<div class="object"> <div class="object">
<!-- <h3>课程目标</h3> --> <!-- <h3>课程目标</h3> -->
<div class="left">
<div class="total">
<div class="title">| 课程总目标</div>
<div class="content1">
<textarea class="textarea" @change="textChange" v-model="text">
文本内容</textarea>
</div>
</div>
<div class="radar"> <div class="radar">
<div class="title">| 课程目标雷达图</div> <div class="title">| 课程目标雷达图</div>
<div id="main" class="radarmap"></div> <div id="main" class="radarmap"></div>
</div> </div>
</div>
<div class="right">
<div class="objectives"> <div class="objectives">
<div class="title">| 课程目标</div> <div class="title">| 课程目标</div>
<div class="objectivebottom"> <div class="objectivebottom">
@ -195,7 +355,7 @@ onMounted(async () => {
<div class="courseObject"> <div class="courseObject">
<div class="courseObject1">{{ item.name }}</div> <div class="courseObject1">{{ item.name }}</div>
<div class="courseObject2"> <div class="courseObject2">
<el-button type="primary" @click="addBook(item.id)"> <el-button type="primary" @click="addPoint(item.id)">
新增 新增
</el-button> </el-button>
</div> </div>
@ -247,6 +407,7 @@ onMounted(async () => {
</div> </div>
</div> </div>
</div> </div>
</div>
<div class="point"> <div class="point">
<div class="map">知识图谱</div> <div class="map">知识图谱</div>
<div class="knowledge"> <div class="knowledge">
@ -292,13 +453,39 @@ onMounted(async () => {
// border: 1px solid black; // border: 1px solid black;
// background-color: pink; // background-color: pink;
.total {
border-radius: 20px;
width: 360px;
height: 120px;
background-color: #74deff;
background-image: linear-gradient(to right, #4984ff, #74deff);
.content1 {
border-radius: 20px;
margin-top: 10px;
width: 100%;
height: 100px;
background-color: #fff;
background-image: linear-gradient(#c7e3ff, #ffffff);
.textarea {
width: 100%;
resize: none;
border: none;
background: transparent;
padding: 20px;
// height: 100px;
}
}
}
.radar { .radar {
// float: left; // float: left
border-radius: 20px; border-radius: 20px;
width: 390px; width: 360px;
margin-top: 50px;
margin-right: 20px; margin-right: 20px;
height: 230px; height: 130px;
background-color: #ffa674; background-color: #ffa674;
background-image: linear-gradient(to right, #f9e397, #ffa674); background-image: linear-gradient(to right, #f9e397, #ffa674);
} }
@ -318,7 +505,7 @@ onMounted(async () => {
margin-top: 10px; margin-top: 10px;
// margin-right: 20px; // margin-right: 20px;
width: 100%; width: 100%;
height: 350px; height: 180px;
background-color: #fff; background-color: #fff;
background-image: linear-gradient(#ffe9c7, #ffffff); background-image: linear-gradient(#ffe9c7, #ffffff);
} }

Loading…
Cancel
Save