Showing
132 changed files
with
0 additions
and
1785 deletions
.DS_Store
deleted
100644 → 0
No preview for this file type
.gitignore
deleted
100644 → 0
1 | -/publicAndroidSDK/demo/Demo_PoolSdk/bin |
README.md
deleted
100644 → 0
1 | -# 更新说明 | ||
2 | - | ||
3 | -2018-07-05<br> | ||
4 | -1、修复bug | ||
5 | - | ||
6 | -2018-02-26<br> | ||
7 | -1、PoolSdkHelper中添加callFunc(String funcName, Map<Object, Object> param)作为通用接口,用于处理现有接口无法处理的需求,使用前需先与公共SDK接入同事确认方法用途。 | ||
8 | -2、添加onRequestPermissionsResult(int requestCode, String[] permissions, int[] grantResults),用于安卓6.0权限获取回调。 | ||
9 | - | ||
10 | -2018-01-16<br> | ||
11 | -1、添加单机轮询补单处理 | ||
12 | -单机游戏无服务端时需调用接口:<br> | ||
13 | -(1)PoolSdkHelper.setPayListener(mPoolPayListener );调用登录接口前调用<br> | ||
14 | -(2)PoolSdkHelper.paymentSuccess(AppActivity.this, orderIds.toString()); 游戏发货成功时调用,样例可查看文档 | ||
15 | - | ||
16 | -2017-07-31<br> | ||
17 | -1、修改聊天统计接口 | ||
18 | - | ||
19 | -2017-07-24<br> | ||
20 | -1、添加聊天统计,安装统计方法修改 | ||
21 | - | ||
22 | -2017-07-07<br> | ||
23 | -1、sdk更新和添加文件损坏处理 | ||
24 | - | ||
25 | -```xml | ||
26 | -2017-4-24 | ||
27 | -1、删除了SDK相关so库 | ||
28 | -``` | ||
29 | - | ||
30 | -```xml | ||
31 | -2017-2-09 | ||
32 | -1、已接入直接替换poolsdkV2.jar | ||
33 | -``` | ||
34 | - | ||
35 | -```xml | ||
36 | -2017-1-10 | ||
37 | -1、重新替换asset/poolsdk.xml | ||
38 | -``` | ||
39 | - | ||
40 | -```xml | ||
41 | -2016-12-14 | ||
42 | -1、公共SDK加入9133正式版SDK | ||
43 | -``` | ||
44 | - | ||
45 | -2016-07-26: | ||
46 | -1、公共SDK安卓版本提交 | ||
47 | -<br>2016-12-7: | ||
48 | -<br>1、添加注销接口,切换账号接口 | ||
49 | -<br>2、添加了onSaveInstanceState,onRestoreInstanceState,onWindowFocusChanged,onWindowAttributesChanged等接口 | ||
50 | -<br>3、提交角色方法增加了字段 |
publicAndroidSDK/.DS_Store
deleted
100755 → 0
No preview for this file type
publicAndroidSDK/assets/.DS_Store
deleted
100644 → 0
No preview for this file type
publicAndroidSDK/assets/poolsdk.xml
deleted
100644 → 0
1 | -<?xml version="1.0" encoding="utf-8"?> | ||
2 | -<config> | ||
3 | - | ||
4 | - <sdkconfig | ||
5 | - YA_APPID="58fd78a9834e7246b8dc0eac" | ||
6 | - YA_APPKEY="b06b86b79c25774ec758657a7203bae6" | ||
7 | - gamesimplename="fytx_test" | ||
8 | - sdksimplename="youyu" | ||
9 | - sdkversioncode="V1_1" | ||
10 | - channelparameter1="" | ||
11 | - channelparameter2="" | ||
12 | - custom="" | ||
13 | - gamechannelid="" | ||
14 | - logincheckurl="http://login.public.sdk.gzyouai.com/logincheck/check" | ||
15 | - paycheckurl="http://pay.public.sdk.gzyouai.com/paycheck/confirm" | ||
16 | - payorderurl="http://pay.public.sdk.gzyouai.com/paycheck/create" | ||
17 | - usertype="gssaXIIEiL0=" /> | ||
18 | - | ||
19 | -</config> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
publicAndroidSDK/assets/sdk.zip
deleted
100644 → 0
No preview for this file type
No preview for this file type
publicAndroidSDK/assets/sdk/.project
deleted
100644 → 0
1 | -<?xml version="1.0" encoding="UTF-8"?> | ||
2 | -<projectDescription> | ||
3 | - <name>sdk_3</name> | ||
4 | - <comment></comment> | ||
5 | - <projects> | ||
6 | - </projects> | ||
7 | - <buildSpec> | ||
8 | - <buildCommand> | ||
9 | - <name>com.aptana.editor.php.aptanaPhpBuilder</name> | ||
10 | - <arguments> | ||
11 | - </arguments> | ||
12 | - </buildCommand> | ||
13 | - <buildCommand> | ||
14 | - <name>com.aptana.ide.core.unifiedBuilder</name> | ||
15 | - <arguments> | ||
16 | - </arguments> | ||
17 | - </buildCommand> | ||
18 | - </buildSpec> | ||
19 | - <natures> | ||
20 | - <nature>com.aptana.projects.webnature</nature> | ||
21 | - <nature>com.aptana.editor.php.phpNature</nature> | ||
22 | - </natures> | ||
23 | - <filteredResources> | ||
24 | - <filter> | ||
25 | - <id>1489975865951</id> | ||
26 | - <name></name> | ||
27 | - <type>26</type> | ||
28 | - <matcher> | ||
29 | - <id>org.eclipse.ui.ide.multiFilter</id> | ||
30 | - <arguments>1.0-name-matches-false-false-node_modules</arguments> | ||
31 | - </matcher> | ||
32 | - </filter> | ||
33 | - </filteredResources> | ||
34 | -</projectDescription> |
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
1 | -//游戏皮肤对应manifest文件的生成配置文件, 包括基本的第三方库、业务逻辑js、样式 | ||
2 | - | ||
3 | -var base_js = [ | ||
4 | - 'js/fastclick.min.1.0.js', | ||
5 | - 'js/zepto.min.js', | ||
6 | - 'js/doT.min.js', | ||
7 | - 'js/iscroll.min.1.0.js' | ||
8 | -] | ||
9 | - | ||
10 | -var concat_with_mtime = [ | ||
11 | - 'skin/new_sdk.min.css', | ||
12 | - 'skin/responsive.min.css', | ||
13 | - 'js/core.min.js', | ||
14 | - 'js/loader.min.js', | ||
15 | - 'js/center.min.js', | ||
16 | - 'js/pay.min.js', | ||
17 | - 'js/login.min.js' | ||
18 | -] | ||
19 | - | ||
20 | -var htmls = [ | ||
21 | - 'login.html', | ||
22 | - 'center.html', | ||
23 | - 'pay.html', | ||
24 | - 'share.html' | ||
25 | -] | ||
26 | - | ||
27 | -var images = 'skin/img'; | ||
28 | - | ||
29 | -var target = [ | ||
30 | - 'bllm', | ||
31 | - 'bwts', | ||
32 | - 'bwzq', | ||
33 | - 'fytx', | ||
34 | - 'hxjh', | ||
35 | - 'rxxt', | ||
36 | - 'sgg', | ||
37 | - 'smlw', | ||
38 | - 'twzw', | ||
39 | - 'whj' | ||
40 | -] | ||
41 | -exports.htmls = htmls; | ||
42 | -exports.target = target; | ||
43 | -exports.concat_with_mtime = concat_with_mtime; | ||
44 | -exports.base_js = base_js; | ||
45 | -exports.images = images; | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
No preview for this file type
This diff is collapsed. Click to expand it.
No preview for this file type
No preview for this file type

7.05 KB

81 KB
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
1 | -// Laura Doktorova https://github.com/olado/doT | ||
2 | -(function(){function o(){var b={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},a=/&(?!#?\w+;)|<|>|"|'|\//g;return function(f){return f?f.toString().replace(a,function(g){return b[g]||g}):f}}function p(b,a,f){return(typeof a==="string"?a:a.toString()).replace(b.define||h,function(g,e,c,i){if(e.indexOf("def.")===0)e=e.substring(4);if(!(e in f))if(c===":")f[e]=i;else eval("def['"+e+"']="+i);return""}).replace(b.use||h,function(g,e){var c=eval(e);return c?p(b,c,f):c})}function l(b){return b.replace(/\\('|\\)/g, | ||
3 | -"$1").replace(/[\r\t\n]/g," ")}var j={version:"0.2.0",templateSettings:{evaluate:/\{\{([\s\S]+?)\}\}/g,interpolate:/\{\{=([\s\S]+?)\}\}/g,encode:/\{\{!([\s\S]+?)\}\}/g,use:/\{\{#([\s\S]+?)\}\}/g,define:/\{\{##\s*([\w\.$]+)\s*(\:|=)([\s\S]+?)#\}\}/g,conditional:/\{\{\?(\?)?\s*([\s\S]*?)\s*\}\}/g,iterate:/\{\{~\s*(?:\}\}|([\s\S]+?)\s*\:\s*([\w$]+)\s*(?:\:\s*([\w$]+))?\s*\}\})/g,varname:"it",strip:true,append:true,selfcontained:false},template:undefined,compile:undefined},m=function(){return this||(0,eval)("this")}(); | ||
4 | -if(typeof module!=="undefined"&&module.exports)module.exports=j;else if(typeof define==="function"&&define.amd)define(function(){return j});else m.doT=j;m.encodeHTML=o();var q={append:{start:"'+(",end:")+'",startencode:"'+encodeHTML("},split:{start:"';out+=(",end:");out+='",startencode:"';out+=encodeHTML("}},h=/$^/;j.template=function(b,a,f){a=a||j.templateSettings;var g=a.append?q.append:q.split,e,c=0,i;if(a.use||a.define){var r=m.def;m.def=f||{};b=p(a,b,m.def);m.def=r}b=("var out='"+(a.strip?b.replace(/(^|\r|\n)\t* +| +\t*(\r|\n|$)/g, | ||
5 | -" ").replace(/\r|\n|\t|\/\*[\s\S]*?\*\//g,""):b).replace(/'|\\/g,"\\$&").replace(a.interpolate||h,function(n,d){return g.start+l(d)+g.end}).replace(a.encode||h,function(n,d){e=true;return g.startencode+l(d)+g.end}).replace(a.conditional||h,function(n,d,k){return d?k?"';}else if("+l(k)+"){out+='":"';}else{out+='":k?"';if("+l(k)+"){out+='":"';}out+='"}).replace(a.iterate||h,function(n,d,k,s){if(!d)return"';} } out+='";c+=1;i=s||"i"+c;d=l(d);return"';var arr"+c+"="+d+";if(arr"+c+"){var "+k+","+i+"=-1,l"+ | ||
6 | -c+"=arr"+c+".length-1;while("+i+"<l"+c+"){"+k+"=arr"+c+"["+i+"+=1];out+='"}).replace(a.evaluate||h,function(n,d){return"';"+l(d)+"out+='"})+"';return out;").replace(/\n/g,"\\n").replace(/\t/g,"\\t").replace(/\r/g,"\\r").replace(/(\s|;|}|^|{)out\+='';/g,"$1").replace(/\+''/g,"").replace(/(\s|;|}|^|{)out\+=''\+/g,"$1out+=");if(e&&a.selfcontained)b="var encodeHTML=("+o.toString()+"());"+b;try{return new Function(a.varname,b)}catch(t){typeof console!=="undefined"&&console.log("Could not create a template function: "+ | ||
7 | -b);throw t;}};j.compile=function(b,a){return j.template(b,null,a)}})(); |
1 | -function FastClick(layer){"use strict";var oldOnClick,self=this;this.trackingClick=false;this.trackingClickStart=0;this.targetElement=null;this.touchStartX=0;this.touchStartY=0;this.lastTouchIdentifier=0;this.touchBoundary=10;this.layer=layer;if(!layer||!layer.nodeType){throw new TypeError("Layer must be a document node")}this.onClick=function(){return FastClick.prototype.onClick.apply(self,arguments)};this.onMouse=function(){return FastClick.prototype.onMouse.apply(self,arguments)};this.onTouchStart=function(){return FastClick.prototype.onTouchStart.apply(self,arguments)};this.onTouchEnd=function(){return FastClick.prototype.onTouchEnd.apply(self,arguments)};this.onTouchCancel=function(){return FastClick.prototype.onTouchCancel.apply(self,arguments)};if(FastClick.notNeeded(layer)){return}if(this.deviceIsAndroid){layer.addEventListener("mouseover",this.onMouse,true);layer.addEventListener("mousedown",this.onMouse,true);layer.addEventListener("mouseup",this.onMouse,true)}layer.addEventListener("click",this.onClick,true);layer.addEventListener("touchstart",this.onTouchStart,false);layer.addEventListener("touchend",this.onTouchEnd,false);layer.addEventListener("touchcancel",this.onTouchCancel,false);if(!Event.prototype.stopImmediatePropagation){layer.removeEventListener=function(type,callback,capture){var rmv=Node.prototype.removeEventListener;if(type==="click"){rmv.call(layer,type,callback.hijacked||callback,capture)}else{rmv.call(layer,type,callback,capture)}};layer.addEventListener=function(type,callback,capture){var adv=Node.prototype.addEventListener;if(type==="click"){adv.call(layer,type,callback.hijacked||(callback.hijacked=function(event){if(!event.propagationStopped){callback(event)}}),capture)}else{adv.call(layer,type,callback,capture)}}}if(typeof layer.onclick==="function"){oldOnClick=layer.onclick;layer.addEventListener("click",function(event){oldOnClick(event)},false);layer.onclick=null}}FastClick.prototype.deviceIsAndroid=navigator.userAgent.indexOf("Android")>0;FastClick.prototype.deviceIsIOS=/iP(ad|hone|od)/.test(navigator.userAgent);FastClick.prototype.deviceIsIOS4=FastClick.prototype.deviceIsIOS&&/OS 4_\d(_\d)?/.test(navigator.userAgent);FastClick.prototype.deviceIsIOSWithBadTarget=FastClick.prototype.deviceIsIOS&&/OS ([6-9]|\d{2})_\d/.test(navigator.userAgent);FastClick.prototype.needsClick=function(target){"use strict";switch(target.nodeName.toLowerCase()){case"button":case"select":case"textarea":if(target.disabled){return true}break;case"input":if(this.deviceIsIOS&&target.type==="file"||target.disabled){return true}break;case"label":case"video":return true}return/\bneedsclick\b/.test(target.className)};FastClick.prototype.needsFocus=function(target){"use strict";switch(target.nodeName.toLowerCase()){case"textarea":case"select":return true;case"input":switch(target.type){case"button":case"checkbox":case"file":case"image":case"radio":case"submit":return false}return!target.disabled&&!target.readOnly;default:return/\bneedsfocus\b/.test(target.className)}};FastClick.prototype.sendClick=function(targetElement,event){"use strict";var clickEvent,touch;if(document.activeElement&&document.activeElement!==targetElement){document.activeElement.blur()}touch=event.changedTouches[0];clickEvent=document.createEvent("MouseEvents");clickEvent.initMouseEvent("click",true,true,window,1,touch.screenX,touch.screenY,touch.clientX,touch.clientY,false,false,false,false,0,null);clickEvent.forwardedTouchEvent=true;targetElement.dispatchEvent(clickEvent)};FastClick.prototype.focus=function(targetElement){"use strict";var length;if(this.deviceIsIOS&&targetElement.setSelectionRange){length=targetElement.value.length;targetElement.setSelectionRange(length,length)}else{targetElement.focus()}};FastClick.prototype.updateScrollParent=function(targetElement){"use strict";var scrollParent,parentElement;scrollParent=targetElement.fastClickScrollParent;if(!scrollParent||!scrollParent.contains(targetElement)){parentElement=targetElement;do{if(parentElement.scrollHeight>parentElement.offsetHeight){scrollParent=parentElement;targetElement.fastClickScrollParent=parentElement;break}parentElement=parentElement.parentElement}while(parentElement)}if(scrollParent){scrollParent.fastClickLastScrollTop=scrollParent.scrollTop}};FastClick.prototype.getTargetElementFromEventTarget=function(eventTarget){"use strict";if(eventTarget.nodeType===Node.TEXT_NODE){return eventTarget.parentNode}return eventTarget};FastClick.prototype.onTouchStart=function(event){"use strict";var targetElement,touch,selection;if(event.targetTouches.length>1){return true}targetElement=this.getTargetElementFromEventTarget(event.target);touch=event.targetTouches[0];if(this.deviceIsIOS){selection=window.getSelection();if(selection.rangeCount&&!selection.isCollapsed){return true}if(!this.deviceIsIOS4){if(touch.identifier===this.lastTouchIdentifier){event.preventDefault();return false}this.lastTouchIdentifier=touch.identifier;this.updateScrollParent(targetElement)}}this.trackingClick=true;this.trackingClickStart=event.timeStamp;this.targetElement=targetElement;this.touchStartX=touch.pageX;this.touchStartY=touch.pageY;if(event.timeStamp-this.lastClickTime<200){event.preventDefault()}return true};FastClick.prototype.touchHasMoved=function(event){"use strict";var touch=event.changedTouches[0],boundary=this.touchBoundary;if(Math.abs(touch.pageX-this.touchStartX)>boundary||Math.abs(touch.pageY-this.touchStartY)>boundary){return true}return false};FastClick.prototype.findControl=function(labelElement){"use strict";if(labelElement.control!==undefined){return labelElement.control}if(labelElement.htmlFor){return document.getElementById(labelElement.htmlFor)}return labelElement.querySelector("button, input:not([type=hidden]), keygen, meter, output, progress, select, textarea")};FastClick.prototype.onTouchEnd=function(event){"use strict";var forElement,trackingClickStart,targetTagName,scrollParent,touch,targetElement=this.targetElement;if(this.touchHasMoved(event)){this.trackingClick=false;this.targetElement=null}if(!this.trackingClick){return true}if(event.timeStamp-this.lastClickTime<200){this.cancelNextClick=true;return true}this.lastClickTime=event.timeStamp;trackingClickStart=this.trackingClickStart;this.trackingClick=false;this.trackingClickStart=0;if(this.deviceIsIOSWithBadTarget){touch=event.changedTouches[0];targetElement=document.elementFromPoint(touch.pageX-window.pageXOffset,touch.pageY-window.pageYOffset)||targetElement;targetElement.fastClickScrollParent=this.targetElement.fastClickScrollParent}targetTagName=targetElement.tagName.toLowerCase();if(targetTagName==="label"){forElement=this.findControl(targetElement);if(forElement){this.focus(targetElement);if(this.deviceIsAndroid){return false}targetElement=forElement}}else if(this.needsFocus(targetElement)){if(event.timeStamp-trackingClickStart>100||this.deviceIsIOS&&window.top!==window&&targetTagName==="input"){this.targetElement=null;return false}this.focus(targetElement);if(!this.deviceIsIOS4||targetTagName!=="select"){this.targetElement=null;event.preventDefault()}return false}if(this.deviceIsIOS&&!this.deviceIsIOS4){scrollParent=targetElement.fastClickScrollParent;if(scrollParent&&scrollParent.fastClickLastScrollTop!==scrollParent.scrollTop){return true}}if(!this.needsClick(targetElement)){event.preventDefault();this.sendClick(targetElement,event)}return false};FastClick.prototype.onTouchCancel=function(){"use strict";this.trackingClick=false;this.targetElement=null};FastClick.prototype.onMouse=function(event){"use strict";if(!this.targetElement){return true}if(event.forwardedTouchEvent){return true}if(!event.cancelable){return true}if(!this.needsClick(this.targetElement)||this.cancelNextClick){if(event.stopImmediatePropagation){event.stopImmediatePropagation()}else{event.propagationStopped=true}event.stopPropagation();event.preventDefault();return false}return true};FastClick.prototype.onClick=function(event){"use strict";var permitted;if(this.trackingClick){this.targetElement=null;this.trackingClick=false;return true}if(event.target.type==="submit"&&event.detail===0){return true}permitted=this.onMouse(event);if(!permitted){this.targetElement=null}return permitted};FastClick.prototype.destroy=function(){"use strict";var layer=this.layer;if(this.deviceIsAndroid){layer.removeEventListener("mouseover",this.onMouse,true);layer.removeEventListener("mousedown",this.onMouse,true);layer.removeEventListener("mouseup",this.onMouse,true)}layer.removeEventListener("click",this.onClick,true);layer.removeEventListener("touchstart",this.onTouchStart,false);layer.removeEventListener("touchend",this.onTouchEnd,false);layer.removeEventListener("touchcancel",this.onTouchCancel,false)};FastClick.notNeeded=function(layer){"use strict";var metaViewport;if(typeof window.ontouchstart==="undefined"){return true}if(/Chrome\/[0-9]+/.test(navigator.userAgent)){if(FastClick.prototype.deviceIsAndroid){metaViewport=document.querySelector("meta[name=viewport]");if(metaViewport&&metaViewport.content.indexOf("user-scalable=no")!==-1){return true}}else{return true}}if(layer.style.msTouchAction==="none"){return true}return false};FastClick.attach=function(layer){"use strict";return new FastClick(layer)};if(typeof define!=="undefined"&&define.amd){define(function(){"use strict";return FastClick})}else if(typeof module!=="undefined"&&module.exports){module.exports=FastClick.attach;module.exports.FastClick=FastClick}else{window.FastClick=FastClick} | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
1 | -(function() { | ||
2 | - // 加载数据 | ||
3 | - var goInit = function() { | ||
4 | - if (window.isGetData == 1) { | ||
5 | - Core.init(); | ||
6 | - } else { | ||
7 | - window.isGetData = 1; | ||
8 | - } | ||
9 | - } | ||
10 | - var getData = function(url) { | ||
11 | - var params = location.hash.slice(1); | ||
12 | - var args = params.match(/app_id=(\w*)&?/); | ||
13 | - var start_page = params.match(/mod=(\w*)&?/); | ||
14 | - var core_server = params.match(/core_server=(.*)&?/); | ||
15 | - var appId = ''; | ||
16 | - | ||
17 | - var skin_v = '?' + $('#skin').attr('data-v'); | ||
18 | - if (args && args.length == 2) { | ||
19 | - //匹配出app_id | ||
20 | - appId = args[1]; | ||
21 | - } | ||
22 | - if(start_page && start_page.length == 2){ | ||
23 | - //匹配出启动模块 | ||
24 | - Core.start_page = start_page[1]; | ||
25 | - console.log(Core.start_page); | ||
26 | - } | ||
27 | - if (core_server){ | ||
28 | - Core.server = core_server[1] | ||
29 | - } | ||
30 | - location.hash = ''; | ||
31 | - if (appId == '') { | ||
32 | - //刷新地址出错 | ||
33 | - params = localStorage.getItem('params_' + url); | ||
34 | - appId = localStorage.getItem('app_id'); | ||
35 | - } else { | ||
36 | - localStorage.setItem('params_' + url, params); | ||
37 | - localStorage.setItem('app_id', appId); | ||
38 | - } | ||
39 | - | ||
40 | - Core.params = params; | ||
41 | - if (!appId) { | ||
42 | - //无法获取到app_id | ||
43 | - Core.showTips('无法获取app_id!', false, 3000); | ||
44 | - goInit(); | ||
45 | - $('#loading').hide(); | ||
46 | - return; | ||
47 | - } | ||
48 | - Core.Data.app_id = appId; | ||
49 | - var setSkin = false; | ||
50 | - //先尝试设置皮肤,检查是否自动登录 | ||
51 | - var tryAutoLogin = false; | ||
52 | - var _skin = localStorage.getItem('skin_' + appId); | ||
53 | - if (_skin) { | ||
54 | - $('#skin').attr('href', Core.server + '/static/sdk/skin/' + _skin + '/skin.css' + skin_v); | ||
55 | - setSkin = true; | ||
56 | - } | ||
57 | - if ($('#login').length != 0) { | ||
58 | - var auto = localStorage.getItem('auto'); | ||
59 | - var auto_time = parseInt(localStorage.getItem('auto_time')); | ||
60 | - var d = new Date().getTime(); | ||
61 | - if (auto == 'true' && (d - auto_time) < 600000) { | ||
62 | - tryAutoLogin = false; | ||
63 | - } else if (auto == null) { | ||
64 | - tryAutoLogin = false; | ||
65 | - } else { | ||
66 | - tryAutoLogin = true; | ||
67 | - } | ||
68 | - } | ||
69 | - //如果不尝试自动登录,直接初始化界面 | ||
70 | - if (!tryAutoLogin) | ||
71 | - goInit(); | ||
72 | - | ||
73 | - | ||
74 | - | ||
75 | - | ||
76 | - Core.ajax({ | ||
77 | - type: 'GET', | ||
78 | - url: url + '?' + params, | ||
79 | - dataType: 'json', | ||
80 | - success: function(data) { | ||
81 | - if (data.code == 0) { | ||
82 | - // 成功请求 | ||
83 | - Core.Data = data.msg; | ||
84 | - if (Core.Data.face) { | ||
85 | - Core.Data.face = Core.server + data.msg.face; | ||
86 | - } | ||
87 | - //更新server | ||
88 | - var lastServer = localStorage.getItem('last_server'); | ||
89 | - if (Core.Data.new_server) { | ||
90 | - if (lastServer && lastServer == Core.Data.new_server) { | ||
91 | - //没有变化 | ||
92 | - } else { | ||
93 | - //需要更新server | ||
94 | - var s = 'sdk://changeServer?addr=' + Core.Data.new_server; | ||
95 | - localStorage.setItem('last_server', Core.Data.new_server); | ||
96 | - location.href = s; | ||
97 | - } | ||
98 | - } | ||
99 | - | ||
100 | - if (!setSkin && data.skin) { | ||
101 | - $('#skin').attr('href', Core.server + '/static/sdk/skin/' + data.skin + '/skin.css' + skin_v); | ||
102 | - localStorage.setItem('skin_' + appId, data.skin); | ||
103 | - } | ||
104 | - localStorage.setItem('data_' + url, JSON.stringify(data.msg)); | ||
105 | - | ||
106 | - //模块初始化函数,兼容旧版本sdk | ||
107 | - if (typeof(window.initFunc) == "function") { | ||
108 | - window.initFunc(); | ||
109 | - } | ||
110 | - // 核心初始化 | ||
111 | - $('#loading').hide(); | ||
112 | - if (tryAutoLogin) { | ||
113 | - goInit(); | ||
114 | - } else { | ||
115 | - var first_mod = Core.start_page? Core.start_page: 'home'; | ||
116 | - Core.updateMod(first_mod); | ||
117 | - } | ||
118 | - } else { | ||
119 | - //参数出错,没有游戏服什么的. | ||
120 | - $('#loading').hide(); | ||
121 | - $('<h2 class="error_title">出错了,正在努力抢修中...</h2>').appendTo($('.mask')); | ||
122 | - Core.showTips(data.msg, false, 6000); | ||
123 | - // 核心初始化 | ||
124 | - Core.loadFinished(); | ||
125 | - } | ||
126 | - | ||
127 | - }, | ||
128 | - error: function(xhr, type) { | ||
129 | - // 请求失败,服务器崩溃 | ||
130 | - //尝试从缓存中获取数据 | ||
131 | - var data_str = localStorage.getItem('data_' + url); | ||
132 | - if (data_str && data_str != '') { | ||
133 | - var data = JSON.parse(data_str); | ||
134 | - if (typeof data == "object") { | ||
135 | - Core.Data = data; | ||
136 | - if (tryAutoLogin) { | ||
137 | - goInit(); | ||
138 | - } else { | ||
139 | - Core.updateMod('home'); | ||
140 | - } | ||
141 | - } | ||
142 | - } | ||
143 | - Core.showTips('网络出错,请检查网络状态。', false); | ||
144 | - // 核心初始化 | ||
145 | - $('#loading').hide(); | ||
146 | - } | ||
147 | - | ||
148 | - }); | ||
149 | - } | ||
150 | - window.getData = getData; | ||
151 | -})(); | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
1 | -/*! | ||
2 | -** create by zhangxinxu(.com) 2013-07-15 | ||
3 | -** a simple method for custom scrolling | ||
4 | -** it can be used on both mobile and parts desktop browser IE9+/FF/Chrome/... | ||
5 | -*/ | ||
6 | -var simpScroller=(function(){var c=!((window.DocumentTouch&&document instanceof window.DocumentTouch)||"ontouchstart" in window)*1,b={start:["touchstart","mousedown"][c],move:["touchmove","mousemove"][c],end:["touchend","mouseup"][c]};var a=function(e,l,f){var n="top",o="Top",p="height",g="Height",d="pageY";if(l=="horizontal"){n="left";o="Left";p="width";g="Width";d="pageX"}var i=null;if(f.hideScrollBar==false){i=document.createElement("div");i.className="scroller_"+l;f.container.appendChild(i)}var m=e["client"+g],h=0;var j=function(){if(i==null){return}var r=i.style[p].replace("px",""),q=e["scroll"+o]/(h-m)*(m-r);if(m-r-q<=0){q=m-r}i.style[n]=q+"px"};var k={};e.addEventListener(b.start,function(q){h=this["scroll"+g];k[d]=q.touches?q.touches[0][d]:q[d];k[n]=this["scroll"+o];document.moveFollow=true;if(i&&h>m){i.style.opacity=1;i.style[p]=(m*m/h)+"px";j()}c&&q.preventDefault()});e.addEventListener(b.move,function(q){if(c==false||(document.moveFollow==true)){this["scroll"+o]=k[n]+(k[d]-(q.touches?q.touches[0][d]:q[d]));j();f.onScroll.call(this,q)}q.preventDefault()});e.addEventListener(b.end,function(q){i&&(i.style.opacity=0)});if(c==true){document.addEventListener("mouseup",function(){this.moveFollow=false})}};return function(d,f){f=f||{};var j=new Object({verticalScroll:true,horizontalScroll:false,hideScrollBar:false,onScroll:function(){}}),g;for(g in f){j[g]=f[g]}if(window.getComputedStyle(d).position=="static"){d.style.position="relative"}var i=d.childNodes,e=document.createDocumentFragment();[].slice.call(i).forEach(function(k){e.appendChild(k)});var h=document.createElement("div");h.style.height="100%";h.style.width="100%";h.style.overflow="hidden";d.appendChild(h);h.appendChild(e);j.container=d;if(j.verticalScroll==true){a(h,"vertical",j)}if(j.horizontalScroll==true){a(h,"horizontal",j)}}})(); | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
1 | -/** | ||
2 | - * 动态生成各游戏皮肤下对应的manifest文件。分别将带上修改时间戳的第三方库、业务逻辑js、 | ||
3 | - * sdk基本样式、指定皮肤样式、皮肤资源文件的路径添加到manifes文件中 | ||
4 | - * 并将修改时间更新到html文档的资源引用中 | ||
5 | - * 配置文件:config.js | ||
6 | - * 生成文件:skin/xxxx/sdk.manifest | ||
7 | - * 运行方法:node makefile.js | ||
8 | - **/ | ||
9 | -var fs = require('fs'), | ||
10 | - PATH = require('path'), | ||
11 | - config = require('./config.js'); | ||
12 | - | ||
13 | -var target = config.target; | ||
14 | -var concat_with_mtime = config.concat_with_mtime; | ||
15 | -var base_js = config.base_js; | ||
16 | -var base_img = config.images; | ||
17 | -var htmls = config.htmls; | ||
18 | -//读取三个html文件的内容,以便后面更新引用信息 | ||
19 | - | ||
20 | -var html_content = []; | ||
21 | -for (i = 0, l = htmls.length; i < l; i++) { | ||
22 | - html_content.push(fs.readFileSync(htmls[i], 'utf-8')); | ||
23 | -} | ||
24 | - | ||
25 | -function formatTime(mtime) { | ||
26 | - var date = ''; | ||
27 | - date += mtime.getFullYear(); | ||
28 | - var month = mtime.getMonth() + 1; | ||
29 | - month < 10 ? date += '0' + month : date += month; | ||
30 | - var day = mtime.getDate(); | ||
31 | - day < 10 ? date += '0' + day : date += day; | ||
32 | - var hour = mtime.getHours(); | ||
33 | - hour < 10 ? date += '0' + hour : date += hour; | ||
34 | - var minute = mtime.getMinutes(); | ||
35 | - minute < 10 ? date += '0' + minute : date += minute; | ||
36 | - return date; | ||
37 | -} | ||
38 | -var content = []; | ||
39 | -var path, mtime, jsPath, reg; | ||
40 | -content.push('CACHE MANIFEST'); | ||
41 | -content.push(''); | ||
42 | - | ||
43 | -var now = new Date(); | ||
44 | -content.push('#version=' + formatTime(now)); | ||
45 | - | ||
46 | -for(var i=0, l= htmls.length; i<l; i++){ | ||
47 | - path = htmls[i]; | ||
48 | - if(PATH.existsSync(path)){ | ||
49 | - // mtime = formatTime(fs.statSync(path).mtime); | ||
50 | - content.push('/static/sdk/' + path);// + '?' + mtime); | ||
51 | - } | ||
52 | -} | ||
53 | -for (i = 0, l = base_js.length; i < l; i++) { | ||
54 | - path = base_js[i]; | ||
55 | - if (PATH.existsSync(path)) { | ||
56 | - mtime = formatTime(fs.statSync(path).mtime); | ||
57 | - content.push('/static/sdk/' + path + '?' + mtime); | ||
58 | - //更新login.html, center.html, pay.html的引用信息的版本号 | ||
59 | - for (var j = 0, k = html_content.length; j < k; j++) { | ||
60 | - reg = new RegExp(path.replace('/', '\\/') + '\\?\\d+') | ||
61 | - html_content[j] = html_content[j].replace(reg, path + '?' + mtime); | ||
62 | - } | ||
63 | - } else { | ||
64 | - console.error('指定文件不存在:' + base_js[i]); | ||
65 | - } | ||
66 | -} | ||
67 | - | ||
68 | -for (i = 0, l = concat_with_mtime.length; i < l; i++) { | ||
69 | - path = concat_with_mtime[i]; | ||
70 | - if (PATH.existsSync(path)) { | ||
71 | - mtime = formatTime(fs.statSync(path).mtime); | ||
72 | - content.push('/static/sdk/' + path + '?' + mtime); | ||
73 | - //更新login.html, center.html, pay.html的引用信息的版本号 | ||
74 | - for (j = 0, k = html_content.length; j < k; j++) { | ||
75 | - reg = new RegExp(path.replace('/', '\\/') + '\\?\\d+') | ||
76 | - html_content[j] = html_content[j].replace(reg, path + '?' + mtime); | ||
77 | - } | ||
78 | - } else { | ||
79 | - console.error('指定文件不存在:' + path); | ||
80 | - } | ||
81 | -} | ||
82 | -// 添加sdk基本图片资源 | ||
83 | -/* | ||
84 | -var base_img_files = fs.readdirSync(base_img); | ||
85 | -for(i=0,l=base_img_files.length; i<l; i++){ | ||
86 | - if(base_img_files[i].indexOf('.') == 0) continue; | ||
87 | - path = base_img + '/' + base_img_files[i]; | ||
88 | - content.push('/static/sdk/' + path); | ||
89 | -} | ||
90 | -*/ | ||
91 | -//获取皮肤的最大mtime | ||
92 | -/* | ||
93 | -var skin_mtime = 0; | ||
94 | -for(i=0, l= target.length; i<l; i++){ | ||
95 | - path = 'skin/' + target[i] + '/skin.css'; | ||
96 | - mtime = parseInt(formatTime(fs.statSync(path).mtime)); | ||
97 | - if(mtime > skin_mtime) skin_mtime = mtime; | ||
98 | -} | ||
99 | -*/ | ||
100 | -//在基础文件上添加对应皮肤的样式和所需要的图片 | ||
101 | - | ||
102 | -var skin_content; | ||
103 | -for (i = 0, l = target.length; i < l; i++) { | ||
104 | - | ||
105 | - path = 'skin/' + target[i]; | ||
106 | - skin_content = content.concat(); | ||
107 | - /* | ||
108 | - skin_content.push('/static/sdk/' + path + '/skin.css' + '?' + skin_mtime); | ||
109 | - */ | ||
110 | - //更新login.html, center.html, pay.html的引用信息的版本号 | ||
111 | - for (j = 0, k = html_content.length; j < k; j++) { | ||
112 | - reg = new RegExp('data-v="\\d+"'); | ||
113 | - html_content[j] = html_content[j].replace(reg, 'data-v="' + skin_mtime + '"'); | ||
114 | - } | ||
115 | - //push the img fiels if exists | ||
116 | - /* | ||
117 | - var images = fs.readdirSync(path + '/img'); | ||
118 | - for (var j = 0, k = images.length; j < k; j++) { | ||
119 | - if(images[j].indexOf('.') == 0) continue; | ||
120 | - var img_path = path + '/img/' + images[j]; | ||
121 | - // mtime = formatTime(fs.statSync(img_path).mtime); | ||
122 | - skin_content.push('/static/sdk/' + path + '/img/' + images[j]) //+ '?' + mtime); | ||
123 | - } | ||
124 | - */ | ||
125 | - skin_content.push('NETWORK:'); | ||
126 | - skin_content.push('*'); | ||
127 | - skin_content = skin_content.join('\n'); | ||
128 | - fs.writeFileSync(path + '/sdk.manifest', skin_content); | ||
129 | -} | ||
130 | - | ||
131 | - | ||
132 | -content.push('NETWORK:'); | ||
133 | -content.push('*'); | ||
134 | -//生成基础的没有皮肤的缓存文件 | ||
135 | -fs.writeFileSync('skin/sdk.manifest', content.join('\n')); | ||
136 | -//将对html文件引用信息的修改写回文件中 | ||
137 | -for(i=0, l=htmls.length; i<l; i++){ | ||
138 | - fs.writeFileSync(htmls[i], html_content[i]); | ||
139 | -} | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
publicAndroidSDK/assets/sdk/pay.html
deleted
100755 → 0
This diff is collapsed. Click to expand it.
1 | -date:2017-4-11 | ||
2 | -author | ||
3 | -:lizenghua | ||
4 | -instructions | ||
5 | -:与星玩SDK同步 | ||
6 | - | ||
7 | -date:2017-4-12 | ||
8 | -author:lizenghua | ||
9 | -instructions:修复当账户及密码为空时(本地存储的账号密码数据为空),通过密保找回密码时一直处于加载中无法跳转的问题 | ||
10 | - | ||
11 | -date:2017-4-21 | ||
12 | -author:lizenghua | ||
13 | -instructions: | ||
14 | - 1、当用户是正式用户并绑定了手机后进行实名认证;身份证校验js:identity_id.js | ||
15 | - 改动的文件有:login.html、login.js(同步在sdk_xingwan、sdk_6) | ||
16 | - 2、改动注释了pay.js里面的911行到918行:进入sdk要购买的游戏币>0时强制进入渠道充值页面(已同步在sdk_xingwan、sdk_6) | ||
17 | - | ||
18 | -date:2017-4-24 | ||
19 | -author:lizenghua | ||
20 | -instructions: | ||
21 | - 1、处理绑定手机的手机验证规则(176), | ||
22 | - 2、手机找回密码中重置密码残留旧密码问题 | ||
23 | - | ||
24 | - | ||
25 | -date:2017-5-3 | ||
26 | -author:lizenghua | ||
27 | -instructions: | ||
28 | - 1、注释掉pay.html中的“游爱星”兑换入口 | ||
29 | - 2、处理支付方式切换中出现 input_item 为undefind 的bug (将383行的{{?}}移至435行) | ||
30 | - 3、去掉设置密保中select默认的下拉图标(login.css) | ||
31 | - 4、如果没有第三方登录则隐藏掉“第三方登录”字眼 | ||
32 | - | ||
33 | -date:2017-5-8 | ||
34 | -author:lizenghua | ||
35 | -instructions:处理支付方式点击支付图标出现 input_item 为undefind 的bug(将150行$c改成$(this)) | ||
36 | - | ||
37 | -date:2017-5-12 | ||
38 | -author:lizenghua | ||
39 | -instructions:修改充值的界面显示大小 | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | -<!DOCTYPE html> | ||
2 | -<html> | ||
3 | -<head> | ||
4 | -<meta name="viewport" content="width=device-width, user-scalable=no,target-densitydpi=device-dpi" /> | ||
5 | -<meta name="apple-mobile-web-app-capable" content="yes" /> | ||
6 | -<meta name="apple-mobile-web-app-status-bar-style" content="black" /> | ||
7 | -<meta http-equiv="Content-type" content="text/html; charset=utf-8" /> | ||
8 | -<meta name="format-detection" content="telephone=no"> | ||
9 | -<meta name="screen-orientation" content="portrait"> | ||
10 | -<meta name="full-screen" content="yes"> | ||
11 | -<meta http-equiv="x-ua-compatible" content="IE=edge" /> | ||
12 | -<link href="skin/new_sdk.min.css?v=20150318002" type="text/css" rel="stylesheet" /> | ||
13 | -<link id="skin" data-v="20150318001" type="text/css" rel="stylesheet" /> | ||
14 | -<link href="skin/responsive.min.css?v=20150318001" type="text/css" rel="stylesheet" /> | ||
15 | -<title> | ||
16 | -手游平台登录 | ||
17 | -</title> | ||
18 | -</head> | ||
19 | -<body> | ||
20 | - | ||
21 | - | ||
22 | -<div class="mask"> | ||
23 | -<div class="container_load" id="loading"> | ||
24 | - <div class="content"> | ||
25 | - <div class="circle"></div> | ||
26 | - <div class="circle1"></div> | ||
27 | - </div> | ||
28 | -</div> | ||
29 | -<div class="alert alert-success hide" id="alert"> | ||
30 | - <button type="button" class="close" data-dismiss="alert">×</button> | ||
31 | - <span></span> | ||
32 | -</div> | ||
33 | -<section id="home" data-attr="dot" class="hide"></section> | ||
34 | -<section id="frame" data-attr="dot" class="hide" ></section> | ||
35 | -<script id="frame_template" type="text/x-jquery-tmpl" > | ||
36 | - <div class="header"> | ||
37 | - <span class="title">{{=Core.Data.frame_title}}</span> | ||
38 | - <a class="btn pull-left op-back" href="#main">返回</a> | ||
39 | - </div> | ||
40 | - <div class="container" style=""> | ||
41 | - <div class="container_load in_frame" id="loading_frame"> | ||
42 | - <div class="content"> | ||
43 | - <div class="circle"></div> | ||
44 | - <div class="circle1"></div> | ||
45 | - </div> | ||
46 | - </div> | ||
47 | - {{? Core.isIos}}<div class="ios_scroll">{{?}} | ||
48 | - <iframe frameborder=0 src="{{=Core.Data.frame_src}}" scrolling="yes" width="100%" height="100%"></iframe> | ||
49 | - {{? Core.isIos}}</div>{{?}} | ||
50 | - </div> | ||
51 | -</script> | ||
52 | -<script id="home_template" type="text/x-jquery-tmpl"> | ||
53 | - <div class="header"> | ||
54 | - <span class="title">分享游戏</span> | ||
55 | - <a class="btn pull-left op-back" href="sdk://exit?action=share">回到游戏</a> | ||
56 | - </div> | ||
57 | - <div class="container"> | ||
58 | - <div class="box_info_center"> | ||
59 | - <div class="share_box1"> | ||
60 | - <div class="share_game clearfix"> | ||
61 | - <img class="pull-left game_face" src="{{=Core.Data.icon || ''}}" height="75" width="75"> | ||
62 | - <textarea class="s_content">{{=Core.Data.content || '这款游戏还不错噢,一起来玩吧!'}}</textarea> | ||
63 | - </div> | ||
64 | - </div> | ||
65 | - <div class="share_box2"> | ||
66 | - <div class=""> | ||
67 | - <h3 class="text-info">分享到</h3> | ||
68 | - <ul class="other-login inline clearfix"> | ||
69 | - <li><a href="/sdk/share/game/qq/?app_id={{=Core.Data.app_id || ''}}" class="qq" title="QQ空间分享"></a></li> | ||
70 | - <li><a href="/sdk/share/game/sina/?app_id={{=Core.Data.app_id || ''}}" class="sina" title="新浪微博分享"></a></li> | ||
71 | - <li><a href="/sdk/share/game/tqq/?app_id={{=Core.Data.app_id || ''}}" class="tqq" title="腾讯微博分享"></a></li> | ||
72 | - </ul> | ||
73 | - <div class="invite_box"> | ||
74 | - <h3 class="text-info">奖励说明:</h3> | ||
75 | - <p> | ||
76 | - 1.成功邀请好友一起玩游戏,您可获得<span class="text-info">5{{=Core.Data.game_unit_name}}</span>的奖励。 | ||
77 | - </p> | ||
78 | - <p> | ||
79 | - 2.好友若充值(限前10笔),您可获得<span class="text-info">5%</span>充值奖励。 | ||
80 | - </p> | ||
81 | - <p> | ||
82 | - 3.好友首次充值,因被您邀请可额外获得<span class="text-info">10%</span>充值返利。 | ||
83 | - </p> | ||
84 | - </div> | ||
85 | - </div> | ||
86 | - </div> | ||
87 | - </div> | ||
88 | - </div> | ||
89 | -</script> | ||
90 | -</div> | ||
91 | - | ||
92 | -<script type="text/javascript" src="js/fastclick.min.1.0.js?201309041309"></script> | ||
93 | -<script type="text/javascript" src="js/zepto.min.js?201309041309"></script> | ||
94 | -<script type="text/javascript" src="js/doT.min.js?201309041309" ></script> | ||
95 | -<script type="text/javascript"> | ||
96 | -window.isGetData = 0; | ||
97 | -$(function() { | ||
98 | -FastClick.attach(document.body); | ||
99 | -}); | ||
100 | -</script> | ||
101 | -<script type="text/javascript" src="js/core.min.js?201403141112" ></script> | ||
102 | -<script type="text/javascript"> | ||
103 | - (function(){ | ||
104 | - // Home模块 | ||
105 | - var Home = function(modId) { | ||
106 | - Module.call(this, modId); | ||
107 | - } | ||
108 | - // 继承基础模块 | ||
109 | - Core.inherit(Home, Module); | ||
110 | - Home.prototype.bind = function(){ | ||
111 | - var that = this; | ||
112 | - that.$c.on('click', '.other-login a', function(e){ | ||
113 | - e.preventDefault(); | ||
114 | - //分享连接 | ||
115 | - var $tar = $(e.target); | ||
116 | - var content = that.$c.find('.s_content').val(); | ||
117 | - $tar.attr('params', 'content=' + content); | ||
118 | - Core.ajax_do($tar, function(data){ | ||
119 | - console.log(data); | ||
120 | - if(data.code == 0){ | ||
121 | - if(data.msg.next_url){ | ||
122 | - // 需要重新授权 | ||
123 | - var src = data.msg.next_url; | ||
124 | - if (Core.isFile) { | ||
125 | - src = Core.server + src; | ||
126 | - } | ||
127 | - Core.Data.frame_title = $tar.attr('title'); | ||
128 | - Core.Data.frame_src = src; | ||
129 | - Core.updateMod('frame'); | ||
130 | - } else { | ||
131 | - // | ||
132 | - Core.showTips(data.msg); | ||
133 | - } | ||
134 | - } | ||
135 | - }, that); | ||
136 | - }); | ||
137 | - } | ||
138 | - Core.registerMod('home', Home); | ||
139 | - var Frame = function(modId) { | ||
140 | - Module.call(this, modId); | ||
141 | - } | ||
142 | - Core.inherit(Frame, Module); | ||
143 | - Frame.prototype.show_after = function() { | ||
144 | - var that = this; | ||
145 | - var _des = Core.last_mod ? Core.last_mod : 'home'; | ||
146 | - this.$c.find('a.btn.pull-left').attr('href', '#' + _des); | ||
147 | - this.$c.find('iframe')[0].onload = function() { | ||
148 | - that.$c.find('#loading_frame').hide(); | ||
149 | - } | ||
150 | - } | ||
151 | - Core.registerMod('frame', Frame); | ||
152 | - })(); | ||
153 | -</script> | ||
154 | -<script type="text/javascript" src="js/loader.min.js?201401151617"></script> | ||
155 | -<script type="text/javascript"> | ||
156 | -(function(){ | ||
157 | - window.isGetData = 1; | ||
158 | - getData('/game/info/'); | ||
159 | -})(); | ||
160 | -</script> | ||
161 | - | ||
162 | -</body> | ||
163 | -</html> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
1 | -CACHE MANIFEST | ||
2 | - | ||
3 | -#version=20151112001 | ||
4 | -/static/sdk_3/login.html?20151112001 | ||
5 | -/static/sdk_3/center.html?20151112001 | ||
6 | -/static/sdk_3/pay.html?20151112001 | ||
7 | -/static/sdk_3/share.html?20151112001 | ||
8 | -/static/sdk_3/js/fastclick.min.1.0.js?20151112001 | ||
9 | -/static/sdk_3/js/zepto.min.js?20151112001 | ||
10 | -/static/sdk_3/js/doT.min.js?20151112001 | ||
11 | -/static/sdk_3/js/iscroll.min.1.0.js?20151112001 | ||
12 | -/static/sdk_3/skin/login.css?20151112001 | ||
13 | -/static/sdk_3/skin/pay.css?20151112001 | ||
14 | - | ||
15 | -/static/sdk_3/js/core.min.js?20151112001 | ||
16 | -/static/sdk_3/js/loader.min.js?20151112001 | ||
17 | -/static/sdk_3/js/center.min.js?20151112001 | ||
18 | -/static/sdk_3/js/pay.min.js?20151112001 | ||
19 | -/static/sdk_3/js/login.min.js?20151112001 | ||
20 | -/static/sdk_3/images/login_icon.png?20151112001 | ||
21 | -/static/sdk_3/images/new-sdk-logo.png?20151112001 | ||
22 | -NETWORK: | ||
23 | -* | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | -#!/bin/sh | ||
2 | -#js css压缩,生成更新包打包 | ||
3 | - | ||
4 | -CDN_SERVER='http://sdk.uuufish.com/static' | ||
5 | - | ||
6 | - | ||
7 | -DIR_PATH="$( cd "$( dirname "$0" )" && pwd )" | ||
8 | -echo "$DIR_PATH" | ||
9 | -cd $DIR_PATH | ||
10 | -VERSION=`cat version.txt` | ||
11 | -DIR_NAME=${DIR_PATH##*/} | ||
12 | -ZIP_FILE="${DIR_NAME}_${VERSION}.zip" | ||
13 | -SAVE_DIR="dst" | ||
14 | -MD5='' | ||
15 | -echo $DIR_NAME | ||
16 | - | ||
17 | - | ||
18 | - | ||
19 | -function make_new_zip_file { | ||
20 | - cd $DIR_PATH | ||
21 | - mkdir -pv dst | ||
22 | - save_zip_file="${SAVE_DIR}/${ZIP_FILE}" | ||
23 | - [ -f "$save_zip_file" ] && rm "$save_zip_file" && echo "rm $save_zip_file" | ||
24 | - echo "zip $ZIP_FILE" | ||
25 | - zip -x 'uglifyjs_sqwish.sh' -x 'v.txt' -x '*.svn/*' -x "${SAVE_DIR}/*" -x "${ZIP_FILE}" -r "${save_zip_file}" ./ | ||
26 | - MD5=`md5sum dst/${ZIP_FILE} |cut -d ' ' -f1` | ||
27 | - | ||
28 | -} | ||
29 | -function make_version_file { | ||
30 | - make_new_zip_file | ||
31 | - cd $DIR_PATH | ||
32 | - URL="${CDN_SERVER}/${DIR_NAME}/${SAVE_DIR}/${ZIP_FILE}" | ||
33 | - echo "${VERSION}|${MD5}|${URL}" > v.txt | ||
34 | - cat v.txt | ||
35 | -} | ||
36 | -function uglifyjs_js_css { | ||
37 | - cd $DIR_PATH | ||
38 | - cd js/ | ||
39 | - for f in `ls *.js`;do | ||
40 | - uglifyjs $f -m -o $f | ||
41 | - done | ||
42 | - cd ../skin | ||
43 | - | ||
44 | - unalias mv | ||
45 | - | ||
46 | - for f in `ls *.css`;do | ||
47 | - if [ -f "$f" ];then | ||
48 | - | ||
49 | - sqwish $f | ||
50 | - new_f=`basename $f css` | ||
51 | - new_f="$new_f""min.css" | ||
52 | - echo " mv $new_f $f" | ||
53 | - [ -f "$new_f" ] && mv $new_f $f | ||
54 | - fi | ||
55 | - done | ||
56 | - cd .. | ||
57 | -} | ||
58 | - | ||
59 | - | ||
60 | -uglifyjs_js_css | ||
61 | -make_version_file | ||
62 | - | ||
63 | - | ||
64 | - |
1 | -20180207 | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
publicAndroidSDK/assets/sdkconf.ini
deleted
100644 → 0
publicAndroidSDK/demo/.DS_Store
deleted
100755 → 0
No preview for this file type
No preview for this file type
1 | -<?xml version="1.0" encoding="UTF-8"?> | ||
2 | -<classpath> | ||
3 | - <classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/> | ||
4 | - <classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/> | ||
5 | - <classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/> | ||
6 | - <classpathentry kind="src" path="src"/> | ||
7 | - <classpathentry kind="src" path="gen"/> | ||
8 | - <classpathentry kind="output" path="bin/classes"/> | ||
9 | -</classpath> |
1 | -<?xml version="1.0" encoding="UTF-8"?> | ||
2 | -<projectDescription> | ||
3 | - <name>Demo_PoolSdk</name> | ||
4 | - <comment></comment> | ||
5 | - <projects> | ||
6 | - </projects> | ||
7 | - <buildSpec> | ||
8 | - <buildCommand> | ||
9 | - <name>org.python.pydev.PyDevBuilder</name> | ||
10 | - <arguments> | ||
11 | - </arguments> | ||
12 | - </buildCommand> | ||
13 | - <buildCommand> | ||
14 | - <name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name> | ||
15 | - <arguments> | ||
16 | - </arguments> | ||
17 | - </buildCommand> | ||
18 | - <buildCommand> | ||
19 | - <name>com.android.ide.eclipse.adt.PreCompilerBuilder</name> | ||
20 | - <arguments> | ||
21 | - </arguments> | ||
22 | - </buildCommand> | ||
23 | - <buildCommand> | ||
24 | - <name>org.eclipse.jdt.core.javabuilder</name> | ||
25 | - <arguments> | ||
26 | - </arguments> | ||
27 | - </buildCommand> | ||
28 | - <buildCommand> | ||
29 | - <name>com.android.ide.eclipse.adt.ApkBuilder</name> | ||
30 | - <arguments> | ||
31 | - </arguments> | ||
32 | - </buildCommand> | ||
33 | - <buildCommand> | ||
34 | - <name>org.eclipse.buildship.core.gradleprojectbuilder</name> | ||
35 | - <arguments> | ||
36 | - </arguments> | ||
37 | - </buildCommand> | ||
38 | - </buildSpec> | ||
39 | - <natures> | ||
40 | - <nature>com.android.ide.eclipse.adt.AndroidNature</nature> | ||
41 | - <nature>org.eclipse.jdt.core.javanature</nature> | ||
42 | - <nature>org.python.pydev.pythonNature</nature> | ||
43 | - <nature>org.eclipse.buildship.core.gradleprojectnature</nature> | ||
44 | - </natures> | ||
45 | -</projectDescription> |
1 | -<?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
2 | -<?eclipse-pydev version="1.0"?><pydev_project> | ||
3 | -<pydev_property name="org.python.pydev.PYTHON_PROJECT_INTERPRETER">Default</pydev_property> | ||
4 | -<pydev_property name="org.python.pydev.PYTHON_PROJECT_VERSION">python 2.7</pydev_property> | ||
5 | -</pydev_project> |
1 | -<?xml version="1.0" encoding="utf-8"?> | ||
2 | -<manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||
3 | - package="com.youai.poolsdk.demo" | ||
4 | - android:versionCode="1" | ||
5 | - android:versionName="1.0" > | ||
6 | - | ||
7 | - <uses-sdk | ||
8 | - android:minSdkVersion="8" | ||
9 | - android:targetSdkVersion="20" /> | ||
10 | - | ||
11 | - <!-- SDK start --> | ||
12 | - <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> | ||
13 | - <uses-permission android:name="android.permission.INTERNET" /> | ||
14 | - <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> | ||
15 | - <uses-permission android:name="android.permission.READ_PHONE_STATE" /> | ||
16 | - <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> | ||
17 | - <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> | ||
18 | - <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" /> | ||
19 | - <uses-permission android:name="android.permission.READ_LOGS" /> | ||
20 | - <uses-permission android:name="android.permission.GET_TASKS" /> | ||
21 | - <uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS" /> | ||
22 | - <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" /> | ||
23 | - <uses-permission android:name="android.permission.RECORD_AUDIO" /> | ||
24 | - <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" /> | ||
25 | - <uses-permission android:name="org.simalliance.openmobileapi.SMARTCARD" /> | ||
26 | - <uses-permission android:name="android.permission.NFC" /> | ||
27 | - <uses-feature android:name="android.hardware.nfc.hce" /> | ||
28 | - <!-- SDK end --> | ||
29 | - | ||
30 | - <application | ||
31 | - android:name="com.gzyouai.publicsdk.application.PoolSDKApplication" | ||
32 | - android:allowBackup="true" | ||
33 | - android:icon="@drawable/public_sdk_self_ic_launcher" | ||
34 | - android:label="@string/app_name" > | ||
35 | - <activity | ||
36 | - android:name="com.youai.foolsdk.demo.AppActivity" | ||
37 | - android:configChanges="keyboardHidden|orientation|screenSize" | ||
38 | - android:label="@string/app_name" | ||
39 | - android:screenOrientation="landscape" | ||
40 | - android:theme="@android:style/Theme.NoTitleBar.Fullscreen" > | ||
41 | - <intent-filter> | ||
42 | - <action android:name="android.intent.action.MAIN" /> | ||
43 | - | ||
44 | - <category android:name="android.intent.category.LAUNCHER" /> | ||
45 | - </intent-filter> | ||
46 | - </activity> | ||
47 | - <!-- SDK start --> | ||
48 | - <receiver | ||
49 | - android:name="com.gzyouai.fengniao.sdk.framework.AppInstallReceiver" | ||
50 | - android:label="@string/app_name" > | ||
51 | - <intent-filter> | ||
52 | - <action android:name="android.intent.action.PACKAGE_ADDED" /> | ||
53 | - <action android:name="android.intent.action.PACKAGE_REPLACED" /> | ||
54 | - <action android:name="android.intent.action.PACKAGE_REMOVED" /> | ||
55 | - | ||
56 | - <data android:scheme="package" /> | ||
57 | - </intent-filter> | ||
58 | - </receiver> | ||
59 | - | ||
60 | - <activity | ||
61 | - android:name="com.youai.sdk.YouaiSDK" | ||
62 | - android:label="youai_sdk" | ||
63 | - android:launchMode="singleTask" | ||
64 | - android:theme="@android:style/Theme.Dialog" /> | ||
65 | - | ||
66 | - <service | ||
67 | - android:name="com.youai.sdk.YouaiService" | ||
68 | - android:enabled="true" > | ||
69 | - <intent-filter> | ||
70 | - <action android:name="com.youai.sdk.YouaiService" /> | ||
71 | - </intent-filter> | ||
72 | - </service> | ||
73 | - <service | ||
74 | - android:name="com.youai.sdk.FloatViewService" | ||
75 | - android:enabled="true" | ||
76 | - android:exported="true" > | ||
77 | - <intent-filter> | ||
78 | - <action android:name="com.youai.sdk.FloatViewService" /> | ||
79 | - </intent-filter> | ||
80 | - </service> | ||
81 | - | ||
82 | - <receiver android:name="com.youai.sdk.Receiver" > | ||
83 | - <intent-filter> | ||
84 | - <action android:name="android.intent.action.BOOT_COMPLETED" /> | ||
85 | - | ||
86 | - <category android:name="android.intent.category.LAUNCHER" /> | ||
87 | - </intent-filter> | ||
88 | - </receiver> | ||
89 | - | ||
90 | - <activity | ||
91 | - android:name="com.alipay.sdk.app.H5PayActivity" | ||
92 | - android:configChanges="keyboardHidden|navigation|orientation" | ||
93 | - android:exported="false" | ||
94 | - android:screenOrientation="behind" /> | ||
95 | - <activity | ||
96 | - android:name="com.alipay.sdk.auth.AuthActivity" | ||
97 | - android:configChanges="keyboardHidden|navigation|orientation" | ||
98 | - android:exported="false" | ||
99 | - android:screenOrientation="behind" /> | ||
100 | - <activity | ||
101 | - android:name=".wxapi.WXPayEntryActivity" | ||
102 | - android:exported="true" | ||
103 | - android:launchMode="singleTop" /> | ||
104 | - <activity | ||
105 | - android:name=".wxapi.WXEntryActivity" | ||
106 | - android:exported="true" | ||
107 | - android:launchMode="singleTop" /> | ||
108 | - <!-- SDK end --> | ||
109 | - </application> | ||
110 | - | ||
111 | -</manifest> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | -# This file is used to override default values used by the Ant build system. | ||
2 | -# | ||
3 | -# This file must be checked into Version Control Systems, as it is | ||
4 | -# integral to the build system of your project. | ||
5 | - | ||
6 | -# This file is only used by the Ant script. | ||
7 | - | ||
8 | -# You can use this to override default values such as | ||
9 | -# 'source.dir' for the location of your java source folder and | ||
10 | -# 'out.dir' for the location of your output folder. | ||
11 | - | ||
12 | -# You can also use it define how the release builds are signed by declaring | ||
13 | -# the following properties: | ||
14 | -# 'key.store' for the location of your keystore and | ||
15 | -# 'key.alias' for the name of the key to use. | ||
16 | -# The password will be asked during the build when you use the 'release' target. | ||
17 | - |
No preview for this file type
1 | -<?xml version="1.0" encoding="utf-8"?> | ||
2 | -<config> | ||
3 | - | ||
4 | - <sdkconfig | ||
5 | - YA_APPID="5aab390cf0d770694b7207a8" | ||
6 | - YA_APPKEY="dc38d95cf3fd45894090ca7c341ba51e" | ||
7 | - gamesimplename="gcsg_hb" | ||
8 | - sdksimplename="youyu" | ||
9 | - sdkversioncode="V1_1" | ||
10 | - channelparameter1="" | ||
11 | - channelparameter2="" | ||
12 | - custom="" | ||
13 | - gamechannelid="" | ||
14 | - logincheckurl="http://login.public.sdk.gzyouai.com/logincheck/check" | ||
15 | - paycheckurl="http://pay.public.sdk.gzyouai.com/paycheck/confirm" | ||
16 | - payorderurl="http://pay.public.sdk.gzyouai.com/paycheck/create" | ||
17 | - usertype="gssaXIIEiL0=" /> | ||
18 | - | ||
19 | -</config> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
No preview for this file type
No preview for this file type
1 | -<?xml version="1.0" encoding="UTF-8"?> | ||
2 | -<projectDescription> | ||
3 | - <name>sdk_3</name> | ||
4 | - <comment></comment> | ||
5 | - <projects> | ||
6 | - </projects> | ||
7 | - <buildSpec> | ||
8 | - <buildCommand> | ||
9 | - <name>com.aptana.editor.php.aptanaPhpBuilder</name> | ||
10 | - <arguments> | ||
11 | - </arguments> | ||
12 | - </buildCommand> | ||
13 | - <buildCommand> | ||
14 | - <name>com.aptana.ide.core.unifiedBuilder</name> | ||
15 | - <arguments> | ||
16 | - </arguments> | ||
17 | - </buildCommand> | ||
18 | - </buildSpec> | ||
19 | - <natures> | ||
20 | - <nature>com.aptana.projects.webnature</nature> | ||
21 | - <nature>com.aptana.editor.php.phpNature</nature> | ||
22 | - </natures> | ||
23 | - <filteredResources> | ||
24 | - <filter> | ||
25 | - <id>1489975865951</id> | ||
26 | - <name></name> | ||
27 | - <type>26</type> | ||
28 | - <matcher> | ||
29 | - <id>org.eclipse.ui.ide.multiFilter</id> | ||
30 | - <arguments>1.0-name-matches-false-false-node_modules</arguments> | ||
31 | - </matcher> | ||
32 | - </filter> | ||
33 | - </filteredResources> | ||
34 | -</projectDescription> |
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
1 | -//游戏皮肤对应manifest文件的生成配置文件, 包括基本的第三方库、业务逻辑js、样式 | ||
2 | - | ||
3 | -var base_js = [ | ||
4 | - 'js/fastclick.min.1.0.js', | ||
5 | - 'js/zepto.min.js', | ||
6 | - 'js/doT.min.js', | ||
7 | - 'js/iscroll.min.1.0.js' | ||
8 | -] | ||
9 | - | ||
10 | -var concat_with_mtime = [ | ||
11 | - 'skin/new_sdk.min.css', | ||
12 | - 'skin/responsive.min.css', | ||
13 | - 'js/core.min.js', | ||
14 | - 'js/loader.min.js', | ||
15 | - 'js/center.min.js', | ||
16 | - 'js/pay.min.js', | ||
17 | - 'js/login.min.js' | ||
18 | -] | ||
19 | - | ||
20 | -var htmls = [ | ||
21 | - 'login.html', | ||
22 | - 'center.html', | ||
23 | - 'pay.html', | ||
24 | - 'share.html' | ||
25 | -] | ||
26 | - | ||
27 | -var images = 'skin/img'; | ||
28 | - | ||
29 | -var target = [ | ||
30 | - 'bllm', | ||
31 | - 'bwts', | ||
32 | - 'bwzq', | ||
33 | - 'fytx', | ||
34 | - 'hxjh', | ||
35 | - 'rxxt', | ||
36 | - 'sgg', | ||
37 | - 'smlw', | ||
38 | - 'twzw', | ||
39 | - 'whj' | ||
40 | -] | ||
41 | -exports.htmls = htmls; | ||
42 | -exports.target = target; | ||
43 | -exports.concat_with_mtime = concat_with_mtime; | ||
44 | -exports.base_js = base_js; | ||
45 | -exports.images = images; | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
No preview for this file type
This diff is collapsed. Click to expand it.
No preview for this file type
No preview for this file type

7.05 KB
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
1 | -// Laura Doktorova https://github.com/olado/doT | ||
2 | -(function(){function o(){var b={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},a=/&(?!#?\w+;)|<|>|"|'|\//g;return function(f){return f?f.toString().replace(a,function(g){return b[g]||g}):f}}function p(b,a,f){return(typeof a==="string"?a:a.toString()).replace(b.define||h,function(g,e,c,i){if(e.indexOf("def.")===0)e=e.substring(4);if(!(e in f))if(c===":")f[e]=i;else eval("def['"+e+"']="+i);return""}).replace(b.use||h,function(g,e){var c=eval(e);return c?p(b,c,f):c})}function l(b){return b.replace(/\\('|\\)/g, | ||
3 | -"$1").replace(/[\r\t\n]/g," ")}var j={version:"0.2.0",templateSettings:{evaluate:/\{\{([\s\S]+?)\}\}/g,interpolate:/\{\{=([\s\S]+?)\}\}/g,encode:/\{\{!([\s\S]+?)\}\}/g,use:/\{\{#([\s\S]+?)\}\}/g,define:/\{\{##\s*([\w\.$]+)\s*(\:|=)([\s\S]+?)#\}\}/g,conditional:/\{\{\?(\?)?\s*([\s\S]*?)\s*\}\}/g,iterate:/\{\{~\s*(?:\}\}|([\s\S]+?)\s*\:\s*([\w$]+)\s*(?:\:\s*([\w$]+))?\s*\}\})/g,varname:"it",strip:true,append:true,selfcontained:false},template:undefined,compile:undefined},m=function(){return this||(0,eval)("this")}(); | ||
4 | -if(typeof module!=="undefined"&&module.exports)module.exports=j;else if(typeof define==="function"&&define.amd)define(function(){return j});else m.doT=j;m.encodeHTML=o();var q={append:{start:"'+(",end:")+'",startencode:"'+encodeHTML("},split:{start:"';out+=(",end:");out+='",startencode:"';out+=encodeHTML("}},h=/$^/;j.template=function(b,a,f){a=a||j.templateSettings;var g=a.append?q.append:q.split,e,c=0,i;if(a.use||a.define){var r=m.def;m.def=f||{};b=p(a,b,m.def);m.def=r}b=("var out='"+(a.strip?b.replace(/(^|\r|\n)\t* +| +\t*(\r|\n|$)/g, | ||
5 | -" ").replace(/\r|\n|\t|\/\*[\s\S]*?\*\//g,""):b).replace(/'|\\/g,"\\$&").replace(a.interpolate||h,function(n,d){return g.start+l(d)+g.end}).replace(a.encode||h,function(n,d){e=true;return g.startencode+l(d)+g.end}).replace(a.conditional||h,function(n,d,k){return d?k?"';}else if("+l(k)+"){out+='":"';}else{out+='":k?"';if("+l(k)+"){out+='":"';}out+='"}).replace(a.iterate||h,function(n,d,k,s){if(!d)return"';} } out+='";c+=1;i=s||"i"+c;d=l(d);return"';var arr"+c+"="+d+";if(arr"+c+"){var "+k+","+i+"=-1,l"+ | ||
6 | -c+"=arr"+c+".length-1;while("+i+"<l"+c+"){"+k+"=arr"+c+"["+i+"+=1];out+='"}).replace(a.evaluate||h,function(n,d){return"';"+l(d)+"out+='"})+"';return out;").replace(/\n/g,"\\n").replace(/\t/g,"\\t").replace(/\r/g,"\\r").replace(/(\s|;|}|^|{)out\+='';/g,"$1").replace(/\+''/g,"").replace(/(\s|;|}|^|{)out\+=''\+/g,"$1out+=");if(e&&a.selfcontained)b="var encodeHTML=("+o.toString()+"());"+b;try{return new Function(a.varname,b)}catch(t){typeof console!=="undefined"&&console.log("Could not create a template function: "+ | ||
7 | -b);throw t;}};j.compile=function(b,a){return j.template(b,null,a)}})(); |
1 | -function FastClick(layer){"use strict";var oldOnClick,self=this;this.trackingClick=false;this.trackingClickStart=0;this.targetElement=null;this.touchStartX=0;this.touchStartY=0;this.lastTouchIdentifier=0;this.touchBoundary=10;this.layer=layer;if(!layer||!layer.nodeType){throw new TypeError("Layer must be a document node")}this.onClick=function(){return FastClick.prototype.onClick.apply(self,arguments)};this.onMouse=function(){return FastClick.prototype.onMouse.apply(self,arguments)};this.onTouchStart=function(){return FastClick.prototype.onTouchStart.apply(self,arguments)};this.onTouchEnd=function(){return FastClick.prototype.onTouchEnd.apply(self,arguments)};this.onTouchCancel=function(){return FastClick.prototype.onTouchCancel.apply(self,arguments)};if(FastClick.notNeeded(layer)){return}if(this.deviceIsAndroid){layer.addEventListener("mouseover",this.onMouse,true);layer.addEventListener("mousedown",this.onMouse,true);layer.addEventListener("mouseup",this.onMouse,true)}layer.addEventListener("click",this.onClick,true);layer.addEventListener("touchstart",this.onTouchStart,false);layer.addEventListener("touchend",this.onTouchEnd,false);layer.addEventListener("touchcancel",this.onTouchCancel,false);if(!Event.prototype.stopImmediatePropagation){layer.removeEventListener=function(type,callback,capture){var rmv=Node.prototype.removeEventListener;if(type==="click"){rmv.call(layer,type,callback.hijacked||callback,capture)}else{rmv.call(layer,type,callback,capture)}};layer.addEventListener=function(type,callback,capture){var adv=Node.prototype.addEventListener;if(type==="click"){adv.call(layer,type,callback.hijacked||(callback.hijacked=function(event){if(!event.propagationStopped){callback(event)}}),capture)}else{adv.call(layer,type,callback,capture)}}}if(typeof layer.onclick==="function"){oldOnClick=layer.onclick;layer.addEventListener("click",function(event){oldOnClick(event)},false);layer.onclick=null}}FastClick.prototype.deviceIsAndroid=navigator.userAgent.indexOf("Android")>0;FastClick.prototype.deviceIsIOS=/iP(ad|hone|od)/.test(navigator.userAgent);FastClick.prototype.deviceIsIOS4=FastClick.prototype.deviceIsIOS&&/OS 4_\d(_\d)?/.test(navigator.userAgent);FastClick.prototype.deviceIsIOSWithBadTarget=FastClick.prototype.deviceIsIOS&&/OS ([6-9]|\d{2})_\d/.test(navigator.userAgent);FastClick.prototype.needsClick=function(target){"use strict";switch(target.nodeName.toLowerCase()){case"button":case"select":case"textarea":if(target.disabled){return true}break;case"input":if(this.deviceIsIOS&&target.type==="file"||target.disabled){return true}break;case"label":case"video":return true}return/\bneedsclick\b/.test(target.className)};FastClick.prototype.needsFocus=function(target){"use strict";switch(target.nodeName.toLowerCase()){case"textarea":case"select":return true;case"input":switch(target.type){case"button":case"checkbox":case"file":case"image":case"radio":case"submit":return false}return!target.disabled&&!target.readOnly;default:return/\bneedsfocus\b/.test(target.className)}};FastClick.prototype.sendClick=function(targetElement,event){"use strict";var clickEvent,touch;if(document.activeElement&&document.activeElement!==targetElement){document.activeElement.blur()}touch=event.changedTouches[0];clickEvent=document.createEvent("MouseEvents");clickEvent.initMouseEvent("click",true,true,window,1,touch.screenX,touch.screenY,touch.clientX,touch.clientY,false,false,false,false,0,null);clickEvent.forwardedTouchEvent=true;targetElement.dispatchEvent(clickEvent)};FastClick.prototype.focus=function(targetElement){"use strict";var length;if(this.deviceIsIOS&&targetElement.setSelectionRange){length=targetElement.value.length;targetElement.setSelectionRange(length,length)}else{targetElement.focus()}};FastClick.prototype.updateScrollParent=function(targetElement){"use strict";var scrollParent,parentElement;scrollParent=targetElement.fastClickScrollParent;if(!scrollParent||!scrollParent.contains(targetElement)){parentElement=targetElement;do{if(parentElement.scrollHeight>parentElement.offsetHeight){scrollParent=parentElement;targetElement.fastClickScrollParent=parentElement;break}parentElement=parentElement.parentElement}while(parentElement)}if(scrollParent){scrollParent.fastClickLastScrollTop=scrollParent.scrollTop}};FastClick.prototype.getTargetElementFromEventTarget=function(eventTarget){"use strict";if(eventTarget.nodeType===Node.TEXT_NODE){return eventTarget.parentNode}return eventTarget};FastClick.prototype.onTouchStart=function(event){"use strict";var targetElement,touch,selection;if(event.targetTouches.length>1){return true}targetElement=this.getTargetElementFromEventTarget(event.target);touch=event.targetTouches[0];if(this.deviceIsIOS){selection=window.getSelection();if(selection.rangeCount&&!selection.isCollapsed){return true}if(!this.deviceIsIOS4){if(touch.identifier===this.lastTouchIdentifier){event.preventDefault();return false}this.lastTouchIdentifier=touch.identifier;this.updateScrollParent(targetElement)}}this.trackingClick=true;this.trackingClickStart=event.timeStamp;this.targetElement=targetElement;this.touchStartX=touch.pageX;this.touchStartY=touch.pageY;if(event.timeStamp-this.lastClickTime<200){event.preventDefault()}return true};FastClick.prototype.touchHasMoved=function(event){"use strict";var touch=event.changedTouches[0],boundary=this.touchBoundary;if(Math.abs(touch.pageX-this.touchStartX)>boundary||Math.abs(touch.pageY-this.touchStartY)>boundary){return true}return false};FastClick.prototype.findControl=function(labelElement){"use strict";if(labelElement.control!==undefined){return labelElement.control}if(labelElement.htmlFor){return document.getElementById(labelElement.htmlFor)}return labelElement.querySelector("button, input:not([type=hidden]), keygen, meter, output, progress, select, textarea")};FastClick.prototype.onTouchEnd=function(event){"use strict";var forElement,trackingClickStart,targetTagName,scrollParent,touch,targetElement=this.targetElement;if(this.touchHasMoved(event)){this.trackingClick=false;this.targetElement=null}if(!this.trackingClick){return true}if(event.timeStamp-this.lastClickTime<200){this.cancelNextClick=true;return true}this.lastClickTime=event.timeStamp;trackingClickStart=this.trackingClickStart;this.trackingClick=false;this.trackingClickStart=0;if(this.deviceIsIOSWithBadTarget){touch=event.changedTouches[0];targetElement=document.elementFromPoint(touch.pageX-window.pageXOffset,touch.pageY-window.pageYOffset)||targetElement;targetElement.fastClickScrollParent=this.targetElement.fastClickScrollParent}targetTagName=targetElement.tagName.toLowerCase();if(targetTagName==="label"){forElement=this.findControl(targetElement);if(forElement){this.focus(targetElement);if(this.deviceIsAndroid){return false}targetElement=forElement}}else if(this.needsFocus(targetElement)){if(event.timeStamp-trackingClickStart>100||this.deviceIsIOS&&window.top!==window&&targetTagName==="input"){this.targetElement=null;return false}this.focus(targetElement);if(!this.deviceIsIOS4||targetTagName!=="select"){this.targetElement=null;event.preventDefault()}return false}if(this.deviceIsIOS&&!this.deviceIsIOS4){scrollParent=targetElement.fastClickScrollParent;if(scrollParent&&scrollParent.fastClickLastScrollTop!==scrollParent.scrollTop){return true}}if(!this.needsClick(targetElement)){event.preventDefault();this.sendClick(targetElement,event)}return false};FastClick.prototype.onTouchCancel=function(){"use strict";this.trackingClick=false;this.targetElement=null};FastClick.prototype.onMouse=function(event){"use strict";if(!this.targetElement){return true}if(event.forwardedTouchEvent){return true}if(!event.cancelable){return true}if(!this.needsClick(this.targetElement)||this.cancelNextClick){if(event.stopImmediatePropagation){event.stopImmediatePropagation()}else{event.propagationStopped=true}event.stopPropagation();event.preventDefault();return false}return true};FastClick.prototype.onClick=function(event){"use strict";var permitted;if(this.trackingClick){this.targetElement=null;this.trackingClick=false;return true}if(event.target.type==="submit"&&event.detail===0){return true}permitted=this.onMouse(event);if(!permitted){this.targetElement=null}return permitted};FastClick.prototype.destroy=function(){"use strict";var layer=this.layer;if(this.deviceIsAndroid){layer.removeEventListener("mouseover",this.onMouse,true);layer.removeEventListener("mousedown",this.onMouse,true);layer.removeEventListener("mouseup",this.onMouse,true)}layer.removeEventListener("click",this.onClick,true);layer.removeEventListener("touchstart",this.onTouchStart,false);layer.removeEventListener("touchend",this.onTouchEnd,false);layer.removeEventListener("touchcancel",this.onTouchCancel,false)};FastClick.notNeeded=function(layer){"use strict";var metaViewport;if(typeof window.ontouchstart==="undefined"){return true}if(/Chrome\/[0-9]+/.test(navigator.userAgent)){if(FastClick.prototype.deviceIsAndroid){metaViewport=document.querySelector("meta[name=viewport]");if(metaViewport&&metaViewport.content.indexOf("user-scalable=no")!==-1){return true}}else{return true}}if(layer.style.msTouchAction==="none"){return true}return false};FastClick.attach=function(layer){"use strict";return new FastClick(layer)};if(typeof define!=="undefined"&&define.amd){define(function(){"use strict";return FastClick})}else if(typeof module!=="undefined"&&module.exports){module.exports=FastClick.attach;module.exports.FastClick=FastClick}else{window.FastClick=FastClick} | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
1 | -(function() { | ||
2 | - // 加载数据 | ||
3 | - var goInit = function() { | ||
4 | - if (window.isGetData == 1) { | ||
5 | - Core.init(); | ||
6 | - } else { | ||
7 | - window.isGetData = 1; | ||
8 | - } | ||
9 | - } | ||
10 | - var getData = function(url) { | ||
11 | - var params = location.hash.slice(1); | ||
12 | - var args = params.match(/app_id=(\w*)&?/); | ||
13 | - var start_page = params.match(/mod=(\w*)&?/); | ||
14 | - var core_server = params.match(/core_server=(.*)&?/); | ||
15 | - var appId = ''; | ||
16 | - | ||
17 | - var skin_v = '?' + $('#skin').attr('data-v'); | ||
18 | - if (args && args.length == 2) { | ||
19 | - //匹配出app_id | ||
20 | - appId = args[1]; | ||
21 | - } | ||
22 | - if(start_page && start_page.length == 2){ | ||
23 | - //匹配出启动模块 | ||
24 | - Core.start_page = start_page[1]; | ||
25 | - console.log(Core.start_page); | ||
26 | - } | ||
27 | - if (core_server){ | ||
28 | - Core.server = core_server[1] | ||
29 | - } | ||
30 | - location.hash = ''; | ||
31 | - if (appId == '') { | ||
32 | - //刷新地址出错 | ||
33 | - params = localStorage.getItem('params_' + url); | ||
34 | - appId = localStorage.getItem('app_id'); | ||
35 | - } else { | ||
36 | - localStorage.setItem('params_' + url, params); | ||
37 | - localStorage.setItem('app_id', appId); | ||
38 | - } | ||
39 | - | ||
40 | - Core.params = params; | ||
41 | - if (!appId) { | ||
42 | - //无法获取到app_id | ||
43 | - Core.showTips('无法获取app_id!', false, 3000); | ||
44 | - goInit(); | ||
45 | - $('#loading').hide(); | ||
46 | - return; | ||
47 | - } | ||
48 | - Core.Data.app_id = appId; | ||
49 | - var setSkin = false; | ||
50 | - //先尝试设置皮肤,检查是否自动登录 | ||
51 | - var tryAutoLogin = false; | ||
52 | - var _skin = localStorage.getItem('skin_' + appId); | ||
53 | - if (_skin) { | ||
54 | - $('#skin').attr('href', Core.server + '/static/sdk/skin/' + _skin + '/skin.css' + skin_v); | ||
55 | - setSkin = true; | ||
56 | - } | ||
57 | - if ($('#login').length != 0) { | ||
58 | - var auto = localStorage.getItem('auto'); | ||
59 | - var auto_time = parseInt(localStorage.getItem('auto_time')); | ||
60 | - var d = new Date().getTime(); | ||
61 | - if (auto == 'true' && (d - auto_time) < 600000) { | ||
62 | - tryAutoLogin = false; | ||
63 | - } else if (auto == null) { | ||
64 | - tryAutoLogin = false; | ||
65 | - } else { | ||
66 | - tryAutoLogin = true; | ||
67 | - } | ||
68 | - } | ||
69 | - //如果不尝试自动登录,直接初始化界面 | ||
70 | - if (!tryAutoLogin) | ||
71 | - goInit(); | ||
72 | - | ||
73 | - | ||
74 | - | ||
75 | - | ||
76 | - Core.ajax({ | ||
77 | - type: 'GET', | ||
78 | - url: url + '?' + params, | ||
79 | - dataType: 'json', | ||
80 | - success: function(data) { | ||
81 | - if (data.code == 0) { | ||
82 | - // 成功请求 | ||
83 | - Core.Data = data.msg; | ||
84 | - if (Core.Data.face) { | ||
85 | - Core.Data.face = Core.server + data.msg.face; | ||
86 | - } | ||
87 | - //更新server | ||
88 | - var lastServer = localStorage.getItem('last_server'); | ||
89 | - if (Core.Data.new_server) { | ||
90 | - if (lastServer && lastServer == Core.Data.new_server) { | ||
91 | - //没有变化 | ||
92 | - } else { | ||
93 | - //需要更新server | ||
94 | - var s = 'sdk://changeServer?addr=' + Core.Data.new_server; | ||
95 | - localStorage.setItem('last_server', Core.Data.new_server); | ||
96 | - location.href = s; | ||
97 | - } | ||
98 | - } | ||
99 | - | ||
100 | - if (!setSkin && data.skin) { | ||
101 | - $('#skin').attr('href', Core.server + '/static/sdk/skin/' + data.skin + '/skin.css' + skin_v); | ||
102 | - localStorage.setItem('skin_' + appId, data.skin); | ||
103 | - } | ||
104 | - localStorage.setItem('data_' + url, JSON.stringify(data.msg)); | ||
105 | - | ||
106 | - //模块初始化函数,兼容旧版本sdk | ||
107 | - if (typeof(window.initFunc) == "function") { | ||
108 | - window.initFunc(); | ||
109 | - } | ||
110 | - // 核心初始化 | ||
111 | - $('#loading').hide(); | ||
112 | - if (tryAutoLogin) { | ||
113 | - goInit(); | ||
114 | - } else { | ||
115 | - var first_mod = Core.start_page? Core.start_page: 'home'; | ||
116 | - Core.updateMod(first_mod); | ||
117 | - } | ||
118 | - } else { | ||
119 | - //参数出错,没有游戏服什么的. | ||
120 | - $('#loading').hide(); | ||
121 | - $('<h2 class="error_title">出错了,正在努力抢修中...</h2>').appendTo($('.mask')); | ||
122 | - Core.showTips(data.msg, false, 6000); | ||
123 | - // 核心初始化 | ||
124 | - Core.loadFinished(); | ||
125 | - } | ||
126 | - | ||
127 | - }, | ||
128 | - error: function(xhr, type) { | ||
129 | - // 请求失败,服务器崩溃 | ||
130 | - //尝试从缓存中获取数据 | ||
131 | - var data_str = localStorage.getItem('data_' + url); | ||
132 | - if (data_str && data_str != '') { | ||
133 | - var data = JSON.parse(data_str); | ||
134 | - if (typeof data == "object") { | ||
135 | - Core.Data = data; | ||
136 | - if (tryAutoLogin) { | ||
137 | - goInit(); | ||
138 | - } else { | ||
139 | - Core.updateMod('home'); | ||
140 | - } | ||
141 | - } | ||
142 | - } | ||
143 | - Core.showTips('网络出错,请检查网络状态。', false); | ||
144 | - // 核心初始化 | ||
145 | - $('#loading').hide(); | ||
146 | - } | ||
147 | - | ||
148 | - }); | ||
149 | - } | ||
150 | - window.getData = getData; | ||
151 | -})(); | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
1 | -/*! | ||
2 | -** create by zhangxinxu(.com) 2013-07-15 | ||
3 | -** a simple method for custom scrolling | ||
4 | -** it can be used on both mobile and parts desktop browser IE9+/FF/Chrome/... | ||
5 | -*/ | ||
6 | -var simpScroller=(function(){var c=!((window.DocumentTouch&&document instanceof window.DocumentTouch)||"ontouchstart" in window)*1,b={start:["touchstart","mousedown"][c],move:["touchmove","mousemove"][c],end:["touchend","mouseup"][c]};var a=function(e,l,f){var n="top",o="Top",p="height",g="Height",d="pageY";if(l=="horizontal"){n="left";o="Left";p="width";g="Width";d="pageX"}var i=null;if(f.hideScrollBar==false){i=document.createElement("div");i.className="scroller_"+l;f.container.appendChild(i)}var m=e["client"+g],h=0;var j=function(){if(i==null){return}var r=i.style[p].replace("px",""),q=e["scroll"+o]/(h-m)*(m-r);if(m-r-q<=0){q=m-r}i.style[n]=q+"px"};var k={};e.addEventListener(b.start,function(q){h=this["scroll"+g];k[d]=q.touches?q.touches[0][d]:q[d];k[n]=this["scroll"+o];document.moveFollow=true;if(i&&h>m){i.style.opacity=1;i.style[p]=(m*m/h)+"px";j()}c&&q.preventDefault()});e.addEventListener(b.move,function(q){if(c==false||(document.moveFollow==true)){this["scroll"+o]=k[n]+(k[d]-(q.touches?q.touches[0][d]:q[d]));j();f.onScroll.call(this,q)}q.preventDefault()});e.addEventListener(b.end,function(q){i&&(i.style.opacity=0)});if(c==true){document.addEventListener("mouseup",function(){this.moveFollow=false})}};return function(d,f){f=f||{};var j=new Object({verticalScroll:true,horizontalScroll:false,hideScrollBar:false,onScroll:function(){}}),g;for(g in f){j[g]=f[g]}if(window.getComputedStyle(d).position=="static"){d.style.position="relative"}var i=d.childNodes,e=document.createDocumentFragment();[].slice.call(i).forEach(function(k){e.appendChild(k)});var h=document.createElement("div");h.style.height="100%";h.style.width="100%";h.style.overflow="hidden";d.appendChild(h);h.appendChild(e);j.container=d;if(j.verticalScroll==true){a(h,"vertical",j)}if(j.horizontalScroll==true){a(h,"horizontal",j)}}})(); | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
1 | -/** | ||
2 | - * 动态生成各游戏皮肤下对应的manifest文件。分别将带上修改时间戳的第三方库、业务逻辑js、 | ||
3 | - * sdk基本样式、指定皮肤样式、皮肤资源文件的路径添加到manifes文件中 | ||
4 | - * 并将修改时间更新到html文档的资源引用中 | ||
5 | - * 配置文件:config.js | ||
6 | - * 生成文件:skin/xxxx/sdk.manifest | ||
7 | - * 运行方法:node makefile.js | ||
8 | - **/ | ||
9 | -var fs = require('fs'), | ||
10 | - PATH = require('path'), | ||
11 | - config = require('./config.js'); | ||
12 | - | ||
13 | -var target = config.target; | ||
14 | -var concat_with_mtime = config.concat_with_mtime; | ||
15 | -var base_js = config.base_js; | ||
16 | -var base_img = config.images; | ||
17 | -var htmls = config.htmls; | ||
18 | -//读取三个html文件的内容,以便后面更新引用信息 | ||
19 | - | ||
20 | -var html_content = []; | ||
21 | -for (i = 0, l = htmls.length; i < l; i++) { | ||
22 | - html_content.push(fs.readFileSync(htmls[i], 'utf-8')); | ||
23 | -} | ||
24 | - | ||
25 | -function formatTime(mtime) { | ||
26 | - var date = ''; | ||
27 | - date += mtime.getFullYear(); | ||
28 | - var month = mtime.getMonth() + 1; | ||
29 | - month < 10 ? date += '0' + month : date += month; | ||
30 | - var day = mtime.getDate(); | ||
31 | - day < 10 ? date += '0' + day : date += day; | ||
32 | - var hour = mtime.getHours(); | ||
33 | - hour < 10 ? date += '0' + hour : date += hour; | ||
34 | - var minute = mtime.getMinutes(); | ||
35 | - minute < 10 ? date += '0' + minute : date += minute; | ||
36 | - return date; | ||
37 | -} | ||
38 | -var content = []; | ||
39 | -var path, mtime, jsPath, reg; | ||
40 | -content.push('CACHE MANIFEST'); | ||
41 | -content.push(''); | ||
42 | - | ||
43 | -var now = new Date(); | ||
44 | -content.push('#version=' + formatTime(now)); | ||
45 | - | ||
46 | -for(var i=0, l= htmls.length; i<l; i++){ | ||
47 | - path = htmls[i]; | ||
48 | - if(PATH.existsSync(path)){ | ||
49 | - // mtime = formatTime(fs.statSync(path).mtime); | ||
50 | - content.push('/static/sdk/' + path);// + '?' + mtime); | ||
51 | - } | ||
52 | -} | ||
53 | -for (i = 0, l = base_js.length; i < l; i++) { | ||
54 | - path = base_js[i]; | ||
55 | - if (PATH.existsSync(path)) { | ||
56 | - mtime = formatTime(fs.statSync(path).mtime); | ||
57 | - content.push('/static/sdk/' + path + '?' + mtime); | ||
58 | - //更新login.html, center.html, pay.html的引用信息的版本号 | ||
59 | - for (var j = 0, k = html_content.length; j < k; j++) { | ||
60 | - reg = new RegExp(path.replace('/', '\\/') + '\\?\\d+') | ||
61 | - html_content[j] = html_content[j].replace(reg, path + '?' + mtime); | ||
62 | - } | ||
63 | - } else { | ||
64 | - console.error('指定文件不存在:' + base_js[i]); | ||
65 | - } | ||
66 | -} | ||
67 | - | ||
68 | -for (i = 0, l = concat_with_mtime.length; i < l; i++) { | ||
69 | - path = concat_with_mtime[i]; | ||
70 | - if (PATH.existsSync(path)) { | ||
71 | - mtime = formatTime(fs.statSync(path).mtime); | ||
72 | - content.push('/static/sdk/' + path + '?' + mtime); | ||
73 | - //更新login.html, center.html, pay.html的引用信息的版本号 | ||
74 | - for (j = 0, k = html_content.length; j < k; j++) { | ||
75 | - reg = new RegExp(path.replace('/', '\\/') + '\\?\\d+') | ||
76 | - html_content[j] = html_content[j].replace(reg, path + '?' + mtime); | ||
77 | - } | ||
78 | - } else { | ||
79 | - console.error('指定文件不存在:' + path); | ||
80 | - } | ||
81 | -} | ||
82 | -// 添加sdk基本图片资源 | ||
83 | -/* | ||
84 | -var base_img_files = fs.readdirSync(base_img); | ||
85 | -for(i=0,l=base_img_files.length; i<l; i++){ | ||
86 | - if(base_img_files[i].indexOf('.') == 0) continue; | ||
87 | - path = base_img + '/' + base_img_files[i]; | ||
88 | - content.push('/static/sdk/' + path); | ||
89 | -} | ||
90 | -*/ | ||
91 | -//获取皮肤的最大mtime | ||
92 | -/* | ||
93 | -var skin_mtime = 0; | ||
94 | -for(i=0, l= target.length; i<l; i++){ | ||
95 | - path = 'skin/' + target[i] + '/skin.css'; | ||
96 | - mtime = parseInt(formatTime(fs.statSync(path).mtime)); | ||
97 | - if(mtime > skin_mtime) skin_mtime = mtime; | ||
98 | -} | ||
99 | -*/ | ||
100 | -//在基础文件上添加对应皮肤的样式和所需要的图片 | ||
101 | - | ||
102 | -var skin_content; | ||
103 | -for (i = 0, l = target.length; i < l; i++) { | ||
104 | - | ||
105 | - path = 'skin/' + target[i]; | ||
106 | - skin_content = content.concat(); | ||
107 | - /* | ||
108 | - skin_content.push('/static/sdk/' + path + '/skin.css' + '?' + skin_mtime); | ||
109 | - */ | ||
110 | - //更新login.html, center.html, pay.html的引用信息的版本号 | ||
111 | - for (j = 0, k = html_content.length; j < k; j++) { | ||
112 | - reg = new RegExp('data-v="\\d+"'); | ||
113 | - html_content[j] = html_content[j].replace(reg, 'data-v="' + skin_mtime + '"'); | ||
114 | - } | ||
115 | - //push the img fiels if exists | ||
116 | - /* | ||
117 | - var images = fs.readdirSync(path + '/img'); | ||
118 | - for (var j = 0, k = images.length; j < k; j++) { | ||
119 | - if(images[j].indexOf('.') == 0) continue; | ||
120 | - var img_path = path + '/img/' + images[j]; | ||
121 | - // mtime = formatTime(fs.statSync(img_path).mtime); | ||
122 | - skin_content.push('/static/sdk/' + path + '/img/' + images[j]) //+ '?' + mtime); | ||
123 | - } | ||
124 | - */ | ||
125 | - skin_content.push('NETWORK:'); | ||
126 | - skin_content.push('*'); | ||
127 | - skin_content = skin_content.join('\n'); | ||
128 | - fs.writeFileSync(path + '/sdk.manifest', skin_content); | ||
129 | -} | ||
130 | - | ||
131 | - | ||
132 | -content.push('NETWORK:'); | ||
133 | -content.push('*'); | ||
134 | -//生成基础的没有皮肤的缓存文件 | ||
135 | -fs.writeFileSync('skin/sdk.manifest', content.join('\n')); | ||
136 | -//将对html文件引用信息的修改写回文件中 | ||
137 | -for(i=0, l=htmls.length; i<l; i++){ | ||
138 | - fs.writeFileSync(htmls[i], html_content[i]); | ||
139 | -} | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
This diff is collapsed. Click to expand it.
1 | -date:2017-4-11 | ||
2 | -author | ||
3 | -:lizenghua | ||
4 | -instructions | ||
5 | -:与星玩SDK同步 | ||
6 | - | ||
7 | -date:2017-4-12 | ||
8 | -author:lizenghua | ||
9 | -instructions:修复当账户及密码为空时(本地存储的账号密码数据为空),通过密保找回密码时一直处于加载中无法跳转的问题 | ||
10 | - | ||
11 | -date:2017-4-21 | ||
12 | -author:lizenghua | ||
13 | -instructions: | ||
14 | - 1、当用户是正式用户并绑定了手机后进行实名认证;身份证校验js:identity_id.js | ||
15 | - 改动的文件有:login.html、login.js(同步在sdk_xingwan、sdk_6) | ||
16 | - 2、改动注释了pay.js里面的911行到918行:进入sdk要购买的游戏币>0时强制进入渠道充值页面(已同步在sdk_xingwan、sdk_6) | ||
17 | - | ||
18 | -date:2017-4-24 | ||
19 | -author:lizenghua | ||
20 | -instructions: | ||
21 | - 1、处理绑定手机的手机验证规则(176), | ||
22 | - 2、手机找回密码中重置密码残留旧密码问题 | ||
23 | - | ||
24 | - | ||
25 | -date:2017-5-3 | ||
26 | -author:lizenghua | ||
27 | -instructions: | ||
28 | - 1、注释掉pay.html中的“游爱星”兑换入口 | ||
29 | - 2、处理支付方式切换中出现 input_item 为undefind 的bug (将383行的{{?}}移至435行) | ||
30 | - 3、去掉设置密保中select默认的下拉图标(login.css) | ||
31 | - 4、如果没有第三方登录则隐藏掉“第三方登录”字眼 | ||
32 | - | ||
33 | -date:2017-5-8 | ||
34 | -author:lizenghua | ||
35 | -instructions:处理支付方式点击支付图标出现 input_item 为undefind 的bug(将150行$c改成$(this)) | ||
36 | - | ||
37 | -date:2017-5-12 | ||
38 | -author:lizenghua | ||
39 | -instructions:修改充值的界面显示大小 | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | -<!DOCTYPE html> | ||
2 | -<html> | ||
3 | -<head> | ||
4 | -<meta name="viewport" content="width=device-width, user-scalable=no,target-densitydpi=device-dpi" /> | ||
5 | -<meta name="apple-mobile-web-app-capable" content="yes" /> | ||
6 | -<meta name="apple-mobile-web-app-status-bar-style" content="black" /> | ||
7 | -<meta http-equiv="Content-type" content="text/html; charset=utf-8" /> | ||
8 | -<meta name="format-detection" content="telephone=no"> | ||
9 | -<meta name="screen-orientation" content="portrait"> | ||
10 | -<meta name="full-screen" content="yes"> | ||
11 | -<meta http-equiv="x-ua-compatible" content="IE=edge" /> | ||
12 | -<link href="skin/new_sdk.min.css?v=20150318002" type="text/css" rel="stylesheet" /> | ||
13 | -<link id="skin" data-v="20150318001" type="text/css" rel="stylesheet" /> | ||
14 | -<link href="skin/responsive.min.css?v=20150318001" type="text/css" rel="stylesheet" /> | ||
15 | -<title> | ||
16 | -手游平台登录 | ||
17 | -</title> | ||
18 | -</head> | ||
19 | -<body> | ||
20 | - | ||
21 | - | ||
22 | -<div class="mask"> | ||
23 | -<div class="container_load" id="loading"> | ||
24 | - <div class="content"> | ||
25 | - <div class="circle"></div> | ||
26 | - <div class="circle1"></div> | ||
27 | - </div> | ||
28 | -</div> | ||
29 | -<div class="alert alert-success hide" id="alert"> | ||
30 | - <button type="button" class="close" data-dismiss="alert">×</button> | ||
31 | - <span></span> | ||
32 | -</div> | ||
33 | -<section id="home" data-attr="dot" class="hide"></section> | ||
34 | -<section id="frame" data-attr="dot" class="hide" ></section> | ||
35 | -<script id="frame_template" type="text/x-jquery-tmpl" > | ||
36 | - <div class="header"> | ||
37 | - <span class="title">{{=Core.Data.frame_title}}</span> | ||
38 | - <a class="btn pull-left op-back" href="#main">返回</a> | ||
39 | - </div> | ||
40 | - <div class="container" style=""> | ||
41 | - <div class="container_load in_frame" id="loading_frame"> | ||
42 | - <div class="content"> | ||
43 | - <div class="circle"></div> | ||
44 | - <div class="circle1"></div> | ||
45 | - </div> | ||
46 | - </div> | ||
47 | - {{? Core.isIos}}<div class="ios_scroll">{{?}} | ||
48 | - <iframe frameborder=0 src="{{=Core.Data.frame_src}}" scrolling="yes" width="100%" height="100%"></iframe> | ||
49 | - {{? Core.isIos}}</div>{{?}} | ||
50 | - </div> | ||
51 | -</script> | ||
52 | -<script id="home_template" type="text/x-jquery-tmpl"> | ||
53 | - <div class="header"> | ||
54 | - <span class="title">分享游戏</span> | ||
55 | - <a class="btn pull-left op-back" href="sdk://exit?action=share">回到游戏</a> | ||
56 | - </div> | ||
57 | - <div class="container"> | ||
58 | - <div class="box_info_center"> | ||
59 | - <div class="share_box1"> | ||
60 | - <div class="share_game clearfix"> | ||
61 | - <img class="pull-left game_face" src="{{=Core.Data.icon || ''}}" height="75" width="75"> | ||
62 | - <textarea class="s_content">{{=Core.Data.content || '这款游戏还不错噢,一起来玩吧!'}}</textarea> | ||
63 | - </div> | ||
64 | - </div> | ||
65 | - <div class="share_box2"> | ||
66 | - <div class=""> | ||
67 | - <h3 class="text-info">分享到</h3> | ||
68 | - <ul class="other-login inline clearfix"> | ||
69 | - <li><a href="/sdk/share/game/qq/?app_id={{=Core.Data.app_id || ''}}" class="qq" title="QQ空间分享"></a></li> | ||
70 | - <li><a href="/sdk/share/game/sina/?app_id={{=Core.Data.app_id || ''}}" class="sina" title="新浪微博分享"></a></li> | ||
71 | - <li><a href="/sdk/share/game/tqq/?app_id={{=Core.Data.app_id || ''}}" class="tqq" title="腾讯微博分享"></a></li> | ||
72 | - </ul> | ||
73 | - <div class="invite_box"> | ||
74 | - <h3 class="text-info">奖励说明:</h3> | ||
75 | - <p> | ||
76 | - 1.成功邀请好友一起玩游戏,您可获得<span class="text-info">5{{=Core.Data.game_unit_name}}</span>的奖励。 | ||
77 | - </p> | ||
78 | - <p> | ||
79 | - 2.好友若充值(限前10笔),您可获得<span class="text-info">5%</span>充值奖励。 | ||
80 | - </p> | ||
81 | - <p> | ||
82 | - 3.好友首次充值,因被您邀请可额外获得<span class="text-info">10%</span>充值返利。 | ||
83 | - </p> | ||
84 | - </div> | ||
85 | - </div> | ||
86 | - </div> | ||
87 | - </div> | ||
88 | - </div> | ||
89 | -</script> | ||
90 | -</div> | ||
91 | - | ||
92 | -<script type="text/javascript" src="js/fastclick.min.1.0.js?201309041309"></script> | ||
93 | -<script type="text/javascript" src="js/zepto.min.js?201309041309"></script> | ||
94 | -<script type="text/javascript" src="js/doT.min.js?201309041309" ></script> | ||
95 | -<script type="text/javascript"> | ||
96 | -window.isGetData = 0; | ||
97 | -$(function() { | ||
98 | -FastClick.attach(document.body); | ||
99 | -}); | ||
100 | -</script> | ||
101 | -<script type="text/javascript" src="js/core.min.js?201403141112" ></script> | ||
102 | -<script type="text/javascript"> | ||
103 | - (function(){ | ||
104 | - // Home模块 | ||
105 | - var Home = function(modId) { | ||
106 | - Module.call(this, modId); | ||
107 | - } | ||
108 | - // 继承基础模块 | ||
109 | - Core.inherit(Home, Module); | ||
110 | - Home.prototype.bind = function(){ | ||
111 | - var that = this; | ||
112 | - that.$c.on('click', '.other-login a', function(e){ | ||
113 | - e.preventDefault(); | ||
114 | - //分享连接 | ||
115 | - var $tar = $(e.target); | ||
116 | - var content = that.$c.find('.s_content').val(); | ||
117 | - $tar.attr('params', 'content=' + content); | ||
118 | - Core.ajax_do($tar, function(data){ | ||
119 | - console.log(data); | ||
120 | - if(data.code == 0){ | ||
121 | - if(data.msg.next_url){ | ||
122 | - // 需要重新授权 | ||
123 | - var src = data.msg.next_url; | ||
124 | - if (Core.isFile) { | ||
125 | - src = Core.server + src; | ||
126 | - } | ||
127 | - Core.Data.frame_title = $tar.attr('title'); | ||
128 | - Core.Data.frame_src = src; | ||
129 | - Core.updateMod('frame'); | ||
130 | - } else { | ||
131 | - // | ||
132 | - Core.showTips(data.msg); | ||
133 | - } | ||
134 | - } | ||
135 | - }, that); | ||
136 | - }); | ||
137 | - } | ||
138 | - Core.registerMod('home', Home); | ||
139 | - var Frame = function(modId) { | ||
140 | - Module.call(this, modId); | ||
141 | - } | ||
142 | - Core.inherit(Frame, Module); | ||
143 | - Frame.prototype.show_after = function() { | ||
144 | - var that = this; | ||
145 | - var _des = Core.last_mod ? Core.last_mod : 'home'; | ||
146 | - this.$c.find('a.btn.pull-left').attr('href', '#' + _des); | ||
147 | - this.$c.find('iframe')[0].onload = function() { | ||
148 | - that.$c.find('#loading_frame').hide(); | ||
149 | - } | ||
150 | - } | ||
151 | - Core.registerMod('frame', Frame); | ||
152 | - })(); | ||
153 | -</script> | ||
154 | -<script type="text/javascript" src="js/loader.min.js?201401151617"></script> | ||
155 | -<script type="text/javascript"> | ||
156 | -(function(){ | ||
157 | - window.isGetData = 1; | ||
158 | - getData('/game/info/'); | ||
159 | -})(); | ||
160 | -</script> | ||
161 | - | ||
162 | -</body> | ||
163 | -</html> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
1 | -CACHE MANIFEST | ||
2 | - | ||
3 | -#version=20151112001 | ||
4 | -/static/sdk_3/login.html?20151112001 | ||
5 | -/static/sdk_3/center.html?20151112001 | ||
6 | -/static/sdk_3/pay.html?20151112001 | ||
7 | -/static/sdk_3/share.html?20151112001 | ||
8 | -/static/sdk_3/js/fastclick.min.1.0.js?20151112001 | ||
9 | -/static/sdk_3/js/zepto.min.js?20151112001 | ||
10 | -/static/sdk_3/js/doT.min.js?20151112001 | ||
11 | -/static/sdk_3/js/iscroll.min.1.0.js?20151112001 | ||
12 | -/static/sdk_3/skin/login.css?20151112001 | ||
13 | -/static/sdk_3/skin/pay.css?20151112001 | ||
14 | - | ||
15 | -/static/sdk_3/js/core.min.js?20151112001 | ||
16 | -/static/sdk_3/js/loader.min.js?20151112001 | ||
17 | -/static/sdk_3/js/center.min.js?20151112001 | ||
18 | -/static/sdk_3/js/pay.min.js?20151112001 | ||
19 | -/static/sdk_3/js/login.min.js?20151112001 | ||
20 | -/static/sdk_3/images/login_icon.png?20151112001 | ||
21 | -/static/sdk_3/images/new-sdk-logo.png?20151112001 | ||
22 | -NETWORK: | ||
23 | -* | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | -#!/bin/sh | ||
2 | -#js css压缩,生成更新包打包 | ||
3 | - | ||
4 | -CDN_SERVER='http://sdk.uuufish.com/static' | ||
5 | - | ||
6 | - | ||
7 | -DIR_PATH="$( cd "$( dirname "$0" )" && pwd )" | ||
8 | -echo "$DIR_PATH" | ||
9 | -cd $DIR_PATH | ||
10 | -VERSION=`cat version.txt` | ||
11 | -DIR_NAME=${DIR_PATH##*/} | ||
12 | -ZIP_FILE="${DIR_NAME}_${VERSION}.zip" | ||
13 | -SAVE_DIR="dst" | ||
14 | -MD5='' | ||
15 | -echo $DIR_NAME | ||
16 | - | ||
17 | - | ||
18 | - | ||
19 | -function make_new_zip_file { | ||
20 | - cd $DIR_PATH | ||
21 | - mkdir -pv dst | ||
22 | - save_zip_file="${SAVE_DIR}/${ZIP_FILE}" | ||
23 | - [ -f "$save_zip_file" ] && rm "$save_zip_file" && echo "rm $save_zip_file" | ||
24 | - echo "zip $ZIP_FILE" | ||
25 | - zip -x 'uglifyjs_sqwish.sh' -x 'v.txt' -x '*.svn/*' -x "${SAVE_DIR}/*" -x "${ZIP_FILE}" -r "${save_zip_file}" ./ | ||
26 | - MD5=`md5sum dst/${ZIP_FILE} |cut -d ' ' -f1` | ||
27 | - | ||
28 | -} | ||
29 | -function make_version_file { | ||
30 | - make_new_zip_file | ||
31 | - cd $DIR_PATH | ||
32 | - URL="${CDN_SERVER}/${DIR_NAME}/${SAVE_DIR}/${ZIP_FILE}" | ||
33 | - echo "${VERSION}|${MD5}|${URL}" > v.txt | ||
34 | - cat v.txt | ||
35 | -} | ||
36 | -function uglifyjs_js_css { | ||
37 | - cd $DIR_PATH | ||
38 | - cd js/ | ||
39 | - for f in `ls *.js`;do | ||
40 | - uglifyjs $f -m -o $f | ||
41 | - done | ||
42 | - cd ../skin | ||
43 | - | ||
44 | - unalias mv | ||
45 | - | ||
46 | - for f in `ls *.css`;do | ||
47 | - if [ -f "$f" ];then | ||
48 | - | ||
49 | - sqwish $f | ||
50 | - new_f=`basename $f css` | ||
51 | - new_f="$new_f""min.css" | ||
52 | - echo " mv $new_f $f" | ||
53 | - [ -f "$new_f" ] && mv $new_f $f | ||
54 | - fi | ||
55 | - done | ||
56 | - cd .. | ||
57 | -} | ||
58 | - | ||
59 | - | ||
60 | -uglifyjs_js_css | ||
61 | -make_version_file | ||
62 | - | ||
63 | - | ||
64 | - |
1 | -20180207 | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | -<?xml version="1.0" encoding="UTF-8"?> | ||
2 | -<project name="PoolSdk" default="help"> | ||
3 | - | ||
4 | - <!-- The local.properties file is created and updated by the 'android' tool. | ||
5 | - It contains the path to the SDK. It should *NOT* be checked into | ||
6 | - Version Control Systems. --> | ||
7 | - <property file="local.properties" /> | ||
8 | - | ||
9 | - <!-- The ant.properties file can be created by you. It is only edited by the | ||
10 | - 'android' tool to add properties to it. | ||
11 | - This is the place to change some Ant specific build properties. | ||
12 | - Here are some properties you may want to change/update: | ||
13 | - | ||
14 | - source.dir | ||
15 | - The name of the source directory. Default is 'src'. | ||
16 | - out.dir | ||
17 | - The name of the output directory. Default is 'bin'. | ||
18 | - | ||
19 | - For other overridable properties, look at the beginning of the rules | ||
20 | - files in the SDK, at tools/ant/build.xml | ||
21 | - | ||
22 | - Properties related to the SDK location or the project target should | ||
23 | - be updated using the 'android' tool with the 'update' action. | ||
24 | - | ||
25 | - This file is an integral part of the build system for your | ||
26 | - application and should be checked into Version Control Systems. | ||
27 | - | ||
28 | - --> | ||
29 | - <property file="ant.properties" /> | ||
30 | - | ||
31 | - <!-- if sdk.dir was not set from one of the property file, then | ||
32 | - get it from the ANDROID_HOME env var. | ||
33 | - This must be done before we load project.properties since | ||
34 | - the proguard config can use sdk.dir --> | ||
35 | - <property environment="env" /> | ||
36 | - <condition property="sdk.dir" value="${env.ANDROID_HOME}"> | ||
37 | - <isset property="env.ANDROID_HOME" /> | ||
38 | - </condition> | ||
39 | - | ||
40 | - <!-- The project.properties file is created and updated by the 'android' | ||
41 | - tool, as well as ADT. | ||
42 | - | ||
43 | - This contains project specific properties such as project target, and library | ||
44 | - dependencies. Lower level build properties are stored in ant.properties | ||
45 | - (or in .classpath for Eclipse projects). | ||
46 | - | ||
47 | - This file is an integral part of the build system for your | ||
48 | - application and should be checked into Version Control Systems. --> | ||
49 | - <loadproperties srcFile="project.properties" /> | ||
50 | - | ||
51 | - <!-- quick check on sdk.dir --> | ||
52 | - <fail | ||
53 | - message="sdk.dir is missing. Make sure to generate local.properties using 'android update project' or to inject it through the ANDROID_HOME environment variable." | ||
54 | - unless="sdk.dir" | ||
55 | - /> | ||
56 | - | ||
57 | - <!-- | ||
58 | - Import per project custom build rules if present at the root of the project. | ||
59 | - This is the place to put custom intermediary targets such as: | ||
60 | - -pre-build | ||
61 | - -pre-compile | ||
62 | - -post-compile (This is typically used for code obfuscation. | ||
63 | - Compiled code location: ${out.classes.absolute.dir} | ||
64 | - If this is not done in place, override ${out.dex.input.absolute.dir}) | ||
65 | - -post-package | ||
66 | - -post-build | ||
67 | - -pre-clean | ||
68 | - --> | ||
69 | - <import file="custom_rules.xml" optional="true" /> | ||
70 | - | ||
71 | - <!-- Import the actual build file. | ||
72 | - | ||
73 | - To customize existing targets, there are two options: | ||
74 | - - Customize only one target: | ||
75 | - - copy/paste the target into this file, *before* the | ||
76 | - <import> task. | ||
77 | - - customize it to your needs. | ||
78 | - - Customize the whole content of build.xml | ||
79 | - - copy/paste the content of the rules files (minus the top node) | ||
80 | - into this file, replacing the <import> task. | ||
81 | - - customize to your needs. | ||
82 | - | ||
83 | - *********************** | ||
84 | - ****** IMPORTANT ****** | ||
85 | - *********************** | ||
86 | - In all cases you must update the value of version-tag below to read 'custom' instead of an integer, | ||
87 | - in order to avoid having your file be overridden by tools such as "android update project" | ||
88 | - --> | ||
89 | - <!-- version-tag: 1 --> | ||
90 | - <import file="${sdk.dir}/tools/ant/build.xml" /> | ||
91 | - | ||
92 | -</project> |
1 | -/* AUTO-GENERATED FILE. DO NOT MODIFY. | ||
2 | - * | ||
3 | - * This class was automatically generated by the | ||
4 | - * aapt tool from the resource data it found. It | ||
5 | - * should not be modified by hand. | ||
6 | - */ | ||
7 | - | ||
8 | -package com.youai.poolsdk.demo; | ||
9 | - | ||
10 | -public final class R { | ||
11 | - public static final class attr { | ||
12 | - } | ||
13 | - public static final class drawable { | ||
14 | - public static final int public_sdk_self_demo_btn_login_n=0x7f020000; | ||
15 | - public static final int public_sdk_self_demo_btn_login_s=0x7f020001; | ||
16 | - public static final int public_sdk_self_demo_btn_main_n=0x7f020002; | ||
17 | - public static final int public_sdk_self_demo_btn_main_s=0x7f020003; | ||
18 | - public static final int public_sdk_self_demo_main=0x7f020004; | ||
19 | - public static final int public_sdk_self_ic_launcher=0x7f020005; | ||
20 | - public static final int public_sdk_self_sdk_login_bg=0x7f020006; | ||
21 | - public static final int public_sdk_self_ya_bt_selector=0x7f020007; | ||
22 | - public static final int public_sdk_self_ya_login_bt_selector=0x7f020008; | ||
23 | - } | ||
24 | - public static final class id { | ||
25 | - public static final int forum_bt=0x7f050005; | ||
26 | - public static final int logout_bt=0x7f050004; | ||
27 | - public static final int ya_channel_center=0x7f050000; | ||
28 | - public static final int ya_enter_game_bt=0x7f050007; | ||
29 | - public static final int ya_login_bt=0x7f050006; | ||
30 | - public static final int ya_pay_bt=0x7f050001; | ||
31 | - public static final int ya_submit_role_data_bt=0x7f050003; | ||
32 | - public static final int ya_switch_account_bt=0x7f050002; | ||
33 | - } | ||
34 | - public static final class layout { | ||
35 | - public static final int public_sdk_self_game=0x7f030000; | ||
36 | - public static final int public_sdk_self_game_login=0x7f030001; | ||
37 | - } | ||
38 | - public static final class string { | ||
39 | - public static final int app_name=0x7f040000; | ||
40 | - } | ||
41 | -} |

50.2 KB
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
publicAndroidSDK/demo/Demo_PoolSdk/res/drawable/public_sdk_self_demo_btn_login_n.png
deleted
100644 → 0

5.71 KB
publicAndroidSDK/demo/Demo_PoolSdk/res/drawable/public_sdk_self_demo_btn_login_s.png
deleted
100644 → 0

6.39 KB
publicAndroidSDK/demo/Demo_PoolSdk/res/drawable/public_sdk_self_demo_btn_main_n.png
deleted
100644 → 0

5.59 KB
publicAndroidSDK/demo/Demo_PoolSdk/res/drawable/public_sdk_self_demo_btn_main_s.png
deleted
100644 → 0

5.72 KB

382 KB

6.29 KB

384 KB
publicAndroidSDK/demo/Demo_PoolSdk/res/drawable/public_sdk_self_ya_bt_selector.xml
deleted
100644 → 0
This diff is collapsed. Click to expand it.
publicAndroidSDK/demo/Demo_PoolSdk/res/drawable/public_sdk_self_ya_login_bt_selector.xml
deleted
100644 → 0
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
publicAndroidSDK/doc/公共SDK客户端接入文档.md
deleted
100644 → 0
This diff is collapsed. Click to expand it.
publicAndroidSDK/doc/公共SDK服务端接入文档.md
deleted
100644 → 0
This diff is collapsed. Click to expand it.
publicAndroidSDK/doc/接入常见问题.md
deleted
100644 → 0
This diff is collapsed. Click to expand it.
publicAndroidSDK/image/.DS_Store
deleted
100755 → 0
No preview for this file type
publicAndroidSDK/image/image1.png
deleted
100755 → 0

121 KB
publicAndroidSDK/image/image5.png
deleted
100755 → 0

149 KB
publicAndroidSDK/image/image6.png
deleted
100755 → 0

48.8 KB
publicAndroidSDK/image/image7.png
deleted
100755 → 0

98.7 KB
publicAndroidSDK/libs/.DS_Store
deleted
100644 → 0
No preview for this file type
publicAndroidSDK/libs/PoolOkhttp.jar
deleted
100755 → 0
No preview for this file type
publicAndroidSDK/libs/YouYuSDK.jar
deleted
100644 → 0
No preview for this file type
No preview for this file type
publicAndroidSDK/libs/okio-1.6.0.jar
deleted
100755 → 0
No preview for this file type
publicAndroidSDK/libs/poolsdkV2.jar
deleted
100644 → 0
No preview for this file type
-
Please register or login to post a comment