GithubHelp home page GithubHelp logo

teng2015 / alloyteam.github.com Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zengjinchaodean/alloyteam.github.com

0.0 1.0 0.0 83.01 MB

腾讯 AlloyTeam 开源项目官网 - 我们的愿景: 成为业界卓越的Web团队!

Home Page: http://AlloyTeam.github.io/

HTML 7.88% JavaScript 82.37% CSS 9.75%

alloyteam.github.com's Introduction

Tencent AlloyTeam

One Team, One Dream! 多年以后,让我们创造一个奇迹!

By Tencent AlloyTeam

我们的愿景

成为业界卓越的Web团队!

团队部分代码规范

虽然这些细节是小事,但是却体现了一个coder的专业程度。 更多详细情况请看: http://alloyteam.github.io/CodeGuide/

标准文件结构

[mainfolder]
 |--[js]		//js文件夹
 |   |-- main.js
 |--[style]		//所有样式相关的css和image
 |   |-- [image]	//主要image文件夹
 |   |    |-- img1.png
 |   |    ...
 |   |-- [style_name_a]	//皮肤A的文件夹
 |   |    |-- [image]	//皮肤A的image
 |   |    |-- style_name_a.css	//皮肤A的css文件
 |   |    ...
 |   |-- [style_name_b]	//皮肤B的文件夹
 |   |-- [style_name_c]	//皮肤C的文件夹
 |   |-- main.css	//主要css文件
 |--[audio]		//所有样式相关的audio音频文件
 |   |-- sound.mp3	//audio文件
 |-- index.html		//index文件
 |-- page1.html		//其他页面
 ...

文件名全部英文小写,用下划线分隔。

标准html5代码

<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8" />
	<meta name="author" content="Tencent.AlloyTeam.Jetyu" />
	<meta name="copyright" content="Tencent.AlloyTeam" />
	<meta name="keywords" content="腾讯 Alloy 团队" />
	<meta name="description" content="Tencent.AlloyTeam" />
	
	<title>Tencent AlloyTeam 标准文档</title>
	<link href="./style/main.css" rel="stylesheet" type="text/css" />
</head>
<body>
	<!-- 注释 -->
	<h1 id="title" class="title">Tencent AlloyTeam 标准文档</h1>
	<div>
		<h3>Title</h3>
		<p>
			标准文档
		</p>
	</div>

	<script type="text/javascript" src="./js/jx.min.js"></script>
	<script type="text/javascript">

		var J = new Jx();

	</script>
</body>
</html>

标准javascript代码

/**
 * === Javascript eXtension 模块 =========================================================================
 * Copyright (c) 2015 Tencent AlloyTeam, All rights reserved.
 * http://www.AlloyTeam.com/
 * Code licensed under the BSD License:
 * http://www.AlloyTeam.com/license.txt
 * 
 * @version 2.0
 * @author	Kinvix <[email protected]>
 * @description 描述文字
 * ---2015.6.1 ----------------------------
 */

/**
 * 注释
 */
Jx().$package('tencent.alloyteam', function(J) {
	var self = this,
		$D = J.dom,
		$E = J.event,
		$H = J.http;

	// 输出字符串'Hello world!'
	J.out('Hello world!');

	// 输出this === tencent.alloyteam的判断结果
	J.out(this === tencent.alloyteam);
});

标准css代码

.copyright {
    margin: 50px 0 0 0;
    height: 50px;

    font-family: Tahoma;
    font-size: 12px;
    text-align: center;

    color: #999;
}

.copyright a {
    text-decoration: none;

    color: #999;
}

/* 注释 */
.copyright a:hover,
.copyright a:focus {
    text-decoration: underline;

    outline: none;
}

标准版权声明代码

<div class="copyright">Copyright &copy; <script>document.write(new Date().getFullYear());</script> <a href="http://www.AlloyTeam.com/" target="_blank">Tencent AlloyTeam</a>. All Rights Reserved.</div>

标准捐赠代码

 <a href="http://me.alipay.com/kinvix" target="helpus" title="支持开源项目,请我们喝杯咖啡吧^_Q"> <img src="http://alloyteam.github.io/style/image/alipay_btn.jpg" alt="支持开源项目,请我们喝杯咖啡吧^_Q" /> </a>
 
 <a href="http://me.alipay.com/kinvix" target="helpus" title="感谢支持开源项目,我们会努力做的更好!"> <img src="http://alloyteam.github.io/style/image/alipay_btn.jpg" alt="捐赠开源项目" /> </a>

标准访问统计代码

<!--Tencent Analytics-->
<script type="text/javascript" src="http://tajs.qq.com/stats?sId=39379138" charset="UTF-8"></script>
<!--Google Analytics-->
<script type="text/javascript">

  	var _gaq = _gaq || [];
  	_gaq.push(['_setAccount', 'UA-23019343-9']);
  	_gaq.push(['_trackPageview']);

	(function() {
	   	var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
	    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
	    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
	})();

</script>

关于团队

var AlloyTeam = {
    name: 'AlloyTeam',
    qq: 1838456721,
    site: 'http://www.alloyteam.com/',
    github: 'http://alloyteam.github.io/',
    coding: 'http://www.coding.net/alloyteam/'
}

alloyteam.github.com's People

Contributors

alloyos2 avatar biqing avatar chemdemo avatar csonlai avatar hongru avatar iptton avatar kinvix avatar kokdemo avatar liyunsheng avatar materliu avatar rehorn avatar sheranli avatar websiteflash avatar williamtank avatar yuanyan avatar yuri4ever avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.