Commit 20a8c80b authored by 王勇霞's avatar 王勇霞

feat: 薪水心愿

parent 6506a8cf
......@@ -37,7 +37,7 @@ export function handleLogExposure (id, id2, dom_c = 0, dom_d = 0) {
dcm,
domain,
appId,
dom: store.userInfo?.ibknum + `.${store.userInfo?.branchId}.${isWeChat() ? "微信" : "手机银行app"}.${dom_c}.${dom_d}`
dom: store.userInfo?.ibknum + `.${isWeChat() ? "微信" : "手机银行app"}.${dom_c}.${dom_d}`
});
}
......@@ -50,6 +50,6 @@ export function handleLogClick (id, id2, dom_c = 0, dom_d = 0) {
dcm,
domain,
appId,
dom: store.userInfo?.ibknum + `.${store.userInfo?.branchId}.${isWeChat() ? "微信" : "手机银行app"}.${dom_c}.${dom_d}`
dom: store.userInfo?.ibknum + `.${isWeChat() ? "微信" : "手机银行app"}.${dom_c}.${dom_d}`
});
}
<!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"><link rel="dns-prefetch" href="//yun.duiba.com.cn"/><link rel="preconnect" href="//embedlog.duiba.com.cn"><title>新客九重礼</title><script>if (localStorage && localStorage.isWebp) {
document
.getElementsByTagName('html')[0]
.setAttribute('duiba-webp', 'true');
}</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 src="//res.wx.qq.com/open/js/jweixin-1.6.0.js"></script><link rel="stylesheet" href="//yun.duiba.com.cn/h5/lib/reset.css"><script src="https://cdn2.h5no1.com/cbsp-telegraph/opfStatisticSdk.v3.min.js"></script><script>"use strict";
window.terminal = function () {
var u = navigator.userAgent;
// app = navigator.appVersion;
return {
// 浏览器版本信息
trident: u.indexOf('Trident') > -1,
presto: u.indexOf('Presto') > -1,
webKit: u.indexOf('AppleWebKit') > -1,
gecko: u.indexOf('Gecko') > -1 && u.indexOf('KHTML') > -1,
mobile: !!u.match(/AppleWebKit.*Mobile.*/),
ios: !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),
android: u.indexOf('Android') > -1 || u.indexOf('Linux') > -1,
iPhone: u.indexOf('iPhone') > -1,
iPad: u.indexOf('iPad') > -1,
webApp: u.indexOf('Safari') > -1,
weixin: u.indexOf('MicroMessenger') > -1 && u.replace(/.*(MicroMessenger\/[^\s]*).*/, '$1').replace('MicroMessenger/', '') || false,
appVersion: u.indexOf('bocapp(') > -1 ? u.match(/bocapp\(\S+\)/)[0].slice(7, -1) : '3.0.0',
app: u.indexOf('bocapp(') > -1,
isWeixin: u.indexOf('MicroMessenger') > -1
};
}();
/**
* 引入cordova
*/
if (window.terminal.app) {
var script = document.createElement('script');
// eslint-disable-next-line @spark/best-practices/no-url-in-js
var path = 'https://ebsnew.boc.cn/bocphone/BocMerchant/'; // 生产环境
// 外网环境直接引用生产地址即可,若需新增cordova方法,另行提供DMZ区地址
if (window.terminal.ios) {
script.src = path + 'paylib/ios.js';
} else if (window.terminal.android) {
script.src = path + 'paylib/android.js';
} else {
alert('无法识别终端类型');
}
document.getElementsByTagName('head')[0].appendChild(script);
}</script><script>"use strict";
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}';
CFG.domain = location.origin;
CFG.appKey = '3CDJtKxCbGB7eh3Mxj2guJKRvfgK';
if (CFG.projectId == 'p2b588cb1') {
// 测试环境
CFG.appKey = '3PT1ia3EjnkhqpkqtvvYn9Sph3vQ';
}
// 长图页
CFG.imgPageUrl = "/projectx/" + CFG.projectId + "/img.html?appID=" + CFG.appID + "&imgUrl=";
// 首页
CFG.indexUrl = "/projectx/" + CFG.projectId + "/index.html?appID=" + CFG.appID;
// 是否app分享页面 1是app分享页面
CFG.isAppShare = getUrlParam('appShare') || '';
// 行方埋点参数
CFG.opfStatisticSdk_pfid = "be_2zFRQQ2Fb";
CFG.opfStatisticSdk_appid = "db5681a6-2bdf-4e6d-8c96-930e988c3b3b";
if (CFG.projectId == 'p2b588cb1') {
// 测试项目
CFG.opfStatisticSdk_pfid = "be_2zFRQQ2Fb";
CFG.opfStatisticSdk_appid = "d4168704-ab8a-42ac-b9f6-d816bd7e1062";
}
// app端投放的商户id
CFG.MER_ID = getUrlParam('merId') || '10478';
if (!getUrlParam("appID")) {
// alert("【警告】检测到活动url中没有appID参数\n缺少该参数会导致埋点、分享、app信息获取错误。")
}</script><link href="//yun.duiba.com.cn/spark/v2/temp_base/1747277736404/styles/main.292c15b795ad365a9ed0.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>"use strict";
CFG.___G___ = 'liaoying1%3Borigin%09git%40gitlab2.dui88.com%3Asparkprojects%2FZZH_NewGuestGift-20250408.git%20(fetch)%3Borigin%09git%40gitlab2.dui88.com%3Asparkprojects%2FZZH_NewGuestGift-20250408.git%20(push)%3Bdev%3B';</script><script src="//yun.duiba.com.cn/spark/v2/temp_base/1747277736404/js/runtime-main.b9c4c288.js" crossorigin="anonymous"></script><script src="//yun.duiba.com.cn/spark/v2/temp_base/1747277736404/js/vendors.414ac031.js" crossorigin="anonymous"></script><script src="//yun.duiba.com.cn/spark/v2/temp_base/1747277736404/js/main.d7118f27.js" crossorigin="anonymous"></script></body></html>
\ 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 source diff could not be displayed because it is too large. You can view the blob instead.
!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/1747277736404/";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.b9c4c288.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","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":"aACE,SAASA,E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AOf,EAClB0D,EAAaA,EAAWG,QACxB,IAAI,IAAItD,EAAI,EAAGA,EAAImD,EAAWjD,OAAQF,IAAKP,EAAqB0D,EAAWnD,IAC3E,IAAIU,EAAsB2C,EAI1BvC,G","file":"js/runtime-main.b9c4c288.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/1747277736404/\";\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 diff is collapsed.
This diff is collapsed.
*{margin:0;padding:0;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;-webkit-tap-highlight-color:transparent;-moz-user-select:text;-ms-user-select:text;user-select:text;-webkit-user-select:text}*,:not(input,textarea){-webkit-touch-callout:none}:not(input,textarea){-webkit-user-select:none}body,html{font-size:.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_center{left:0!important;top:0!important;bottom:0!important;right:0!important;margin:auto}#root,.com_Container{width:100%;height:100%;position:relative}.com_Container{overflow-x:hidden;overflow-y:auto}.rulepop{height:11rem}.rulepop,.rulepop .beiJing{width:5.5rem;left:0;top:0;position:absolute}.rulepop .beiJing{height:10rem;background-repeat:no-repeat;background-size:100% 100%;background-position:0 0;background-image:url(//yun.duiba.com.cn/spark/v2/temp_base/1747277730652/rulePop/%E8%83%8C%E6%99%AF.png)}[duiba-webp=true] .rulepop .beiJing{background-image:url(//yun.duiba.com.cn/spark/v2/temp_base/1747277730652/rulePop/%E8%83%8C%E6%99%AF.png?x-oss-process=image%2Fformat%2Cwebp)}.rulepop .beiJing.two{background-repeat:no-repeat;background-size:100% 100%;background-position:0 0;background-image:url(//yun.duiba.com.cn/spark/v2/temp_base/1747277730652/rulePop/%E8%83%8C%E6%99%AF2.png)}[duiba-webp=true] .rulepop .beiJing.two{background-image:url(//yun.duiba.com.cn/spark/v2/temp_base/1747277730652/rulePop/%E8%83%8C%E6%99%AF2.png?x-oss-process=image%2Fformat%2Cwebp)}.rulepop .close_btn{width:.54rem;height:.54rem;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);top:10.5rem;position:absolute;background-repeat:no-repeat;background-size:100% 100%;background-position:0 0;background-image:url(//yun.duiba.com.cn/spark/v2/temp_base/1747277730652/rulePop/close_btn.png);opacity:.4}[duiba-webp=true] .rulepop .close_btn{background-image:url(//yun.duiba.com.cn/spark/v2/temp_base/1747277730652/rulePop/close_btn.png?x-oss-process=image%2Fformat%2Cwebp)}.rulepop .btn{width:3.12rem;height:.99rem;background-repeat:no-repeat;background-size:100% 100%;background-position:0 0}.rulepop .btn.anNiu{left:1.17rem;top:8.68rem;position:absolute}.rulepop .btn.anNiu1{left:1.17rem;top:4.58rem;position:absolute}.rulepop .btn.anNiu2{left:1.17rem;top:8.69rem;position:absolute}.rulepop .txt{font-size:.26rem;color:#904000;word-break:break-all;overflow-y:auto}.rulepop .txt::-webkit-scrollbar{width:.07rem;border-radius:10rpx}.rulepop .txt::-webkit-scrollbar-track{background:#fae5bb;border-radius:10rpx}.rulepop .txt::-webkit-scrollbar-thumb{background:#fcae77}.rulepop .ruleInfo{width:4.65rem;height:6.25rem;left:.47rem;top:1.84rem;position:absolute}.rulepop .ruleInfo,.rulepop .ruleInfo1,.rulepop .ruleInfo2{padding:0 .06rem;-webkit-box-sizing:border-box;box-sizing:border-box}.rulepop .ruleInfo1,.rulepop .ruleInfo2{width:4.55rem;left:.48rem}.rulepop .ruleInfo1{height:2.82rem;top:1.69rem;position:absolute}.rulepop .ruleInfo2{height:2.68rem;top:5.95rem;position:absolute}.ruleInfo table{width:100%;border-collapse:collapse;margin:.12rem 0;border:none}.ruleInfo table td,.ruleInfo table th{position:relative;border:none;padding:.08rem;font-size:.14rem;line-height:1.5;color:#333}.ruleInfo th{font-weight:700}.ruleInfo table a{color:#1677ff;text-decoration:none}.ruleInfo table a:hover{color:#4096ff;text-decoration:underline}.ruleInfo td:after,.ruleInfo th:after{content:"";position:absolute;top:0;left:0;width:200%;height:200%;border:.01rem solid #000;-webkit-transform:scale(.5);transform:scale(.5);-webkit-transform-origin:0 0;transform-origin:0 0;pointer-events:none;-webkit-box-sizing:border-box;box-sizing:border-box}.modal-hoc-bg{position:fixed;top:0;bottom:0;right:0;left:0;background-color:rgba(0,0,0,.8);z-index:1000}.shareGuidePop{width:7.5rem;height:16.24rem;left:0;top:0;position:absolute}.shareGuidePop .share_guide{width:3.62rem;height:2.12rem;left:3.41rem;top:.29rem;position:absolute;background-repeat:no-repeat;background-size:100% 100%;background-position:0 0;background-image:url(//yun.duiba.com.cn/spark/v2/temp_base/1747277730652/shareGuidePop/share_guide.png)}[duiba-webp=true] .shareGuidePop .share_guide{background-image:url(//yun.duiba.com.cn/spark/v2/temp_base/1747277730652/shareGuidePop/share_guide.png?x-oss-process=image%2Fformat%2Cwebp)}.loading{position:absolute;left:0;top:0;width:100%;height:100%;background-repeat:no-repeat;background-size:100% 100%;background-position:0 0;background-image:url(//yun.duiba.com.cn/spark/v2/temp_base/1747277730652/LoadingPage/loadingBg.jpg);background-size:7.5rem 16.24rem}[duiba-webp=true] .loading{background-image:url(//yun.duiba.com.cn/spark/v2/temp_base/1747277730652/LoadingPage/loadingBg.jpg?x-oss-process=image%2Fformat%2Cwebp)}.loading .loading-ip{position:absolute;left:1.98rem;top:4.19rem;width:5.7rem;height:5.08rem;background-repeat:no-repeat;background-size:100% 100%;background-position:0 0;background-image:url(//yun.duiba.com.cn/spark/v2/temp_base/1747277730652/LoadingPage/loadingIp.png)}[duiba-webp=true] .loading .loading-ip{background-image:url(//yun.duiba.com.cn/spark/v2/temp_base/1747277730652/LoadingPage/loadingIp.png?x-oss-process=image%2Fformat%2Cwebp)}.loading .progressBarBg{position:absolute;left:.82rem;top:7.45rem;width:5.9rem;height:.3rem;border-radius:1.18rem;background:#fce4d4;border:.02rem solid #fff}.loading .progressBar{position:absolute;left:.84rem;top:7.47rem;width:5.9rem;height:.3rem;overflow:hidden;border-radius:1.18rem}.loading .progressBar .progressBarFill{position:absolute;left:0;top:0;width:5.9rem;height:.3rem;background-repeat:no-repeat;background-size:100% 100%;background-position:0 0;background-image:url(//yun.duiba.com.cn/spark/v2/temp_base/1747277730652/LoadingPage/loadingFill.png)}[duiba-webp=true] .loading .progressBar .progressBarFill{background-image:url(//yun.duiba.com.cn/spark/v2/temp_base/1747277730652/LoadingPage/loadingFill.png?x-oss-process=image%2Fformat%2Cwebp)}.loading .progressTxt{position:absolute;left:2.46rem;top:7.99rem;width:2.56rem;height:.22rem;opacity:1;font-size:.24rem;font-weight:400;line-height:.22rem;color:#999}.fade-in{opacity:0;-webkit-animation:fadeIn ease-in 1;animation:fadeIn ease-in 1;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-duration:1s;animation-duration:1s}@-webkit-keyframes fadeIn{0%{opacity:0}70%{opacity:0}to{opacity:1}}@keyframes fadeIn{0%{opacity:0}70%{opacity:0}to{opacity:1}}.ruleStyle{overflow-x:hidden;overflow-y:scroll;word-break:break-all}.topPop_move{-webkit-animation:move_top_ani .5s ease-in-out;animation:move_top_ani .5s ease-in-out}@-webkit-keyframes move_top_ani{0%{-webkit-transform:translateY(100%);transform:translateY(100%)}to{-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes move_top_ani{0%{-webkit-transform:translateY(100%);transform:translateY(100%)}to{-webkit-transform:translateY(0);transform:translateY(0)}}.shouYe{position:relative;width:7.5rem;min-height:100%;top:-1.8rem;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-ms-flex-wrap:wrap;flex-wrap:wrap}.shouYe .beiJing{display:block;width:7.5rem;height:auto}.shouYe .activityInfo{left:.1rem;top:7.13rem;position:absolute}.shouYe .activityInfo .item{position:absolute}.shouYe .activityInfo .item_0{width:4.45rem;height:3.94rem;left:1.68rem;top:0;position:absolute}.shouYe .activityInfo .item_1{width:3.38rem;height:3.11rem;left:.02rem;top:3.5rem;position:absolute}.shouYe .activityInfo .item_2{width:3.38rem;height:3.52rem;left:3.79rem;top:4.07rem;position:absolute}.shouYe .activityInfo .item_3{width:3.96rem;height:3.03rem;left:.01rem;top:7.26rem;position:absolute;z-index:21}.shouYe .activityInfo .item_4{width:3.38rem;height:3.1rem;left:3.83rem;top:8.03rem;position:absolute}.shouYe .activityInfo .item_5{width:3.38rem;height:3.53rem;left:.05rem;top:10.78rem;position:absolute}.shouYe .activityInfo .item_6{width:3.38rem;height:3.51rem;left:3.83rem;top:11.78rem;position:absolute}.shouYe .activityInfo .item_7{width:3.78rem;height:3.13rem;left:0;top:14.63rem;position:absolute;z-index:21}.shouYe .activityInfo .item_8{width:4.84rem;height:3.97rem;left:2.38rem;top:16.82rem;position:absolute}.shouYe .bannerInfo{width:7.5rem;height:auto;left:0;top:28.12rem;position:absolute;padding-bottom:.2rem}.shouYe .bannerInfo .banner{display:block;width:6.59rem;height:1.99rem;position:relative;margin:0 auto .16rem;overflow:hidden;border-radius:.2rem}.shouYe .share{width:.87rem;height:.45rem;top:2.35rem;right:0;position:absolute;background-repeat:no-repeat;background-size:100% 100%;background-position:0 0;background-image:url(//yun.duiba.com.cn/spark/v2/temp_base/1747277730652/%E9%A6%96%E9%A1%B5/%E5%88%86%E4%BA%AB.png)}[duiba-webp=true] .shouYe .share{background-image:url(//yun.duiba.com.cn/spark/v2/temp_base/1747277730652/%E9%A6%96%E9%A1%B5/%E5%88%86%E4%BA%AB.png?x-oss-process=image%2Fformat%2Cwebp)}.shouYe img{width:100%;height:auto}.floating{width:1.27rem;z-index:100000;left:6.07rem;bottom:1.28rem;position:fixed}.floating .icon-box{position:relative}.floating .fuChuang{display:block;width:1.27rem;height:1.26rem}.floating .closeBtn{position:absolute;right:0;top:0;display:block;width:.32rem;height:.32rem;overflow:hidden;opacity:.6}
\ No newline at end of file
......@@ -8,6 +8,6 @@ module.exports = {
'{"img":"//yun.duiba.com.cn/polaris/浮窗.89b6cca48e36ca24674512910386363f08644605.png","appUrl":"Au9NAuPYCjyfV3XvIHTtkM9sIGhrlwXvHjKgWNK=","wxUrl":"https://mbs.boc.cn/v/a/f36sq6BLIf"}',
shareInfo:
'{"title":"最高享1288元立减金","content":"新开中行户 福利轻松享 常用中行卡 优惠随时有","url":"https://activity.dexfu.cn/customShare/share?id=Did1NjA2NzE","thumbnail":"https://yun.duiba.com.cn/polaris/900_1125.b33bb450c3b4242a76713cb8338c3850186e6b20.jpg"}',
pageBgImg: "https://yun.duiba.com.cn/ZZH_NewGuestGift/bg.gif",
pageBgImg: "https://yun.tuisnake.com/ZZH_SalaryWish/pno4_bilvhney9z43nhmg.png",
},
};
\ No newline at end of file
This diff is collapsed.
const rule = require("./common/rule");
const drawNum = require("./common/drawNum");
const coopFrontVariable = require("./common/coopFrontVariable");
......
src/assets/rulePop/背景.png

220 KB | W: | H:

src/assets/rulePop/背景.png

221 KB | W: | H:

src/assets/rulePop/背景.png
src/assets/rulePop/背景.png
src/assets/rulePop/背景.png
src/assets/rulePop/背景.png
  • 2-up
  • Swipe
  • Onion skin
src/assets/首页/分享.png

2.97 KB | W: | H:

src/assets/首页/分享.png

2.46 KB | W: | H:

src/assets/首页/分享.png
src/assets/首页/分享.png
src/assets/首页/分享.png
src/assets/首页/分享.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -21,12 +21,12 @@ class Rulepop extends React.Component {
componentDidMount () {
const { item } = this.props.popData || {};
// 分会场活动弹窗曝光
handleLogExposure(1, 6, `${item.remark}分会场`);
handleLogExposure(1, 4, `${item.remark}分会场`);
const { rule } = item || {};
const [rule1, rule2] = rule?.split("######") || [rule, ""];
// 分会场活动弹窗-参与按钮曝光
rule1 && handleLogExposure(1, 7, `${item.remark}分会场`);
rule2 && handleLogExposure(1, 7, `${item.remark}分会场`, 1);
rule1 && handleLogExposure(1, 5, `${item.remark}分会场`);
rule2 && handleLogExposure(1, 5, `${item.remark}分会场`, 1);
}
// 只有规则弹窗这块需要特殊处理一下有两个跳转地址的情况
......@@ -35,7 +35,7 @@ class Rulepop extends React.Component {
const [wxUrl1, wxUrl2] = item?.wxUrl?.split?.(",") || [];
const [appUrl1, appUrl2] = item?.appUrl?.split?.(",") || [];
opfStatisticSdkClick(`detail-btn-${item.id}`, `${item.remark}弹窗按钮${type === 2 ? "2" : ""}`);
handleLogClick(1, 7, `${item.remark}分会场`, type === 1 ? 0 : 1);
handleLogClick(1, 5, `${item.remark}分会场`, type === 1 ? 0 : 1);
const wxUrl = type === 1 ? wxUrl1 : wxUrl2;
const appUrl = type === 1 ? appUrl1 : appUrl2;
......
......@@ -2,7 +2,7 @@
.rulepop {
width: 550px;
height: 1100px;
height: 1000px;
left: 0px;
top: 0px;
position: absolute;
......@@ -58,27 +58,28 @@
}
.txt {
font-size: 26px;
color: rgba(144, 64, 0, 1);
font-size: 28px;
color: #904000;
word-break: break-all;
overflow-y: auto;
/* 修改整个滚动条的宽度和颜色 */
&::-webkit-scrollbar {
// display: none;
width: 7px;
border-radius: 10rpx;
width: 9px;
border-radius: 10px;
}
/* 修改滚动条轨道的颜色 */
&::-webkit-scrollbar-track {
background: #fae5bb;
border-radius: 10rpx;
border-radius: 10px;
}
/* 修改滑块(可拖动的部分)的颜色 */
&::-webkit-scrollbar-thumb {
background: #fcae77;
border-radius: 10px;
}
}
......
......@@ -5,7 +5,6 @@ import { noUrl } from "@src/utils/share";
import { opfStatisticSdkClick } from "@src/store/opfStatisticSdk";
import store from "@src/store";
import { useThrottle } from "@src/utils/utils";
import { handleLogClick } from '../../../../MD';
import "./index.less";
const FloatingIcon = () => {
......@@ -13,7 +12,6 @@ const FloatingIcon = () => {
const { x, y, onFloatTouchEnd, onFloatTouchMove, onFloatTouchStart } = useDebugPosition("#floatingIcon");
const handleClick = useThrottle(async (e) => {
handleLogClick(1, 3);
e.stopPropagation();
const { floatingInfo } = store.frontVariable;
if (noUrl(floatingInfo)) return;
......
"use strict";
import React from "react";
import { observer } from "mobx-react";
import { _asyncThrottle } from "@src/utils/utils";
......@@ -10,7 +9,6 @@ import { opfStatisticSdkClick } from "@src/store/opfStatisticSdk";
import { noUrl } from "@src/utils/share";
import { RES_PATH } from "../../../sparkrc.js";
import "./index.less";
import FloatingIcon from "./FloatingIcon/index";
import { handleLogClick, handleLogExposure } from "../../../MD";
import { Toast } from "@spark/ui";
......@@ -29,23 +27,17 @@ class ShouYe extends React.Component {
await store.initStatistic();
// 首页曝光埋点
handleLogExposure(1, 1);
// 首页底部banner曝光埋点
store?.homeInfo?.bannerInfo?.map((_, index) => {
handleLogExposure(1, 2, index + 1);
});
// 首页-活钱宝悬窗曝光埋点
handleLogExposure(1, 3);
// 首页-分享按钮
handleLogExposure(1, 4);
handleLogExposure(1, 2);
// 首页-分会场活动按钮曝光
store?.homeInfo?.activityInfo?.map((act, index) => {
handleLogExposure(1, 5, `${index + 1}_${act.remark}分会场入口按钮`);
handleLogExposure(1, 3, `${index + 1}_${act.remark}分会场入口按钮`);
});
}
handleClickJump = _asyncThrottle(async (item, index) => {
await store.appAuth(() => {
handleLogClick(1, 5, `${index + 1}_${item.remark}分会场入口按钮`);
handleLogClick(1, 3, `${index + 1}_${item.remark}分会场入口按钮`);
opfStatisticSdkClick(`join-btn-${index + 1}`, `${item.remark}分会场入口按钮`);
// 如果没有规则内容,直接跳转
......@@ -63,22 +55,22 @@ class ShouYe extends React.Component {
});
}, 500);
handleClickBanner = _asyncThrottle(async (item, index) => {
if (noUrl(item)) return;
await store.appAuth(() => {
handleLogClick(1, 2, `第${index + 1}个banner`);
opfStatisticSdkClick(`banner-${index + 1}`, `第${index + 1}个banner`);
setTimeout(() => store.jumpLink(item));
});
}, 500);
// handleClickBanner = _asyncThrottle(async (item, index) => {
// if (noUrl(item)) return;
// await store.appAuth(() => {
// handleLogClick(1, 2, `第${index + 1}个banner`);
// opfStatisticSdkClick(`banner-${index + 1}`, `第${index + 1}个banner`);
// setTimeout(() => store.jumpLink(item));
// });
// }, 500);
handleClickShare = _asyncThrottle(async () => {
handleLogClick(1, 4);
handleLogClick(1, 2);
shareStore.doShare();
}, 1000);
render() {
const { activityInfo = [], bannerInfo } = store.homeInfo;
const { activityInfo = [] } = store.homeInfo;
const { pageBgImg } = store.frontVariable;
return (
......@@ -94,7 +86,7 @@ class ShouYe extends React.Component {
</span>
))}
</div>
<div className="bannerInfo">
{/* <div className="bannerInfo">
{bannerInfo?.map((banner, index) => (
<span
key={"banner_" + index}
......@@ -103,10 +95,10 @@ class ShouYe extends React.Component {
<img src={banner.bannerImg} alt="" />
</span>
))}
</div>
</div> */}
<span className="share" onClick={this.handleClickShare}></span>
<FloatingIcon />
{/* <FloatingIcon /> */}
</div>
);
}
......
......@@ -4,7 +4,6 @@
position: relative;
width: 750px;
min-height: 100%;
top: -180px;
display: flex;
justify-content: center;
flex-wrap: wrap;
......@@ -13,14 +12,11 @@
display: block;
width: 750px;
height: auto;
// .sparkBg("首页/背景.png");
}
.activityInfo {
// width: 722px;
// height: 2079px;
left: 10px;
top: 713px;
left: 0;
top: 447px;
position: absolute;
.item {
......@@ -28,88 +24,35 @@
}
.item_0 {
width: 445px;
height: 394px;
left: 168px;
width: 213px;
height: 289px;
left: 257px;
top: 0px;
position: absolute;
// .sparkBg("首页/开户启新礼.png");
}
.item_1 {
width: 338px;
height: 311px;
left: 2px;
top: 350px;
width: 250px;
height: 290px;
left: 23px;
top: 132px;
position: absolute;
// .sparkBg("首页/消费畅想礼.png");
}
.item_2 {
width: 338px;
height: 352px;
left: 379px;
top: 407px;
width: 288px;
height: 287px;
left: 453px;
top: 132px;
position: absolute;
// .sparkBg("首页/支付超享礼.png");
}
.item_3 {
width: 396px;
height: 303px;
left: 1px;
top: 726px;
position: absolute;
z-index: 21;
// .sparkBg("首页/晋级提升礼.png");
}
.item_4 {
width: 338px;
height: 310px;
left: 383px;
top: 803px;
// left: 386px; // 383
// top: 833px; // 803
position: absolute;
// .sparkBg("首页/信用卡臻享礼.png");
}
.item_5 {
width: 338px;
height: 353px;
left: 5px;
top: 1078px;
position: absolute;
// .sparkBg("首页/备老无忧礼.png");
}
.item_6 {
width: 338px;
height: 351px;
left: 383px;
top: 1178px;
position: absolute;
// .sparkBg("首页/结售汇智选礼.png");
}
.item_7 {
width: 378px;
height: 313px;
left: 0px;
top: 1463px;
position: absolute;
z-index: 21;
// .sparkBg("首页/数币潮玩礼.png");
}
.item_8 {
width: 484px;
height: 397px;
left: 238px;
top: 1682px;
width: 280px;
height: 293px;
left: 234px;
top: 303px;
position: absolute;
// .sparkBg("首页/工资优选礼.png");
}
}
......@@ -133,9 +76,9 @@
}
.share {
width: 87px;
width: 88px;
height: 45px;
top: 235px;
top: 61px;
right: 0;
position: absolute;
.sparkBg("首页/分享.png");
......
......@@ -92,7 +92,8 @@ const store = makeAutoObservable({
/** app授权客户信息 */
async appAuth(callback) {
// 微信端直接跳转 不需要授权
if (isWeChat()) return callback();
// TODO_wyx
if (!isWeChat()) return callback();
// 有客户信息直接跳转 不需要授权
// if (store.userInfo?.customerId) return callback();
......
import { isWeChat } from "@src/utils/share"
import { isWeChat } from "@src/utils/share";
let isInit = false;
export const opfStatisticSdkInit = (opt) => {
if (!isWeChat()) return
if (!isWeChat()) return;
if (isInit) return
if (isInit) return;
try {
opfStatisticSdk?.init(
......@@ -27,15 +27,15 @@ export const opfStatisticSdkInit = (opt) => {
sdkUrl: `${location.origin}/real-time/`
// audidUrl: "https://xxx.xxx.xxx/unlogin/app/post_rabbitpre", // 正式服获取营销系统客户档案 id 接口地址,以实际使用为准(按照代理配置填写)
}
)
);
} catch (e) {
console.error("maidian", e)
console.error("maidian", e);
}
isInit = true
}
isInit = true;
};
export const opfStatisticSdkClick = (id, btnName) => {
if (!isWeChat()) return
if (!isWeChat()) return;
opfStatisticSdk.btnClick(id, btnName);
}
};
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