Commit 4e3adc4a authored by wildfirecode13's avatar wildfirecode13

111

parent e03e73dc
......@@ -13,4 +13,7 @@
测试app里的是线上测试活动
小米测试机密码:0000
路径:阳光惠生活-首页更多-兑吧-免登进入
\ No newline at end of file
路径:阳光惠生活-首页更多-兑吧-免登进入
页面openbs
https://60557.activity-26.m.duiba.com.cn/projectx/p0cb084f8/index.html?appID=
\ No newline at end of file
......@@ -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/1636515403981/styles/main.5e4fcae24a40b0da7ae5.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/1636515403981/js/runtime-main.bbbda5af.js" crossorigin="anonymous"></script><script src="//yun.duiba.com.cn/spark/v2/temp_base/1636515403981/js/vendors.9d1efc92.js" crossorigin="anonymous"></script><script src="//yun.duiba.com.cn/spark/v2/temp_base/1636515403981/js/main.2d78cd8d.js" crossorigin="anonymous"></script></body></html>
\ No newline at end of file
// });</script><link href="//yun.duiba.com.cn/spark/v2/temp_base/1636524881189/styles/main.2613fef1b659e89f1703.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/1636524881189/js/runtime-main.f28742f9.js" crossorigin="anonymous"></script><script src="//yun.duiba.com.cn/spark/v2/temp_base/1636524881189/js/vendors.9d1efc92.js" crossorigin="anonymous"></script><script src="//yun.duiba.com.cn/spark/v2/temp_base/1636524881189/js/main.d8b99688.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",t),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.2d78cd8d.js.map
\ No newline at end of file
This diff is collapsed.
(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{"+2NO":function(e,t,n){},"8TUu":function(e,t,n){var o=n("LboF"),r=n("Ftvq");"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var a={insert:"head",singleton:!1};o(r,a);e.exports=r.locals||{}},Ftvq:function(e,t,n){},k7yg:function(e,t,n){"use strict";n.r(t);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(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(this.popList.length){var o,r=this.popList.slice();r.push({key:e,data:t,isMulti:n}),r=r.sort((function(e,t){return(b[t.key]?b[t.key]:10)-(b[e.key]?b[e.key]:10)})),this.popList.clear(),(o=this.popList).push.apply(o,E()(r))}else this.popList.push({key:e,data:t,isMulti:n})},closePop:function(e){if(e){var t,n=this.popList.slice();n=n.filter((function(t){return t.key!=e})),this.popList.clear(),(t=this.popList).push.apply(t,E()(n))}else this.popList.shift()},closePopAll:function(){this.popList.clear()}});function R(e){var t=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(e){return!1}}();return function(){var n,o=f()(e);if(t){var r=f()(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return p()(this,n)}}var C={},I=Object(g.a)(o=function(e){s()(n,e);var t=R(n);function n(e){return a()(this,n),t.call(this,e)}return l()(n,[{key:"componentDidMount",value:function(){}},{key:"render",value:function(){var e,t,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=C[a.key],o=a.data}var i=r[0];return e=C[i.key],t=i.data,(e||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"}},e&&v.a.createElement(e,{popData:t}),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,F=n("/2d7"),M=CFG.appID,O="202."+CFG.projectId+".0.0",x=[{ele:".test-md1",data:{dpm:"".concat(M,".110.5.1"),dcm:O,domain:"//embedlog.duiba.com.cn",appId:M},once:!1}];function D(e){var t=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(e){return!1}}();return function(){var n,o=f()(e);if(t){var r=f()(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return p()(this,n)}}Object(F.a)({show:x,click:x});var P=function(e){s()(n,e);var t=D(n);function n(){return a()(this,n),t.apply(this,arguments)}return l()(n,[{key:"componentDidMount",value:function(){var e,t,n,o,r="测试标题",a="2021-11-10 16:00",i="120",l="15",c="",s={callBackHandlerName:"addCalendarEvent1",eventId:(e=new Date,t=e.getFullYear(),n=e.getMonth()+1,o=e.getDate(),t.toString()+n.toString()+o.toString()+pushIndex.toString()),title:r,startDate:a,endTime:i,alarmTime:l,notes:c};console.error("do addCalendarEvent 1"),window.addCalendarEvent(s),window.addCalendarEvent1=function(e){var t;if(console.error("哈哈 回调执行了,回调数据是: 2",e),t=(t=JSON.parse(e)).errorCode,console.error(t),console.error("000"==t),"000"==t){console.error("???",t);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(I,null))}}]),n}(h.Component);m.a.render(v.a.createElement(P,null),document.getElementById("root"))},mPlr:function(e,t,n){var o=n("LboF"),r=n("+2NO");"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var a={insert:"head",singleton:!1};o(r,a);e.exports=r.locals||{}}},[["k7yg",1,2]]]);
//# sourceMappingURL=main.d8b99688.js.map
\ No newline at end of file
This diff is collapsed.
!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/1636515403981/";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.bbbda5af.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/1636524881189/";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.f28742f9.js.map
\ No newline at end of file
......@@ -23,4 +23,4 @@ body {
z-index: 1000;
}
/*# sourceMappingURL=main.5e4fcae24a40b0da7ae5.css.map*/
\ No newline at end of file
/*# sourceMappingURL=main.2613fef1b659e89f1703.css.map*/
\ No newline at end of file
{"version":3,"sources":[],"names":[],"mappings":"","file":"styles/main.5e4fcae24a40b0da7ae5.css","sourceRoot":""}
\ No newline at end of file
{"version":3,"sources":[],"names":[],"mappings":"","file":"styles/main.2613fef1b659e89f1703.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/1636515401883",
"JS_PATH_PROD": "https://yun.duiba.com.cn/spark/v2/temp_base/1636515403981/js"
"RES_PATH_PROD": "//yun.duiba.com.cn/spark/v2/temp_base/1636524918275",
"JS_PATH_PROD": "https://yun.duiba.com.cn/spark/v2/temp_base/1636524920293/js"
}
\ No newline at end of file
......@@ -17,7 +17,19 @@ function getEventId(){
}
class App extends Component {
componentDidMount() {
var eventId = getEventId();
var pushData = {
pushIndex:1,
title:"测试标题",
startDate:"2021-11-10 16:00",
endTime:"120",
alarmTime:"15",
notes:""
};
var eventId = getEventId(pushData.pushIndex);
var json = {
"callBackHandlerName": "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