15 lines
224 KiB
JavaScript
15 lines
224 KiB
JavaScript
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-goods_details-goods_details","bundle-pages-bargain_process-bargain_process~bundle-pages-invite_fans-invite_fans"],{"0057":function(t,e,i){"use strict";var n=i("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.getCouponList=r,e.getCoupon=o,e.getOrderCoupon=s,e.getMyCoupon=c,e.getActivityGoodsLists=u,e.getSeckillTime=l,e.getSeckillGoods=d,e.getGroupList=f,e.getUserGroup=h,e.getTeamInfo=p,e.teamKaiTuan=v,e.teamCheck=g,e.teamBuy=m,e.getBargainList=b,e.getBargainDetail=w,e.getBargainNumber=x,e.launchBargain=y,e.getBargainActivityList=A,e.getBargainActivityDetail=S,e.getBargainPost=k,e.helpBargain=C,e.closeBargainOrder=_,e.getSignLists=I,e.getSignRule=z,e.userSignIn=T,e.getIntegralGoods=B,e.getIntegralGoodsDetail=P,e.integralSettlement=R,e.integralSubmitOrder=j,e.getIntegralOrder=O,e.delIntegralOrder=L,e.getIntegralOrderDetail=M,e.cancelIntegralOrder=D,e.confirmIntegralOrder=F,e.getIntegralOrderTraces=N;var a=n(i("b175"));i("357b");function r(t){return a.default.get("coupon/getCouponList",{params:t})}function o(t){return a.default.post("coupon/getCoupon",{coupon_id:t})}function s(t){return a.default.post("coupon/getBuyCouponList",t)}function c(t){return a.default.get("coupon/myCouponList",{params:t})}function u(t){return a.default.get("activity_area/activityGoodsList",{params:t})}function l(){return a.default.get("seckill_goods/getSeckillTime")}function d(t){return a.default.get("seckill_goods/getSeckillGoods",{params:t})}function f(t){return a.default.get("team/activity",{params:t})}function h(t){return a.default.get("team/record",{params:t})}function p(t){return a.default.get("team/teamInfo",{params:t})}function v(t){return a.default.post("team/kaituan",t)}function g(t){return a.default.post("team/check",t)}function m(t){return a.default.post("team/buy",t)}function b(t){return a.default.get("bargain/lists",{params:t})}function w(t){return a.default.get("bargain/detail",{params:t})}function x(){return a.default.get("bargain/barginNumber")}function y(t){return a.default.post("bargain/sponsor",t)}function A(t){return a.default.get("bargain/orderList",{params:t})}function S(t){return a.default.get("bargain/bargainDetail",{params:t})}function k(t){return a.default.get("share/shareBargain",{params:t})}function C(t){return a.default.post("bargain/knife",t)}function _(t){return a.default.get("bargain/closeBargain",{params:t})}function I(){return a.default.get("sign/lists")}function z(){return a.default.get("sign/rule")}function T(){return a.default.get("sign/sign")}function B(t){return a.default.get("integral_goods/lists",{params:t})}function P(t){return a.default.get("integral_goods/detail",{params:t})}function R(t){return a.default.get("integral_order/settlement",{params:t})}function j(t){return a.default.post("integral_order/submitOrder",t)}function O(t){return a.default.get("integral_order/lists",{params:t})}function L(t){return a.default.post("integral_order/del",{id:t})}function M(t){return a.default.get("integral_order/detail",{params:{id:t}})}function D(t){return a.default.post("integral_order/cancel",{id:t})}function F(t){return a.default.post("integral_order/confirm",{id:t})}function N(t){return a.default.get("integral_order/orderTraces",{params:{id:t}})}},"0200":function(t,e,i){var n=i("24fb");e=n(!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/* 颜色变<EFBFBD>
|
|||
|
/*! *****************************************************************************
|
|||
|
Copyright (c) Microsoft Corporation.
|
|||
|
|
|||
|
Permission to use, copy, modify, and/or distribute this software for any
|
|||
|
purpose with or without fee is hereby granted.
|
|||
|
|
|||
|
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|||
|
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|||
|
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|||
|
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|||
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|||
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|||
|
PERFORMANCE OF THIS SOFTWARE.
|
|||
|
***************************************************************************** */var e,i=function(){return(i=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++)for(var a in e=arguments[i])Object.prototype.hasOwnProperty.call(e,a)&&(t[a]=e[a]);return t}).apply(this,arguments)};function n(t,e,i,n){return new(i||(i=Promise))((function(a,r){function o(t){try{c(n.next(t))}catch(t){r(t)}}function s(t){try{c(n.throw(t))}catch(t){r(t)}}function c(t){var e;t.done?a(t.value):(e=t.value,e instanceof i?e:new i((function(t){t(e)}))).then(o,s)}c((n=n.apply(t,e||[])).next())}))}function a(t,e){var i,n,a,r,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(r){return function(s){return function(r){if(i)throw new TypeError("Generator is already executing.");for(;o;)try{if(i=1,n&&(a=2&r[0]?n.return:r[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,r[1])).done)return a;switch(n=0,a&&(r=[2&r[0],a.value]),r[0]){case 0:case 1:a=r;break;case 4:return o.label++,{value:r[1],done:!1};case 5:o.label++,n=r[1],r=[0];continue;case 7:r=o.ops.pop(),o.trys.pop();continue;default:if(a=o.trys,!((a=a.length>0&&a[a.length-1])||6!==r[0]&&2!==r[0])){o=0;continue}if(3===r[0]&&(!a||r[1]>a[0]&&r[1]<a[3])){o.label=r[1];break}if(6===r[0]&&o.label<a[1]){o.label=a[1],a=r;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(r);break}a[2]&&o.ops.pop(),o.trys.pop();continue}r=e.call(t,o)}catch(t){r=[6,t],n=0}finally{i=a=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,s])}}}var r={upx2px:function(t){return window.innerWidth/750*t},getSystemInfoSync:function(){return{screenWidth:window.innerWidth}},getImageInfo:function(t){var e=t.src,i=t.success,n=t.fail,a=new Image;a.onload=function(){i({width:this.naturalWidth,height:this.naturalHeight,path:this.src,src:e})},a.onerror=n,a.src=e}},o="object"==typeof swan?"mp-baidu":"object"==typeof tt?"mp-toutao":"object"==typeof plus?"plus":"object"==typeof window?"undefined"==typeof uni||"undefined"!=typeof uni&&!(null===uni||void 0===uni?void 0:uni.addInterceptor)?"web":"h5":"mp-weixin",s="mp-weixin"==o?wx:"mp-toutao"==o?tt:"undefined"!=typeof uni?uni.upx2px?uni:Object.assign(uni,r):"undefined"!=typeof window?r:uni;if(!s.upx2px){var c=(null!==(e=s.getSystemInfoSync().screenWidth)&&void 0!==e?e:375)/750;s.upx2px=function(t){return c*t}}function u(t){return/^-?\d+(\.\d+)?$/.test(t)}function l(t,e,i){if("number"==typeof t)return t;if(u(t))return 1*t;if("string"==typeof t){var n=/^-?([0-9]+)?([.]{1}[0-9]+){0,1}(em|rpx|px|%)$/g.exec(t);if(!t||!n)return 0;var a=n[3];t=parseFloat(t);var r=0;return"rpx"===a?r=s.upx2px(t):"px"===a?r=1*t:"%"===a&&e?r=t*l(e)/100:"em"===a&&e&&(r=t*l(e||14)),i?1*r.toFixed(2):Math.round(r)}return 0}function d(t){var e=this;return new Promise((function(i,r){return n(e,void 0,void 0,(function(){var e,n;return a(this,(function(a){switch(a.label){case 0:if(e=t,"plus"!=o&&!/^mp/.test(o)||!/data:image\/(\w+);base64,(.*)/.test(t))return[3,4];a.label=1;case 1:return a.trys.push([1,3,,4]),[4,(c=t,new Promise((function(t,e){var i=/data:image\/(\w+);base64,(.*)/.exec(c)||[],n=i[1];if(i[2],/^mp/.test(o)){var a=s.getFileSystemManager();n||(console.error("ERROR_BASE64SRC_PARSE"),e(new Error("ERROR_BASE64SRC_PARSE")));var r=(new Date).getTime(),u=s.env.USER_DATA_PATH+"/"+r+"."+n;a.writeFile({filePath:u,data:c.replace(/^data:\S+\/\S+;base64,/,""),encoding:"base64",success:function(){t(u)},fail:function(t){console.error("获取base64图片失败",JSON.stringify(t)),e(t)}})}else if("plus"!=o)e(new Error("not support"));else{var l=c.split(",")[0].match(/data\:\S+\/(\S+);/);l?l=l[1]:e(new Error("base64 error"));var d=Date.now()+"."+l,f="_doc",h="uniapp_temp",p="_doc/uniapp_temp/"+d;if(!function(t,e){for(var i=t.split("."),n=e.split("."),a=!1,r=0;r<n.length;r++){var o=i[r]-n[r];if(0!==o){a=o>0;break}}return a}("Android"===plus.os.name?"1.9.9.80627":"1.9.9.80472",plus.runtime.innerVersion))return void plus.io.resolveLocalFileSystemU
|