diff --git a/app/Http/Admin/Views/setting/point.volt b/app/Http/Admin/Views/setting/point.volt index 1d645873..51393168 100644 --- a/app/Http/Admin/Views/setting/point.volt +++ b/app/Http/Admin/Views/setting/point.volt @@ -133,6 +133,33 @@ + + 文章被赞 + + + + + + + + + 问题被赞 + + + + + + + + + 回答被赞 + + + + + + +
diff --git a/app/Http/Home/Views/macros/point.volt b/app/Http/Home/Views/macros/point.volt index 19ef5d61..efa3d1ac 100644 --- a/app/Http/Home/Views/macros/point.volt +++ b/app/Http/Home/Views/macros/point.volt @@ -51,6 +51,12 @@ 发布问题 {% elseif value == 12 %} 发布回答 + {% elseif value == 13 %} + 文章被赞 + {% elseif value == 14 %} + 提问被赞 + {% elseif value == 15 %} + 回答被赞 {% endif %} {%- endmacro %} @@ -86,7 +92,16 @@ {% set question_url = url({'for':'home.question.show','id':info.question.id}) %}

{{ info.question.title }}

{% elseif type == 12 %} + {% set question_url = url({'for':'home.question.show','id':info.question.id}) %} +

{{ info.question.title }}

+ {% elseif type == 13 %} + {% set article_url = url({'for':'home.article.show','id':info.article.id}) %} +

{{ info.article.title }}

+ {% elseif type == 14 %} {% set question_url = url({'for':'home.question.show','id':info.question.id}) %}

{{ info.question.title }}

+ {% elseif type == 15 %} + {% set question_url = url({'for':'home.question.show','id':info.question.id}) %} +

{{ info.question.title }}

{% endif %} {%- endmacro %} \ No newline at end of file diff --git a/app/Http/Home/Views/question/answers.volt b/app/Http/Home/Views/question/answers.volt index 11951277..50f320a7 100644 --- a/app/Http/Home/Views/question/answers.volt +++ b/app/Http/Home/Views/question/answers.volt @@ -12,7 +12,9 @@ {{ item.owner.name }} - {{ item.owner.name }} + + {{ item.owner.name }} +
{{ item.content }}