提交 c04d1001 authored 作者: lihuihui's avatar lihuihui
...@@ -15,7 +15,7 @@ export default { ...@@ -15,7 +15,7 @@ export default {
components: { CourseChapter }, components: { CourseChapter },
metaInfo() { metaInfo() {
return { return {
title: this.curriculum.curriculum_name title: this.title
} }
}, },
data() { data() {
...@@ -28,8 +28,8 @@ export default { ...@@ -28,8 +28,8 @@ export default {
courseId() { courseId() {
return this.$route.params.id return this.$route.params.id
}, },
curriculum() { title() {
return this.detail.curriculum || {} return this.detail.curriculum ? this.detail.curriculum.curriculum_name : ''
} }
}, },
methods: { methods: {
......
...@@ -72,9 +72,7 @@ export default { ...@@ -72,9 +72,7 @@ export default {
this.showMore = !this.showMore this.showMore = !this.showMore
}, },
viewMore() { viewMore() {
const path = `/course/learn/${this.courseId}/tag/${ const path = `/course/learn/${this.courseId}/tag/${this.data.id}?is_test=${this.isTest ? '1' : '0'}`
this.data.id
}?is_test=${this.isTest ? '1' : '0'}`
if (this.isWeapp) { if (this.isWeapp) {
const src = encodeURIComponent(`${window.location.origin}${path}`) const src = encodeURIComponent(`${window.location.origin}${path}`)
wx.miniProgram.navigateTo({ wx.miniProgram.navigateTo({
...@@ -86,9 +84,7 @@ export default { ...@@ -86,9 +84,7 @@ export default {
} }
}, },
mounted() { mounted() {
this.contentHeight = this.$refs.content this.contentHeight = this.$refs.content ? this.$refs.content.offsetHeight : 0
? this.$refs.content.offsetHeight
: 0
} }
} }
</script> </script>
...@@ -114,7 +110,7 @@ export default { ...@@ -114,7 +110,7 @@ export default {
// height: 24px; // height: 24px;
margin: 0 10px 10px 0; margin: 0 10px 10px 0;
padding: 0 15px; padding: 0 15px;
background: #67a8ff; background: #f47885;
border-radius: 12px; border-radius: 12px;
cursor: pointer; cursor: pointer;
p { p {
......
...@@ -43,7 +43,6 @@ export default { ...@@ -43,7 +43,6 @@ export default {
courseId: { courseId: {
type: String, type: String,
default() { default() {
console.log(this)
return this.$route.params.id return this.$route.params.id
} }
}, },
......
...@@ -75,7 +75,7 @@ export default { ...@@ -75,7 +75,7 @@ export default {
height: 0; height: 0;
border-top: 4px solid transparent; border-top: 4px solid transparent;
border-bottom: 4px solid transparent; border-bottom: 4px solid transparent;
border-left: 5px solid #67a8ff; border-left: 5px solid #f47885;
} }
.message-card-content { .message-card-content {
text-align: right; text-align: right;
...@@ -83,7 +83,7 @@ export default { ...@@ -83,7 +83,7 @@ export default {
.message-card-text { .message-card-text {
text-align: left; text-align: left;
color: #fff; color: #fff;
background-color: #67a8ff; background-color: #f47885;
} }
} }
.message-card-content { .message-card-content {
......
...@@ -140,7 +140,7 @@ export default { ...@@ -140,7 +140,7 @@ export default {
font-size: 13px; font-size: 13px;
color: #fff; color: #fff;
line-height: 24px; line-height: 24px;
background: #67a8ff; background: #f47885;
border-radius: 12px; border-radius: 12px;
white-space: nowrap; white-space: nowrap;
text-overflow: ellipsis; text-overflow: ellipsis;
......
...@@ -482,7 +482,7 @@ export default { ...@@ -482,7 +482,7 @@ export default {
color: #fff; color: #fff;
padding: 0 0.3rem; padding: 0 0.3rem;
margin-left: 0.2rem; margin-left: 0.2rem;
background: #67a8ff; background: #f47885;
border-radius: 0.25rem; border-radius: 0.25rem;
white-space: nowrap; white-space: nowrap;
} }
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
<div class="alarm-form-item"> <div class="alarm-form-item">
<div class="alarm-form-item-hd"> <div class="alarm-form-item-hd">
<div class="alarm-form-item-hd__lable">重复</div> <div class="alarm-form-item-hd__lable">重复</div>
<div class="alarm-form-item-hd__aside">{{selectedResultText}}</div> <div class="alarm-form-item-hd__aside">每周重复</div>
</div> </div>
<div class="alarm-form-item-content"> <div class="alarm-form-item-content">
<van-checkbox-group v-model="ruleForm.week_json" direction="horizontal"> <van-checkbox-group v-model="ruleForm.week_json" direction="horizontal">
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论