Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(mp): change content #14

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions apps/yuandao/pages/community/scholarship.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
<view class="card mg40">
<view class="fs36 mgb20">申请需知:</view>
<view class="mgb20">1. 请描述你的真实信息;</view>
<view v-if="!faq" class="mgb20"
<view class="mgb20"
>2. 现阶段奖学金不会以现金模式发放, 而是实物电脑;</view
>
<view v-if="!faq" class="mgb20">
<view class="mgb20">
3. 请描述你为什么需要和将用它达成什么效果;
</view>
<view v-if="!faq" class="mgb20"> 4. 请描述你的学习历程; </view>
<view class="mgb20"> 4. 请描述你的学习历程; </view>
</view>
<view class="card mg40">
<form @submit="submit">
Expand All @@ -34,8 +34,7 @@ import cf from "../../utils/cf.js";
export default {
data() {
return {
loading: false,
faq: false
loading: false
};
},
onLoad(e) {},
Expand Down
2 changes: 1 addition & 1 deletion apps/yuandao/pages/course/question.vue
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export default {
onLoad(e) {
this.lessonId = e.id;
this.title = e.title;
this.faq = Boolean(e.faq);
this.faq = e.hasOwnProperty("faq");
},
methods: {
submit(e) {
Expand Down