提交 bbf83e78 authored 作者: 王鹏飞's avatar 王鹏飞

feat: 主题颜色修改

上级 99769095
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
node_modules node_modules
npm-debug.log npm-debug.log
upload_tmp upload_tmp
node_modules/ *
# code protect - prevent submit code below # code protect - prevent submit code below
\ No newline at end of file /dist
/client-dist
...@@ -33,7 +33,7 @@ export default { ...@@ -33,7 +33,7 @@ export default {
font-weight: bold; font-weight: bold;
line-height: 1; line-height: 1;
color: #333; color: #333;
border-bottom: 0.06rem solid #2b7ce9; border-bottom: 0.06rem solid #c62245;
} }
.card-bd { .card-bd {
padding: 0.2rem 0; padding: 0.2rem 0;
......
...@@ -15,7 +15,7 @@ export default { ...@@ -15,7 +15,7 @@ export default {
name: 'Course', name: 'Course',
components: { CourseItem }, components: { CourseItem },
metaInfo: { metaInfo: {
title: '课程学习' title: 'VIP课程'
}, },
data() { data() {
return { return {
......
...@@ -15,7 +15,7 @@ export default { ...@@ -15,7 +15,7 @@ export default {
name: 'Course', name: 'Course',
components: { CourseItem }, components: { CourseItem },
metaInfo: { metaInfo: {
title: '课程学习' title: '考点突击'
}, },
data() { data() {
return { return {
......
...@@ -160,7 +160,7 @@ export default { ...@@ -160,7 +160,7 @@ export default {
font-size: 13px; font-size: 13px;
color: #fff; color: #fff;
line-height: 35px; line-height: 35px;
background: #2b7ce9; background: #c62245;
border-radius: 6px; border-radius: 6px;
white-space: nowrap; white-space: nowrap;
text-overflow: ellipsis; text-overflow: ellipsis;
......
...@@ -90,7 +90,7 @@ export default { ...@@ -90,7 +90,7 @@ export default {
min-width: 24px; min-width: 24px;
} }
.text { .text {
border-bottom: 1px solid #2b7ce9; border-bottom: 1px solid #c62245;
cursor: pointer; cursor: pointer;
} }
} }
......
...@@ -176,7 +176,7 @@ export default { ...@@ -176,7 +176,7 @@ export default {
display: inline-block; display: inline-block;
padding: 0 0.05rem; padding: 0 0.05rem;
font-size: 0.2rem; font-size: 0.2rem;
color: #2b7ce9; color: #c62245;
line-height: 0.28rem; line-height: 0.28rem;
background-color: #e9f1fc; background-color: #e9f1fc;
border-radius: 0.06rem; border-radius: 0.06rem;
......
...@@ -229,8 +229,8 @@ export default { ...@@ -229,8 +229,8 @@ export default {
.login-title { .login-title {
display: inline-block; display: inline-block;
font-size: 24px; font-size: 24px;
color: #2b7ce9; color: #c62245;
border-bottom: 5px solid #2b7ce9; border-bottom: 5px solid #c62245;
} }
.login-bd { .login-bd {
margin-top: 20px; margin-top: 20px;
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
<van-switch <van-switch
v-model="checked" v-model="checked"
size="18px" size="18px"
active-color="#2B7CE9" active-color="#C62245"
:loading="switchLoading" :loading="switchLoading"
@change="onChange" @change="onChange"
/> />
...@@ -51,9 +51,7 @@ export default { ...@@ -51,9 +51,7 @@ export default {
} else if (type === 3) { } else if (type === 3) {
return '工作日' return '工作日'
} else { } else {
return this.selectedWeek.length return this.selectedWeek.length ? '每周' + this.selectedWeek.join('、') : '永不'
? '每周' + this.selectedWeek.join('、')
: '永不'
} }
}, },
selectedWeek() { selectedWeek() {
......
...@@ -61,9 +61,7 @@ export default { ...@@ -61,9 +61,7 @@ export default {
return return
} }
const weeks = data.week_json ? JSON.parse(data.week_json) : [] const weeks = data.week_json ? JSON.parse(data.week_json) : []
this.defaultIndex = this.timeColumns.findIndex( this.defaultIndex = this.timeColumns.findIndex(item => item === data.time)
item => item === data.time
)
this.ruleForm = Object.assign({}, this.ruleForm, data, { this.ruleForm = Object.assign({}, this.ruleForm, data, {
week_json: weeks week_json: weeks
}) })
...@@ -96,9 +94,7 @@ export default { ...@@ -96,9 +94,7 @@ export default {
} else if (this.selectedResultType === 3) { } else if (this.selectedResultType === 3) {
return '工作日' return '工作日'
} else { } else {
return this.selectedWeek.length return this.selectedWeek.length ? '每周' + this.selectedWeek.join('、') : '永不'
? '每周' + this.selectedWeek.join('、')
: '永不'
} }
}, },
selectedWeek() { selectedWeek() {
...@@ -224,7 +220,7 @@ export default { ...@@ -224,7 +220,7 @@ export default {
} }
} }
::v-deep .van-checkbox[aria-checked='true'] { ::v-deep .van-checkbox[aria-checked='true'] {
background-color: #2b7ce9; background-color: #c62245;
border: 0; border: 0;
.van-checkbox__label { .van-checkbox__label {
color: #fff; color: #fff;
...@@ -242,7 +238,7 @@ export default { ...@@ -242,7 +238,7 @@ export default {
display: block; display: block;
width: 100%; width: 100%;
height: 40px; height: 40px;
background-color: #2b7ce9; background-color: #c62245;
border: 0; border: 0;
border-radius: 6px; border-radius: 6px;
} }
......
...@@ -89,7 +89,7 @@ export default { ...@@ -89,7 +89,7 @@ export default {
line-height: 1; line-height: 1;
text-align: center; text-align: center;
&.is-active { &.is-active {
color: #2b7ce9; color: #c62245;
} }
} }
} }
...@@ -101,7 +101,7 @@ export default { ...@@ -101,7 +101,7 @@ export default {
height: 35px; height: 35px;
margin: 0 20px; margin: 0 20px;
font-size: 15px; font-size: 15px;
background-color: #2b7ce9; background-color: #c62245;
border-radius: 6px; border-radius: 6px;
border: 0; border: 0;
} }
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
<van-tabs <van-tabs
class="main-tabs" class="main-tabs"
v-model="tabActive" v-model="tabActive"
color="#2b7ce9" color="#C62245"
:line-height="2" :line-height="2"
:animated="true" :animated="true"
:swipeable="true" :swipeable="true"
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论