|
|
@@ -1,6 +1,6 @@
|
|
|
// 公用方法
|
|
|
// 检测安卓和ios
|
|
|
-var cTTypeFunc = 1; // 安卓为1,iOS为2
|
|
|
+var cTTypeFunc = 2; // 安卓为1,iOS为2
|
|
|
|
|
|
// 获取基本配置信息
|
|
|
function GetPicInfos(mobiletype) {
|
|
|
@@ -2365,7 +2365,7 @@ function mobileTSFunc(ID) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-// 控制字体大小
|
|
|
+// 控制字体大小(播放器大小)
|
|
|
function adjustFontSize(FontSize) {
|
|
|
if (FontSize == null || FontSize < 80) {
|
|
|
return;
|
|
|
@@ -2374,6 +2374,25 @@ function adjustFontSize(FontSize) {
|
|
|
$(".TableContainer").attr("data-fsFlag", FontSize);
|
|
|
}
|
|
|
|
|
|
+// 全局字体的大小调整
|
|
|
+function adjustBodyFontSize(FontSize) {
|
|
|
+ var AFontSize = 18; // 这个值需要应用方实际测试调用
|
|
|
+ if (FontSize == 80)
|
|
|
+ {
|
|
|
+ AFontSize = 18;
|
|
|
+ }
|
|
|
+ else if (FontSize == 100) {
|
|
|
+ AFontSize = 16;
|
|
|
+ }
|
|
|
+ else if (FontSize == 120) {
|
|
|
+ AFontSize = 14;
|
|
|
+ }
|
|
|
+ else if (FontSize == 140) {
|
|
|
+ AFontSize = 12;
|
|
|
+ }
|
|
|
+ $("body").find("p,u,div,span").css("font-size", AFontSize + "px");
|
|
|
+}
|
|
|
+
|
|
|
function playVisiableAudioCallBack(type, url) {
|
|
|
//console.log(url);
|
|
|
cancelBubble();
|