diff --git a/backstage/templates/backstage/backstage-user.html b/backstage/templates/backstage/backstage-user.html new file mode 100644 index 0000000..b075857 --- /dev/null +++ b/backstage/templates/backstage/backstage-user.html @@ -0,0 +1,60 @@ +{% extends 'dashboard/base/base.html' %} +{% load static %} +{% block content %} + + + + +
+ +
+ {% include 'dashboard/base/left.html' %} +
+
+
+ {% if messages %} + + {% endif %} + +
+
+
+
+
+
用户数据录入
+
+ +
{% csrf_token %} +
+ + +
+
+ + +

请上传csv文件(文件表头依次为:评论、回复、新媒体名称、标题、时间、文章链接。时间格式为(2020/11/17))

+
+ +
+
+ +
+
+ +
+ +
+
+ +{% endblock %} + diff --git a/backstage/urls.py b/backstage/urls.py index 008db21..3a36f79 100644 --- a/backstage/urls.py +++ b/backstage/urls.py @@ -7,4 +7,5 @@ urlpatterns = [ path('backstage/newmedia/public/opinion/',views.backstage_new_media_public_opinion,name='backstage-new-media-public-opinion'), path('backstage/error/',views.backstage_error,name='backstage-error'), path('backstage/comment/',views.backstage_comment,name='backstage-comment'), + path('backstage/user/',views.backstage_user,name='backstage-user'), ] diff --git a/backstage/views.py b/backstage/views.py index 3f925a4..1c8f489 100644 --- a/backstage/views.py +++ b/backstage/views.py @@ -146,3 +146,6 @@ def backstage_comment(request): messages.error(request, '请上传正确的文件类型!!!') return HttpResponseRedirect('/backstage/backstage/comment/') return render(request, 'backstage/backstage-comment.html') + +def backstage_user(request): + return render(request,'') \ No newline at end of file diff --git a/dashboard/static/dashboard/css/home.css b/dashboard/static/dashboard/css/home.css index 171508f..ca5fa77 100644 --- a/dashboard/static/dashboard/css/home.css +++ b/dashboard/static/dashboard/css/home.css @@ -1,6 +1,6 @@ .head { - height: 500px; - background-image: url("../image/head.png"); + height: 600px; + background-image: url("../image/head1.png"); background-size: 100% 100%; } @@ -8,7 +8,8 @@ width: 120px; height: 70px; margin-top: 40px; - margin-left: 20px; + margin-left: 40px; + background-color: white; } .menu { @@ -22,21 +23,36 @@ } .btn img { - margin-top: 150px; + margin-top: 200px; width: 150px; height: 40px; } -.model1 { - /*width: 820px;*/ - margin: 0 auto; - height: 140px; - width: 60%; - /*background-color: white;*/ - margin-top: -133%; - z-index: 999; - +.btn button { + width: 150px; + height: 40px; + border: 1px solid transparent; + outline: none; + border-radius: 20px; + margin-top: 200px; + color: blue; + font-size: 16px; } + +.download-btn { + width: 120px; + height: 30px; + border: 1px solid transparent; + outline: none; + border-radius: 20px; + color: blue; +} + +.model1 { + height: 130px; + background-color: white; +} + .model2 { /*width: 820px;*/ margin: 0 auto; @@ -52,34 +68,120 @@ background-image: url("../image/middle2.png"); background-size: 100% 100%; width: 100%; - height: 400px; - margin-top: -30px; -} -.middle3 { - background-image: url("../image/组 14 拷贝.png"); - background-size: 100% 100%; - width: 100%; - height: 400px; + height: 475px; margin-top: -40px; } + +.middle3 { + background-image: url("../image/middle3.png"); + background-size: 100% 100%; + width: 100%; + height: 560px; + /*margin-top: -40px;*/ +} + +.rectangle-blue { + width: 180px; + height: 230px; + border: white solid 1px; + border-radius: 20px; + display: inline-block; + margin-left: 3%; + margin-top: 40px; +} + +.rectangle-blue:hover { + background-image: url("../image/矩形 9 拷贝.png"); +} + +.rectangle-blue img { + width: 50px; + height: 50px; + margin-top: 50px; + +} + +.rectangle-blue p { + color: white; + +} + +/*.rectangle-blue {*/ +/* background-image: url("../image/矩形 9 拷贝@2x.png");*/ +/* background-size: 100% 100%;*/ +/* width: 210px;*/ +/* height: 265px;*/ +/*}*/ + .middle4 { background-image: url("../image/组 17 拷贝.png"); background-size: 100% 100%; width: 100%; - height: 400px; - margin-top: 20px; + height: 460px; + margin-top: -40px; } -.all-circle img{ + +.all-circle img { } -.circle{ - border-radius: 50%; - width: 50px; - height: 50px; - background-color: #526FFF; - margin-left: 11%; + +.circle { + /*border-radius: 50%;*/ + width: 60px; + height: 60px; + text-align: center; + line-height: 60px; + background-image: url("../image/circle_blue.png"); + background-size: 60px 60px; + margin-left: 30%; + /*margin-left: 11%;*/ } -.foot{ + +.circle:hover { + background-image: url("../image/circle_yellow.png"); +} + +.foot { background-color: #A5BBFF; width: 100%; height: 250px; +} + +.download-head { + background-image: url("../image/组 3.png"); + height: 800px; + background-size: 100% 100%; +} + +.register-head { + background-image: url("../image/register-head-new.png"); + height: 800px; + background-size: 100% 100%; +} + +.resgiter-img1 { + background-image: url("../image/register-big.png"); + height: 333px; + width: 500px; + background-size: 100% 100%; + margin-top: 100px; +} + +.resgiter-img2 { + background-image: url("../image/register-middle.png"); + height: 377px; + width: 400px; + background-size: 100% 100%; + margin-left: 5.5%; + z-index: 666; + margin-top: -355px; +} + +.resgiter-img3 { + background-image: url("../image/register-small.png"); + height: 430px; + width: 300px; + background-size: 100% 100%; + margin-left: 11%; + margin-top: -405px; + text-align: left; } \ No newline at end of file diff --git a/dashboard/static/dashboard/image/circle_blue.png b/dashboard/static/dashboard/image/circle_blue.png new file mode 100644 index 0000000..864a794 Binary files /dev/null and b/dashboard/static/dashboard/image/circle_blue.png differ diff --git a/dashboard/static/dashboard/image/circle_yellow.png b/dashboard/static/dashboard/image/circle_yellow.png new file mode 100644 index 0000000..192c841 Binary files /dev/null and b/dashboard/static/dashboard/image/circle_yellow.png differ diff --git a/dashboard/static/dashboard/image/download-a.png b/dashboard/static/dashboard/image/download-a.png new file mode 100644 index 0000000..07d571c Binary files /dev/null and b/dashboard/static/dashboard/image/download-a.png differ diff --git a/dashboard/static/dashboard/image/download-ios.png b/dashboard/static/dashboard/image/download-ios.png new file mode 100644 index 0000000..286b9ee Binary files /dev/null and b/dashboard/static/dashboard/image/download-ios.png differ diff --git a/dashboard/static/dashboard/image/head.png b/dashboard/static/dashboard/image/head.png index 9e2bc9a..27a6c23 100644 Binary files a/dashboard/static/dashboard/image/head.png and b/dashboard/static/dashboard/image/head.png differ diff --git a/dashboard/static/dashboard/image/head1.png b/dashboard/static/dashboard/image/head1.png new file mode 100644 index 0000000..c69f5b0 Binary files /dev/null and b/dashboard/static/dashboard/image/head1.png differ diff --git a/dashboard/static/dashboard/image/middle2.png b/dashboard/static/dashboard/image/middle2.png index 43962f3..3e06a91 100644 Binary files a/dashboard/static/dashboard/image/middle2.png and b/dashboard/static/dashboard/image/middle2.png differ diff --git a/dashboard/static/dashboard/image/middle3.png b/dashboard/static/dashboard/image/middle3.png new file mode 100644 index 0000000..2bc92c3 Binary files /dev/null and b/dashboard/static/dashboard/image/middle3.png differ diff --git a/dashboard/static/dashboard/image/register-big.png b/dashboard/static/dashboard/image/register-big.png new file mode 100644 index 0000000..6d09df1 Binary files /dev/null and b/dashboard/static/dashboard/image/register-big.png differ diff --git a/dashboard/static/dashboard/image/register-head-new.png b/dashboard/static/dashboard/image/register-head-new.png new file mode 100644 index 0000000..5e170c0 Binary files /dev/null and b/dashboard/static/dashboard/image/register-head-new.png differ diff --git a/dashboard/static/dashboard/image/register-head.png b/dashboard/static/dashboard/image/register-head.png new file mode 100644 index 0000000..dafb524 Binary files /dev/null and b/dashboard/static/dashboard/image/register-head.png differ diff --git a/dashboard/static/dashboard/image/register-head@2x.png b/dashboard/static/dashboard/image/register-head@2x.png new file mode 100644 index 0000000..a112b21 Binary files /dev/null and b/dashboard/static/dashboard/image/register-head@2x.png differ diff --git a/dashboard/static/dashboard/image/register-middle.png b/dashboard/static/dashboard/image/register-middle.png new file mode 100644 index 0000000..156fc7f Binary files /dev/null and b/dashboard/static/dashboard/image/register-middle.png differ diff --git a/dashboard/static/dashboard/image/register-small.png b/dashboard/static/dashboard/image/register-small.png new file mode 100644 index 0000000..2fadb40 Binary files /dev/null and b/dashboard/static/dashboard/image/register-small.png differ diff --git a/dashboard/static/dashboard/image/图层 26.png b/dashboard/static/dashboard/image/图层 26.png index ec5d6d6..3ded1ae 100644 Binary files a/dashboard/static/dashboard/image/图层 26.png and b/dashboard/static/dashboard/image/图层 26.png differ diff --git a/dashboard/static/dashboard/image/矩形 9 拷贝.png b/dashboard/static/dashboard/image/矩形 9 拷贝.png new file mode 100644 index 0000000..cc422bf Binary files /dev/null and b/dashboard/static/dashboard/image/矩形 9 拷贝.png differ diff --git a/dashboard/static/dashboard/image/矩形 9 拷贝@2x.png b/dashboard/static/dashboard/image/矩形 9 拷贝@2x.png new file mode 100644 index 0000000..5e904b0 Binary files /dev/null and b/dashboard/static/dashboard/image/矩形 9 拷贝@2x.png differ diff --git a/dashboard/static/dashboard/image/组 3.png b/dashboard/static/dashboard/image/组 3.png new file mode 100644 index 0000000..b4e32cd Binary files /dev/null and b/dashboard/static/dashboard/image/组 3.png differ diff --git a/dashboard/static/dashboard/image/组 3@2x.png b/dashboard/static/dashboard/image/组 3@2x.png new file mode 100644 index 0000000..b229a90 Binary files /dev/null and b/dashboard/static/dashboard/image/组 3@2x.png differ diff --git a/dashboard/templates/dashboard/base/left.html b/dashboard/templates/dashboard/base/left.html index 369cffa..7b3f58e 100644 --- a/dashboard/templates/dashboard/base/left.html +++ b/dashboard/templates/dashboard/base/left.html @@ -186,6 +186,10 @@ 评论 +{#
  • #} +{# 用户#} +{#
  • #} {% endif %} diff --git a/dashboard/templates/dashboard/download-app.html b/dashboard/templates/dashboard/download-app.html new file mode 100644 index 0000000..00044f5 --- /dev/null +++ b/dashboard/templates/dashboard/download-app.html @@ -0,0 +1,101 @@ +{% load static %} + + + + + {# #} + + + 政务新媒体监测系统 + + + + + + + + + + +
    +
    + + + +
    + + + {#
    #} + {#
    #} + {#
    #} + {# #} + {#
    #} + {#
    #} + {#

    合作连接

    #} + {# 公众号#} + {# 微博#} + {# 抖音#} + {# 头条#} + {# 其他#} + {#
    #} + {#
    #} + {#
    #} + {#
    #} + {#

    电话:15293151340

    #} + {#

    电子邮箱:greatfeature@126.com

    #} + {#

    公司地址:兰州市城关区南昌路421号华宇大厦C座

    #} + {#
    甘肃大未来科技文化发展有限公司
    #} + {##} + {#
    #} + {##} + {##} + {#
    #} + {#
    #} + {#
    #} + {#
    #} + + +
    + + + + + + + \ No newline at end of file diff --git a/dashboard/templates/dashboard/home.html b/dashboard/templates/dashboard/home.html index 7a16b4d..1b08217 100644 --- a/dashboard/templates/dashboard/home.html +++ b/dashboard/templates/dashboard/home.html @@ -22,66 +22,216 @@
    -
    -