1 line
12 KiB
JavaScript
1 line
12 KiB
JavaScript
|
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-myPoints-myPoints"],{"22d7":function(e,a,t){"use strict";t("7a82"),Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var i=t("ef67"),n={data:function(){return{score:uni.getStorageSync("point"),switchCount:0,exchangeRecord:[],awardPunishRecord:[]}},methods:{midSwitch:function(e){this.switchCount=e},toggleMall:function(){uni.navigateTo({url:"/pages/pointsMall/pointsMall"})},showHelp:function(){this.$refs.popup.open()},closeHelp:function(){this.$refs.popup.close()}},onShow:function(){var e=this;e.exchangeRecord=[],uni.request({url:i.publicPath+"/backstage/appshoping/getchangehistory",method:"POST",header:{"content-type":"application/x-www-form-urlencoded; charset=UTF-8"},data:{userId:uni.getStorageSync("id"),shopId:"0"},success:function(a){console.log(a),0!=a.data.length&&(e.exchangeRecord=a.data)}}),uni.request({url:i.publicPath+"/backstage/appshoping/getchangehistory",method:"POST",header:{"content-type":"application/x-www-form-urlencoded; charset=UTF-8"},data:{userId:uni.getStorageSync("id"),shopId:""},success:function(a){console.log(a),0!=a.data.length&&(e.awardPunishRecord=a.data)}})}};a.default=n},"23a8":function(e,a){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAGcSURBVHgB7VY7TsNAEJ3ZjQipyBFMhwIFN8CcBCMhAR03QNwgVAEaJyeJuUFoAh3mBlAlRHgfuyvbSuzYcVKQAr/Cftab9byd/RL9d3DVQPhOezZruYYrhVHr+i1cR9/YwKR34LCUPgHuQkNwXyG6s7xEX2WEVyYXYqipUxASxu9CHUqdlpkQVAIh5W3yc2YaCWJP9/Qmk7hUZ8l+WY7CCsS9f48/w93L8f68Pn06HM6VvVRvSjh88fqxLE9JBRpOSoFuVkWEQVV99sPHVIBCA0JwO+UsPqkEy3Rm7FEFFBrY2ZFBwsF2XNcDc9pGQb0UhpnHpHfk6jAnJwpKJyGZiQXRBdSX+RCSTwB4Ns4uOTyn7SSfJeNvJqeK6D6fWoV6dQTWwPdDxweTR38IBvWbV+NzQVtGwzwUxEAyAssJ/UotgUBPPhurTPUyO2ER7F6hESGyyzK3D0wfO6AKSEpo+DpDqPcLXjS0ZdQGagO1gdpAbaBBGwKCnUmv4yVcH0a0CXIG9GnV1Sfi6huQPv30hcWNOVWB+TfVqJHBL/opubiuiU7iAAAAAElFTkSuQmCC"},5414:function(e,a,t){"use strict";t.r(a);var i=t("6c2c"),n=t("ccad");for(var o in n)["default"].indexOf(o)<0&&function(e){t.d(a,e,(function(){return n[e]}))}(o);t("ec8c");var r=t("f0c5"),c=Object(r["a"])(n["default"],i["b"],i["c"],!1,null,"82daac4e",null,!1,i["a"],void 0);a["default"]=c.exports},"6c2c":function(e,a,t){"use strict";t.d(a,"b",(function(){return n})),t.d(a,"c",(function(){return o})),t.d(a,"a",(function(){return i}));var i={uniPopup:t("29df").default},n=function(){var e=this,a=e.$createElement,i=e._self._c||a;return i("v-uni-view",{staticClass:"hole-page"},[i("v-uni-view",{staticClass:"nav-bar"}),i("v-uni-view",{staticClass:"upper-card"},[i("v-uni-view",{staticClass:"card-tit"},[i("span",[e._v("当前积分")]),i("v-uni-view",[i("v-uni-view",{on:{click:function(a){arguments[0]=a=e.$handleEvent(a),e.showHelp.apply(void 0,arguments)}}},[e._v("积分说明")]),i("v-uni-image",{attrs:{src:t("8ef2"),mode:""}})],1)],1),i("v-uni-view",{staticClass:"score"},[e._v(e._s(e.score))]),i("v-uni-view",{staticClass:"sub-tit"},[e._v("今日积分")]),i("v-uni-view",{staticClass:"sub-cont"},[i("h4",[i("span",[e._v("学习项目")]),i("span",[e._v("0分")])]),i("h4",[i("span",[e._v("考试")]),i("span",[e._v("0分")])]),i("h4",[i("span",[e._v("自测练习")]),i("span",[e._v("0分")])])])],1),i("v-uni-view",{staticClass:"to-mall"},[i("v-uni-view",{staticClass:"mall-lef"},[i("v-uni-image",{attrs:{src:t("23a8"),mode:""}}),i("span",{staticStyle:{"padding-left":"10rpx"}},[e._v("前往积分商城兑换商品")])],1),i("v-uni-view",{staticClass:"mall-rig",on:{click:function(a){arguments[0]=a=e.$handleEvent(a),e.toggleMall.apply(void 0,arguments)}}},[e._v("立即兑换")])],1),i("v-uni-view",{staticClass:"lower-switch"},[i("v-uni-view",{staticClass:"recieve",class:[{active:0==e.switchCount}],on:{click:function(a){arguments[0]=a=e.$handleEvent(a),e.midSwitch(0)}}},[e._v("奖惩记录")]),i("v-uni-view",{staticClass:"exchange",class:[{active:1==e.switchCount}],on:{click:function(a){arguments[0]=a=e.$handleEvent(a),e.midSwitch(1)}}},[e._v("兑换记录")])],1),i("v-uni-view",{directives:[{name:"show",rawName:"v-show",value
|