Commit 4eaa596a authored by wildfirecode13's avatar wildfirecode13

11

parent e6555217
<!doctype html><html lang="zh"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name="theme-color" content="#000000"><title>活动标题</title><script src="https://yun.duiba.com.cn/js-libs/vConsole/3.3.4/vconsole.min.js"></script><script>"use strict";
// init vConsole
var vConsole = new VConsole();
console.log('Hello world', 334);</script><script src="//yun.duiba.com.cn/spark/v2/spark.base.fz.wxpollyfill.js"></script><script src="//yun.duiba.com.cn/js-libs/rem/1.1.3/rem.min.js"></script><script src="//yun.duiba.com.cn/h5/lib/zepto.min.js"></script><script>"use strict";
function getApp() {
return {
cloud: {},
cloudName: "clientTemplate2C",
requestType: "mock"
};
}
var CFG = CFG || {};
CFG.projectId = location.pathname.split('/')[2] || '1';
function getUrlParam(name) {
var search = window.location.search;
var matched = search.slice(1).match(new RegExp('(^|&)' + name + '=([^&]*)(&|$)', 'i'));
return search.length ? matched && matched[2] : null;
}
CFG.appID = '${APPID}';
if (!getUrlParam("appID")) {// alert("【警告】检测到活动url中没有appID参数\n缺少该参数会导致埋点、分享、app信息获取错误。")
}</script><script>"use strict";
var u = window.navigator.userAgent;
var ua = window.navigator.userAgent.toLowerCase(); //添加事件
window.addCalendarEvent = function (json) {
// console.log(json)
// console.log(document)
var jsonstr = JSON.stringify(json);
console.log(jsonstr);
window.JSInterface.addCalendarEvent(jsonstr);
}; //删除事件
function removeCalendarEvent(json) {
// console.log(json)
var jsonstr = JSON.stringify(json);
window.JSInterface.removeCalendarEvent(jsonstr);
}
function queryCalendarEvent(json) {
// console.log(json)
var jsonstr = JSON.stringify(json);
window.JSInterface.calendarEventComplete(jsonstr);
} // var addmes;
// var removemes;
// var quanxianmes;
// var briios;
// window['briios'];
// function connectWebViewJavascriptBridge(callback){
// if (window.WebViewJavascriptBridge){
// callback(WebViewJavascriptBridge)
// } else {
// document.addEventListener('WebViewJavascriptBridgeReady', function () {
// callback(WebViewJavascriptBridge)
// }, false)
// }
// }
// connectWebViewJavascriptBridge(function (bridge){
// bridge.init(function (message, responseCallback) {
// var data = { 'Javascript Responds': 'Wee!' }
// responseCallback(data)
// });
// bridge.registerHandler('calendarEventComplete1', function (data, responseCallback) {
// var responseData = { 'Javascript Says': 'Right back atcha!' }
// responseCallback(responseData)
// });
// bridge.registerHandler('addCalendarEvent1', function (data) {
// alert(data) //客户端回调此函数传出所需参数
// });
// bridge.registerHandler('removeCalendarEvent', function (data) {
// alert(data) //客户端回调此函数传出所需参数
// });
// bridge.registerHandler('currentLocation', function (data) {
// alert(data) //客户端回调此函数传出所需参数
// });
// window['briios'] = bridge
// // document.addEventListener("iosadd",(function(){
// // bridge.callHandler('addCalendarEvent', addmes, function () {
// // })//ios添加事件
// // });
// // document.addEventListener("iosremove",function(){
// // bridge.callHandler('removeCalendarEvent', removemes, function () {
// // })//ios删除事件
// // });
// // document.addEventListener("iosquanxian",function(){
// // bridge.callHandler('currentLocation', { '': 'currentLocation', 'body': str3 }, function () {
// // }) //ios获取定位
// // });
// });</script><link href="//yun.duiba.com.cn/spark/v2/temp_base/1636611732931/styles/main.fd792ecb8191d05f3d69.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/1636611732931/js/runtime-main.47edb250.js" crossorigin="anonymous"></script><script src="//yun.duiba.com.cn/spark/v2/temp_base/1636611732931/js/vendors.33d53b6d.js" crossorigin="anonymous"></script><script src="//yun.duiba.com.cn/spark/v2/temp_base/1636611732931/js/main.803cef5c.js" crossorigin="anonymous"></script></body></html>
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{"+2NO":function(e,t,n){},"8TUu":function(e,t,n){var o=n("LboF"),a=n("Ftvq");"string"==typeof(a=a.__esModule?a.default:a)&&(a=[[e.i,a,""]]);var r={insert:"head",singleton:!1};o(a,r);e.exports=a.locals||{}},Ftvq:function(e,t,n){},k7yg:function(e,t,n){"use strict";n.r(t);var o=n("lwsE"),a=n.n(o),r=n("W8MJ"),c=n.n(r),l=n("7W2i"),i=n.n(l),s=n("a1gu"),u=n.n(s),d=n("Nsbk"),p=n.n(d),f=n("q1tI"),v=n.n(f),m=n("i8i4"),h=n.n(m),y=n("/2d7"),w=CFG.appID,E="202."+CFG.projectId+".0.0",k=[{ele:".test-md1",data:{dpm:"".concat(w,".110.5.1"),dcm:E,domain:"//embedlog.duiba.com.cn",appId:w},once:!1}];n("mPlr");var g={pushIndex:1,title:"测试标题",startDate:"2021-11-10 16:00",endTime:"5",alarmTime:"2",notes:""},b=[1,2,3].map((function(e){return t=e,n=new Date,o=n.getFullYear(),a=n.getMonth()+1,r=n.getDate(),o.toString()+a.toString()+r.toString()+"_"+t.toString();var t,n,o,a,r})),C=[["15","55"],["16","10"],["16","20"]],L=n("J4zp"),I=n.n(L);function N(e){var t=I()(e,2),n=t[0],o=t[1],a=new Date,r=a.getFullYear(),c=a.getMonth()+1,l=a.getDate();return"".concat(r,"-").concat(c,"-").concat(l," ").concat(n,":").concat(o)}n("8TUu");var O,S=n("TyAF"),T=n("RIqP"),J=n.n(T),_=n("aFzQ"),D={},R=Object(_.l)({popList:[],pushPop:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(this.popList.length){var o,a=this.popList.slice();a.push({key:e,data:t,isMulti:n}),a=a.sort((function(e,t){return(D[t.key]?D[t.key]:10)-(D[e.key]?D[e.key]:10)})),this.popList.clear(),(o=this.popList).push.apply(o,J()(a))}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,J()(n))}else this.popList.shift()},closePopAll:function(){this.popList.clear()}});function F(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=p()(e);if(t){var a=p()(this).constructor;n=Reflect.construct(o,arguments,a)}else n=o.apply(this,arguments);return u()(this,n)}}var M={},q=Object(S.a)(O=function(e){i()(n,e);var t=F(n);function n(e){return a()(this,n),t.call(this,e)}return c()(n,[{key:"componentDidMount",value:function(){}},{key:"render",value:function(){var e,t,n,o,a=Object(_.p)(R.popList);if(!a.length)return document.body.style.overflow="auto",v.a.createElement("section",null);if(a.length>1&&1==a[a.length-1].isMulti){var r=a[a.length-1];n=M[r.key],o=r.data}var c=a[0];return e=M[c.key],t=c.data,(e||n)&&(document.body.style.overflow="hidden"),v.a.createElement("section",{className:"modal-hoc-bg",style:{zIndex:R.popList.length?1e3:-1,display:R.popList.length?"block":"none"}},e&&v.a.createElement(e,{popData:t}),n&&v.a.createElement("section",{className:"modal-hoc-bg",style:{zIndex:R.popList.length?1e3:-1,display:R.popList.length?"block":"none"}},v.a.createElement(n,{popData:o})))}}]),n}(f.Component))||O;function B(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=p()(e);if(t){var a=p()(this).constructor;n=Reflect.construct(o,arguments,a)}else n=o.apply(this,arguments);return u()(this,n)}}Object(y.a)({show:k,click:k});var P=function(e){i()(n,e);var t=B(n);function n(){return a()(this,n),t.apply(this,arguments)}return c()(n,[{key:"onclick_query",value:function(){window.calendarEventComplete=function(e){console.warn("calendarEventComplete",e)};var e={eventIdList:b.map((function(e){return{eventId:e}})),callBackHandlerName:"calendarEventComplete",must:0};console.warn("onclick_query param",e),window.queryCalendarEvent(e)}},{key:"onclick_add",value:function(){b.forEach((function(e,t){var n=JSON.parse(JSON.stringify(g));console.warn("eventId",e),console.warn("do addCalendarEvent 1",e);var o={callBackHandlerName:"addCalendarEvent1",eventId:e,title:"测试标题".concat(e),startDate:N(C[t]),endTime:n.endTime,alarmTime:n.alarmTime,notes:n.notes};console.warn("准备添加数据 json "+e,o)}))}},{key:"onclick_remove",value:function(){b.forEach((function(e,t){var n=JSON.parse(JSON.stringify(g));console.warn("eventId",e),console.warn("do removeCalendarEvent 1",e);var o={callBackHandlerName:"removeCalendarEvent1",eventId:e,title:"测试标题".concat(e),startDate:N(C[t]),endTime:n.endTime,alarmTime:n.alarmTime,notes:n.notes};console.warn("准备删除数据 json "+e,o)}))}},{key:"componentDidMount",value:function(){console.warn("JSInterface",window.JSInterface),console.warn("EVENT_IDS",JSON.stringify(b)),console.warn("START_HOURS",JSON.stringify(C)),window.removeCalendarEvent1=function(e){if(console.warn("哈哈 删除回调执行了,回调数据是: 3",e),"000"==JSON.parse(e).errorCode){var t=new Event("removeCalendarEvent1");document.dispatchEvent(t)}},window.addCalendarEvent1=function(e){var t;if(console.warn("哈哈 添加回调执行了,回调数据是: 2",e),t=(t=JSON.parse(e)).errorCode,console.warn(t),console.warn("000"==t),"000"==t){console.warn("???",t);var n=new Event("addCalendarEvent1");document.dispatchEvent(n)}}}},{key:"render",value:function(){return v.a.createElement("div",null,v.a.createElement("br",null),v.a.createElement("button",{onClick:this.onclick_add},"点击开启提醒"),v.a.createElement("br",null),v.a.createElement("br",null),v.a.createElement("button",{onClick:this.onclick_remove},"点击关闭提醒"),v.a.createElement("br",null),v.a.createElement("br",null),v.a.createElement("button",{onClick:this.onclick_query},"点击查询提醒"),v.a.createElement(q,null))}}]),n}(f.Component);h.a.render(v.a.createElement(P,null),document.getElementById("root"))},mPlr:function(e,t,n){var o=n("LboF"),a=n("+2NO");"string"==typeof(a=a.__esModule?a.default:a)&&(a=[[e.i,a,""]]);var r={insert:"head",singleton:!1};o(a,r);e.exports=a.locals||{}}},[["k7yg",1,2]]]);
//# sourceMappingURL=main.803cef5c.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/1636611732931/";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.47edb250.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","1","exports","module","l","m","c","d","name","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","p","jsonpArray","window","oldJsonpFunction","slice"],"mappings":"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","file":"js/runtime-main.47edb250.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t1: 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"//yun.duiba.com.cn/spark/v2/temp_base/1636611732931/\";\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// run deferred modules from other chunks\n \tcheckDeferredModules();\n"],"sourceRoot":""}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
* {
margin: 0;
padding: 0;
}
html,
body {
font-size: 0.24rem;
width: 100%;
height: 100%;
-webkit-text-size-adjust: 100% !important;
-ms-text-size-adjust: 100% !important;
text-size-adjust: 100% !important;
-moz-text-size-adjust: 100% !important;
}
.modal-hoc-bg {
position: fixed;
top: 0;
bottom: 0;
right: 0;
left: 0;
background-color: rgba(0, 0, 0, 0.8);
z-index: 1000;
}
/*# sourceMappingURL=main.fd792ecb8191d05f3d69.css.map*/
\ No newline at end of file
{"version":3,"sources":[],"names":[],"mappings":"","file":"styles/main.fd792ecb8191d05f3d69.css","sourceRoot":""}
\ No newline at end of file
...@@ -62,6 +62,12 @@ ...@@ -62,6 +62,12 @@
window.JSInterface.removeCalendarEvent(jsonstr); window.JSInterface.removeCalendarEvent(jsonstr);
} }
function queryCalendarEvent(json) {
// console.log(json)
var jsonstr = JSON.stringify(json);
window.JSInterface.calendarEventComplete(jsonstr);
}
// var addmes; // var addmes;
// var removemes; // var removemes;
......
...@@ -9,6 +9,6 @@ module.exports ={ ...@@ -9,6 +9,6 @@ module.exports ={
"IMAGE_Q1": 0.6, "IMAGE_Q1": 0.6,
"IMAGE_Q2": 0.8, "IMAGE_Q2": 0.8,
"RES_PATH": "/src/assets/", "RES_PATH": "/src/assets/",
"RES_PATH_PROD": "//yun.duiba.com.cn/spark/v2/temp_base/1636531204554", "RES_PATH_PROD": "//yun.duiba.com.cn/spark/v2/temp_base/1636611730768",
"JS_PATH_PROD": "https://yun.duiba.com.cn/spark/v2/temp_base/1636531206903/js" "JS_PATH_PROD": "https://yun.duiba.com.cn/spark/v2/temp_base/1636611732931/js"
} }
\ No newline at end of file
...@@ -12,8 +12,12 @@ MD(); ...@@ -12,8 +12,12 @@ MD();
class App extends Component { class App extends Component {
onclick_query() { onclick_query() {
const eventIdList = EVENT_IDS.map(id=> {eventId:id}); window.calendarEventComplete = function (params) {
const param = { console.warn('calendarEventComplete', params)
}
const eventIdList = EVENT_IDS.map(id => { return { eventId: id } });
const json = {
eventIdList, eventIdList,
// eventIdList: [ // eventIdList: [
// { // {
...@@ -27,7 +31,9 @@ class App extends Component { ...@@ -27,7 +31,9 @@ class App extends Component {
must: 0 must: 0
}; };
console.warn('onclick_query param',param) console.warn('onclick_query param', json)
window['queryCalendarEvent'](json)
} }
......
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