+ {% endblock %}
+
+ {% block js %}{% endblock %}
+ });
+ </script>
+ <script type="text/javascript" src="//res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
+ <script type="text/javascript" src="{% static 'machine/js/jswe-1.0.0.js' %}"></script>
+ <script>
+{# V.initWxData({#}
+{# imgUrl: '{{ domain }}{% static 'page/img/logo.jpg' %}',#}
+{# link: 'http://hpsgift.hphcclub.com/we/ws',#}
+{# desc: '惠普销售红包系统',#}
+{# title: '惠普销售红包系统',#}
+{# timeLine: ''#}
+{# }, true);#}
+ V.hideOptionMenu();
+ {% block jswe %}{% endblock %}
+ </script>
+ {% block scriptag %}{% endblock %}
+ </body>
+</html>
@@ -0,0 +1,150 @@ |
||
| 1 |
+{% load staticfiles %}
|
|
| 2 |
+ |
|
| 3 |
+<!DOCTYPE html> |
|
| 4 |
+<html lang="zh-CN"> |
|
| 5 |
+ <head> |
|
| 6 |
+ <meta charset="utf-8"> |
|
| 7 |
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> |
|
| 8 |
+ <meta name="format-detection" content="telephone=no,email=no,address=no"> |
|
| 9 |
+ <meta name="viewport" content="width=device-width,initial-scale=1.0,user-scalable=no"> |
|
| 10 |
+ |
|
| 11 |
+ <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" /> |
|
| 12 |
+ <meta http-equiv="Pragma" content="no-cache" /> |
|
| 13 |
+ <meta http-equiv="Expires" content="0" /> |
|
| 14 |
+ |
|
| 15 |
+ <title>{% block title %}{% endblock %}</title>
|
|
| 16 |
+ |
|
| 17 |
+ <link href="//cdnjs.cloudflare.com/ajax/libs/pure/0.6.2/pure-min.css" rel="stylesheet"> |
|
| 18 |
+ <link href="//cdnjs.cloudflare.com/ajax/libs/flexslider/2.6.3/flexslider.min.css" rel="stylesheet"> |
|
| 19 |
+ <link href="{% static 'page/css/flexslider.ext.css' %}" rel="stylesheet" type="text/css" />
|
|
| 20 |
+ |
|
| 21 |
+ {% block link %}{% endblock %}
|
|
| 22 |
+ |
|
| 23 |
+ <style> |
|
| 24 |
+ img {
|
|
| 25 |
+ pointer-events: none; |
|
| 26 |
+ } |
|
| 27 |
+ body {
|
|
| 28 |
+ font-family: Microsoft YaHei,Helvetica Neue,Helvetica,Arial,sans-serif !important; |
|
| 29 |
+ } |
|
| 30 |
+ .container {
|
|
| 31 |
+ padding-bottom: 45px; |
|
| 32 |
+ } |
|
| 33 |
+ .text-center {
|
|
| 34 |
+ text-align: center; |
|
| 35 |
+ } |
|
| 36 |
+ .empty {
|
|
| 37 |
+ color: #999; |
|
| 38 |
+ padding: .9375rem 0; |
|
| 39 |
+ font-size: .625rem; |
|
| 40 |
+ } |
|
| 41 |
+ .text_ellipsis {
|
|
| 42 |
+ overflow:hidden; |
|
| 43 |
+ white-space:nowrap; |
|
| 44 |
+ text-overflow: ellipsis; |
|
| 45 |
+ } |
|
| 46 |
+ </style> |
|
| 47 |
+ |
|
| 48 |
+ {% block tohomecss %}
|
|
| 49 |
+ <style> |
|
| 50 |
+ .tohome {
|
|
| 51 |
+ width: 40px; |
|
| 52 |
+ height: 40px; |
|
| 53 |
+ background-color: rgba(139, 139, 139, 0.7); |
|
| 54 |
+ position: fixed; |
|
| 55 |
+ right: 10px; |
|
| 56 |
+ bottom: 20px; |
|
| 57 |
+ border-radius: 9999px; |
|
| 58 |
+ border-top-left-radius: 9999px; |
|
| 59 |
+ border-top-right-radius: 9999px; |
|
| 60 |
+ border-bottom-left-radius: 9999px; |
|
| 61 |
+ border-bottom-right-radius: 9999px; |
|
| 62 |
+ z-index: 99999999; |
|
| 63 |
+ } |
|
| 64 |
+ .tohome img {
|
|
| 65 |
+ display: block; |
|
| 66 |
+ width: 18px; |
|
| 67 |
+ height: 13px; |
|
| 68 |
+ margin: 6px auto 2px; |
|
| 69 |
+ } |
|
| 70 |
+ .tohome p {
|
|
| 71 |
+ color: #ffffff; |
|
| 72 |
+ } |
|
| 73 |
+ </style> |
|
| 74 |
+ {% endblock %}
|
|
| 75 |
+ |
|
| 76 |
+ {% block css %}{% endblock %}
|
|
| 77 |
+ |
|
| 78 |
+ <script> |
|
| 79 |
+ {% block rem %}
|
|
| 80 |
+ //这段js的最后面有两个参数记得要设置,一个为设计稿实际宽度,一个为制作稿最大宽度,例如设计稿为750,最大宽度为750,则为(750,750) |
|
| 81 |
+ !function(e,t){function n(){var n=l.getBoundingClientRect().width;t=t||540,n>t&&(n=t);var i=100*n/e;r.innerHTML="html{font-size:"+i+"px;}"}var i,d=document,o=window,l=d.documentElement,r=document.createElement("style");if(l.firstElementChild)l.firstElementChild.appendChild(r);else{var a=d.createElement("div");a.appendChild(r),d.write(a.innerHTML),a=null}n(),o.addEventListener("resize",function(){clearTimeout(i),i=setTimeout(n,300)},!1),o.addEventListener("pageshow",function(e){e.persisted&&(clearTimeout(i),i=setTimeout(n,300))},!1),"complete"===d.readyState?d.body.style.fontSize="16px":d.addEventListener("DOMContentLoaded",function(e){d.body.style.fontSize="16px"},!1)}(1920,1920);
|
|
| 82 |
+ {% endblock %}
|
|
| 83 |
+ </script> |
|
| 84 |
+ </head> |
|
| 85 |
+ <body> |
|
| 86 |
+ {% block somehtml %}{% endblock %}
|
|
| 87 |
+ |
|
| 88 |
+ <div class="container"> |
|
| 89 |
+ {% block container %}{% endblock %}
|
|
| 90 |
+ |
|
| 91 |
+ {% block tohomehtml %}
|
|
| 92 |
+ <div class="tohome"> |
|
| 93 |
+ <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAeCAMAAABzP0xhAAAAS1BMVEUAAAD///////////////////////////////////////////////////////////////////////////////////////////////+DmQsHAAAAGHRSTlMAoHDw+q0VCufg187DuI+OgGJUSDwyKCBlxSbJAAAAi0lEQVQ4y+3SuRKEIBBFUaQbcd+X9/9fOpRDjaXQGJnNiW/SiwpkmXpiW6C16Sav4dR5qtlKHMpNbhaCR4vUTIwfnuKNxoWONR1uunB0g4Cxt9EbRDSXVewVoqr9bNYCgmJV3kwQ0fxtRkYCj8oZ8GBQqieHIWByev9DEPjfeisy+mDk6Dy9/kevRR9/MjHbEpIcQAAAAABJRU5ErkJggg=="> |
|
| 94 |
+ <p style="text-align:center;font-size:8px">回首页</p> |
|
| 95 |
+ </div> |
|
| 96 |
+ {% endblock %}
|
|
| 97 |
+ </div> |
|
| 98 |
+ |
|
| 99 |
+ {% block somehtml2 %}{% endblock %}
|
|
| 100 |
+ |
|
| 101 |
+ <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> |
|
| 102 |
+ <script src="//cdnjs.cloudflare.com/ajax/libs/flexslider/2.6.3/jquery.flexslider-min.js"></script> |
|
| 103 |
+ {% block script %}{% endblock %}
|
|
| 104 |
+ <script> |
|
| 105 |
+ {% block glbjs %}{% endblock %}
|
|
| 106 |
+ $(function() {
|
|
| 107 |
+ /** 格式化输入字符串**/ |
|
| 108 |
+ //用法: "hello{0}".format('world');返回'hello world'
|
|
| 109 |
+ String.prototype.format= function(){
|
|
| 110 |
+ var args = arguments; |
|
| 111 |
+ return this.replace(/\{(\d+)\}/g,function(s,i){
|
|
| 112 |
+ return args[i]; |
|
| 113 |
+ }); |
|
| 114 |
+ } |
|
| 115 |
+ |
|
| 116 |
+ {% block flexsliderjs %}
|
|
| 117 |
+ // 轮播图 |
|
| 118 |
+ $('.flexslider').flexslider({
|
|
| 119 |
+ slideshowSpeed: 2000, |
|
| 120 |
+ pauseOnHover: true, |
|
| 121 |
+ controlNav: false, |
|
| 122 |
+ directionNav: false, |
|
| 123 |
+ }); |
|
| 124 |
+ {% endblock %}
|
|
| 125 |
+ |
|
| 126 |
+ {% block tohomejs %}
|
|
| 127 |
+ // 返回首页 |
|
| 128 |
+ $('.tohome').click(function () {
|
|
| 129 |
+ window.location.href = '{{ domain }}/page/nav?{{ params|safe }}'
|
|
| 130 |
+ }) |
|
| 131 |
+ {% endblock %}
|
|
| 132 |
+ |
|
| 133 |
+ {% block js %}{% endblock %}
|
|
| 134 |
+ }); |
|
| 135 |
+ </script> |
|
| 136 |
+ <script type="text/javascript" src="//res.wx.qq.com/open/js/jweixin-1.2.0.js"></script> |
|
| 137 |
+ <script type="text/javascript" src="{% static 'machine/js/jswe-1.0.0.js' %}"></script>
|
|
| 138 |
+ <script> |
|
| 139 |
+{# V.initWxData({#}
|
|
| 140 |
+{# imgUrl: '{{ domain }}{% static 'page/img/logo.jpg' %}',#}
|
|
| 141 |
+{# link: 'http://hpsgift.hphcclub.com/we/ws',#}
|
|
| 142 |
+{# desc: '惠普销售红包系统',#}
|
|
| 143 |
+{# title: '惠普销售红包系统',#}
|
|
| 144 |
+{# timeLine: ''#}
|
|
| 145 |
+{# }, true);#}
|
|
| 146 |
+ V.hideOptionMenu(); |
|
| 147 |
+ {% block jswe %}{% endblock %}
|
|
| 148 |
+ </script> |
|
| 149 |
+ </body> |
|
| 150 |
+</html> |
@@ -0,0 +1,125 @@ |
||
| 1 |
+{% load staticfiles %}
|
|
| 2 |
+ |
|
| 3 |
+<!DOCTYPE html> |
|
| 4 |
+<html lang="zh-CN"> |
|
| 5 |
+ <head> |
|
| 6 |
+ <meta charset="utf-8"> |
|
| 7 |
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> |
|
| 8 |
+ <meta name="format-detection" content="telephone=no,email=no,address=no"> |
|
| 9 |
+ <meta name="viewport" content="width=device-width,initial-scale=1.0,user-scalable=no"> |
|
| 10 |
+ |
|
| 11 |
+ <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" /> |
|
| 12 |
+ <meta http-equiv="Pragma" content="no-cache" /> |
|
| 13 |
+ <meta http-equiv="Expires" content="0" /> |
|
| 14 |
+ |
|
| 15 |
+ <title>{% block title %}{% endblock %}</title>
|
|
| 16 |
+ |
|
| 17 |
+ <link href="//cdnjs.cloudflare.com/ajax/libs/pure/0.6.2/pure-min.css" rel="stylesheet"> |
|
| 18 |
+ |
|
| 19 |
+ {% block link %}{% endblock %}
|
|
| 20 |
+ |
|
| 21 |
+ <style> |
|
| 22 |
+ body {
|
|
| 23 |
+ font-family: Microsoft YaHei,Helvetica Neue,Helvetica,Arial,sans-serif !important; |
|
| 24 |
+ background: #fff; |
|
| 25 |
+ } |
|
| 26 |
+ img {
|
|
| 27 |
+ pointer-events: none; |
|
| 28 |
+ } |
|
| 29 |
+ .clickable {
|
|
| 30 |
+ pointer-events: auto; |
|
| 31 |
+ } |
|
| 32 |
+ /* Input 自动填充后,移除 Chrome 默认黄色 */ |
|
| 33 |
+ input:-webkit-autofill {
|
|
| 34 |
+ box-shadow: 0 0 0 1000px white inset !important; |
|
| 35 |
+ } |
|
| 36 |
+ .container {
|
|
| 37 |
+ padding-bottom: 45px; |
|
| 38 |
+ } |
|
| 39 |
+ .text-center {
|
|
| 40 |
+ text-align: center; |
|
| 41 |
+ } |
|
| 42 |
+ .empty {
|
|
| 43 |
+ color: #999; |
|
| 44 |
+ padding: .9375rem 0; |
|
| 45 |
+ font-size: .625rem; |
|
| 46 |
+ } |
|
| 47 |
+ .text_ellipsis {
|
|
| 48 |
+ overflow:hidden; |
|
| 49 |
+ white-space:nowrap; |
|
| 50 |
+ text-overflow: ellipsis; |
|
| 51 |
+ } |
|
| 52 |
+ |
|
| 53 |
+ .fl {
|
|
| 54 |
+ float: left; |
|
| 55 |
+ } |
|
| 56 |
+ .fr {
|
|
| 57 |
+ float: right; |
|
| 58 |
+ } |
|
| 59 |
+ .clearfix {
|
|
| 60 |
+ zoom: 1; |
|
| 61 |
+ } |
|
| 62 |
+ .clearfix:after {
|
|
| 63 |
+ content: "\200B"; |
|
| 64 |
+ display: block; |
|
| 65 |
+ height: 0; |
|
| 66 |
+ clear: both; |
|
| 67 |
+ } |
|
| 68 |
+ </style> |
|
| 69 |
+ |
|
| 70 |
+ {% block tohomecss %}
|
|
| 71 |
+ <style> |
|
| 72 |
+ .tohome {
|
|
| 73 |
+ width: 40px; |
|
| 74 |
+ height: 40px; |
|
| 75 |
+ background-color: rgba(139, 139, 139, 0.7); |
|
| 76 |
+ position: fixed; |
|
| 77 |
+ right: 10px; |
|
| 78 |
+ bottom: 20px; |
|
| 79 |
+ border-radius: 9999px; |
|
| 80 |
+ border-top-left-radius: 9999px; |
|
| 81 |
+ border-top-right-radius: 9999px; |
|
| 82 |
+ border-bottom-left-radius: 9999px; |
|
| 83 |
+ border-bottom-right-radius: 9999px; |
|
| 84 |
+ z-index: 99999999; |
|
| 85 |
+ } |
|
| 86 |
+ .tohome img {
|
|
| 87 |
+ display: block; |
|
| 88 |
+ width: 18px; |
|
| 89 |
+ height: 13px; |
|
| 90 |
+ margin: 6px auto 2px; |
|
| 91 |
+ } |
|
| 92 |
+ .tohome p {
|
|
| 93 |
+ color: #ffffff; |
|
| 94 |
+ } |
|
| 95 |
+ </style> |
|
| 96 |
+ {% endblock %}
|
|
| 97 |
+ |
|
| 98 |
+ {% block css %}{% endblock %}
|
|
| 99 |
+ |
|
| 100 |
+ <script> |
|
| 101 |
+ {% block rem %}
|
|
| 102 |
+ //这段js的最后面有两个参数记得要设置,一个为设计稿实际宽度,一个为制作稿最大宽度,例如设计稿为750,最大宽度为750,则为(750,750) |
|
| 103 |
+ !function(e,t){function n(){var n=l.getBoundingClientRect().width;t=t||540,n>t&&(n=t);var i=100*n/e;r.innerHTML="html{font-size:"+i+"px;}"}var i,d=document,o=window,l=d.documentElement,r=document.createElement("style");if(l.firstElementChild)l.firstElementChild.appendChild(r);else{var a=d.createElement("div");a.appendChild(r),d.write(a.innerHTML),a=null}n(),o.addEventListener("resize",function(){clearTimeout(i),i=setTimeout(n,300)},!1),o.addEventListener("pageshow",function(e){e.persisted&&(clearTimeout(i),i=setTimeout(n,300))},!1),"complete"===d.readyState?d.body.style.fontSize="16px":d.addEventListener("DOMContentLoaded",function(e){d.body.style.fontSize="16px"},!1)}(750,750);
|
|
| 104 |
+ {% endblock %}
|
|
| 105 |
+ </script> |
|
| 106 |
+ </head> |
|
| 107 |
+ <body> |
|
| 108 |
+ {% block somehtml %}{% endblock %}
|
|
| 109 |
+ |
|
| 110 |
+ <div class="container"> |
|
| 111 |
+ {% block container %}{% endblock %}
|
|
| 112 |
+ </div> |
|
| 113 |
+ |
|
| 114 |
+ {% block somehtml2 %}{% endblock %}
|
|
| 115 |
+ |
|
| 116 |
+ <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> |
|
| 117 |
+ {% block script %}{% endblock %}
|
|
| 118 |
+ <script> |
|
| 119 |
+ {% block glbjs %}{% endblock %}
|
|
| 120 |
+ $(function() {
|
|
| 121 |
+ {% block js %}{% endblock %}
|
|
| 122 |
+ }); |
|
| 123 |
+ </script> |
|
| 124 |
+ </body> |
|
| 125 |
+</html> |
@@ -0,0 +1,27 @@ |
||
| 1 |
+{% extends "base/basic_pc.html" %}
|
|
| 2 |
+{% load staticfiles %}
|
|
| 3 |
+ |
|
| 4 |
+{% block title %}第三方授权{% endblock %}
|
|
| 5 |
+ |
|
| 6 |
+{% block link %}
|
|
| 7 |
+{% endblock %}
|
|
| 8 |
+ |
|
| 9 |
+{% block css %}
|
|
| 10 |
+{% endblock %}
|
|
| 11 |
+ |
|
| 12 |
+{% block flexsliderhtml %}{% endblock %}
|
|
| 13 |
+ |
|
| 14 |
+{% block container %}
|
|
| 15 |
+{% endblock %}
|
|
| 16 |
+ |
|
| 17 |
+{% block somehtml2 %}
|
|
| 18 |
+{% endblock %}
|
|
| 19 |
+ |
|
| 20 |
+{% block script %}
|
|
| 21 |
+{% endblock %}
|
|
| 22 |
+ |
|
| 23 |
+{% block tohomehtml %}{% endblock %}
|
|
| 24 |
+ |
|
| 25 |
+{% block js %}
|
|
| 26 |
+window.location.href = "{{ preauthurl|safe }}"
|
|
| 27 |
+{% endblock %}
|
@@ -0,0 +1,24 @@ |
||
| 1 |
+{% extends "base/basic_pc.html" %}
|
|
| 2 |
+{% load staticfiles %}
|
|
| 3 |
+ |
|
| 4 |
+{% block title %}第三方授权{% endblock %}
|
|
| 5 |
+ |
|
| 6 |
+{% block link %}{% endblock %}
|
|
| 7 |
+ |
|
| 8 |
+{% block css %}
|
|
| 9 |
+{% endblock %}
|
|
| 10 |
+ |
|
| 11 |
+{% block flexsliderhtml %}{% endblock %}
|
|
| 12 |
+ |
|
| 13 |
+{% block container %}
|
|
| 14 |
+ <div>授权成功</div> |
|
| 15 |
+{% endblock %}
|
|
| 16 |
+ |
|
| 17 |
+{% block somehtml2 %}{% endblock %}
|
|
| 18 |
+ |
|
| 19 |
+{% block script %}{% endblock %}
|
|
| 20 |
+ |
|
| 21 |
+{% block tohomehtml %}{% endblock %}
|
|
| 22 |
+ |
|
| 23 |
+{% block js %}
|
|
| 24 |
+{% endblock %}
|