Commit d050e1ed authored by wildfirecode13's avatar wildfirecode13

111

parent 1c2e4bea
......@@ -87,4 +87,4 @@ function removeCalendarEvent(json) {
// // bridge.callHandler('currentLocation', { '': 'currentLocation', 'body': str3 }, function () {
// // }) //ios获取定位
// // });
// });</script><link href="//yun.duiba.com.cn/spark/v2/temp_base/1636529467876/styles/main.1036b4f09b52298fd16c.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/1636529467876/js/runtime-main.1eb3b117.js" crossorigin="anonymous"></script><script src="//yun.duiba.com.cn/spark/v2/temp_base/1636529467876/js/vendors.33d53b6d.js" crossorigin="anonymous"></script><script src="//yun.duiba.com.cn/spark/v2/temp_base/1636529467876/js/main.5e20820b.js" crossorigin="anonymous"></script></body></html>
\ No newline at end of file
// });</script><link href="//yun.duiba.com.cn/spark/v2/temp_base/1636530535886/styles/main.e8cf3e75148993800e9d.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/1636530535886/js/runtime-main.9ddcaf99.js" crossorigin="anonymous"></script><script src="//yun.duiba.com.cn/spark/v2/temp_base/1636530535886/js/vendors.33d53b6d.js" crossorigin="anonymous"></script><script src="//yun.duiba.com.cn/spark/v2/temp_base/1636530535886/js/main.28cd9ff5.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"),a=n("Ftvq");"string"==typeof(a=a.__esModule?a.default:a)&&(a=[[t.i,a,""]]);var r={insert:"head",singleton:!1};o(a,r);t.exports=a.locals||{}},Ftvq:function(t,e,n){},k7yg:function(t,e,n){"use strict";n.r(e);var o,a=n("lwsE"),r=n.n(a),c=n("W8MJ"),i=n.n(c),l=n("7W2i"),s=n.n(l),u=n("a1gu"),p=n.n(u),d=n("Nsbk"),f=n.n(d),h=n("J4zp"),v=n.n(h),m=n("q1tI"),y=n.n(m),g=n("i8i4"),w=n.n(g),k=(n("mPlr"),n("8TUu"),n("TyAF")),E=n("RIqP"),L=n.n(E),b=n("aFzQ"),D={},I=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,a=this.popList.slice();a.push({key:t,data:e,isMulti:n}),a=a.sort((function(t,e){return(D[e.key]?D[e.key]:10)-(D[t.key]?D[t.key]:10)})),this.popList.clear(),(o=this.popList).push.apply(o,L()(a))}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 O(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 a=f()(this).constructor;n=Reflect.construct(o,arguments,a)}else n=o.apply(this,arguments);return p()(this,n)}}var R={},C=Object(k.a)(o=function(t){s()(n,t);var e=O(n);function n(t){return r()(this,n),e.call(this,t)}return i()(n,[{key:"componentDidMount",value:function(){}},{key:"render",value:function(){var t,e,n,o,a=Object(b.p)(I.popList);if(!a.length)return document.body.style.overflow="auto",y.a.createElement("section",null);if(a.length>1&&1==a[a.length-1].isMulti){var r=a[a.length-1];n=R[r.key],o=r.data}var c=a[0];return t=R[c.key],e=c.data,(t||n)&&(document.body.style.overflow="hidden"),y.a.createElement("section",{className:"modal-hoc-bg",style:{zIndex:I.popList.length?1e3:-1,display:I.popList.length?"block":"none"}},t&&y.a.createElement(t,{popData:e}),n&&y.a.createElement("section",{className:"modal-hoc-bg",style:{zIndex:I.popList.length?1e3:-1,display:I.popList.length?"block":"none"}},y.a.createElement(n,{popData:o})))}}]),n}(m.Component))||o,F=n("/2d7"),M=CFG.appID,J="202."+CFG.projectId+".0.0",N=[{ele:".test-md1",data:{dpm:"".concat(M,".110.5.1"),dcm:J,domain:"//embedlog.duiba.com.cn",appId:M},once:!1}];function S(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 a=f()(this).constructor;n=Reflect.construct(o,arguments,a)}else n=o.apply(this,arguments);return p()(this,n)}}Object(F.a)({show:N,click:N});var T=function(t){s()(n,t);var e=S(n);function n(){return r()(this,n),e.apply(this,arguments)}return i()(n,[{key:"componentDidMount",value:function(){console.warn("JSInterface",window.JSInterface);var t={pushIndex:1,title:"测试标题",startDate:"2021-11-10 16:00",endTime:"5",alarmTime:"2",notes:""},e=[1,2,3],n=[["15","40"],["15","50"],["16","00"]];(e=e.map((function(t){return e=t,n=new Date,o=n.getFullYear(),a=n.getMonth()+1,r=n.getDate(),o.toString()+a.toString()+r.toString()+"_"+e.toString();var e,n,o,a,r}))).forEach((function(e,o){var a,r,c,i,l,s,u,p,d=JSON.parse(JSON.stringify(t));d.startDate=(a=n[o],r=v()(a,2),c=r[0],i=r[1],l=new Date,s=l.getFullYear(),u=l.getMonth()+1,p=l.getDate(),"".concat(s,"-").concat(u,"-").concat(p," ").concat(c,":").concat(i)),d.title="测试标题".concat(e),console.warn("eventId",e),console.warn("do addCalendarEvent 1",e);var f={callBackHandlerName:"addCalendarEvent1",eventId:e,title:d.title,startDate:d.startDate,endTime:d.endTime,alarmTime:d.alarmTime,notes:d.notes};console.warn("json "+e,f),window.addCalendarEvent(f)})),window.addCalendarEvent1=function(t){var e;if(console.warn("哈哈 回调执行了,回调数据是: 2",t),e=(e=JSON.parse(t)).errorCode,console.warn(e),console.warn("000"==e),"000"==e){console.warn("???",e);var n=new Event("addCalendarEvent1");document.dispatchEvent(n)}}}},{key:"render",value:function(){return y.a.createElement("div",null,y.a.createElement("div",null,"请在app.jsx中指定首页"),y.a.createElement(C,null))}}]),n}(m.Component);w.a.render(y.a.createElement(T,null),document.getElementById("root"))},mPlr:function(t,e,n){var o=n("LboF"),a=n("+2NO");"string"==typeof(a=a.__esModule?a.default:a)&&(a=[[t.i,a,""]]);var r={insert:"head",singleton:!1};o(a,r);t.exports=a.locals||{}}},[["k7yg",1,2]]]);
//# sourceMappingURL=main.5e20820b.js.map
\ 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"),a=n("Ftvq");"string"==typeof(a=a.__esModule?a.default:a)&&(a=[[t.i,a,""]]);var r={insert:"head",singleton:!1};o(a,r);t.exports=a.locals||{}},Ftvq:function(t,e,n){},k7yg:function(t,e,n){"use strict";n.r(e);var o,a=n("lwsE"),r=n.n(a),c=n("W8MJ"),i=n.n(c),l=n("7W2i"),s=n.n(l),u=n("a1gu"),p=n.n(u),d=n("Nsbk"),f=n.n(d),h=n("J4zp"),v=n.n(h),m=n("q1tI"),y=n.n(m),g=n("i8i4"),w=n.n(g),k=(n("mPlr"),n("8TUu"),n("TyAF")),E=n("RIqP"),L=n.n(E),b=n("aFzQ"),D={},I=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,a=this.popList.slice();a.push({key:t,data:e,isMulti:n}),a=a.sort((function(t,e){return(D[e.key]?D[e.key]:10)-(D[t.key]?D[t.key]:10)})),this.popList.clear(),(o=this.popList).push.apply(o,L()(a))}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 O(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 a=f()(this).constructor;n=Reflect.construct(o,arguments,a)}else n=o.apply(this,arguments);return p()(this,n)}}var R={},C=Object(k.a)(o=function(t){s()(n,t);var e=O(n);function n(t){return r()(this,n),e.call(this,t)}return i()(n,[{key:"componentDidMount",value:function(){}},{key:"render",value:function(){var t,e,n,o,a=Object(b.p)(I.popList);if(!a.length)return document.body.style.overflow="auto",y.a.createElement("section",null);if(a.length>1&&1==a[a.length-1].isMulti){var r=a[a.length-1];n=R[r.key],o=r.data}var c=a[0];return t=R[c.key],e=c.data,(t||n)&&(document.body.style.overflow="hidden"),y.a.createElement("section",{className:"modal-hoc-bg",style:{zIndex:I.popList.length?1e3:-1,display:I.popList.length?"block":"none"}},t&&y.a.createElement(t,{popData:e}),n&&y.a.createElement("section",{className:"modal-hoc-bg",style:{zIndex:I.popList.length?1e3:-1,display:I.popList.length?"block":"none"}},y.a.createElement(n,{popData:o})))}}]),n}(m.Component))||o,F=n("/2d7"),M=CFG.appID,J="202."+CFG.projectId+".0.0",N=[{ele:".test-md1",data:{dpm:"".concat(M,".110.5.1"),dcm:J,domain:"//embedlog.duiba.com.cn",appId:M},once:!1}];function S(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 a=f()(this).constructor;n=Reflect.construct(o,arguments,a)}else n=o.apply(this,arguments);return p()(this,n)}}Object(F.a)({show:N,click:N});var T=function(t){s()(n,t);var e=S(n);function n(){return r()(this,n),e.apply(this,arguments)}return i()(n,[{key:"componentDidMount",value:function(){console.warn("JSInterface",window.JSInterface);var t={pushIndex:1,title:"测试标题",startDate:"2021-11-10 16:00",endTime:"5",alarmTime:"2",notes:""},e=[1,2,3],n=[["15","55"],["16","10"],["16","20"]];(e=e.map((function(t){return e=t,n=new Date,o=n.getFullYear(),a=n.getMonth()+1,r=n.getDate(),o.toString()+a.toString()+r.toString()+"_"+e.toString();var e,n,o,a,r}))).forEach((function(e,o){var a,r,c,i,l,s,u,p,d=JSON.parse(JSON.stringify(t));d.startDate=(a=n[o],r=v()(a,2),c=r[0],i=r[1],l=new Date,s=l.getFullYear(),u=l.getMonth()+1,p=l.getDate(),"".concat(s,"-").concat(u,"-").concat(p," ").concat(c,":").concat(i)),d.title="测试标题".concat(e),console.warn("eventId",e),console.warn("do addCalendarEvent 1",e);var f={callBackHandlerName:"addCalendarEvent1",eventId:e,title:d.title,startDate:d.startDate,endTime:d.endTime,alarmTime:d.alarmTime,notes:d.notes};console.warn("json "+e,f),window.addCalendarEvent(f)})),window.addCalendarEvent1=function(t){var e;if(console.warn("哈哈 回调执行了,回调数据是: 2",t),e=(e=JSON.parse(t)).errorCode,console.warn(e),console.warn("000"==e),"000"==e){console.warn("???",e);var n=new Event("addCalendarEvent1");document.dispatchEvent(n)}}}},{key:"render",value:function(){return y.a.createElement("div",null,y.a.createElement("div",null,"请在app.jsx中指定首页"),y.a.createElement(C,null))}}]),n}(m.Component);w.a.render(y.a.createElement(T,null),document.getElementById("root"))},mPlr:function(t,e,n){var o=n("LboF"),a=n("+2NO");"string"==typeof(a=a.__esModule?a.default:a)&&(a=[[t.i,a,""]]);var r={insert:"head",singleton:!1};o(a,r);t.exports=a.locals||{}}},[["k7yg",1,2]]]);
//# sourceMappingURL=main.28cd9ff5.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/1636529467876/";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.1eb3b117.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/1636530535886/";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.9ddcaf99.js.map
\ No newline at end of file
......@@ -23,4 +23,4 @@ body {
z-index: 1000;
}
/*# sourceMappingURL=main.1036b4f09b52298fd16c.css.map*/
\ No newline at end of file
/*# sourceMappingURL=main.e8cf3e75148993800e9d.css.map*/
\ No newline at end of file
{"version":3,"sources":[],"names":[],"mappings":"","file":"styles/main.1036b4f09b52298fd16c.css","sourceRoot":""}
\ No newline at end of file
{"version":3,"sources":[],"names":[],"mappings":"","file":"styles/main.e8cf3e75148993800e9d.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/1636529465463",
"JS_PATH_PROD": "https://yun.duiba.com.cn/spark/v2/temp_base/1636529467876/js"
"RES_PATH_PROD": "//yun.duiba.com.cn/spark/v2/temp_base/1636530533846",
"JS_PATH_PROD": "https://yun.duiba.com.cn/spark/v2/temp_base/1636530535886/js"
}
\ No newline at end of file
......@@ -42,9 +42,9 @@ class App extends Component {
let eventIds = [1, 2, 3];
let startHours = [
['15', '40'],
['15', '50'],
['16', '00']
['15', '55'],
['16', '10'],
['16', '20'],
];
eventIds = eventIds.map(id => getEventId(id));
......@@ -93,6 +93,7 @@ class App extends Component {
}
}
}
render() {
......
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