Sfoglia il codice sorgente

增加百度地图,分享RN入口

wuyong3 5 anni fa
parent
commit
7fbf5e1d96

+ 6 - 0
show-server/src/main/webapp/biz/js/more/reactNative.js

23
		$("#ALERTDIALOG_RN").click(function() {
23
		$("#ALERTDIALOG_RN").click(function() {
24
			IpuMobile.openRN("ALERTDIALOG_RN", "main");
24
			IpuMobile.openRN("ALERTDIALOG_RN", "main");
25
		});
25
		});
26
		$("#BDMAP_RN").click(function() {
27
			WadeMobile.openRN("BDMAP_RN", "main");
28
		});
29
		$("#SHARE_RN").click(function() {
30
			WadeMobile.openRN("SHARE_RN", "main");
31
		});
26
	});
32
	});
27
	$("#KEYBOARD").click(function(){
33
	$("#KEYBOARD").click(function(){
28
		IpuMobile.openRN("KEYBOARD", "main");
34
		IpuMobile.openRN("KEYBOARD", "main");

+ 7 - 0
show-server/src/main/webapp/biz/js/plugins/safe/screenCapture.js

17
    		});
17
    		});
18
    		
18
    		
19
    	});
19
    	});
20
21
		$("#executeScreenRecord").click(function() {
22
			WadeMobile.executeScreenRecord(function(path) {
23
				$("#screenRecord_path").html("路径:" + path);
24
			});
25
26
		});
20
    	
27
    	
21
    	
28
    	
22
    })
29
    })

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

513
			},addTextWaterMarkForImage:function(pic_path,text,params,callback){
513
			},addTextWaterMarkForImage:function(pic_path,text,params,callback){
514
				storageCallback("addTextWaterMarkForImage",callback);
514
				storageCallback("addTextWaterMarkForImage",callback);
515
				execute("addTextWaterMarkForImage",[pic_path,text,params]);
515
				execute("addTextWaterMarkForImage",[pic_path,text,params]);
516
			},executeScreenRecord:function(callback){
517
				storageCallback("executeScreenRecord",callback);
518
				execute("executeScreenRecord",[]);
516
			}
519
			}
517
		};
520
		};
518
	})();
521
	})();

+ 16 - 0
show-server/src/main/webapp/template/webapp/more/reactNative.html

59
						打开一个React Native页面,实现自定义对话框
59
						打开一个React Native页面,实现自定义对话框
60
					</div>
60
					</div>
61
				</div>
61
				</div>
62
				<div class="demo-item" id="SHARE_RN">
63
					<div class="demo-title">
64
						分享
65
					</div>
66
					<div class="ipu-fn-p ipu-fn-colo">
67
						打开一个React Native页面,实现分享
68
					</div>
69
				</div>
70
				<div class="demo-item" id="BDMAP_RN">
71
					<div class="demo-title">
72
						百度地图
73
					</div>
74
					<div class="ipu-fn-p ipu-fn-colo">
75
						打开一个React Native页面,实现百度地图
76
					</div>
77
				</div>
62
				<!-- <div class="demo-item" id="KEYBOARD">
78
				<!-- <div class="demo-item" id="KEYBOARD">
63
					<div class="demo-title">
79
					<div class="demo-title">
64
						打开键盘
80
						打开键盘

+ 11 - 4
show-server/src/main/webapp/template/webapp/plugins/safe/screenCapture.html

23
                <div class="ipu-btn" id="closeScreenCapture">禁止截屏</div>
23
                <div class="ipu-btn" id="closeScreenCapture">禁止截屏</div>
24
                <div class="ipu-btn" id="openScreenCapture">允许截屏</div>
24
                <div class="ipu-btn" id="openScreenCapture">允许截屏</div>
25
                <div class="ipu-btn" id="executeScreenCapture">截屏</div>
25
                <div class="ipu-btn" id="executeScreenCapture">截屏</div>
26
                <div class="ipu-btn" id="executeScreenRecord">录屏</div>
26
            </div>
27
            </div>
27
            
28
            
28
            
29
            
36
					</div>
37
					</div>
37
				</div>
38
				</div>
38
			</div>
39
			</div>
39
            
40
            
41
            
42
            
40
41
            <div class="ipu-card ipu-card-block">
42
                <div class="ipu-card-content">
43
                    <div class="ipu-card-content-inner">
44
                        <div class="">录屏调用结果信息</div>
45
                        <div id="screenRecord_path"></div>
46
                    </div>
47
                </div>
48
            </div>
49
43
        </div>
50
        </div>
44
51
45
    </div>
52
    </div>