摘要: 效果如下(展示用户所有发布得新闻,新闻状态,分页 1、前端代码 1 <!DOCTYPE html> 2 <html lang="en"> 3 <head> 4 <meta charset="UTF-8"> 5 <title>用户中心</title> 6 <link rel="stylesheet" 阅读全文
posted @ 2020-11-19 13:19 OnePunchCd 阅读(148) 评论(0) 推荐(0)
摘要: 做关注功能实现前我们得先修改新闻详情页得展示 1、前端代码(新闻作者信息 1 {% if context.news.author %} 2 <div class="author_card"> 3 <a href="#" class="author_pic"><img src="{% if conte 阅读全文
posted @ 2020-11-19 13:10 OnePunchCd 阅读(100) 评论(0) 推荐(0)