{"version":3,"sources":["webpack:///./src/components/Header.vue?28af","webpack:///./src/components/Header.vue","webpack:///./src/components/Header.vue?93b4","webpack:///./src/utils/modules/navigate.ts","webpack:///./src/assets/mc_spceial_region_card_list/mc_active_left_icon.png","webpack:///./src/assets/fk_app_ab_download/planb_bg.jpg","webpack:///./src/components/Header.vue?0afb","webpack:///./src/libs/yufu-bridge/libs/base.js","webpack:///./src/libs/yufu-bridge/libs/user.js","webpack:///./src/libs/yufu-bridge/initalEvent.js","webpack:///./src/libs/yufu-bridge/index.js","webpack:///./src/assets/dsq_home/refresh.png","webpack:///./src/assets/mall_app_customer_service_tel/icon_order_issues.png","webpack:///./src/utils/modules/axios.ts","webpack:///./src/assets/common/header_left_icon.png","webpack:///./src/utils/modules/wechatApplet.ts","webpack:///./src/components/MyCode.vue?8fca","webpack:///./src/assets/dsq_login/privacy_unselect.png","webpack:///./src/assets/dsq_login/privacy_select.png","webpack:///./src/utils/modules/common.ts","webpack:///./src/views/zhst_home/request-api.ts","webpack:///./src/assets/fk_app_ab_download/arrows.png","webpack:///./src/utils/modules/url.ts","webpack:///./src/assets/fk_app_ab_download/downloadBg.png","webpack:///./src/utils/modules/http.ts","webpack:///./src/utils/modules/aplusQueue.ts","webpack:///./src/utils/modules/constant.ts","webpack:///./src/utils/modules/native.ts","webpack:///./src/utils/modules/math.ts","webpack:///./src/utils/modules/browser.ts","webpack:///./src/assets/mall_app_customer_service_tel/icon_fuka_issues.png","webpack:///./src/views/dsq_home/request-api.ts","webpack:///./src/components/MyCode.vue?b3e4","webpack:///./src/components/MyCode.vue","webpack:///./src/components/MyCode.vue?d5b5"],"names":["_hoisted_1","class","_hoisted_2","render","_ctx","_cache","$props","$setup","$data","$options","isWechatApplet","_createCommentVNode","_openBlock","_createElementBlock","key","style","_normalizeStyle","backgroundColor","bgColor","_createElementVNode","src","_imports_0","onClick","args","goBack","_toDisplayString","title","defineComponent","props","String","setup","ref","getQueryString","window","history","go","__exports__","goGoodsDetail","item","from","addFrom","isApp","yfBridge","call","data","console","log","setTimeout","scheme","id","goWechatGoodsDetail","location","href","origin","replace","voucher","voucherType","closeCurrentPage","this","navigateGoBack","delta","cb","openCarema","openPhotos","type","getUserInfo","checkSession","base","user","default","method","ret","arg","undefined","cbName","dscb","_dscbstub","JSON","stringify","_dsbridge","_dswk","navigator","userAgent","indexOf","prompt","parse","register","name","fun","asyn","q","_dsaf","_dsf","_dsInit","_obs","registerAsyn","hasNativeMethod","disableJavascriptDialogBlock","disable","initalEvent","ob","dsBridge","close","_handleMessageFromNative","info","callbackId","complete","f","af","callSyn","apply","callAsyn","push","split","length","pop","namespace","join","obs","m","attr","tag","codeMessage","200","201","202","204","400","401","403","404","406","410","422","500","502","503","504","axios","defaults","validateStatus","status","interceptors","request","use","config","configTemp","Object","create","headers","common","eventTime","Date","now","token","error","Promise","reject","response","errno","async","errorText","statusText","wx","miniProgram","navigateTo","url","cnzzTrack","options","action","category","host","pathname","label","tempLabel","BROWSER","isWeChat","isiOS","finalLabel","_czc","copy","value","oInput","document","createElement","body","appendChild","select","execCommand","Toast","success","remove","checkMobile","mobile","reg","result","test","fetchGetQrcode","post","localStorage","getItem","getQueryObject","defaultParameter","queryString","search","urlParameter","reduce","prev","cur","kvArray","decodeURIComponent","val","assign","RegExp","substr","match","getUrlParamsByObject","obj","symbol","prototype","toString","slice","hasOwnProperty","encodeURIComponent","myLocationHref","locationOrigin","locationPathname","tempArr","get","params","fetch","isDev","process","getOsType","isAndroid","isiPad","isiPhone","getRandomCode","sessionStorage","Math","random","setItem","getDefaultParams","hash","operation_system","isProd","AplusQueusSendPV","aplus_queue","arguments","is_auto","mBuryPoint","eventKeyCode","SUCCESSCODE","pSetupWebViewJavascriptBridge","callback","WebViewJavascriptBridge","WVJBCallbacks","WVJBIframe","display","documentElement","removeChild","fukaPayNative","order","bridge","callHandler","responseData","scanPay","callBackScanPayStr","math","add","arg1","arg2","r1","r2","e","pow","max","n","toFixed","subtract","re1","re2","multiply","s1","s2","Number","divide","digit","t1","t2","result2","substring","ua","toLowerCase","isAndroidOSVersion","isiOSOSVersion","Boolean","isQQ","isWeiBo","isFuka","androidVersion","isAndroidOSVer","isiOSOSVer","isFukaApp","_hoisted_3","_component_qrcode_vue","_resolveComponent","_createVNode","size","logoSrc","require","components","QrcodeVue","state","reactive","toRefs"],"mappings":"4IAIA,MAAMA,EAAa,CAAEC,MAAO,gBACtBC,EAAa,CAAED,MAAO,kBAEtB,SAAUE,EAAOC,EAAUC,EAAYC,EAAYC,EAAYC,EAAWC,GAC9E,OAASL,EAAKM,eAiBVC,gCAAoB,IAAI,IAhBvBC,yBAAcC,gCAAoB,MAAO,CACxCC,IAAK,EACLb,MAAO,SACPc,MAAOC,4BAAgB,CAACC,gBAAiBb,EAAKc,WAC7C,CACDC,gCAAoB,MAAOnB,EAAY,CACrCmB,gCAAoB,MAAO,CACzBC,IAAKC,OACLC,QAASjB,EAAO,KAAOA,EAAO,GAE1C,IAAIkB,IAAUnB,EAAKoB,QAAUpB,EAAKoB,UAAUD,QAGpCJ,gCAAoB,MAAOjB,EAAYuB,6BAAiBrB,EAAKsB,OAAQ,GACrErB,EAAO,KAAOA,EAAO,GAAKc,gCAAoB,MAAO,CAAElB,MAAO,iBAAmB,MAAO,KACvF,I,gBCpBM0B,+BAAgB,CAC7BC,MAAO,CACLF,MAAOG,OACPX,QAASW,QAEXC,QACE,MAAMpB,EAAiBqB,iBAA+B,kBAA3BC,eAAe,SACpCR,EAASA,KACbS,OAAOC,QAAQC,IAAI,IAErB,MAAO,CACLzB,iBACAc,a,iCCTN,MAAMY,EAA2B,IAAgB,EAAQ,CAAC,CAAC,SAASjC,KAErD,U,kCCTf,0EAmBO,MAAMkC,EAAgBA,CAACC,EAAUC,EAAO,iBAAkBC,EAAU,MACzE,IAAIC,GAAQ,EACZC,OAASC,KAAK,gBAAkBC,IAC9BC,QAAQC,IAAI,UAAWF,GACvBH,GAAQ,IAEVM,WAAW,KACT,GAAiC,MAA7Bf,eAAe,UAInB,GAAI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CAzC,kDAeA,MAAMT,EACF,eAIS+B,EAAiBA,IAAMC,eAC/BhC,EAAH,0CACA,GAGA,CACEZ,MAAO6C,aAAaC,QAAQ,e,yECxBhC,MAAMxM,EAAa,CAAEC,MAAO,iBACtBC,EAAa,CACjBY,IAAK,EACLb,MAAO,eAEH+S,EAAa,CAAC,OAEd,SAAU7S,EAAOC,EAAUC,EAAYC,EAAYC,EAAYC,EAAWC,GAC9E,MAAMwS,EAAwBC,8BAAkB,cAEhD,OAAQtS,yBAAcC,gCAAoB,MAAOb,EAAY,CAC3DmT,yBAAaF,EAAuB,CAClC5H,MAAOjL,EAAKiL,MACZ+H,KAAMhT,EAAKgT,MACV,KAAM,EAAG,CAAC,QAAS,SACrBhT,EAAKiT,SACDzS,yBAAcC,gCAAoB,MAAOX,EAAY,CACpDiB,gCAAoB,MAAO,CAAEC,IAAKhB,EAAKiT,SAAW,KAAM,EAAGL,MAE7DrS,gCAAoB,IAAI,K,yBCjBjBgB,+BAAgB,CAC7BC,MAAO,CACLyJ,MAAO,CACLrH,KAAMnC,OACNyR,SAAS,GAEXF,KAAM,CACJpP,KAAM6N,OACNxN,QAAS,KAEXgP,QAASxR,QAEX0R,WAAY,CACVC,eAEF1R,MAAMF,GACJiB,QAAQC,IAAIlB,EAAO,IACnB,MAAM6R,EAAQC,sBAAS,CACrBrI,MAAOzJ,EAAMyJ,MACb+H,KAAMxR,EAAMwR,OAEd,MAAO,IACFO,oBAAOF,O,iCCnBhB,MAAMrR,EAA2B,IAAgB,EAAQ,CAAC,CAAC,SAASjC,KAErD","file":"yf_h5_static/js/chunk-common.cfee17c0.js","sourcesContent":["import { createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, normalizeStyle as _normalizeStyle, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode } from \"vue\"\nimport _imports_0 from '@/assets/common/header_left_icon.png'\n\n\nconst _hoisted_1 = { class: \"header__left\" }\nconst _hoisted_2 = { class: \"header__middle\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (!_ctx.isWechatApplet)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n class: \"header\",\n style: _normalizeStyle({backgroundColor: _ctx.bgColor})\n }, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"img\", {\n src: _imports_0,\n onClick: _cache[0] || (_cache[0] = \n//@ts-ignore\n(...args) => (_ctx.goBack && _ctx.goBack(...args)))\n })\n ]),\n _createElementVNode(\"div\", _hoisted_2, _toDisplayString(_ctx.title), 1),\n _cache[1] || (_cache[1] = _createElementVNode(\"div\", { class: \"header__right\" }, null, -1))\n ], 4))\n : _createCommentVNode(\"\", true)\n}","\nimport { defineComponent, ref } from \"vue\";\nimport { getQueryString } from \"@/utils\";\n\nexport default defineComponent({\n props: {\n title: String,\n bgColor: String\n },\n setup() {\n const isWechatApplet = ref(getQueryString(\"from\") === \"wechat_applet\");\n const goBack = () => {\n window.history.go(-1);\n };\n return {\n isWechatApplet,\n goBack\n };\n }\n});\n","import { render } from \"./Header.vue?vue&type=template&id=3976fa78&ts=true&lang=pug\"\nimport script from \"./Header.vue?vue&type=script&lang=ts\"\nexport * from \"./Header.vue?vue&type=script&lang=ts\"\n\nimport \"./Header.vue?vue&type=style&index=0&id=3976fa78&lang=stylus&rel=stylesheet%2Fstylus\"\n\nimport exportComponent from \"/Users/zhangsong/Documents/projects/yufu_h5_multiply/node_modules/.store/vue-loader@16.8.3/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","/*\n * @Descripttion: tengwei\n * @Author: tengwei\n * @Date: 2024-05-07 10:29:13\n * @LastEditors: tengwei\n * @LastEditTime: 2024-05-07 10:54:14\n */\n\nimport yfBridge from \"@/libs/yufu-bridge\";\nimport { goWechatGoodsDetail, isWechatApplet } from \"@/utils/modules/wechatApplet\";\nimport { getQueryString } from \"./url\";\n\n/**\n *\n * @param item 跳转商品对象\n * @param isApp 是否在 App 内\n * @param addFrom 埋点用\n * @returns\n */\nexport const goGoodsDetail = (item:any, from = \"activity_theme\", addFrom = \"\") => {\n let isApp = false;\n yfBridge.call(\"getAppXClient\", (data: string) => {\n console.log(\"xClient\", data);\n isApp = true;\n });\n setTimeout(() => {\n if (getQueryString(\"source\") === \"2\") {\n window.location.href = `${window.location.origin}/good_detail?from=${from}&spuId=${item?.id}&source=${getQueryString(\"source\")}&addFrom=${addFrom}`;\n return;\n }\n if (isApp) {\n yfBridge.call(\"jumpAppPage\", { scheme: `yufu://goods/detail?id=${item?.id}&addFrom=${addFrom}` });\n } else if (isWechatApplet()) {\n goWechatGoodsDetail(item?.id, addFrom);\n } else {\n if (getQueryString(\"source\")) {\n if (getQueryString(\"source\") === \"9\") {\n window.location.href = `${window.location.origin.replace(\"yufumall.cn\", \"yufu.cc\")}/good_detail?from=activity_theme&spuId=${item?.id}&source=${getQueryString(\"source\")}&addFrom=${addFrom}`;\n return;\n }\n if (getQueryString(\"source\") === \"11\") {\n window.location.href = `${window.location.origin.replace(\"yufumall\", \"yufucm\")}/good_detail?from=activity_theme&spuId=${item?.id}&source=${getQueryString(\"source\")}&addFrom=${addFrom}&voucherId=${getQueryString(\"voucherId\")}&voucherType=${item.voucher.voucherType}&availableTotal=${getQueryString(\"availableTotal\")}`;\n return;\n }\n window.location.href = `${window.location.origin}/good_detail?from=${from}&spuId=${item?.id}&source=${getQueryString(\"source\")}&addFrom=${addFrom}&voucherId=${getQueryString(\"voucherId\")}`;\n return;\n }\n window.location.href = `${window.location.origin}/good_detail?from=${from}&spuId=${item?.id}&addFrom=${addFrom}`;\n }\n }, 0);\n};\n","export default __webpack_public_path__ + \"yf_h5_static/img/mc_active_left_icon.b6ed9064.png\";","export default __webpack_public_path__ + \"yf_h5_static/img/planb_bg.3603da52.jpg\";","export * from \"-!../../node_modules/.store/mini-css-extract-plugin@0.9.0/node_modules/mini-css-extract-plugin/dist/loader.js??ref--12-oneOf-1-0!../../node_modules/.store/css-loader@3.6.0/node_modules/css-loader/dist/cjs.js??ref--12-oneOf-1-1!../../node_modules/.store/vue-loader@16.8.3/node_modules/vue-loader/dist/stylePostLoader.js!../../node_modules/.store/postcss-loader@3.0.0/node_modules/postcss-loader/src/index.js??ref--12-oneOf-1-2!../../node_modules/.store/stylus-loader@3.0.2/node_modules/stylus-loader/index.js??ref--12-oneOf-1-3!../../node_modules/.store/cache-loader@4.1.0/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/.store/vue-loader@16.8.3/node_modules/vue-loader/dist/index.js??ref--1-1!./Header.vue?vue&type=style&index=0&id=3976fa78&lang=stylus&rel=stylesheet%2Fstylus\"","/**\n * 关闭当前页面\n * @param {*} args\n */\nexport const closeCurrentPage = function (args) {\n this.call('closeCurrentPage', args);\n};\n\n/**\n * 后退功能\n * @param {*} delta 后退几步\n * @param {*} cb 回调函数\n */\nexport const navigateGoBack = function (delta = 1, cb) {\n this.call('navigateGoBack', { delta }, cb);\n};\n\n/**\n * 打开照相机\n * @param {*} args \n * @param {*} cb \n */\nexport const openCarema = function(args = {}, cb){\n this.call('openCarema', args, cb)\n}\n/**\n * 打开相册\n * @param {*} args type: 1打开相机,2打开相册\n * @param {*} cb \n */\nexport const openPhotos = function(args = { type: 1 }, cb){\n this.call('openPhotos', args, cb)\n}","/**\n * 用户相关\n */\n\n\n// 获取用户信息\nexport function getUserInfo() {\n return this.call('getUserInfo')\n}\n\n// 检测用户是否是登录状态\nexport function checkSession() {\n return this.call('checkSession')\n}\n\n","// const base = require('./libs/base')\nimport * as base from './libs/base'\nimport * as user from './libs/user'\n\n\nexport default {\n ...base,\n ...user\n}","// const initalEvent = require('./initalEvent')\nimport initalEvent from './initalEvent';\n\nvar yfBridge = {\n default: this, // for typescript\n call(method, args, cb) {\n let ret = '';\n if (typeof args === 'function') {\n cb = args;\n args = {};\n }\n let arg = { data: args === undefined ? null : args };\n if (typeof cb === 'function') {\n const cbName = `dscb${window.dscb++}`;\n window[cbName] = cb;\n arg._dscbstub = cbName;\n }\n arg = JSON.stringify(arg);\n\n if (window._dsbridge) {\n ret = _dsbridge.call(method, arg);\n } else if (window._dswk || navigator.userAgent.indexOf('_dsbridge') != -1) {\n ret = prompt(`_dsbridge=${method}`, arg);\n }\n\n return JSON.parse(ret || '{}').data;\n },\n register(name, fun, asyn) {\n const q = asyn ? window._dsaf : window._dsf;\n if (!window._dsInit) {\n window._dsInit = true;\n // notify native that js apis register successfully on next event loop\n setTimeout(() => {\n yfBridge.call('_dsb.dsinit');\n }, 0);\n }\n if (typeof fun === 'object') {\n q._obs[name] = fun;\n } else {\n q[name] = fun;\n }\n },\n registerAsyn(name, fun) {\n this.register(name, fun, true);\n },\n hasNativeMethod(name, type) {\n return this.call('_dsb.hasNativeMethod', {\n name,\n type: type || 'all',\n });\n },\n disableJavascriptDialogBlock(disable) {\n this.call('_dsb.disableJavascriptDialogBlock', {\n disable: disable !== false,\n });\n },\n};\n\nfor (const key in initalEvent) {\n yfBridge[key] = initalEvent[key];\n}\n\n!(function () {\n if (window._dsf) return;\n const ob = {\n _dsf: {\n _obs: {},\n },\n _dsaf: {\n _obs: {},\n },\n dscb: 0,\n dsBridge: yfBridge,\n close() {\n yfBridge.call('_dsb.closePage');\n },\n _handleMessageFromNative(info) {\n const arg = JSON.parse(info.data);\n const ret = {\n id: info.callbackId,\n complete: true,\n };\n const f = this._dsf[info.method];\n const af = this._dsaf[info.method];\n const callSyn = function (f, ob) {\n ret.data = f.apply(ob, arg);\n yfBridge.call('_dsb.returnValue', ret);\n };\n const callAsyn = function (f, ob) {\n arg.push((data, complete) => {\n ret.data = data;\n ret.complete = complete !== false;\n yfBridge.call('_dsb.returnValue', ret);\n });\n f.apply(ob, arg);\n };\n if (f) {\n callSyn(f, this._dsf);\n } else if (af) {\n callAsyn(af, this._dsaf);\n } else {\n // with namespace\n const name = info.method.split('.');\n if (name.length < 2) return;\n const method = name.pop();\n const namespace = name.join('.');\n let obs = this._dsf._obs;\n let ob = obs[namespace] || {};\n let m = ob[method];\n if (m && typeof m === 'function') {\n callSyn(m, ob);\n return;\n }\n obs = this._dsaf._obs;\n ob = obs[namespace] || {};\n m = ob[method];\n if (m && typeof m === 'function') {\n callAsyn(m, ob);\n }\n }\n },\n };\n for (const attr in ob) {\n window[attr] = ob[attr];\n }\n yfBridge.register('_hasJavascriptMethod', (method, tag) => {\n const name = method.split('.');\n if (name.length < 2) {\n return !!(_dsf[name] || _dsaf[name]);\n }\n // with namespace\n var method = name.pop();\n const namespace = name.join('.');\n const ob = _dsf._obs[namespace] || _dsaf._obs[namespace];\n return ob && !!ob[method];\n });\n}());\n\nexport default yfBridge;\n","export default __webpack_public_path__ + \"yf_h5_static/img/refresh.6b84049a.png\";","export default __webpack_public_path__ + \"yf_h5_static/img/icon_order_issues.282a25a5.png\";","/*\n * @Author: Sll\n * @Date: 2022-03-04 14:56:17\n * @LastEditors: Sll\n * @LastEditTime: 2022-05-30 10:42:56\n * @FilePath: /yufu_h5_multiply/src/utils/modules/axios.ts\n * @Description:\n *\n */\nimport axios from \"axios\";\nimport { getQueryString } from \"./url\";\n\ninterface codeType {\n [key: string]: unknown;\n}\n/**\n * 统一错误码\n * @type {*} */\nconst codeMessage: codeType = {\n 200: \"服务器成功返回请求的数据。\",\n 201: \"新建或修改数据成功。\",\n 202: \"一个请求已经进入后台排队(异步任务)。\",\n 204: \"删除数据成功。\",\n 400: \"发出的请求有错误,服务器没有进行新建或修改数据的操作。\",\n 401: \"用户没有权限(令牌、用户名、密码错误)。\",\n 403: \"用户得到授权,但是访问是被禁止的。\",\n 404: \"发出的请求针对的是不存在的记录,服务器没有进行操作。\",\n 406: \"请求的格式不可得。\",\n 410: \"请求的资源被永久删除,且不会再得到的。\",\n 422: \"当创建一个对象时,发生一个验证错误。\",\n 500: \"服务器发生错误,请检查服务器。\",\n 502: \"网关错误。\",\n 503: \"服务不可用,服务器暂时过载或维护。\",\n 504: \"网关超时。\"\n};\n\n// axios.defaults.timeout = 5000; // 设置请求超时时间\naxios.defaults.validateStatus = function (status) {\n return status >= 200 && status < 300;\n};\n// const request = axios.create({\n// // 配置选项\n// // baseURL,\n// // timeout\n// });\n\n// 请求拦截器\naxios.interceptors.request.use(\n (config) => {\n const configTemp = Object.create(config);\n configTemp.headers.common.eventTime = Date.now();\n const token = getQueryString(\"token\");\n if (token) {\n configTemp.headers[\"X-Nideshop-Token\"] = token;\n }\n // Do something before request is sent\n return configTemp;\n },\n (error) => Promise.reject(error)\n\n);\n\n// 响应拦截器\naxios.interceptors.response.use(\n (response) => {\n // 状态码为 2XX的都会走这\n if (\n response.data.errno === 777\n || response.data.errno === 999\n || response.data.errno === 555\n ) {\n // 这块需要重定向到 登录页面\n }\n return response;\n },\n async (error) => {\n // 状态码 非 2XX的走这\n // console.dir(\"error --->\",error)\n const { response } = error;\n\n if (response && response.status) {\n const errorText = codeMessage[response.status] || response.statusText;\n\n console.error(\"----->\", response, errorText);\n } else if (!response) {\n console.error(\"错误——您的网络发生异常,无法连接服务器\");\n }\n return Promise.reject(error);\n }\n);\n\nexport default axios;\n","export default __webpack_public_path__ + \"yf_h5_static/img/header_left_icon.af4f1879.png\";","/*\n * @Author: Sll\n * @Date: 2022-10-28 09:26:59\n * @LastEditors: 张嵩 zhangsong@yufu.cn\n * @LastEditTime: 2023-02-09 15:07:15\n * @FilePath: /yufu_h5_multiply/src/utils/modules/wechatApplet.ts\n * @Description: H5和小程序的交互\n *\n */\nimport wx from \"weixin-js-sdk\";\n\nimport { getQueryString } from \"./url\";\n\n/**\n * 跳转小程序商品详情\n * @param id 商品id\n */\nexport function goWechatGoodsDetail(id: string, addFrom: string) {\n wx.miniProgram.navigateTo({\n url: `/pages/goods/goodsDetail/goodsDetail?id=${id}&addFrom=${addFrom}`\n });\n}\n\n/**\n * 判断是不是微信小程序环境\n * @returns\n */\nexport function isWechatApplet() {\n return getQueryString(\"from\") === \"wechat_applet\";\n}\n\n","export * from \"-!../../node_modules/.store/mini-css-extract-plugin@0.9.0/node_modules/mini-css-extract-plugin/dist/loader.js??ref--12-oneOf-1-0!../../node_modules/.store/css-loader@3.6.0/node_modules/css-loader/dist/cjs.js??ref--12-oneOf-1-1!../../node_modules/.store/vue-loader@16.8.3/node_modules/vue-loader/dist/stylePostLoader.js!../../node_modules/.store/postcss-loader@3.0.0/node_modules/postcss-loader/src/index.js??ref--12-oneOf-1-2!../../node_modules/.store/stylus-loader@3.0.2/node_modules/stylus-loader/index.js??ref--12-oneOf-1-3!../../node_modules/.store/cache-loader@4.1.0/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/.store/vue-loader@16.8.3/node_modules/vue-loader/dist/index.js??ref--1-1!./MyCode.vue?vue&type=style&index=0&id=663e913c&lang=stylus\"","export default __webpack_public_path__ + \"yf_h5_static/img/privacy_unselect.a03abc6a.png\";","export default __webpack_public_path__ + \"yf_h5_static/img/privacy_select.1795c5d9.png\";","/*\n * @Author: your name\n * @Date: 2022-01-19 17:47:18\n * @LastEditTime: 2024-11-01 10:00:05\n * @LastEditors: tengwei\n * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE\n * @FilePath: /yufu_h5_multiply/src/utils/modules/common.ts\n */\nimport { Toast } from \"vant\";\nimport BROWSER from \"./browser\";\n/**\n * 公共js文件\n */\n\ninterface CnzzTrack {\n action: string; // 触发的事件,例如: \"支付点击\", \"支付完成\"\n category?: string; // 事件发生的位置(默认值是页面的路由,没有特殊要求可以不传)\n label?: string; // 事件的具体描述,具体的参数(传递事件的具体参数)\n}\n/**\n * 友盟cnzz埋点\n * @param options\n */\nexport const cnzzTrack = (options: CnzzTrack) => {\n const { action, category = window.location.host + window.location.pathname, label = \"\" } = options;\n // 公共参数\n const tempLabel = `wechat=${BROWSER.isWeChat}&ios=${BROWSER.isiOS}`;\n const finalLabel = label ? `${tempLabel}&${label}` : tempLabel;\n console.log({ ...options, finalLabel });\n if (window._czc) {\n window._czc.push([\"_trackEvent\", category, action, finalLabel]);\n }\n};\n\n\nexport const copy = (value: string) => {\n const oInput = document.createElement(\"input\");\n oInput.value = value;\n document.body.appendChild(oInput);\n oInput.select(); // 选择对象;\n console.log(oInput.value);\n document.execCommand(\"Copy\"); // 复制\n Toast.success(\"复制成功\");\n oInput.remove();\n};\n/**\n * 验证手机号\n * @param mobile\n * @returns\n */\nexport const checkMobile = (mobile: string) => {\n const reg = /^1[3,4,5,6,7,8,9][0-9]{9}$/;\n const result = reg.test(mobile);\n return result;\n};\n","/*\n * @Descripttion: tengwei\n * @Author: tengwei\n * @Date: 2023-03-21 18:20:42\n * @LastEditors: tengwei\n * @LastEditTime: 2023-03-21 18:22:52\n */\nimport { post } from \"@/utils\";\n\n/**\n * 获取二维码和余额\n * @param cardNo\n * @returns\n */\n// eslint-disable-next-line no-nested-ternary\nconst url = process.env.VUE_APP_PROD === \"true\"\n ? \"/tuancan-api\"\n : process.env.NODE_ENV === \"production\"\n ? \"/tuancan-api\"\n : \"/canteen-api\"; // 接口统一域名\nexport const fetchGetQrcode = () => post(\n `${url}/system/verification/verificationQRCode`,\n {\n\n },\n {\n token: localStorage.getItem(\"dsqToken\") as string\n }\n);\n\n","export default __webpack_public_path__ + \"yf_h5_static/img/arrows.6dbc48eb.png\";","// 这些key会尝试从 localstorge 中获取\n\n\n/**\n * 生成随机数\n * @returns\n */\nexport function getRandomCode():any {\n return (\n Math.random().toString(36).slice(2, 7)\n + Math.random().toString(36).slice(2, 7)\n );\n}\n\n/**\n * 获得 Url query 对象\n * @param {object} defaultParameter 默认的 query 对象\n */\nexport function getQueryObject(url = \"\", defaultParameter = {}):any {\n const queryString = (url && url.replace(/^\\?/, \"\")) || window.location.search.replace(/^\\?/, \"\");\n\n if (queryString === \"\") {\n return {};\n }\n const urlParameter = queryString.split(\"&\").reduce((prev:any, cur) => {\n const kvArray = cur.split(\"=\");\n const key = decodeURIComponent(kvArray[0]);\n const val = decodeURIComponent(kvArray[1]);\n\n // eslint-disable-next-line no-param-reassign\n prev[key] = val;\n return prev;\n }, {});\n\n return Object.assign(defaultParameter, urlParameter);\n}\n/**\n * 获取 url query 值\n * 如果没有获取到,从 localstorage 里取值\n * @param {string} key queryKey\n */\nexport function getQueryString(key:string) {\n // 获取参数\n const url = window.location.search;\n // 正则筛选地址栏\n const reg = new RegExp(`(^|&)${key}=([^&]*)(&|$)`);\n // 匹配目标参数\n const result = url.substr(1).match(reg);\n // 返回参数值\n return result ? decodeURIComponent(result[2]) : null;\n}\n\n\n\n/**\n * 把对象转换为 url querystring 格式的字符串 eg: {a:1, b:2} => ?a=1&b=2\n * @param {object} obj 带转换对象\n * @param {string} symbol 前缀符号(默认为 ?)\n */\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\nexport function getUrlParamsByObject(obj:any, symbol = \"?\"):any {\n if (Object.prototype.toString.call(obj).slice(8, -1) !== \"Object\") {\n return \"\";\n }\n const kvArray = [];\n\n // eslint-disable-next-line no-restricted-syntax\n for (const name in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, name)) {\n kvArray.push(`${name}=${encodeURIComponent(obj[name])}`);\n }\n }\n return symbol + kvArray.join(\"&\");\n}\n\n/**\n * 本项目页面跳转\n * @param url\n * @returns\n */\nexport function myLocationHref(url: string) {\n const locationOrigin = window.location.origin;\n const locationPathname = window.location.pathname;\n const tempArr = locationPathname.split(\"/\");\n tempArr[tempArr.length - 1] = url;\n window.location.href = locationOrigin + tempArr.join(\"/\");\n}\n\n/**\n * 获取本项目正确的跳转地址\n * @param url\n * @returns\n */\nexport function getLocationHref(url: string) {\n const locationOrigin = window.location.origin;\n const locationPathname = window.location.pathname;\n const tempArr = locationPathname.split(\"/\");\n tempArr[tempArr.length - 1] = url;\n return locationOrigin + tempArr.join(\"/\");\n}\n","export default __webpack_public_path__ + \"yf_h5_static/img/downloadBg.7d2769ea.png\";","/*\n * @Author: your name\n * @Date: 2022-01-19 17:47:18\n * @LastEditTime: 2022-11-08 15:40:21\n * @LastEditors: 张嵩 zhangsong@yufu.cn\n * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE\n * @FilePath: /yufu_h5_multiply/src/utils/modules/http.ts\n */\nimport fetch from \"./axios\";\n\n/**\n * GET请求\n * @param {String} url 请求路径\n * @param {0bject} params 传递过来的参数\n * @param {0bject} config 配置表\n */\nexport function get(url = \"\", params = {}, config = {}) {\n return fetch({\n url,\n method: \"get\",\n params,\n headers: config\n });\n}\n\n/**\n * POST请求\n * @param {String} url 请求路径\n * @param {0bject} params 传递过来的参数\n * @param {0bject} config 配置表\n */\n\nexport function post(url = \"\", params = {}, config = {}) {\n // return fetch.post(url, params, config);\n return fetch({\n url,\n method: \"POST\",\n data: { ...params },\n headers: config\n });\n}\n","/*\n * @Author: Sll\n * @Date: 2022-09-01 16:56:35\n * @LastEditors: 张嵩 zhangsong@yufu.cn\n * @LastEditTime: 2022-12-19 15:05:38\n * @FilePath: /yufu_h5_multiply/src/utils/modules/aplusQueue.ts\n * @Description: H5多页面 接入友盟\n *\n */\nimport BROWSER from \"./browser\";\n\nconst isDev = process.env.VUE_APP_DEVELOP_ENV === \"true\";\n\n/**\n * 获取设备类型\n */\nfunction getOsType() {\n if (BROWSER.isAndroid) {\n return \"android\";\n }\n if (BROWSER.isiPad || BROWSER.isiPhone) {\n return \"ios\";\n }\n return \"others\";\n}\n\n/**\n * 随机生成字符串\n * @param e\n * @returns\n */\nexport function getRandomCode() {\n let result = \"\";\n if (sessionStorage.getItem(\"randomCode\")) {\n result = sessionStorage.getItem(\"randomCode\") as string;\n } else {\n result = Math.random().toString(36).slice(2, 7)\n + Math.random().toString(36).slice(2, 7);\n sessionStorage.setItem(\"randomCode\", result);\n }\n //\n return result;\n}\n\n/**\n * 获取公共参数\n * @returns\n */\nfunction getDefaultParams() {\n return {\n host: window.location.host, // 域名\n hash: getRandomCode(), // 用户未登录时生成一个随机数当标识\n operation_system: getOsType(), // 设备类型\n eventTime: Date.now(), // 时间戳\n isProd: !isDev\n };\n}\n\n/**\n * 手动触发曝光上传\n * @param params 上传参数\n */\nexport const AplusQueusSendPV = (params: any = {}) => {\n const { aplus_queue }: any = window;\n aplus_queue.push({\n action: \"aplus.sendPV\",\n arguments: [\n {\n is_auto: false\n },\n {\n ...getDefaultParams(),\n ...params\n }\n ]\n });\n};\n\n/**\n * 友盟点击事件上报\n * @param eventKeyCode 事件ID 或 事件编码 例如:'coupon_home_click'\n * @param params 事件参数,例如:{page: 'home'}\n */\nexport const AplusQueusClick = (eventKeyCode: string, params: any = {}) => {\n const { aplus_queue }: any = window;\n aplus_queue.push({\n action: \"aplus.record\",\n arguments: [\n eventKeyCode,\n \"CLK\",\n {\n ...getDefaultParams(),\n ...params\n }\n ]\n });\n};\n\n/**\n * H5 进行友盟点击事件上报\n * @param eventKeyCode 事件ID 或 事件编码 例如1、 H5_页面名_自定义名称 2、全大写\n * @param params 事件参数,例如:{page: 'home'}\n */\nexport const mBuryPoint = (eventKeyCode: string, params: any = {}) => {\n const { aplus_queue }: any = window;\n aplus_queue.push({\n action: \"aplus.record\",\n arguments: [\n eventKeyCode,\n \"CLK\",\n {\n ...getDefaultParams(),\n ...params\n }\n ]\n });\n};\n","/*\n * @Author: your name\n * @Date: 2022-01-19 17:47:18\n * @LastEditTime: 2022-01-19 17:48:46\n * @LastEditors: your name\n * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE\n * @FilePath: /yufu_h5_multiply/src/utils/modules/constant.ts\n */\n/**\n * 常量定义\n */\n\n// 接口返回成功的常量\nexport const SUCCESSCODE = \"0000000\";\n","import BROWSER from \"./browser\";\n/**\n * 调用客户端的方法\n * @param callback\n * @returns\n */\n\n// eslint-disable-next-line\nexport const pSetupWebViewJavascriptBridge = (callback: any) => {\n if (window.WebViewJavascriptBridge) {\n return callback(window.WebViewJavascriptBridge);\n }\n if (window.WVJBCallbacks) {\n return window.WVJBCallbacks.push(callback);\n }\n window.WVJBCallbacks = [callback];\n const WVJBIframe = document.createElement(\"iframe\");\n WVJBIframe.style.display = \"none\";\n WVJBIframe.src = \"wvjbscheme://__BRIDGE_LOADED__\";\n document.documentElement.appendChild(WVJBIframe);\n setTimeout(() => {\n document.documentElement.removeChild(WVJBIframe);\n }, 0);\n};\n\ninterface OrdreType{\n merNo: string; // 商户号\n merOrderId: string; // 订单号\n amt: string; // 金额分\n merName: string; // 商户名称\n merDescription: string; // 商户描述\n notifyUrl: string; // 回调地址\n}\n\n// 福卡支付\nexport const fukaPayNative = (order: OrdreType) => {\n if (BROWSER.isiOS) {\n pSetupWebViewJavascriptBridge((bridge:any) => {\n bridge.callHandler(\"scanPay\", order, (responseData:any) => {\n console.log(responseData);\n });\n });\n } else if (BROWSER.isAndroid) {\n window.scanPay.callBackScanPayStr(JSON.stringify(order));\n }\n};\n","export const math = {\n add(arg1: any, arg2: any) {\n let r1; let\n r2;\n try {\n r1 = arg1.toString().split(\".\")[1].length;\n } catch (e) {\n r1 = 0;\n }\n try {\n r2 = arg2.toString().split(\".\")[1].length;\n } catch (e) {\n r2 = 0;\n }\n // eslint-disable-next-line no-restricted-properties\n const m = Math.pow(10, Math.max(r1, r2));\n const n = r1 >= r2 ? r1 : r2;\n return ((arg1 * m + arg2 * m) / m).toFixed(n);\n },\n // 减法\n subtract(arg1: any, arg2: any) {\n let re1; let\n re2;\n try {\n re1 = arg1.toString().split(\".\")[1].length;\n } catch (e) {\n re1 = 0;\n }\n try {\n re2 = arg2.toString().split(\".\")[1].length;\n } catch (e) {\n re2 = 0;\n }\n // eslint-disable-next-line no-restricted-properties\n const m = Math.pow(10, Math.max(re1, re2));\n const n = re1 >= re2 ? re1 : re2;\n return ((arg1 * m - arg2 * m) / m).toFixed(n);\n },\n // 乘法\n multiply(arg1: any, arg2: any) {\n let m = 0;\n const s1 = arg1.toString();\n const s2 = arg2.toString();\n try {\n m += s1.split(\".\")[1].length;\n // eslint-disable-next-line no-empty\n } catch (e) {}\n try {\n m += s2.split(\".\")[1].length;\n // eslint-disable-next-line no-empty\n } catch (e) {}\n // eslint-disable-next-line no-restricted-properties\n return (Number(s1.replace(\".\", \"\")) * Number(s2.replace(\".\", \"\"))) / Math.pow(10, m);\n },\n // 除法\n divide(arg1: any, arg2: any, digit = 2) {\n let t1 = 0;\n let t2 = 0;\n try {\n t1 = arg1.toString().split(\".\")[1].length;\n // eslint-disable-next-line no-empty\n } catch (e) {}\n try {\n t2 = arg2.toString().split(\".\")[1].length;\n // eslint-disable-next-line no-empty\n } catch (e) {}\n const r1 = Number(arg1.toString().replace(\".\", \"\"));\n const r2 = Number(arg2.toString().replace(\".\", \"\"));\n // 获取小数点后的计算值\n // eslint-disable-next-line no-restricted-properties\n const result = ((r1 / r2) * Math.pow(10, t2 - t1)).toString();\n let result2 = result.split(\".\")[1];\n result2 = result2.substring(0, digit > result2.length ? result2.length : digit);\n\n return Number(`${result.split(\".\")[0]}.${result2}`);\n }\n};\n","/*\n * @Author: your name\n * @Date: 2022-01-19 17:33:06\n * @LastEditTime: 2024-11-04 16:09:19\n * @LastEditors: tengwei\n * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE\n * @FilePath: /yufu_h5_multiply/src/utils/modules/browser.ts\n */\nimport yfBridge from \"@/libs/yufu-bridge\";\nimport { getQueryString } from \"./url\";\n/**\n * check browser type\n */\n// eslint-disable-next-line func-names\nconst BROWSER = (function () {\n const ua = navigator.userAgent.toLowerCase();\n const isAndroid = ua.indexOf(\"android\") !== -1;\n\n const isAndroidOSVersion = ua.match(/android\\s([0-9\\\\.]*)/); // 获取安卓版本号\n const isiOSOSVersion = ua.match(/cpu iphone os (.*?) like mac os/); // 获取ios版本号\n\n return {\n isAndroid,\n isiOS: Boolean(ua.match(/\\(i[^;]+;( u;)? cpu.+mac os x/)),\n isiPhone: ua.indexOf(\"iphone\") > -1 || ua.indexOf(\"mac\") > -1,\n isiPad: ua.indexOf(\"ipad\") > -1,\n isWeChat: ua.indexOf(\"micromessenger\") !== -1,\n isQQ: Boolean(ua.match(/QQ/i)),\n isWeiBo: Boolean(ua.match(/Weibo/i)),\n isFuka: ua.indexOf(\"fukabrowser\") !== -1,\n androidVersion: isAndroid ? ua.substr(ua.indexOf(\"android\") + 8, 1) : false,\n isAndroidOSVer: isAndroidOSVersion ? isAndroidOSVersion[1] : false,\n isiOSOSVer: isiOSOSVersion ? isiOSOSVersion[1] : false,\n isFukaApp: yfBridge.hasNativeMethod(\"getAppXClient\") || false\n };\n}());\n\nexport function isIphoneX(): boolean {\n if (getQueryString(\"isIphoneX\") === \"1\") {\n return true;\n }\n if (window.screen.width === 375 && window.screen.height === 812) {\n return true;\n }\n return false;\n}\n\nexport default BROWSER;\n","export default __webpack_public_path__ + \"yf_h5_static/img/icon_fuka_issues.44d23b42.png\";","/*\n * @Descripttion: tengwei\n * @Author: tengwei\n * @Date: 2023-03-21 18:20:42\n * @LastEditors: tengwei\n * @LastEditTime: 2023-03-21 18:22:52\n */\nimport { post } from \"@/utils\";\n\n/**\n * 获取二维码和余额\n * @param cardNo\n * @returns\n */\n// eslint-disable-next-line no-nested-ternary\nconst url = process.env.VUE_APP_PROD === \"true\"\n ? \"/tuancan-api\"\n : process.env.NODE_ENV === \"production\"\n ? \"/tuancan-api\"\n : \"/canteen-api\"; // 接口统一域名\nexport const fetchGetQrcode = () => post(\n `${url}/system/verification/verificationQRCode`,\n {\n\n },\n {\n token: localStorage.getItem(\"dsqToken\") as string\n }\n);\n\n","import { resolveComponent as _resolveComponent, createVNode as _createVNode, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"qr__container\" }\nconst _hoisted_2 = {\n key: 0,\n class: \"logo__image\"\n}\nconst _hoisted_3 = [\"src\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_qrcode_vue = _resolveComponent(\"qrcode-vue\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(_component_qrcode_vue, {\n value: _ctx.value,\n size: _ctx.size\n }, null, 8, [\"value\", \"size\"]),\n (_ctx.logoSrc)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n _createElementVNode(\"img\", { src: _ctx.logoSrc }, null, 8, _hoisted_3)\n ]))\n : _createCommentVNode(\"\", true)\n ]))\n}","\nimport { defineComponent, reactive, toRefs } from \"vue\";\nimport QrcodeVue from \"qrcode.vue\";\n\nexport default defineComponent({\n props: {\n value: {\n type: String,\n require: true\n },\n size: {\n type: Number,\n default: 100\n },\n logoSrc: String\n },\n components: {\n QrcodeVue\n },\n setup(props) {\n console.log(props, 22);\n const state = reactive({\n value: props.value,\n size: props.size\n });\n return {\n ...toRefs(state)\n };\n }\n});\n","import { render } from \"./MyCode.vue?vue&type=template&id=663e913c&ts=true&lang=pug\"\nimport script from \"./MyCode.vue?vue&type=script&lang=ts\"\nexport * from \"./MyCode.vue?vue&type=script&lang=ts\"\n\nimport \"./MyCode.vue?vue&type=style&index=0&id=663e913c&lang=stylus\"\n\nimport exportComponent from \"/Users/zhangsong/Documents/projects/yufu_h5_multiply/node_modules/.store/vue-loader@16.8.3/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__"],"sourceRoot":""}