You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
shipin/public/static/js/pages-points_mall-integral_...

1 lines
12 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-points_mall-integral_order_status"],{6155:function(t,e,n){var a=n("24fb");e=a(!1),e.push([t.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/* crmeb颜色变量 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.coupons .title[data-v-0af0adf1]{margin:%?30?% 0 %?25?% 0}.coupons .title .line[data-v-0af0adf1]{width:%?70?%;height:1px;background:#dcdcdc}.coupons .title .name[data-v-0af0adf1]{font-size:%?24?%;color:#999;margin:0 %?10?%}.coupons .list[data-v-0af0adf1]{padding:0 %?20?%}.coupons .list .item[data-v-0af0adf1]{margin-bottom:%?20?%;box-shadow:0 2px 10px 0 rgba(0,0,0,.06)}.coupons .list .item .price[data-v-0af0adf1]{width:%?236?%;height:%?160?%;font-size:%?26?%;color:#fff;font-weight:800}.coupons .list .item .price uni-text[data-v-0af0adf1]{font-size:%?54?%}.coupons .list .item .text[data-v-0af0adf1]{width:%?385?%}.coupons .list .item .text .name[data-v-0af0adf1]{font-size:#282828;font-size:%?30?%}.coupons .list .item .text .priceMin[data-v-0af0adf1]{font-size:%?24?%;color:#999;margin-top:%?10?%}.coupons .list .item .text .time[data-v-0af0adf1]{font-size:%?24?%;color:#999;margin-top:%?15?%}.coupons .list .open[data-v-0af0adf1]{font-size:%?24?%;color:#999;margin-top:%?30?%}.coupons .list .open .iconfont[data-v-0af0adf1]{font-size:%?25?%;margin:%?5?% 0 0 %?10?%}.payment-status[data-v-0af0adf1]{background-color:#fff;margin:%?195?% %?30?% 0 %?30?%;border-radius:%?10?%;padding:%?1?% 0 %?28?% 0}.payment-status .icons[data-v-0af0adf1]{font-size:%?70?%;width:%?140?%;height:%?140?%;border-radius:50%;color:#fff;text-align:center;line-height:%?140?%;text-shadow:0 4px 0 hsla(0,0%,100%,.5);border:%?6?% solid #f5f5f5;margin:%?-76?% auto 0 auto;background-color:#999}.payment-status .icons.icon-iconfontguanbi[data-v-0af0adf1]{text-shadow:0 4px 0 #6c6d6d}.payment-status .iconfont.fail[data-v-0af0adf1]{text-shadow:0 4px 0 #7a7a7a}.payment-status .status[data-v-0af0adf1]{font-size:%?32?%;font-weight:700;text-align:center;margin:%?25?% 0 %?37?% 0}.payment-status .wrapper[data-v-0af0adf1]{border:%?1?% solid #eee;margin:0 %?30?% %?47?% %?30?%;padding:%?35?% 0;border-left:0;border-right:0}.payment-status .wrapper .item[data-v-0af0adf1]{font-size:%?28?%;color:#282828}.payment-status .wrapper .item ~ .item[data-v-0af0adf1]{margin-top:%?20?%}.payment-status .wrapper .item .itemCom[data-v-0af0adf1]{color:#666}.payment-status .returnBnt[data-v-0af0adf1]{width:%?630?%;height:%?86?%;border-radius:%?50?%;color:#fff;font-size:%?30?%;text-align:center;line-height:%?86?%;margin:0 auto %?20?% auto}',""]),t.exports=e},"63b0":function(t,e,n){"use strict";n.r(e);var a=n("bad5"),i=n.n(a);for(var r in a)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(r);e["default"]=i.a},"6a71":function(t,e,n){"use strict";n("7a82");var a=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.getBargainDetail=function(t,e){return i.default.get("bargain/detail/".concat(t,"?bargainUid=").concat(e))},e.getBargainList=function(t){return i.default.get("bargain/list",t,{noAuth:!0})},e.getBargainPoster=function(t){return i.default.post("bargain/poster",t)},e.getBargainPosterData=function(t){return i.default.get("bargain/poster_info/"+t)},e.getBargainUserCancel=function(t){return i.default.post("bargain/user/cancel",t)},e.getBargainUserList=function(t){return i.default.get("bargain/user/list",t)},e.getCombinationBannerList=function(t){return i.default.get("combination/banner_list",t,{noAuth:!0})},e.getCombinationDetail=function(t){return i.default.get("combination/detail/"+t)},e.getCombinationList=function(t){return i.default.get("combination/list",t,{noAuth:!0})},e.getCombinationPink=function(t){return i.default.get("combination/pink/"+t)},e.getCombinationPoster=function(t){return i.default.post("combination/poster",t)},e.getCombinationPosterData=function(t){return i.default.get("combination/poster_info/"+t)},e.getIntegralOrderList=function(t){return i.default.get("store_integral/order/list",t)},e.getIntegralProductDetail=function(t){return i.default.get("store_integral/detail/"+t,{},{noAuth:!0})},e.getLogisticsDetails=function(t){return i.default.get("store_integral/order/express/".concat(t))},e.getPink=function(t){return i.default.get("pink",t,{noAuth:!0})},e.getPresellList=function(t){return i.default.get("advance/list",t)},e.getSeckillDetail=function(t,e){return i.default.get("seckill/detail/"+t,e)},e.getSeckillIndexTime=function(){return i.default.get("seckill/index",{},{noAuth:!0})},e.getSeckillList=function(t,e){return i.default.get("seckill/list/"+t,e,{noAuth:!0})},e.getStoreIntegralList=function(t){return i.default.get("store_integral/list",t)},e.integralOrderConfirm=function(t){return i.default.post("store_integral/order/confirm",t)},e.integralOrderCreate=function(t){return i.default.post("store_integral/order/create",t)},e.integralOrderDetails=function(t){return i.default.get("store_integral/order/detail/".concat(t))},e.orderDel=function(t){return i.default.post("store_integral/order/del",t)},e.orderTake=function(t){return i.default.post("store_integral/order/take",t)},e.postBargainHelp=function(t){return i.default.post("bargain/help",t)},e.postBargainHelpCount=function(t){return i.default.post("bargain/help/count",t)},e.postBargainHelpList=function(t){return i.default.post("bargain/help/list",t)},e.postBargainHelpPrice=function(t){return i.default.post("bargain/help/price",t)},e.postBargainShare=function(t){return i.default.post("bargain/share",{bargainId:t})},e.postBargainStart=function(t){return i.default.post("bargain/start",{bargainId:t})},e.postBargainStartUser=function(t){return i.default.post("bargain/start/user",t)},e.postCombinationRemove=function(t){return i.default.post("combination/remove",t)},e.scombinationCode=function(t){return i.default.get("combination/code/"+t)},e.seckillCode=function(t,e){return i.default.get("seckill/code/"+t,e)},n("99af");var i=a(n("3160"))},"6d6d":function(t,e,n){"use strict";var a=n("ff82"),i=n.n(a);i.a},"8f46":function(t,e,n){"use strict";n.r(e);var a=n("bd3a"),i=n("63b0");for(var r in i)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(r);n("6d6d");var o=n("f0c5"),s=Object(o["a"])(i["default"],a["b"],a["c"],!1,null,"0af0adf1",null,!1,a["a"],void 0);e["default"]=s.exports},bad5:function(t,e,n){"use strict";(function(t){n("7a82");var a=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n("6a71"),r=(n("f984"),n("666f")),o=n("26cb"),s=a(n("66ca")),u={components:{},mixins:[s.default],data:function(){return{orderId:"",order_pay_info:{paid:1,_status:{}},isAuto:!1,isShowAuth:!1,status:0,msg:"",couponsHidden:!0,couponList:[]}},computed:(0,o.mapGetters)(["isLogin"]),watch:{isLogin:{handler:function(t,e){t&&this.getOrderPayInfo()},deep:!0}},onLoad:function(t){var e=this;if(!t.order_id)return this.$util.Tips({title:this.$t("缺少参数无法查看订单兑换状态")},{tab:3,url:1});this.orderId=t.order_id,this.status=t.status||0,this.msg=t.msg||"",this.isLogin?this.getOrderPayInfo():(0,r.toLogin)(),document.addEventListener("visibilitychange",(function(t){var n=document.visibilityState;"hidden"==n&&e.$t("用户离开了"),"visible"==n&&e.getOrderPayInfo()}))},methods:{openTap:function(){this.$set(this,"couponsHidden",!this.couponsHidden)},onLoadFun:function(){this.getOrderPayInfo()},getOrderPayInfo:function(){var t=this;uni.showLoading({title:t.$t("正在加载中")}),(0,i.integralOrderDetails)(t.orderId).then((function(e){uni.hideLoading(),t.$set(t,"order_pay_info",e.data),uni.setNavigationBarTitle({title:t.$t("兑换成功")}),t.getOrderCoupon()})).catch((function(t){uni.hideLoading()}))},getOrderCoupon:function(){var t=this;orderCoupon(t.orderId).then((function(e){t.couponList=e.data}))},goIndex:function(t){uni.switchTab({url:"/pages/index/index"})},goOrderDetails:function(t){uni.navigateTo({url:"/pages/points_mall/integral_order_details?order_id="+this.orderId})}}};e.default=u}).call(this,n("5a52")["default"])},bd3a:function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{style:t.colorStyle},[n("v-uni-view",{staticClass:"payment-status"},[n("v-uni-view",{staticClass:"iconfont icons icon-duihao2 bg-color"}),"offline"!=t.order_pay_info.pay_type?n("v-uni-view",{staticClass:"status"},[t._v(t._s(t.$t("商品兑换成功")))]):n("v-uni-view",{staticClass:"status"},[t._v(t._s(t.$t("订单创建成功")))]),n("v-uni-view",{staticClass:"wrapper"},[n("v-uni-view",{staticClass:"item acea-row row-between-wrapper"},[n("v-uni-view",[t._v(t._s(t.$t("订单编号")))]),n("v-uni-view",{staticClass:"itemCom"},[t._v(t._s(t.orderId))])],1),n("v-uni-view",{staticClass:"item acea-row row-between-wrapper"},[n("v-uni-view",[t._v(t._s(t.$t("兑换时间")))]),n("v-uni-view",{staticClass:"itemCom"},[t._v(t._s(t.order_pay_info.add_time))])],1),n("v-uni-view",{staticClass:"item acea-row row-between-wrapper"},[n("v-uni-view",[t._v(t._s(t.$t("兑换方式")))]),n("v-uni-view",{staticClass:"itemCom"},[t._v(t._s(t.$t("积分兑换")))])],1),n("v-uni-view",{staticClass:"item acea-row row-between-wrapper"},[n("v-uni-view",[t._v(t._s(t.$t("支付积分")))]),n("v-uni-view",{staticClass:"itemCom"},[t._v(t._s(t.order_pay_info.total_price))])],1),0==t.order_pay_info.paid&&"offline"!=t.order_pay_info.pay_type?n("v-uni-view",{staticClass:"item acea-row row-between-wrapper"},[n("v-uni-view",[t._v(t._s(t.$t("失败原因")))]),n("v-uni-view",{staticClass:"itemCom"},[t._v(t._s(2==t.status?t.$t("取消兑换"):t.msg))])],1):t._e()],1),n("v-uni-view",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goOrderDetails.apply(void 0,arguments)}}},[n("v-uni-button",{staticClass:"returnBnt bg-color",attrs:{formType:"submit","hover-class":"none"}},[t._v(t._s(t.$t("查看详情")))])],1),n("v-uni-button",{staticClass:"returnBnt cart-color",attrs:{formType:"submit","hover-class":"none"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goIndex.apply(void 0,arguments)}}},[t._v(t._s(t.$t("返回首页")))])],1)],1)},i=[]},f984:function(t,e,n){"use strict";n("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.auth=i,e.openBargainSubscribe=function(){var t=i();return r([t.bargain_success])},e.openExtrctSubscribe=function(){var t=i();return r([t.user_extract])},e.openOrderRefundSubscribe=function(){var t=i();return r([t.order_refund])},e.openOrderSubscribe=function(){var t=i();return r([t.order_take,t.integral_accout])},e.openPaySubscribe=function(){var t=i();return r([t.order_pay_success,t.order_deliver_success,t.order_postage_success])},e.openPinkSubscribe=function(){var t=i();return r([t.order_user_groups_success])},e.openRechargeSubscribe=function(){var t=i();return r([t.recharge_success])},e.subscribe=r,n("d3b7");var a=n("2038");function i(){var t,e=uni.getStorageSync(a.SUBSCRIBE_MESSAGE);return t=e?JSON.parse(e):{},t}function r(t){var e=wx;return new Promise((function(n,a){e.requestSubscribeMessage({tmplIds:t,success:function(t){return n(t)},fail:function(t){return n(t)}})}))}},ff82:function(t,e,n){var a=n("6155");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=n("4f06").default;i("f7fd94d6",a,!0,{sourceMap:!1,shadowMode:!1})}}]);