Sfoglia il codice sorgente

Merge branch 'master' of http://svn.ouj.com:3000/dwdoc/web

baichun 5 anni fa
parent
commit
452e415bab
3 ha cambiato i file con 31 aggiunte e 6 eliminazioni
  1. 6 3
      README.md
  2. 24 2
      otherProgram/webGame.md
  3. 1 1
      phpProgram/README.md

+ 6 - 3
README.md

@@ -6,9 +6,12 @@
 http://gitbook.duowan.com/dwdoc/web/
 
 ## 工作报告
-worktile: https://wanhefed.worktile.com/messages/chats/5a9e13a6aecc1915653faf18
-日报: https://docs.google.com/spreadsheets/d/1XcFn6YAYcQLlKmM1wEU-n-VDHq4TkhdkFdRGjVae08E/edit#gid=624315789
-周报: https://docs.google.com/spreadsheets/d/1D4n8OpOvm1vZVDz-VAJEPThaoWDkRNgYlRuJvByMW1w/edit#gid=790860190
+
+worktile:https://wanhefed.worktile.com/messages/chats/5a9e13a6aecc1915653faf18  
+
+日报:https://docs.google.com/spreadsheets/d/1XcFn6YAYcQLlKmM1wEU-n-VDHq4TkhdkFdRGjVae08E/edit#gid=624315789  
+
+周报:https://docs.google.com/spreadsheets/d/1D4n8OpOvm1vZVDz-VAJEPThaoWDkRNgYlRuJvByMW1w/edit#gid=790860190
 
 ## 开发环境:
 

+ 24 - 2
otherProgram/webGame.md

@@ -72,6 +72,30 @@ var vm = avalon.define(_.extend({
 
 ### 广告
 
+> 广告部分暂时有两个自定义的广告位置,一个是右上角的,有个是右边侧边栏,对应接口是一个静态的JSON文件。修改图片链接或者是其他都在JSON文件中直接修改
+
+```JSON
+// 多玩游戏大厅/模板管理/广告数据
+jsonp_dwDa({
+  //web顶部导航-图文广告300*76
+  headerRight:{
+     title:'xx',
+     clientLink:'http://www.duowan.com/', // 客户端打开的链接
+     webLink:'http://pgame.duowan.com/dwgame.html', // web downLoad的链接
+     img:'http://img.dwstatic.com/yxdt/adPic/1907topright.png',
+     report:'dwgame_nav_youshangjiao' //上报id
+  },
+  //主页-右侧广告-宽250
+  mainRight:{
+     title:'xx',
+     clientLink:'dwgame://yygame', // 客户端打开的链接
+     webLink:'http://wan.yy.com/', // web 打开的链接
+     img:'http://img.dwstatic.com/yxdt/adPic/1906right.jpg',
+     report:'dwgame_main_youce' //上报id
+  },
+});
+```
+
 - 在发布器中,对应项目中的模板中会可以看到对应的广告。增加广告或者是删除广告等。
 
 [![avatar](../image/webgame1.png)](../image/webgame1.png)
@@ -109,5 +133,3 @@ $(window).load(function () {
     |- popup  // 都是大厅里面的弹窗
     |- propCenter // 道具中心在盒子client中广告中体现(暂时)
 ```
-
-> 

+ 1 - 1
phpProgram/README.md

@@ -30,7 +30,7 @@ fis3,seajs,jquery
         |- tpl                      --- 模板资源
         |- widget                   --- 封装独立的业务插件(自己写|引用)
         |- dev-watch.md             --- 项目运行编译脚本-window
-        |- dev-watch.sh             
+        |- dev-watch.sh
         |- fis-conf.js              --- fis配置文件
     |- views                        --- 页面视图(访问页面由controller指向)
     |- 其他                         --- php相关