Commit 1a979b82 authored by liujiangnan's avatar liujiangnan

feat

parent 6605cbb1
......@@ -5717,8 +5717,8 @@
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "openFinger",
"_N$string": "openFinger",
"_string": "打开摄像头",
"_N$string": "打开摄像头",
"_fontSize": 20,
"_lineHeight": 40,
"_enableWrapText": false,
......@@ -8314,8 +8314,8 @@
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "closeFinger",
"_N$string": "closeFinger",
"_string": "关闭摄像头",
"_N$string": "关闭摄像头",
"_fontSize": 20,
"_lineHeight": 40,
"_enableWrapText": false,
......
......@@ -550,14 +550,17 @@ export default class NewClass extends middleLayerBase {
});
cc.find('middleLayer/ui/BtnOpenFinger').on('click', () => {
(<any>window).courseware.openOsmoFingerRead({
"page_id": 27,
"book_id": "opw1"
// (<any>window).courseware.openOsmoFingerRead({
// "page_id": 27,
// "book_id": "opw1"
// });
(<any>window).courseware.openRecognitionCamera({}, ()=>{
});
});
cc.find('middleLayer/ui/BtnCloseFinger').on('click', () => {
(<any>window).courseware.closeOsmoFingerRead();
// (<any>window).courseware.closeOsmoFingerRead();
});
cc.find('middleLayer/ui/BtnOpenRecord').on('click', () => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment