Commit 295701e5 authored by wildfirecode13's avatar wildfirecode13

111

parent 80297af5
......@@ -10,4 +10,7 @@
正式项目 p900c05df
测试app是线上测试活动
\ No newline at end of file
测试app里的是线上测试活动
小米测试机密码:0000
路径:阳光惠生活-首页更多-兑吧-免登进入
\ No newline at end of file
......@@ -83,4 +83,4 @@ function removeCalendarEvent(json) {
// // bridge.callHandler('currentLocation', { '': 'currentLocation', 'body': str3 }, function () {
// // }) //ios获取定位
// // });
// });</script><link href="//yun.duiba.com.cn/spark/v2/temp_base/1636513677963/styles/main.c128772ab5d3ddbd506f.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script src="//yun.duiba.com.cn/spark/v2/temp_base/1636513677963/js/runtime-main.ce79f404.js" crossorigin="anonymous"></script><script src="//yun.duiba.com.cn/spark/v2/temp_base/1636513677963/js/vendors.9d1efc92.js" crossorigin="anonymous"></script><script src="//yun.duiba.com.cn/spark/v2/temp_base/1636513677963/js/main.45f25de5.js" crossorigin="anonymous"></script></body></html>
\ No newline at end of file
// });</script><link href="//yun.duiba.com.cn/spark/v2/temp_base/1636514651544/styles/main.3f9e5551f3d90a710d8d.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script src="//yun.duiba.com.cn/spark/v2/temp_base/1636514651544/js/runtime-main.75e064ce.js" crossorigin="anonymous"></script><script src="//yun.duiba.com.cn/spark/v2/temp_base/1636514651544/js/vendors.9d1efc92.js" crossorigin="anonymous"></script><script src="//yun.duiba.com.cn/spark/v2/temp_base/1636514651544/js/main.2be175d3.js" crossorigin="anonymous"></script></body></html>
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{"+2NO":function(t,e,n){},"8TUu":function(t,e,n){var o=n("LboF"),r=n("Ftvq");"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[t.i,r,""]]);var a={insert:"head",singleton:!1};o(r,a);t.exports=r.locals||{}},Ftvq:function(t,e,n){},k7yg:function(t,e,n){"use strict";n.r(e);var o,r=n("lwsE"),a=n.n(r),i=n("W8MJ"),l=n.n(i),c=n("7W2i"),s=n.n(c),u=n("a1gu"),p=n.n(u),d=n("Nsbk"),f=n.n(d),h=n("q1tI"),v=n.n(h),y=n("i8i4"),m=n.n(y),g=(n("mPlr"),n("8TUu"),n("TyAF")),k=n("RIqP"),E=n.n(k),L=n("aFzQ"),b={},w=Object(L.l)({popList:[],pushPop:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(this.popList.length){var o,r=this.popList.slice();r.push({key:t,data:e,isMulti:n}),r=r.sort((function(t,e){return(b[e.key]?b[e.key]:10)-(b[t.key]?b[t.key]:10)})),this.popList.clear(),(o=this.popList).push.apply(o,E()(r))}else this.popList.push({key:t,data:e,isMulti:n})},closePop:function(t){if(t){var e,n=this.popList.slice();n=n.filter((function(e){return e.key!=t})),this.popList.clear(),(e=this.popList).push.apply(e,E()(n))}else this.popList.shift()},closePopAll:function(){this.popList.clear()}});function D(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=f()(t);if(e){var r=f()(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return p()(this,n)}}var R={},C=Object(g.a)(o=function(t){s()(n,t);var e=D(n);function n(t){return a()(this,n),e.call(this,t)}return l()(n,[{key:"componentDidMount",value:function(){}},{key:"render",value:function(){var t,e,n,o,r=Object(L.p)(w.popList);if(!r.length)return document.body.style.overflow="auto",v.a.createElement("section",null);if(r.length>1&&1==r[r.length-1].isMulti){var a=r[r.length-1];n=R[a.key],o=a.data}var i=r[0];return t=R[i.key],e=i.data,(t||n)&&(document.body.style.overflow="hidden"),v.a.createElement("section",{className:"modal-hoc-bg",style:{zIndex:w.popList.length?1e3:-1,display:w.popList.length?"block":"none"}},t&&v.a.createElement(t,{popData:e}),n&&v.a.createElement("section",{className:"modal-hoc-bg",style:{zIndex:w.popList.length?1e3:-1,display:w.popList.length?"block":"none"}},v.a.createElement(n,{popData:o})))}}]),n}(h.Component))||o,I=n("/2d7"),F=CFG.appID,M="202."+CFG.projectId+".0.0",O=[{ele:".test-md1",data:{dpm:"".concat(F,".110.5.1"),dcm:M,domain:"//embedlog.duiba.com.cn",appId:F},once:!1}];function x(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=f()(t);if(e){var r=f()(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return p()(this,n)}}Object(I.a)({show:O,click:O});var P=function(t){s()(n,t);var e=x(n);function n(){return a()(this,n),e.apply(this,arguments)}return l()(n,[{key:"componentDidMount",value:function(){var t,e,n,o,r={callBackHandlerName:"addCalendarEvent1",eventId:(t=new Date,e=t.getFullYear(),n=t.getMonth()+1,o=t.getDate(),e.toString()+n.toString()+o.toString()+pushIndex.toString()),title:pushData.title,startDate:pushData.startDate,endTime:pushData.endTime,alarmTime:pushData.alarmTime,notes:pushData.notes};console.error("do addCalendarEvent 1"),window.addCalendarEvent(r),window.addCalendarEvent1=function(t){var e;if(console.error("哈哈 回调执行了 2"),e=(e=JSON.parse(t)).errorCode,console.error(e),console.error("000"==e),"000"==e){console.error("???",e);var n=new Event("addCalendarEvent1");document.dispatchEvent(n)}}}},{key:"render",value:function(){return v.a.createElement("div",null,v.a.createElement("div",null,"请在app.jsx中指定首页"),v.a.createElement(C,null))}}]),n}(h.Component);m.a.render(v.a.createElement(P,null),document.getElementById("root"))},mPlr:function(t,e,n){var o=n("LboF"),r=n("+2NO");"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[t.i,r,""]]);var a={insert:"head",singleton:!1};o(r,a);t.exports=r.locals||{}}},[["k7yg",1,2]]]);
//# sourceMappingURL=main.2be175d3.js.map
\ No newline at end of file
This diff is collapsed.
(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{"+2NO":function(t,e,n){},"8TUu":function(t,e,n){var o=n("LboF"),r=n("Ftvq");"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[t.i,r,""]]);var i={insert:"head",singleton:!1};o(r,i);t.exports=r.locals||{}},Ftvq:function(t,e,n){},k7yg:function(t,e,n){"use strict";n.r(e);var o,r=n("lwsE"),i=n.n(r),c=n("W8MJ"),l=n.n(c),a=n("7W2i"),s=n.n(a),u=n("a1gu"),p=n.n(u),f=n("Nsbk"),d=n.n(f),h=n("q1tI"),y=n.n(h),v=n("i8i4"),m=n.n(v),g=(n("mPlr"),n("8TUu"),n("TyAF")),k=n("RIqP"),L=n.n(k),b=n("aFzQ"),E={},R=Object(b.l)({popList:[],pushPop:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(this.popList.length){var o,r=this.popList.slice();r.push({key:t,data:e,isMulti:n}),r=r.sort((function(t,e){return(E[e.key]?E[e.key]:10)-(E[t.key]?E[t.key]:10)})),this.popList.clear(),(o=this.popList).push.apply(o,L()(r))}else this.popList.push({key:t,data:e,isMulti:n})},closePop:function(t){if(t){var e,n=this.popList.slice();n=n.filter((function(e){return e.key!=t})),this.popList.clear(),(e=this.popList).push.apply(e,L()(n))}else this.popList.shift()},closePopAll:function(){this.popList.clear()}});function w(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=d()(t);if(e){var r=d()(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return p()(this,n)}}var F={},I=Object(g.a)(o=function(t){s()(n,t);var e=w(n);function n(t){return i()(this,n),e.call(this,t)}return l()(n,[{key:"componentDidMount",value:function(){}},{key:"render",value:function(){var t,e,n,o,r=Object(b.p)(R.popList);if(!r.length)return document.body.style.overflow="auto",y.a.createElement("section",null);if(r.length>1&&1==r[r.length-1].isMulti){var i=r[r.length-1];n=F[i.key],o=i.data}var c=r[0];return t=F[c.key],e=c.data,(t||n)&&(document.body.style.overflow="hidden"),y.a.createElement("section",{className:"modal-hoc-bg",style:{zIndex:R.popList.length?1e3:-1,display:R.popList.length?"block":"none"}},t&&y.a.createElement(t,{popData:e}),n&&y.a.createElement("section",{className:"modal-hoc-bg",style:{zIndex:R.popList.length?1e3:-1,display:R.popList.length?"block":"none"}},y.a.createElement(n,{popData:o})))}}]),n}(h.Component))||o,O=n("/2d7"),P=CFG.appID,x="202."+CFG.projectId+".0.0",M=[{ele:".test-md1",data:{dpm:"".concat(P,".110.5.1"),dcm:x,domain:"//embedlog.duiba.com.cn",appId:P},once:!1}];function j(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=d()(t);if(e){var r=d()(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return p()(this,n)}}Object(O.a)({show:M,click:M});var B=function(t){s()(n,t);var e=j(n);function n(){return i()(this,n),e.apply(this,arguments)}return l()(n,[{key:"render",value:function(){return y.a.createElement("div",null,y.a.createElement("div",null,"请在app.jsx中指定首页"),y.a.createElement(I,null))}}]),n}(h.Component);m.a.render(y.a.createElement(B,null),document.getElementById("root"))},mPlr:function(t,e,n){var o=n("LboF"),r=n("+2NO");"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[t.i,r,""]]);var i={insert:"head",singleton:!1};o(r,i);t.exports=r.locals||{}}},[["k7yg",1,2]]]);
//# sourceMappingURL=main.45f25de5.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///./src/modal/modal.less","webpack:///./src/store/modal.js","webpack:///./src/modal/modal.jsx","webpack:///./MD.js","webpack:///./src/app.jsx","webpack:///./src/app.less"],"names":["api","content","__esModule","default","module","i","options","exports","locals","modalIndex","modalStore","makeAutoObservable","popList","pushPop","key","data","isMulti","this","length","cacheList","slice","push","sort","a","b","clear","closePop","filter","obj","shift","closePopAll","cfg","Modal","observer","props","PopUp","popData","PopUpMulti","popUpMultiData","list","toJS","document","body","style","overflow","popObj2","popObj","className","zIndex","display","Component","appId","CFG","appID","dcm","projectId","MDList","ele","dpm","domain","once","MD","show","click","App","ReactDOM","render","getElementById"],"mappings":"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","file":"js/main.45f25de5.js","sourcesContent":["var api = require(\"!../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\");\n var content = require(\"!!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--4-1!../../node_modules/css-loader/dist/cjs.js??ref--4-2!../../node_modules/postcss-loader/src/index.js??ref--4-3!../../node_modules/less-loader/dist/cjs.js??ref--4-4!./modal.less\");\n\n content = content.__esModule ? content.default : content;\n\n if (typeof content === 'string') {\n content = [[module.id, content, '']];\n }\n\nvar options = {};\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = api(content, options);\n\n\n\nmodule.exports = content.locals || {};","import { makeAutoObservable,toJS } from 'mobx';\n\n//此处配置页面的优先级,越大优先级越高\n// PopIndex:11\nconst modalIndex = {\n\n}\n\nconst modalStore = makeAutoObservable({\n popList: [],\n /**\n * \n * @param {*} key 弹窗名,一般是类名的字符串\n * @param {*} data 需要传递的数据,弹窗中使用 const {popData} = props; 获取\n * @param {*} isMulti 是否是二级弹窗,在不关闭已有弹窗的基础上,弹出当前弹窗。注意,如果是二级弹窗,关闭时必须传key\n */\n pushPop(key, data,isMulti=false) {\n if (this.popList.length) {\n let cacheList = this.popList.slice();\n cacheList.push({ key, data,isMulti });\n cacheList = cacheList.sort((a, b) => ((modalIndex[b.key] ? modalIndex[b.key] : 10) - (modalIndex[a.key] ? modalIndex[a.key] : 10)))\n this.popList.clear();\n this.popList.push(...cacheList);\n } else {\n this.popList.push({ key, data,isMulti });\n }\n // console.log(\"this.popList:::\",toJS(this.popList));\n },\n closePop(key) {\n if (key) {\n let cacheList = this.popList.slice();\n cacheList = cacheList.filter(obj => (obj.key != key));\n this.popList.clear();\n this.popList.push(...cacheList);\n } else {\n this.popList.shift();\n }\n },\n closePopAll() {\n this.popList.clear();\n }\n\n});\nexport default modalStore;\n","import React, { Component } from \"react\";\n\nimport './modal.less';\nimport { observer } from 'mobx-react';\nimport modalStore from '../store/modal';\nimport { toJS } from 'mobx';\nexport const cfg = {\n \n};\n\n@observer\nclass Modal extends Component {\n constructor(props) {\n super(props);\n }\n\n componentDidMount() { }\n\n render() {\n const list = toJS(modalStore.popList);\n \n if (!list.length) {\n //TODO:此处根据需要自行修改\n document.body.style.overflow='auto';\n return <section></section>;\n }\n let PopUp, popData, PopUpMulti, popUpMultiData;\n\n if (list.length > 1 && list[list.length - 1].isMulti == true) {\n const popObj2 = list[list.length - 1];\n PopUpMulti = cfg[popObj2.key];\n popUpMultiData = popObj2.data;\n\n }\n const popObj = list[0];\n PopUp = cfg[popObj.key];\n popData = popObj.data;\n\n if (PopUp || PopUpMulti) {\n document.body.style.overflow='hidden';\n } \n\n return <section className=\"modal-hoc-bg\" style={{\n zIndex: !!modalStore.popList.length ? 1000 : -1,\n display: !!modalStore.popList.length ? 'block' : 'none'\n }}>\n {PopUp && <PopUp popData={popData} />}\n {PopUpMulti && <section className=\"modal-hoc-bg\" style={{\n zIndex: !!modalStore.popList.length ? 1000 : -1,\n display: !!modalStore.popList.length ? 'block' : 'none'\n }}><PopUpMulti popData={popUpMultiData} />\n </section>}\n </section>;\n }\n\n}\n\nexport default Modal;","import MD from 'spark-utils/out/md/index.js';\n\nlet appId = CFG.appID;\nconst dcm = '202.' + CFG.projectId + '.0.0';\nconst domain = '//embedlog.duiba.com.cn';\n\nlet MDList = [\n {\n ele: `.test-md1`,\n data: {\n dpm: `${appId}.110.5.1`,\n dcm,\n domain,\n appId\n },\n once: false\n }\n];\n\nexport default () =>\n MD({\n show: MDList, // 曝光\n click: MDList // 点击\n });\n","import React, { Component } from \"react\";\nimport ReactDOM from \"react-dom\";\nimport \"./app.less\";\nimport Modal from './modal/modal';\nimport MD from '../MD';\nMD();\n\n//此处为spark-cli动态生成\n\nclass App extends Component {\n\n render() {\n return (\n <div>\n <div>请在app.jsx中指定首页</div>\n <Modal />\n </div>\n );\n }\n}\n\nReactDOM.render(<App />, document.getElementById(\"root\"));\n","var api = require(\"!../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\");\n var content = require(\"!!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--4-1!../node_modules/css-loader/dist/cjs.js??ref--4-2!../node_modules/postcss-loader/src/index.js??ref--4-3!../node_modules/less-loader/dist/cjs.js??ref--4-4!./app.less\");\n\n content = content.__esModule ? content.default : content;\n\n if (typeof content === 'string') {\n content = [[module.id, content, '']];\n }\n\nvar options = {};\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = api(content, options);\n\n\n\nmodule.exports = content.locals || {};"],"sourceRoot":""}
\ No newline at end of file
!function(e){function r(r){for(var n,a,l=r[0],i=r[1],p=r[2],c=0,s=[];c<l.length;c++)a=l[c],Object.prototype.hasOwnProperty.call(o,a)&&o[a]&&s.push(o[a][0]),o[a]=0;for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n]);for(f&&f(r);s.length;)s.shift()();return u.push.apply(u,p||[]),t()}function t(){for(var e,r=0;r<u.length;r++){for(var t=u[r],n=!0,l=1;l<t.length;l++){var i=t[l];0!==o[i]&&(n=!1)}n&&(u.splice(r--,1),e=a(a.s=t[0]))}return e}var n={},o={1:0},u=[];function a(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,a),t.l=!0,t.exports}a.m=e,a.c=n,a.d=function(e,r,t){a.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,r){if(1&r&&(e=a(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(a.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)a.d(t,n,function(r){return e[r]}.bind(null,n));return t},a.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(r,"a",r),r},a.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},a.p="//yun.duiba.com.cn/spark/v2/temp_base/1636513677963/";var l=window.webpackJsonp=window.webpackJsonp||[],i=l.push.bind(l);l.push=r,l=l.slice();for(var p=0;p<l.length;p++)r(l[p]);var f=i;t()}([]);
//# sourceMappingURL=runtime-main.ce79f404.js.map
\ No newline at end of file
!function(e){function r(r){for(var n,a,l=r[0],i=r[1],p=r[2],c=0,s=[];c<l.length;c++)a=l[c],Object.prototype.hasOwnProperty.call(o,a)&&o[a]&&s.push(o[a][0]),o[a]=0;for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n]);for(f&&f(r);s.length;)s.shift()();return u.push.apply(u,p||[]),t()}function t(){for(var e,r=0;r<u.length;r++){for(var t=u[r],n=!0,l=1;l<t.length;l++){var i=t[l];0!==o[i]&&(n=!1)}n&&(u.splice(r--,1),e=a(a.s=t[0]))}return e}var n={},o={1:0},u=[];function a(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,a),t.l=!0,t.exports}a.m=e,a.c=n,a.d=function(e,r,t){a.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,r){if(1&r&&(e=a(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(a.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)a.d(t,n,function(r){return e[r]}.bind(null,n));return t},a.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(r,"a",r),r},a.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},a.p="//yun.duiba.com.cn/spark/v2/temp_base/1636514651544/";var l=window.webpackJsonp=window.webpackJsonp||[],i=l.push.bind(l);l.push=r,l=l.slice();for(var p=0;p<l.length;p++)r(l[p]);var f=i;t()}([]);
//# sourceMappingURL=runtime-main.75e064ce.js.map
\ No newline at end of file
......@@ -23,4 +23,4 @@ body {
z-index: 1000;
}
/*# sourceMappingURL=main.c128772ab5d3ddbd506f.css.map*/
\ No newline at end of file
/*# sourceMappingURL=main.3f9e5551f3d90a710d8d.css.map*/
\ No newline at end of file
{"version":3,"sources":[],"names":[],"mappings":"","file":"styles/main.c128772ab5d3ddbd506f.css","sourceRoot":""}
\ No newline at end of file
{"version":3,"sources":[],"names":[],"mappings":"","file":"styles/main.3f9e5551f3d90a710d8d.css","sourceRoot":""}
\ No newline at end of file
......@@ -9,6 +9,6 @@ module.exports ={
"IMAGE_Q1": 0.6,
"IMAGE_Q2": 0.8,
"RES_PATH": "/src/assets/",
"RES_PATH_PROD": "//yun.duiba.com.cn/spark/v2/temp_base/1636513675655",
"JS_PATH_PROD": "https://yun.duiba.com.cn/spark/v2/temp_base/1636513677963/js"
"RES_PATH_PROD": "//yun.duiba.com.cn/spark/v2/temp_base/1636514649281",
"JS_PATH_PROD": "https://yun.duiba.com.cn/spark/v2/temp_base/1636514651544/js"
}
\ No newline at end of file
......@@ -16,8 +16,6 @@ function getEventId(){
return eventId;
}
class App extends Component {
componentDidMount() {
var eventId = getEventId();
......@@ -30,22 +28,21 @@ class App extends Component {
"alarmTime": pushData.alarmTime,
"notes": pushData.notes
}
console.log("do addCalendarEvent ")
console.error("do addCalendarEvent 1")
window['addCalendarEvent'](json)
window['addCalendarEvent1'] = function (data) {
// alert("addCalendarEvent1")
console.log("lalalaal", data)
console.error('哈哈 回调执行了 2')
var code;
code = JSON.parse(data)
code = code.errorCode
console.log(code)
console.log(code == "000")
console.error(code)
console.error(code == "000")
if (code == "000") {
console.log("???", code)
console.error("???", code)
var addCalendarEvent1 = new Event("addCalendarEvent1");
document.dispatchEvent(addCalendarEvent1)
......
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