Quellcode durchsuchen

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

leijie vor 4 Jahren
Ursprung
Commit
f843fb9404

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

@ -31,7 +31,7 @@ require(["ipuMobile","jcl","jquery","ipuUI"], function(IpuMobile,jcl,$,ipuUI) {
31 31
                }
32 32
                $("#screenCapture_path").html("回调结果:" + path);
33 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 35
            // var type = 0;
36 36
            // var isSaveToPhoto = 1;
37 37
            // IpuMobile.noStatusScreenCapture(function(path) {

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

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