ソースを参照

更新摇一摇利用系统截屏的功能

leijie 4 年 前
コミット
f843fb9404
共有2 個のファイルを変更した3 個の追加3 個の削除を含む
  1. 1 1
      show-server/src/main/webapp/biz/js/plugins/sensor.js
  2. 2 2
      show-server/src/main/webapp/ipu/frame/mobile/expand-mobile.js

+ 1 - 1
show-server/src/main/webapp/biz/js/plugins/sensor.js

31
                }
31
                }
32
                $("#screenCapture_path").html("回调结果:" + path);
32
                $("#screenCapture_path").html("回调结果:" + path);
33
                $("#screenCapture_pic").html("<img src='" + path + "' style='max-width:60%;'/>");
33
                $("#screenCapture_pic").html("<img src='" + path + "' style='max-width:60%;'/>");
34
            },0,"/sdcard/pic/testPic.png",paintData.toString(),"IPU应用将截取您屏幕上显示的所有内容");
34
            },0,"/sdcard/pic/testPic.png",paintData.toString(),0,"IPU应用将截取您屏幕上显示的所有内容");
35
            // var type = 0;
35
            // var type = 0;
36
            // var isSaveToPhoto = 1;
36
            // var isSaveToPhoto = 1;
37
            // IpuMobile.noStatusScreenCapture(function(path) {
37
            // IpuMobile.noStatusScreenCapture(function(path) {

+ 2 - 2
show-server/src/main/webapp/ipu/frame/mobile/expand-mobile.js

639
      }, stopShakingListener: function () {
639
      }, stopShakingListener: function () {
640
        storageCallback("stopShakingListener", callback);
640
        storageCallback("stopShakingListener", callback);
641
        execute("stopShakingListener", [isApp]);
641
        execute("stopShakingListener", [isApp]);
642
      }, captureGraffitiPic: function (callback, type, info, paintData, title) {
642
      }, captureGraffitiPic: function (callback, type, info, paintData,captureType,title) {
643
        storageCallback("captureGraffitiPic", callback);
643
        storageCallback("captureGraffitiPic", callback);
644
        execute("captureGraffitiPic", [type, info, paintData, title]);
644
        execute("captureGraffitiPic", [type, info, paintData, captureType,title]);
645
      }, graffitiPic: function (callback, type, info, paintData) {
645
      }, graffitiPic: function (callback, type, info, paintData) {
646
        storageCallback("graffitiPic", callback);
646
        storageCallback("graffitiPic", callback);
647
        execute("graffitiPic", [type, info, paintData]);
647
        execute("graffitiPic", [type, info, paintData]);