换皮:新增peko
This commit is contained in:
@@ -2,7 +2,7 @@ function render(templateId, templateData, target) {
|
||||
var html = template(templateId, templateData);
|
||||
target.innerHTML += html;
|
||||
}
|
||||
var tranUrl = 'https://yeying.api.shengxuanwangluo.com/';
|
||||
var tranUrl = 'https://api.lecheng163.com';
|
||||
|
||||
function dateFormat(date, fmt) {
|
||||
date = new Date(date);
|
||||
@@ -124,7 +124,7 @@ function checkVersion() {
|
||||
webApp: u.indexOf('Safari') > -1, //是否web应该程序,没有头部与底部
|
||||
weixin: u.indexOf('MicroMessenger') > -1, //是否微信
|
||||
qq: u.match(/\sQQ/i) == " qq", //是否QQ
|
||||
tutuApp: u.match('tutuApp'),
|
||||
pekoApp: u.match('pekoApp'),
|
||||
app: u.match('tutuApp') //是否在app内
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user