Changes between Version 1 and Version 2 of magazine_zhizuoAndApp_protocol


Ignore:
Timestamp:
03/07/2016 08:29:27 PM (10 years ago)
Author:
huzhixiang
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • magazine_zhizuoAndApp_protocol

    v1 v2  
    11|---------------- 
    2 {{{#!th height="30" width="200" 
     2{{{#!th height="30" width="200" style="background: #adf" 
    33功能 
    44}}} 
    5 {{{#!th height="30" width="600" 
     5{{{#!th height="30" width="600" style="background: #adf" 
    66API 
    77}}} 
    8 {{{#!th height="30" width="200" 
     8{{{#!th height="30" width="200" style="background: #adf" 
    99备注 
    1010}}} 
     
    9090}}} 
    9191{{{#!th height="30" width="200" 
    92 url默认使用itunes下载地址 
    93 }}} 
    94 |---------------- 
    95 {{{#!th height="30" width="200" 
    96 成功发送微博后触发 
    97 }}} 
    98 {{{#!th height="30" width="600" align="left" 
    99 app:Magazine.trigger(2,{username:123,shareType:2}) [[BR]] 
    100 html:Magazine.addEvent(2,func)/ Magazine.addEvent(2,func(args){args[0].username})[[BR]] 
    101  
    102 shareType: 
    103 - PCShareToSinaWeibo=1,     /* 新浪微博 */ 
    104 - PCShareToQQWeibo=2,       /* QQ微博 */ 
    105 - PCShareToQZone=3,             /* QQ空间 */ 
    106 - PCShareToWeixin=4,        /* 微信 */ 
    107 - PCShareToQQ=5,                /* QQ */ 
    108 }}} 
    109 {{{#!th height="30" width="200" 
    110  
    111 }}} 
    112 |---------------- 
    113 {{{#!th height="30" width="200" 
    114 热区点击分享后终止触发 
     92url默认使用itunes下载地址[[BR]] 
     93尾巴是指拼接在文字后面的app名称 
     94}}} 
     95|---------------- 
     96{{{#!th height="30" width="200" 
     97热区点击微博分享,用户手动点击返回按钮 
    11598}}} 
    11699{{{#!th height="30" width="600" 
     
    133116"app:Magazine.trigger(6,{isSuccess:1,shareType:2})[[BR]] 
    134117 
    135 html:Magazine.addEvent(2,func)/ Magazine.addEvent(2,func(args) [[BR]] 
    136 {args[0].username}) 
    137  
    138 [[BR]] 
     118html:Magazine.addEvent(6,func) 
    139119说明:[[BR]] 
    1401201、isSuccess为0表示分享失败,1表示分享成功[[BR]] 
     
    190170|---------------- 
    191171{{{#!th height="30" width="200" 
    192 保存图片 
    193 }}} 
    194 {{{#!th height="30" width="600" 
    195 saveimage:article-xxx/picture.png 
    196 }}} 
    197 {{{#!th height="30" width="200" 
    198  
    199 }}} 
    200 |---------------- 
    201 {{{#!th height="30" width="200" 
    202 全屏组图 
    203 }}} 
    204 {{{#!th height="30" width="600" 
    205 groupimage:image_path 
    206 }}} 
    207 {{{#!th height="30" width="200" 
    208  
    209 }}} 
    210 |---------------- 
    211 {{{#!th height="30" width="200" 
    212 打开iTunes链接 
    213 }}} 
    214 {{{#!th height="30" width="600" 
    215 http://itunes.apple.com/cn/app/id415249203?mt=8 
    216 }}} 
    217 {{{#!th height="30" width="200" 
    218  
     172跳到AppStore 
     173}}} 
     174{{{#!th height="30" width="600" 
     175pcopenappstore:http://itunes.apple.com/cn/app/id415249203?mt=8 
     176}}} 
     177{{{#!th height="30" width="200" 
     178后面拼上app的iTunes地址 
    219179}}} 
    220180|---------------- 
     
    244204{{{#!th height="30" width="600" 
    245205url:http://article-123/page-0 
    246 }}} 
    247 {{{#!th height="30" width="200" 
    248  
    249 }}} 
    250 |---------------- 
    251 {{{#!th height="30" width="200" 
    252 看评论 
    253 }}} 
    254 {{{#!th height="30" width="600" 
    255 magazineComments:1  
    256 }}} 
    257 {{{#!th height="30" width="200" 
    258  
    259 }}} 
    260 |---------------- 
    261 {{{#!th height="30" width="200" 
    262 写评论 
    263 }}} 
    264 {{{#!th height="30" width="600" 
    265 magazineComments:2 
    266206}}} 
    267207{{{#!th height="30" width="200" 
     
    281221}}} 
    282222{{{#!th height="30" width="200" 
    283  
     223play:播放 
     224pause:暂停 
     225stop:暂停. 点击后需重新导入音频才可播放 
     226time:单位是秒 
    284227}}} 
    285228|---------------- 
     
    291234}}} 
    292235{{{#!th height="30" width="200" 
    293  
     236只是汽车杂志使用 
    294237}}} 
    295238|---------------- 
     
    299242{{{#!th height="30" width="600" 
    300243adclick:本田广告 
    301 }}} 
    302 {{{#!th height="30" width="200" 
    303  
    304 }}} 
    305 |---------------- 
    306 {{{#!th height="30" width="200" 
    307 写邮件 
    308 }}} 
    309 {{{#!th height="30" width="600" align="left" 
    310 herf="mailto:abc@pconline.com.cn?subject=%3F%3D&boby=你好3D" 
    311  
    312 其中subject、和boby内 
    313 - %3F : ?[[BR]] 
    314 - %3D : = 
    315 }}} 
    316 {{{#!th height="30" width="200" 
    317  
    318 }}} 
    319 |---------------- 
    320 {{{#!th height="30" width="200" 
    321 锁屏旋转 
    322 }}} 
    323 {{{#!th height="30" width="600" 
    324 锁屏:lockrotation:1 [[BR]] 
    325 恢复:lockrotation:0 
    326 }}} 
    327 {{{#!th height="30" width="200" 
    328  
    329 }}} 
    330 |---------------- 
    331 {{{#!th height="30" width="200" 
    332 app(非html)视频自动播放 
    333 }}} 
    334 {{{#!th height="30" width="600" 
    335 abc.mp4/Y[[BR]] 
    336 abc.mp4/N 
    337244}}} 
    338245{{{#!th height="30" width="200" 
     
    352259太平洋账号昵称 username[[BR]] 
    353260太平洋账号头像 userimage[[BR]] 
     261用户头像 userimage[[BR]] 
     262common_session_id[[BR]] 
     263cmu[[BR]] 
     264dev_id[[BR]] 
    354265openUDID串 openudid 
    355266}}} 
     
    400311passonclickevent[[BR]] 
    401312adclick:[[BR]] 
    402 itunes[[BR]] 
     313pcopenappstore:[[BR]] 
    403314#custombrowser[[BR]] 
    404315groupimage:[[BR]] 
     
    431342 
    432343}}} 
     344|---------------- 
     345{{{#!th height="30" width="200" style="background: #8ff" 
     346不常用协议 
     347}}} 
     348{{{#!th height="30" width="600" style="background: #8ff" 
     349不常用协议 
     350}}} 
     351{{{#!th height="30" width="200" style="background: #8ff" 
     352不常用协议 
     353}}} 
     354|---------------- 
     355{{{#!th height="30" width="200" 
     356保存图片 
     357}}} 
     358{{{#!th height="30" width="600" 
     359saveimage:article-xxx/picture.png 
     360}}} 
     361{{{#!th height="30" width="200" 
     362图片的绝对路径 
     363}}} 
     364|---------------- 
     365{{{#!th height="30" width="200" 
     366全屏组图 
     367}}} 
     368{{{#!th height="30" width="600" 
     369groupimage:image_path 
     370}}} 
     371{{{#!th height="30" width="200" 
     372图片的绝对路径 
     373}}} 
     374|---------------- 
     375{{{#!th height="30" width="200" 
     376看评论 
     377}}} 
     378{{{#!th height="30" width="600" 
     379magazineComments:1  
     380}}} 
     381{{{#!th height="30" width="200" 
     382 
     383}}} 
     384|---------------- 
     385{{{#!th height="30" width="200" 
     386写评论 
     387}}} 
     388{{{#!th height="30" width="600" 
     389magazineComments:2 
     390}}} 
     391{{{#!th height="30" width="200" 
     392 
     393}}} 
     394|---------------- 
     395{{{#!th height="30" width="200" 
     396写邮件 
     397}}} 
     398{{{#!th height="30" width="600" align="left" 
     399herf="mailto:abc@pconline.com.cn?subject=%3F%3D&boby=你好3D" 
     400 
     401其中subject、和boby内 
     402- %3F : ?[[BR]] 
     403- %3D : = 
     404}}} 
     405{{{#!th height="30" width="200" 
     406 
     407}}} 
     408|---------------- 
     409{{{#!th height="30" width="200" 
     410锁屏旋转 
     411}}} 
     412{{{#!th height="30" width="600" 
     413锁屏:lockrotation:1 [[BR]] 
     414恢复:lockrotation:0 
     415}}} 
     416{{{#!th height="30" width="200" 
     417 
     418}}} 
     419|---------------- 
     420{{{#!th height="30" width="200" 
     421app(非html)视频自动播放 
     422}}} 
     423{{{#!th height="30" width="600" 
     424abc.mp4/Y[[BR]] 
     425abc.mp4/N 
     426}}} 
     427{{{#!th height="30" width="200" 
     428 
     429}}} 
     430|---------------- 
     431{{{#!th height="30" width="200" style="background: #8ff" 
     432去掉的协议 
     433}}} 
     434{{{#!th height="30" width="600" style="background: #8ff" 
     435去掉的协议 
     436}}} 
     437{{{#!th height="30" width="200" style="background: #8ff" 
     438去掉的协议 
     439}}} 
     440|---------------- 
     441{{{#!th height="30" width="200" 
     442成功发送微博后触发 
     443}}} 
     444{{{#!th height="30" width="600" align="left" 
     445app:Magazine.trigger(2,{username:123,shareType:2}) [[BR]] 
     446html:Magazine.addEvent(2,func)/ Magazine.addEvent(2,func(args){args[0].username})[[BR]] 
     447 
     448shareType: 
     449- PCShareToSinaWeibo=1,     /* 新浪微博 */ 
     450- PCShareToQQWeibo=2,       /* QQ微博 */ 
     451- PCShareToQZone=3,             /* QQ空间 */ 
     452- PCShareToWeixin=4,        /* 微信 */ 
     453- PCShareToQQ=5,                /* QQ */ 
     454}}} 
     455{{{#!th height="30" width="200" 
     456 
     457}}}