codecamp

_start.appUninstall 应用卸载

  • 函数原型

/* 卸载应用 
 * @number appid  应用appid
 */
 _start.appUninstall=function(appid){
 	jQuery.getJSON(_config.systemurl+'&op=dzzcp&do=appuninstall&appid='+appid,function(json){
 	    if(json.error){		
 	    	   showmessage(json.error,'error',3000,1,'right-bottom');		    }else{			
 	    	   if(json.icoid>0) _ico.removeIcoid(json.icoid);			          _start.removeIco(appid);		
 	    }
      });
 };

_window.showDesktop显示桌面
_start.appLinkTo创建应用快捷方式
温馨提示
下载编程狮App,免费阅读超1000+编程语言教程
取消
确定
目录

Dzz系统框架

输入数据处理

数据DB层

安全相关

上传组件

评论组件

关闭

MIP.setData({ 'pageTheme' : getCookie('pageTheme') || {'day':true, 'night':false}, 'pageFontSize' : getCookie('pageFontSize') || 20 }); MIP.watch('pageTheme', function(newValue){ setCookie('pageTheme', JSON.stringify(newValue)) }); MIP.watch('pageFontSize', function(newValue){ setCookie('pageFontSize', newValue) }); function setCookie(name, value){ var days = 1; var exp = new Date(); exp.setTime(exp.getTime() + days*24*60*60*1000); document.cookie = name + '=' + value + ';expires=' + exp.toUTCString(); } function getCookie(name){ var reg = new RegExp('(^| )' + name + '=([^;]*)(;|$)'); return document.cookie.match(reg) ? JSON.parse(document.cookie.match(reg)[2]) : null; }