(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-course-reward"],{"2e87":function(n,e,t){var i=t("fbd0");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[n.i,i,""]]),i.locals&&(n.exports=i.locals);var a=t("967d").default;a("d18b0a06",i,!0,{sourceMap:!1,shadowMode:!1})},5731:function(n,e,t){"use strict";t.r(e);var i=t("e9cf"),a=t("67c1");for(var o in a)["default"].indexOf(o)<0&&function(n){t.d(e,n,(function(){return a[n]}))}(o);t("6446");var c=t("828b"),r=Object(c["a"])(a["default"],i["b"],i["c"],!1,null,"698dcb46",null,!1,i["a"],void 0);e["default"]=r.exports},6446:function(n,e,t){"use strict";var i=t("2e87"),a=t.n(i);a.a},"67c1":function(n,e,t){"use strict";t.r(e);var i=t("7925"),a=t.n(i);for(var o in i)["default"].indexOf(o)<0&&function(n){t.d(e,n,(function(){return i[n]}))}(o);e["default"]=a.a},7925:function(n,e,t){"use strict";t("6a54");var i=t("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,t("5c47"),t("2c10");var a=i(t("adcb")),o=t("a7d6"),c={data:function(){return{mchId:"",packageInfo:""}},methods:{handleReceive:function(){this.packageInfo=uni.getStorageSync("receive_package")||"",this.mchId=uni.getStorageSync("mchId")||"",this.initWXConfig(this.packageInfo)},handleTest:function(n,e,t){var i=this;a.default.ready((function(){a.default.checkJsApi({jsApiList:["requestMerchantTransfer"],success:function(a){a.checkResult["requestMerchantTransfer"]?WeixinJSBridge.invoke("requestMerchantTransfer",{mchId:t||i.mchId,appId:e,package:n},(function(n){n.err_msg})):alert("你的微信版本过低，请更新至最新版本。")}})})),a.default.error((function(n){}))},initWXConfig:function(n){var e=this,t="micromessenger"===String(navigator.userAgent.toLowerCase().match(/MicroMessenger/i));if(t){var i=window.location.href.split("#")[0];(0,o.initJssdk)((function(t){e.handleTest(n,t.appId,t.mchId)}),i)}else uni.showToast({title:"请在微信浏览器中打开"})}},onUnload:function(){uni.removeStorageSync("receive_package"),uni.removeStorageSync("mchId")}};e.default=c},e9cf:function(n,e,t){"use strict";t.d(e,"b",(function(){return i})),t.d(e,"c",(function(){return a})),t.d(e,"a",(function(){}));var i=function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("v-uni-view",{staticClass:"answerPopup-box bg"},[t("v-uni-image",{staticClass:"tipimg",attrs:{src:"/static/images/course_answer_img.png",mode:"aspectFill"}}),t("v-uni-view",{staticClass:"answerPopup-title"},[n._v("恭喜你，回答正确")]),t("v-uni-view",{staticClass:"answerPopup-desc"},[n._v("您有一份奖励待领取哦")]),t("v-uni-view",{staticClass:"answerPopup-btn",on:{click:function(e){arguments[0]=e=n.$handleEvent(e),n.handleReceive.apply(void 0,arguments)}}},[n._v("领取")]),t("v-uni-view",{staticClass:"footer-tips"},[n._v("重庆云联融智提供技术支持")])],1)},a=[]},fbd0:function(n,e,t){var i=t("c86c");e=i(!1),e.push([n.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场（https://ext.dcloud.net.cn）上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者，建议你使用scss预处理，并在插件代码中直接使用这些变量（无需 import 这个文件），方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者（插件使用者），你可以通过修改这些变量来定制自己的插件主题，实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理，你也可以直接在你的 scss 代码中使用如下变量，同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.footer-tips[data-v-698dcb46]{width:100%;position:absolute;left:0;bottom:%?14?%;text-align:center;font-family:PingFang SC;font-weight:500;font-size:12px;color:#bbb}.answerPopup-box[data-v-698dcb46]{width:100%;height:100vh;background:linear-gradient(180deg,#fffaf6 50%,#feecd8);background-color:#fff;font-weight:400;box-sizing:border-box;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;font-family:PingFang SC;font-weight:400}.answerPopup-box .tipimg[data-v-698dcb46]{width:%?206?%;height:%?206?%;margin-bottom:%?16?%}.answerPopup-title[data-v-698dcb46]{font-weight:600;font-size:%?36?%;color:#222}.answerPopup-desc[data-v-698dcb46]{margin-top:%?30?%;font-size:%?28?%;color:#757575}.answerPopup-btn[data-v-698dcb46]{width:%?464?%;height:%?84?%;margin-top:10vh;margin-bottom:16vh;background:#ff5c03;border-radius:%?42?%;font-weight:500;font-size:%?32?%;color:#fff;text-align:center;line-height:%?84?%}',""]),n.exports=e}}]);