+
+不论是聚会,还是旅行。<br>
+
+拍摄即分享。<br>
+
+你可以对照片点赞、评论,零距离互动。<br>
+
+不论手机丢失还是损坏,<br>
+
+照片一直在拍爱等你。
+ </p>
+
+ <div class="mobile"></div>
+ <div class="mb_img"></div>
+
+ </div>
+ </div>
+</div>
+
+
+
+<div id="footer">
+ <div class="content foot homefooter">
+ <a href="{% url 'pai2_aboutus' %}" target="_self" >关于我们</a>
+ <span>|</span>
+ <a href="{% url 'pai2_contactus' %}" target="_self" >联系我们</a>
+
+ ©2016 拍爱 PAI.AI 琼ICP备16000076号
+ </div>
+</div>
+</body>
+</html>
@@ -0,0 +1,112 @@ |
||
| 1 |
+{% load staticfiles %}
|
|
| 2 |
+ |
|
| 3 |
+<!doctype html> |
|
| 4 |
+<html> |
|
| 5 |
+<head> |
|
| 6 |
+<meta charset="UTF-8"> |
|
| 7 |
+<title>拍爱 PAI.AI 联系我们</title> |
|
| 8 |
+<link href="{% static 'website/css/layout.css' %}" rel="stylesheet" type="text/css" />
|
|
| 9 |
+<script type="text/javascript" src="{% static 'website/js/jquery.min.js' %}"></script>
|
|
| 10 |
+<style> |
|
| 11 |
+ |
|
| 12 |
+ .my-map { margin: 0 auto 30px auto; width: 550px; height: 350px;float:left}
|
|
| 13 |
+ .my-map .icon { background: url(http://lbs.amap.com/console/public/show/marker.png) no-repeat; }
|
|
| 14 |
+ .my-map .icon-cir { height: 31px; width: 28px; }
|
|
| 15 |
+ .my-map .icon-cir-red { background-position: -11px -5px; }
|
|
| 16 |
+ </style> |
|
| 17 |
+</head> |
|
| 18 |
+ |
|
| 19 |
+<body> |
|
| 20 |
+<div id="header"> |
|
| 21 |
+ <div class="content"> |
|
| 22 |
+ <a href="{% url 'pai2_home' %}" target="_self" class="logo"></a>
|
|
| 23 |
+ <div class="navigation"> |
|
| 24 |
+ <a href="{% url 'pai2_contactus' %}" target="_self" class="current">联系我们</a>
|
|
| 25 |
+ <a href="{% url 'pai2_joinus' %}" target="_self" >加入拍爱</a>
|
|
| 26 |
+ <a href="{% url 'pai2_home' %}" target="_self" >首页</a>
|
|
| 27 |
+ </div> |
|
| 28 |
+ </div> |
|
| 29 |
+</div> |
|
| 30 |
+ |
|
| 31 |
+ |
|
| 32 |
+<div id="container" ><div class="content contactus"> |
|
| 33 |
+ |
|
| 34 |
+ |
|
| 35 |
+ |
|
| 36 |
+<div id="wrap" class="my-map map"> |
|
| 37 |
+ <div id="mapContainer"></div> |
|
| 38 |
+ </div> |
|
| 39 |
+ <script src="http://webapi.amap.com/maps?v=1.2&key=8325164e247e15eea68b59e89200988b"></script> |
|
| 40 |
+ <script> |
|
| 41 |
+ !function(){
|
|
| 42 |
+ var infoWindow, map, level = 16, |
|
| 43 |
+ center = {lng: 116.284361, lat: 39.931229},
|
|
| 44 |
+ features = [{type: "Marker", name: "拍爱 PAI.AI", desc: "北京市海淀区西八里庄路玲珑商务楼", color: "red", icon: "cir", offset: {x: -9, y: -31}, lnglat: {lng: 116.28449, lat: 39.930834}}];
|
|
| 45 |
+ |
|
| 46 |
+ function loadFeatures(){
|
|
| 47 |
+ for(var feature, data, i = 0, len = features.length, j, jl, path; i < len; i++){
|
|
| 48 |
+ data = features[i]; |
|
| 49 |
+ switch(data.type){
|
|
| 50 |
+ case "Marker": |
|
| 51 |
+ feature = new AMap.Marker({ map: map, position: new AMap.LngLat(data.lnglat.lng, data.lnglat.lat),
|
|
| 52 |
+ zIndex: 3, extData: data, offset: new AMap.Pixel(data.offset.x, data.offset.y), title: data.name, |
|
| 53 |
+ content: '<div class="icon icon-' + data.icon + ' icon-'+ data.icon +'-' + data.color +'"></div>' }); |
|
| 54 |
+ break; |
|
| 55 |
+ case "Polyline": |
|
| 56 |
+ for(j = 0, jl = data.lnglat.length, path = []; j < jl; j++){
|
|
| 57 |
+ path.push(new AMap.LngLat(data.lnglat[j].lng, data.lnglat[j].lat)); |
|
| 58 |
+ } |
|
| 59 |
+ feature = new AMap.Polyline({ map: map, path: path, extData: data, zIndex: 2,
|
|
| 60 |
+ strokeWeight: data.strokeWeight, strokeColor: data.strokeColor, strokeOpacity: data.strokeOpacity }); |
|
| 61 |
+ break; |
|
| 62 |
+ case "Polygon": |
|
| 63 |
+ for(j = 0, jl = data.lnglat.length, path = []; j < jl; j++){
|
|
| 64 |
+ path.push(new AMap.LngLat(data.lnglat[j].lng, data.lnglat[j].lat)); |
|
| 65 |
+ } |
|
| 66 |
+ feature = new AMap.Polygon({ map: map, path: path, extData: data, zIndex: 1,
|
|
| 67 |
+ strokeWeight: data.strokeWeight, strokeColor: data.strokeColor, strokeOpacity: data.strokeOpacity, |
|
| 68 |
+ fillColor: data.fillColor, fillOpacity: data.fillOpacity }); |
|
| 69 |
+ break; |
|
| 70 |
+ default: feature = null; |
|
| 71 |
+ } |
|
| 72 |
+ if(feature){ AMap.event.addListener(feature, "click", mapFeatureClick); }
|
|
| 73 |
+ } |
|
| 74 |
+ } |
|
| 75 |
+ |
|
| 76 |
+ function mapFeatureClick(e){
|
|
| 77 |
+ if(!infoWindow){ infoWindow = new AMap.InfoWindow({autoMove: true}); }
|
|
| 78 |
+ var extData = e.target.getExtData(); |
|
| 79 |
+ infoWindow.setContent("<h5>" + extData.name + "</h5><div>" + extData.desc + "</div>");
|
|
| 80 |
+ infoWindow.open(map, e.lnglat); |
|
| 81 |
+ } |
|
| 82 |
+ |
|
| 83 |
+ map = new AMap.Map("mapContainer", {center: new AMap.LngLat(center.lng, center.lat), level: level});
|
|
| 84 |
+ |
|
| 85 |
+ loadFeatures(); |
|
| 86 |
+ map.plugin(["AMap.ToolBar", "AMap.OverView", "AMap.Scale"], function(){
|
|
| 87 |
+ map.addControl(new AMap.ToolBar); |
|
| 88 |
+ map.addControl(new AMap.OverView({isOpen: true}));
|
|
| 89 |
+ map.addControl(new AMap.Scale); |
|
| 90 |
+ }); |
|
| 91 |
+ }(); |
|
| 92 |
+ </script> |
|
| 93 |
+ |
|
| 94 |
+ <p style="width:400px;float:right"><img src="{% static 'website/img/weixin_qr.png' %}" ><br><strong>关注拍爱 官方微信:</strong>pai_ai</p>
|
|
| 95 |
+ <p style="width:400px;float:right"> |
|
| 96 |
+ <strong>商务合作:</strong>partner@pai.ai<br> |
|
| 97 |
+ |
|
| 98 |
+ <strong>用户反馈及帮助:</strong>feedback@pai.ai<br> |
|
| 99 |
+ <strong>公司地址:</strong>北京市海淀区西八里庄路玲珑商务楼 |
|
| 100 |
+ </p> |
|
| 101 |
+ |
|
| 102 |
+</div></div> |
|
| 103 |
+<div id="footer"> |
|
| 104 |
+ <div class="content foot"> |
|
| 105 |
+ <a href="{% url 'pai2_aboutus' %}" target="_self" >关于我们</a>
|
|
| 106 |
+ <span>|</span> |
|
| 107 |
+ <a href="{% url 'pai2_contactus' %}" target="_self" >联系我们</a>
|
|
| 108 |
+ ©2016 拍爱 PAI.AI 琼ICP备16000076号 |
|
| 109 |
+ </div> |
|
| 110 |
+</div> |
|
| 111 |
+</body> |
|
| 112 |
+</html> |
@@ -0,0 +1,48 @@ |
||
| 1 |
+{% load staticfiles %}
|
|
| 2 |
+ |
|
| 3 |
+<!doctype html> |
|
| 4 |
+<html> |
|
| 5 |
+<head> |
|
| 6 |
+<meta charset="UTF-8"> |
|
| 7 |
+<title>拍爱 PAI.AI 首页</title> |
|
| 8 |
+<link href="{% static 'website/css/layout.css' %}" rel="stylesheet" type="text/css" />
|
|
| 9 |
+<script type="text/javascript" src="{% static 'website/js/jquery.min.js' %}"></script>
|
|
| 10 |
+</head> |
|
| 11 |
+ |
|
| 12 |
+<body class="content_bg"> |
|
| 13 |
+<div id="header"> |
|
| 14 |
+ <div class="content"> |
|
| 15 |
+ <a href="{% url 'pai2_home' %}" target="_self" class="logo"></a>
|
|
| 16 |
+ <div class="navigation"> |
|
| 17 |
+ <a href="{% url 'pai2_contactus' %}" target="_self" >联系我们</a>
|
|
| 18 |
+ <a href="{% url 'pai2_joinus' %}" target="_self" >加入拍爱</a>
|
|
| 19 |
+ <a href="{% url 'pai2_home' %}" target="_self" class="current" >首页</a>
|
|
| 20 |
+ </div> |
|
| 21 |
+ </div> |
|
| 22 |
+</div> |
|
| 23 |
+ |
|
| 24 |
+ |
|
| 25 |
+<div id="container" > |
|
| 26 |
+ <div class="content"> |
|
| 27 |
+ <div class="container_box"> |
|
| 28 |
+ <div class="mobile"></div> |
|
| 29 |
+ <div class="mb_img"></div> |
|
| 30 |
+ <div class="article">即拍即所得<p>一起走过的路,<br>一起看过的美景,<br>一起醉过的Party,......<br>回忆容易消逝,<br>一起拍,照片让爱历久弥新。</p></div> |
|
| 31 |
+ <a href="" target="_blank" class="android_download"></a> |
|
| 32 |
+ </div> |
|
| 33 |
+ </div> |
|
| 34 |
+</div> |
|
| 35 |
+ |
|
| 36 |
+ |
|
| 37 |
+<div id="footer"> |
|
| 38 |
+ <div class="content foot homefooter"> |
|
| 39 |
+ <a href="{% url 'pai2_aboutus' %}" target="_self" >关于我们</a>
|
|
| 40 |
+ <span>|</span> |
|
| 41 |
+ <a href="{% url 'pai2_contactus' %}" target="_self" >联系我们</a>
|
|
| 42 |
+ |
|
| 43 |
+ ©2016 拍爱 PAI.AI 琼ICP备16000076号 |
|
| 44 |
+ </div> |
|
| 45 |
+</div> |
|
| 46 |
+ |
|
| 47 |
+</body> |
|
| 48 |
+</html> |
@@ -0,0 +1,72 @@ |
||
| 1 |
+{% load staticfiles %}
|
|
| 2 |
+ |
|
| 3 |
+<!doctype html> |
|
| 4 |
+<html> |
|
| 5 |
+<head> |
|
| 6 |
+<meta charset="UTF-8"> |
|
| 7 |
+<title>拍爱 PAI.AI 加入拍爱</title> |
|
| 8 |
+<link href="{% static 'website/css/layout.css' %}" rel="stylesheet" type="text/css" />
|
|
| 9 |
+<script type="text/javascript" src="{% static 'website/js/jquery.min.js' %}"></script>
|
|
| 10 |
+</head> |
|
| 11 |
+ |
|
| 12 |
+<body> |
|
| 13 |
+<div id="header"> |
|
| 14 |
+ <div class="content"> |
|
| 15 |
+ <a href="{% url 'pai2_home' %}" target="_self" class="logo"></a>
|
|
| 16 |
+ <div class="navigation"> |
|
| 17 |
+ <a href="{% url 'pai2_contactus' %}" target="_self" >联系我们</a>
|
|
| 18 |
+ <a href="{% url 'pai2_joinus' %}" target="_self" class="current" >加入拍爱</a>
|
|
| 19 |
+ <a href="{% url 'pai2_home' %}" target="_self" >首页</a>
|
|
| 20 |
+ </div> |
|
| 21 |
+ </div> |
|
| 22 |
+</div> |
|
| 23 |
+ |
|
| 24 |
+ |
|
| 25 |
+<div id="container" ><div class="content joinus"> |
|
| 26 |
+ <p> |
|
| 27 |
+ 在我们这里,你可以参与到一个火热的创业项目,未来很有可能看到自己作品满大街的人都在使用...如果您喜欢摄影...除了会有各种相机把玩,还会有同好可以畅聊...最重要的,你还会发现...... |
|
| 28 |
+ 你将成为——软件工程师中最懂摄影的人 |
|
| 29 |
+来和我们一起做一份激动人心的事业吧 |
|
| 30 |
+ |
|
| 31 |
+ </p> |
|
| 32 |
+ <p> |
|
| 33 |
+<strong>职位名称:iOS软件工程师</strong><br> |
|
| 34 |
+<strong>岗位职责:</strong><br> |
|
| 35 |
+ 负责iOS平台下应用的开发<br> |
|
| 36 |
+ |
|
| 37 |
+<strong>任职要求:</strong><br> |
|
| 38 |
+ 1、至少1年的iOS平台开发经验;<br> |
|
| 39 |
+ 2、具备扎实的数据结构、算法等技术功底;<br> |
|
| 40 |
+ 3、具备良好的编程风格与团队合作意识,可承担较大的工作压力;<br> |
|
| 41 |
+ 4、正直、优秀、有上进心,经验丰富的同时没有丧失开发NB产品的热情;<br> |
|
| 42 |
+ 5、年轻;<br> |
|
| 43 |
+ 6、期待您喜欢摄影,喜欢相机;<br> |
|
| 44 |
+ |
|
| 45 |
+ |
|
| 46 |
+ </p> |
|
| 47 |
+ |
|
| 48 |
+ <p> |
|
| 49 |
+ <strong>职位名称:专利工程师</strong><br> |
|
| 50 |
+<strong>岗位职责:</strong><br> |
|
| 51 |
+1、撰写高质量的专利申请文件、答复审查意见;<br> |
|
| 52 |
+2、专利检索咨询、专利挖掘、以及撰写专利分析报告。<br> |
|
| 53 |
+ |
|
| 54 |
+<strong>任职要求:</strong><br> |
|
| 55 |
+1、具有一年以上独立撰写专利文件经验,熟悉专利申请相关知识;<br> |
|
| 56 |
+2、理工科,大学本科以上毕业,物理、数学、电子、通讯、互联网等技术专业背景之一;<br> |
|
| 57 |
+3、有专利代理人资格证优先考虑;<br> |
|
| 58 |
+4、期待您喜欢摄影,喜欢相机; |
|
| 59 |
+</p> |
|
| 60 |
+ |
|
| 61 |
+ |
|
| 62 |
+</div></div> |
|
| 63 |
+<div id="footer"> |
|
| 64 |
+ <div class="content foot"> |
|
| 65 |
+ <a href="{% url 'pai2_aboutus' %}" target="_self" >关于我们</a>
|
|
| 66 |
+ <span>|</span> |
|
| 67 |
+ <a href="{% url 'pai2_contactus' %}" target="_self" >联系我们</a>
|
|
| 68 |
+ ©2016 拍爱 PAI.AI 琼ICP备16000076号 |
|
| 69 |
+ </div> |
|
| 70 |
+</div> |
|
| 71 |
+</body> |
|
| 72 |
+</html> |
@@ -0,0 +1,3 @@ |
||
| 1 |
+from django.test import TestCase |
|
| 2 |
+ |
|
| 3 |
+# Create your tests here. |
@@ -0,0 +1,19 @@ |
||
| 1 |
+# -*- coding: utf-8 -*- |
|
| 2 |
+ |
|
| 3 |
+from django.shortcuts import render |
|
| 4 |
+ |
|
| 5 |
+ |
|
| 6 |
+def pai2_home(request): |
|
| 7 |
+ return render(request, 'website/index.html', {})
|
|
| 8 |
+ |
|
| 9 |
+ |
|
| 10 |
+def pai2_aboutus(request): |
|
| 11 |
+ return render(request, 'website/aboutus.html', {})
|
|
| 12 |
+ |
|
| 13 |
+ |
|
| 14 |
+def pai2_contactus(request): |
|
| 15 |
+ return render(request, 'website/contactus.html', {})
|
|
| 16 |
+ |
|
| 17 |
+ |
|
| 18 |
+def pai2_joinus(request): |
|
| 19 |
+ return render(request, 'website/joinus.html', {})
|