1 line
30 KiB
JavaScript
1 line
30 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-activity-bargain-index"],{"00ee0":function(t,e,n){"use strict";n.r(e);var i=n("8078"),a=n("3188");for(var o in a)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(o);n("38aa");var r=n("f0c5"),s=Object(r["a"])(a["default"],i["b"],i["c"],!1,null,"7602f716",null,!1,i["a"],void 0);e["default"]=s.exports},"06cc":function(t,e,n){var i=n("cfdf");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=n("4f06").default;a("b6a0f132",i,!0,{sourceMap:!1,shadowMode:!1})},"0f74":function(t,e,n){var i=n("9124");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=n("4f06").default;a("5143aafc",i,!0,{sourceMap:!1,shadowMode:!1})},2648:function(t,e,n){t.exports=n.p+"static/img/empty-box.a3b2b2dd.png"},"275c":function(t,e,n){"use strict";n.r(e);var i=n("dff1"),a=n("d9f0");for(var o in a)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(o);n("e65c");var r=n("f0c5"),s=Object(r["a"])(a["default"],i["b"],i["c"],!1,null,"0e755555",null,!1,i["a"],void 0);e["default"]=s.exports},2799:function(t,e,n){var i=n("24fb");e=i(!1),e.push([t.i,".pictrueBox[data-v-47a70398]{width:%?130?%;height:%?120?%}\n\n/*返回主页按钮*/.home[data-v-47a70398]{position:fixed;color:#fff;text-align:center;z-index:9999;right:%?15?%;display:flex}.home .homeCon[data-v-47a70398]{border-radius:%?50?%;opacity:0;height:0;color:$theme-color;width:0}.home .homeCon.on[data-v-47a70398]{opacity:1;-webkit-animation:bounceInRight .5s cubic-bezier(.215,.61,.355,1);animation:bounceInRight .5s cubic-bezier(.215,.61,.355,1);width:%?300?%;height:%?86?%;margin-bottom:%?20?%;display:flex;justify-content:center;align-items:center;background:#f44939!important}.home .homeCon .iconfont[data-v-47a70398]{font-size:%?48?%;color:#fff;display:inline-block;margin:0 auto}.home .pictrue[data-v-47a70398]{width:%?86?%;height:%?86?%;border-radius:50%;margin:0 auto}.home .pictrue .image[data-v-47a70398]{width:100%;height:100%;border-radius:50%;-webkit-transform:rotate(90deg);transform:rotate(90deg);ms-transform:rotate(90deg);moz-transform:rotate(90deg);webkit-transform:rotate(90deg);o-transform:rotate(90deg)}",""]),t.exports=e},"2d9c":function(t,e,n){var i=n("4aff");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=n("4f06").default;a("22b895c4",i,!0,{sourceMap:!1,shadowMode:!1})},"2e44":function(t,e,n){"use strict";n("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={name:"Loading",props:{loaded:{type:Boolean,default:!1},loading:{type:Boolean,default:!1}}};e.default=i},3188:function(t,e,n){"use strict";n.r(e);var i=n("3d99"),a=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);e["default"]=a.a},"369d":function(t,e,n){"use strict";n("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("acd8"),n("ac1f"),n("5319");var i=n("b68d"),a=n("26cb"),o={props:{payMode:{type:Array,default:function(){return[]}},pay_close:{type:Boolean,default:!1},order_id:{type:String,default:""},totalPrice:{type:String,default:"0"}},data:function(){return{}},computed:(0,a.mapGetters)(["systemPlatform"]),methods:{close:function(){this.$emit("onChangeFun",{action:"payClose"})},goPay:function(t,e){var n=this,a="/pages/order_pay_status/index?order_id="+n.order_id;return n.order_id?"yue"==e&&parseFloat(t)<parseFloat(n.totalPrice)?n.$util.Tips({title:"余额不足!"}):(uni.showLoading({title:"支付中"}),void(0,i.wechatOrderPay)({orderNo:n.order_id,payChannel:n.$wechat.isWeixin()?"public":"weixinh5",payType:e}).then((function(t){var e=t.data.jsConfig;switch(n.order_id=t.data.orderNo,t.data.payType){case"weixin":var o={timestamp:e.timeStamp,nonceStr:e.nonceStr,package:e.packages,signType:e.signType,paySign:e.paySign};n.$wechat.pay(o).then((function(t){if("chooseWXPay:cancel"==t.errMsg)return uni.hideLoading(),n.$util.Tips({title:"支付失败"});(0,i.wechatQueryPayResult)(n.order_id).then((function(t){return uni.hideLoading(),n.$util.Tips({title:"支付成功",icon:"success"},(function(){n.$emit("onChangeFun",{action:"pay_complete"})}))})).cache((function(t){return uni.hideLoading(),n.$util.Tips({title:t})}))})).cache((function(t){return uni.hideLoading(),n.$util.Tips({title:t})}));break;case"yue":return uni.hideLoading(),n.$util.Tips({title:"余额支付成功",icon:"success"},(function(){n.$emit("onChangeFun",{action:"pay_complete"})}));case"weixinh5":return uni.hideLoading(),location.replace(e.mwebUrl+"&redirect_url="+window.location.protocol+"//"+window.location.host+a+"&status=1"),n.$util.Tips({title:"支付中",icon:"success"},(function(){n.$emit("onChangeFun",{action:"pay_complete"})}))}})).catch((function(t){return uni.hideLoading(),n.$util.Tips({title:t},(function(){n.$emit("onChangeFun",{action:"pay_fail"})}))}))):n.$util.Tips({title:"请选择要支付的订单"})}}};e.default=o},"38aa":function(t,e,n){"use strict";var i=n("0f74"),a=n.n(i);a.a},"3d99":function(t,e,n){"use strict";n("7a82");var i=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("99af"),n("14d9");var a=i(n("a4cd")),o=i(n("ad28")),r=n("5841"),s=i(n("275c")),c=i(n("b7f1")),u=i(n("4624")),d=n("26cb"),l={name:"BargainRecord",components:{CountDown:a.default,Loading:s.default,emptyPage:o.default,home:c.default,payment:u.default},props:{},computed:(0,d.mapGetters)(["isLogin","userInfo","uid"]),data:function(){return{bgColor:{bgColor:"",Color:"#E93323",width:"40rpx",timeTxtwidth:"28rpx",isDay:!1},bargain:[],status:!1,loadingList:!1,page:1,limit:20,payMode:[{name:"微信支付",icon:"icon-weixinzhifu",value:"weixin",title:"微信快捷支付"},{name:"余额支付",icon:"icon-yuezhifu",value:"yue",title:"可用余额:",number:0}],pay_close:!1,pay_order_id:"",totalPrice:"0"}},onLoad:function(){this.getBargainUserList()},onShow:function(){this.isLogin?(this.payMode[1].number=this.userInfo.nowMoney,this.$set(this,"payMode",this.payMode)):toLogin()},methods:{goPay:function(t,e){this.$set(this,"pay_close",!0),this.$set(this,"pay_order_id",e),this.$set(this,"totalPrice",t)},onChangeFun:function(t){var e=t,n=e.action||null,i=void 0!=e.value?e.value:null;n&&this[n]&&this[n](i)},payClose:function(){this.pay_close=!1},pay_complete:function(){this.status=!1,this.page=1,this.$set(this,"bargain",[]),this.$set(this,"pay_close",!1),this.getBargainUserList()},pay_fail:function(){this.pay_close=!1},goConfirm:function(t){!1===this.isLogin?toLogin():uni.navigateTo({url:"/pages/activity/goods_bargain_details/index?id=".concat(t.id,"&startBargainUid=").concat(this.uid,"&storeBargainId=").concat(t.bargainUserId)})},goDetail:function(t){uni.navigateTo({url:"/pages/activity/goods_bargain_details/index?id=".concat(t,"&startBargainUid=").concat(this.uid)})},goList:function(){uni.navigateTo({url:"/pages/activity/goods_bargain/index"})},getBargainUserList:function(){var t=this;t.loadingList||t.status||(0,r.getBargainUserList)({page:t.page,limit:t.limit}).then((function(e){t.status=e.data.list.length<t.limit,t.bargain.push.apply(t.bargain,e.data.list),t.page++,t.loadingList=!1})).catch((function(e){t.$dialog.error(e)}))},getBargainUserCancel:function(t){var e=this;(0,r.getBargainUserCancel)({bargainId:t}).then((function(t){e.status=!1,e.loadingList=!1,e.page=1,e.bargain=[],e.getBargainUserList(),e.$util.Tips({title:t})})).catch((function(t){e.$util.Tips({title:t})}))}},onReachBottom:function(){this.getBargainUserList()}};e.default=l},4624:function(t,e,n){"use strict";n.r(e);var i=n("fd29"),a=n("92c1");for(var o in a)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(o);n("7138");var r=n("f0c5"),s=Object(r["a"])(a["default"],i["b"],i["c"],!1,null,"609b1e56",null,!1,i["a"],void 0);e["default"]=s.exports},"4aff":function(t,e,n){var i=n("24fb");e=i(!1),e.push([t.i,".time[data-v-18474c41]{display:flex;justify-content:center}.red[data-v-18474c41]{color:var(--view-theme);margin:0 %?4?%}",""]),t.exports=e},"4cf5":function(t,e,n){var i=n("7626");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=n("4f06").default;a("290a2cde",i,!0,{sourceMap:!1,shadowMode:!1})},"4d13":function(t,e,n){var i=n("24fb");e=i(!1),e.push([t.i,".Loads[data-v-0e755555]{height:%?80?%;font-size:%?25?%;color:#000}.Loads .iconfont[data-v-0e755555]{font-size:%?30?%;margin-right:%?10?%;height:%?32?%;line-height:%?32?%}\n/*加载动画*/@-webkit-keyframes load-data-v-0e755555{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes load-data-v-0e755555{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.loadingpic[data-v-0e755555]{-webkit-animation:load-data-v-0e755555 3s linear 1s infinite;animation:load-data-v-0e755555 3s linear 1s infinite}.loading[data-v-0e755555]{-webkit-animation:load-data-v-0e755555 linear 1s infinite;animation:load-data-v-0e755555 linear 1s infinite}",""]),t.exports=e},5065:function(t,e,n){var i=n("4d13");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=n("4f06").default;a("b10a31e8",i,!0,{sourceMap:!1,shadowMode:!1})},5841:function(t,e,n){"use strict";n("7a82");var i=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.bargainHeaderApi=function(){return a.default.get("bargain/header")},e.bargainUserCancel=function(t){return a.default.post("bargain/user/cancel",{bargainId:t})},e.combinationHeaderApi=function(){return a.default.get("combination/header")},e.getBargainDetail=function(t){return a.default.get("bargain/detail/"+t)},e.getBargainIndexApi=function(){return a.default.get("bargain/index",{},{noAuth:!0})},e.getBargainList=function(t){return a.default.get("bargain/list",t,{noAuth:!0})},e.getBargainPoster=function(t){return a.default.post("bargain/poster",t)},e.getBargainUser=function(t){return a.default.get("bargain/user",t)},e.getBargainUserCancel=function(t){return a.default.post("/bargain/user/cancel",t)},e.getBargainUserList=function(t){return a.default.get("bargain/record",t)},e.getCombinationDetail=function(t){return a.default.get("combination/detail/"+t)},e.getCombinationIndexApi=function(){return a.default.get("combination/index",{},{noAuth:!0})},e.getCombinationList=function(t){return a.default.get("combination/list",t,{noAuth:!0})},e.getCombinationMore=function(t){return a.default.get("combination/more",t,{noAuth:!0})},e.getCombinationPink=function(t){return a.default.get("combination/pink/"+t)},e.getCombinationPoster=function(t){return a.default.post("combination/poster",t)},e.getSeckillDetail=function(t){return a.default.get("seckill/detail/"+t)},e.getSeckillHeaderApi=function(){return a.default.get("seckill/header",{},{noAuth:!0})},e.getSeckillIndexApi=function(){return a.default.get("seckill/index",{},{noAuth:!0})},e.getSeckillIndexTime=function(){return a.default.get("seckill/index",{},{noAuth:!0})},e.getSeckillList=function(t,e){return a.default.get("seckill/list/"+t,e,{noAuth:!0})},e.postBargainHelp=function(t){return a.default.post("bargain/help",t)},e.postBargainHelpList=function(t,e){return a.default.get("bargain/help/list?limit="+t.limit+"&page="+t.page,e,{})},e.postBargainHelpPrice=function(t){return a.default.post("bargain/help/price",t)},e.postBargainStart=function(t){return a.default.post("bargain/start",{bargainId:t})},e.postCombinationRemove=function(t){return a.default.post("combination/remove",t)},e.scombinationCode=function(t){return a.default.get("combination/code/"+t)},e.seckillCode=function(t,e){return a.default.get("seckill/code/"+t,e)};var a=i(n("0a86"))},"5b19":function(t,e,n){"use strict";var i=n("2d9c"),a=n.n(i);a.a},"5e98":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"time",style:t.justifyLeft},[t.tipText?n("v-uni-text",{staticClass:"red"},[t._v(t._s(t.tipText))]):t._e(),!0===t.isDay?n("v-uni-text",{staticClass:"styleAll",style:"background-color:"+t.bgColor+";color:"+t.colors+";"},[t._v(t._s(t.day))]):t._e(),t.dayText?n("v-uni-text",{staticClass:"timeTxt red"},[t._v(t._s(t.dayText))]):t._e(),t.isShowHour?[n("v-uni-text",{staticClass:"styleAll",style:"background-color:"+t.bgColor+";color:"+t.colors+";"},[t._v(t._s(t.hour))]),t.hourText?n("v-uni-text",{staticClass:"timeTxt red"},[t._v(t._s(t.hourText))]):t._e()]:t._e(),n("v-uni-text",{staticClass:"styleAll",style:"background-color:"+t.bgColor+";color:"+t.colors+";"},[t._v(t._s(t.minute))]),t.minuteText?n("v-uni-text",{staticClass:"timeTxt red"},[t._v(t._s(t.minuteText))]):t._e(),n("v-uni-text",{staticClass:"styleAll",style:"background-color:"+t.bgColor+";color:"+t.colors+";"},[t._v(t._s(t.second))]),t.secondText?n("v-uni-text",{staticClass:"timeTxt red"},[t._v(t._s(t.secondText))]):t._e()],2)},a=[]},7138:function(t,e,n){"use strict";var i=n("4cf5"),a=n.n(i);a.a},7626:function(t,e,n){var i=n("24fb");e=i(!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/* 文章场景相关 */.payment[data-v-609b1e56]{position:fixed;bottom:0;left:0;width:100%;border-radius:%?16?% %?16?% 0 0;background-color:#fff;padding-bottom:%?60?%;z-index:99;transition:all .3s cubic-bezier(.25,.5,.5,.9);-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}.payment.on[data-v-609b1e56]{-webkit-transform:translateZ(0);transform:translateZ(0)}.payment .title[data-v-609b1e56]{text-align:center;height:%?123?%;font-size:%?32?%;color:#282828;font-weight:700;padding-right:%?30?%;margin-left:%?30?%;position:relative;border-bottom:%?1?% solid #eee}.payment .title .iconfont[data-v-609b1e56]{position:absolute;right:%?30?%;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);font-size:%?43?%;color:#8a8a8a;font-weight:400}.payment .item[data-v-609b1e56]{border-bottom:%?1?% solid #eee;height:%?130?%;margin-left:%?30?%;padding-right:%?30?%}.payment .item .left[data-v-609b1e56]{width:%?610?%}.payment .item .left .text[data-v-609b1e56]{width:%?540?%}.payment .item .left .text .name[data-v-609b1e56]{font-size:%?32?%;color:#282828}.payment .item .left .text .info[data-v-609b1e56]{font-size:%?24?%;color:#999}.payment .item .left .text .info .money[data-v-609b1e56]{color:#f90}.payment .item .left .iconfont[data-v-609b1e56]{font-size:%?45?%;color:#09bb07}.payment .item .left .iconfont.icon-zhifubao[data-v-609b1e56]{color:#00aaea}.payment .item .left .iconfont.icon-yuezhifu[data-v-609b1e56]{color:#f90}.payment .item .left .iconfont.icon-yuezhifu1[data-v-609b1e56]{color:#eb6623}.payment .item .iconfont[data-v-609b1e56]{font-size:%?0.3?%;color:#999}',""]),t.exports=e},"7b73":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticStyle:{"touch-action":"none"}},[n("v-uni-view",{staticClass:"home",staticStyle:{position:"fixed"},style:{top:t.top+"px"},attrs:{id:"right-nav"},on:{touchmove:function(e){e.stopPropagation(),e.preventDefault(),arguments[0]=e=t.$handleEvent(e),t.setTouchMove.apply(void 0,arguments)}}},[t.homeActive?n("v-uni-view",{staticClass:"homeCon bg-color-red",class:!0===t.homeActive?"on":""},[n("v-uni-navigator",{staticClass:"iconfont icon-shouye-xianxing",attrs:{"hover-class":"none",url:"/pages/index/index","open-type":"switchTab"}}),n("v-uni-navigator",{staticClass:"iconfont icon-caigou-xianxing",attrs:{"hover-class":"none",url:"/pages/order_addcart/order_addcart","open-type":"switchTab"}}),n("v-uni-navigator",{staticClass:"iconfont icon-yonghu1",attrs:{"hover-class":"none",url:"/pages/user/index","open-type":"switchTab"}})],1):t._e(),n("v-uni-view",{staticClass:"pictrueBox",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.open.apply(void 0,arguments)}}},[n("v-uni-view",{staticClass:"pictrue"},[n("v-uni-image",{staticClass:"image",attrs:{src:!0===t.homeActive?"/static/images/close.gif":"/static/images/open.gif"}})],1)],1)],1)],1)},a=[]},"7e47":function(t,e,n){"use strict";n("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={props:{title:{type:String,default:"暂无记录"}}};e.default=i},"7f55":function(t,e,n){"use strict";n.r(e);var i=n("c5f8"),a=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);e["default"]=a.a},8078:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",[t.bargain.length>0?[n("div",{ref:"container",staticClass:"bargain-record pad30"},[t._l(t.bargain,(function(e,i){return n("div",{key:i,staticClass:"item borRadius14"},[n("div",{staticClass:"picTxt acea-row row-between-wrapper"},[n("div",{staticClass:"pictrue"},[n("v-uni-image",{attrs:{src:e.image}})],1),n("div",{staticClass:"text acea-row row-column-around"},[n("div",{staticClass:"line1",staticStyle:{width:"100%"}},[t._v(t._s(e.title))]),1===e.status?n("count-down",{attrs:{"justify-left":"justify-content:left",bgColor:t.bgColor,"is-day":!0,"tip-text":"倒计时 ","day-text":"天","hour-text":" 时 ","minute-text":" 分 ","second-text":" 秒 ",datatime:e.stopTime/1e3}}):3===e.status?n("div",{staticClass:"successTxt font-color-red"},[t._v("砍价成功")]):n("div",{staticClass:"endTxt"},[t._v("活动已结束")]),n("div",{staticClass:"money"},[t._v("已砍至"),n("span",{staticClass:"symbol font-color-red"},[t._v("¥")]),n("span",{staticClass:"num font-color-red"},[t._v(t._s(e.surplusPrice))])])],1)]),n("div",{staticClass:"bottom acea-row row-between-wrapper"},[1===e.status?n("div",{staticClass:"purple"},[t._v("活动进行中")]):3===e.status?n("div",{staticClass:"success"},[t._v("砍价成功")]):n("div",{staticClass:"end"},[t._v("活动已结束")]),n("div",{staticClass:"acea-row row-middle row-right"},[3!==e.status||e.isOrder?t._e():n("div",{staticClass:"bnt bg-color-red",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.goConfirm(e)}}},[t._v("去付款")]),3!==e.status||e.isDel||!e.isOrder||e.isPay?t._e():n("div",{staticClass:"bnt bg-color-red",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.goPay(e.surplusPrice,e.orderNo)}}},[t._v("立即付款")]),1===e.status?n("div",{staticClass:"bnt bg-color-red",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.goDetail(e.id)}}},[t._v("继续砍价")]):t._e(),2===e.status?n("div",{staticClass:"bnt bg-color-red",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goList.apply(void 0,arguments)}}},[t._v("重开一个")]):t._e()])])])})),n("Loading",{attrs:{loaded:t.status,loading:t.loadingList}})],2)]:t._e(),0==t.bargain.length?[n("emptyPage",{attrs:{title:"暂无砍价记录~"}})]:t._e(),n("home"),n("payment",{attrs:{payMode:t.payMode,pay_close:t.pay_close,order_id:t.pay_order_id,totalPrice:t.totalPrice},on:{onChangeFun:function(e){arguments[0]=e=t.$handleEvent(e),t.onChangeFun.apply(void 0,arguments)}}})],2)},a=[]},9124:function(t,e,n){var i=n("24fb");e=i(!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/* 文章场景相关 */\n/*砍价记录*/.bargain-record .item .picTxt .text .time[data-v-7602f716]{height:%?36?%;line-height:%?36?%}.bargain-record .item .picTxt .text .time .styleAll[data-v-7602f716]{color:#fc4141;font-size:%?24?%}.bargain-record .item .picTxt .text .time .red[data-v-7602f716]{color:#999;font-size:%?24?%}.bargain-record .item[data-v-7602f716]{background-color:#fff;margin-top:%?15?%;padding:%?30?% %?24?% 0 %?24?%}.bargain-record .item .picTxt[data-v-7602f716]{border-bottom:1px solid #f0f0f0;padding-bottom:%?30?%}.bargain-record .item .picTxt .pictrue[data-v-7602f716]{width:%?150?%;height:%?150?%}.bargain-record .item .picTxt .pictrue uni-image[data-v-7602f716]{width:100%;height:100%;border-radius:%?6?%}.bargain-record .item .picTxt .text[data-v-7602f716]{width:%?470?%;font-size:%?30?%;color:#333;height:%?160?%}.bargain-record .item .picTxt .text .time[data-v-7602f716]{font-size:%?24?%;color:#868686;justify-content:left!important}.bargain-record .item .picTxt .text .successTxt[data-v-7602f716]{font-size:%?24?%}.bargain-record .item .picTxt .text .endTxt[data-v-7602f716]{font-size:%?24?%;color:#999}.bargain-record .item .picTxt .text .money[data-v-7602f716]{font-size:%?24?%;color:#999}.bargain-record .item .picTxt .text .money .num[data-v-7602f716]{font-size:%?32?%;font-weight:700}.bargain-record .item .picTxt .text .money .symbol[data-v-7602f716]{font-weight:700}.bargain-record .item .bottom[data-v-7602f716]{height:%?100?%;font-size:%?27?%}.bargain-record .item .bottom .purple[data-v-7602f716]{color:#f78513}.bargain-record .item .bottom .end[data-v-7602f716]{color:#999}.bargain-record .item .bottom .success[data-v-7602f716]{color:#e93323}.bargain-record .item .bottom .bnt[data-v-7602f716]{font-size:%?27?%;color:#fff;width:%?176?%;height:%?60?%;border-radius:%?32?%;text-align:center;line-height:%?60?%}.bargain-record .item .bottom .bnt.cancel[data-v-7602f716]{color:#aaa;border:1px solid #ddd}.bargain-record .item .bottom .bnt ~ .bnt[data-v-7602f716]{margin-left:%?18?%}',""]),t.exports=e},"92c1":function(t,e,n){"use strict";n.r(e);var i=n("369d"),a=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);e["default"]=a.a},9801:function(t,e,n){"use strict";n("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n("26cb"),a={name:"Home",props:{},data:function(){return{top:"500"}},computed:(0,i.mapGetters)(["homeActive"]),methods:{setTouchMove:function(t){t.touches[0].clientY<545&&t.touches[0].clientY>66&&(this.top=t.touches[0].clientY)},open:function(){this.homeActive?this.$store.commit("CLOSE_HOME"):this.$store.commit("OPEN_HOME")}},created:function(){}};e.default=a},a2b3:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){}));var i=function(){var t=this.$createElement,e=this._self._c||t;return e("v-uni-view",{staticClass:"empty-box"},[e("v-uni-image",{attrs:{src:n("2648")}}),e("v-uni-view",{staticClass:"txt"},[this._v(this._s(this.title))])],1)},a=[]},a3aa:function(t,e,n){"use strict";var i=n("f6b6"),a=n.n(i);a.a},a4cd:function(t,e,n){"use strict";n.r(e);var i=n("5e98"),a=n("7f55");for(var o in a)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(o);n("5b19");var r=n("f0c5"),s=Object(r["a"])(a["default"],i["b"],i["c"],!1,null,"18474c41",null,!1,i["a"],void 0);e["default"]=s.exports},a50f:function(t,e,n){"use strict";var i=n("06cc"),a=n.n(i);a.a},ad28:function(t,e,n){"use strict";n.r(e);var i=n("a2b3"),a=n("d533");for(var o in a)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(o);n("a50f");var r=n("f0c5"),s=Object(r["a"])(a["default"],i["b"],i["c"],!1,null,"63d1a8ca",null,!1,i["a"],void 0);e["default"]=s.exports},b7f1:function(t,e,n){"use strict";n.r(e);var i=n("7b73"),a=n("f72c");for(var o in a)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(o);n("a3aa");var r=n("f0c5"),s=Object(r["a"])(a["default"],i["b"],i["c"],!1,null,"47a70398",null,!1,i["a"],void 0);e["default"]=s.exports},c5f8:function(t,e,n){"use strict";n("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("a9e3");var i={name:"countDown",props:{justifyLeft:{type:String,default:""},tipText:{type:String,default:"倒计时"},dayText:{type:String,default:"天"},hourText:{type:String,default:"时"},minuteText:{type:String,default:"分"},secondText:{type:String,default:"秒"},datatime:{type:Number,default:0},isDay:{type:Boolean,default:!0},isShowHour:{type:Boolean,default:!0},bgColor:{type:String,default:""},colors:{type:String,default:""}},data:function(){return{day:"00",hour:"00",minute:"00",second:"00"}},created:function(){this.show_time()},mounted:function(){},methods:{show_time:function(){var t=this;function e(){var e=t.datatime-Date.parse(new Date)/1e3,n=0,i=0,a=0,o=0;e>0?(n=!0===t.isDay?Math.floor(e/86400):0,i=Math.floor(e/3600)-24*n,a=Math.floor(e/60)-24*n*60-60*i,o=Math.floor(e)-24*n*60*60-60*i*60-60*a,i<=9&&(i="0"+i),a<=9&&(a="0"+a),o<=9&&(o="0"+o),t.day=n,t.hour=i,t.minute=a,t.second=o):(t.day="00",t.hour="00",t.minute="00",t.second="00")}e(),setInterval(e,1e3)}}};e.default=i},cfdf:function(t,e,n){var i=n("24fb");e=i(!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/* 文章场景相关 */.empty-box[data-v-63d1a8ca]{display:flex;flex-direction:column;justify-content:center;align-items:center;margin-top:%?200?%;padding-bottom:%?60?%}.empty-box uni-image[data-v-63d1a8ca]{width:%?414?%;height:%?240?%}.empty-box .txt[data-v-63d1a8ca]{font-size:%?26?%;color:#999}',""]),t.exports=e},d533:function(t,e,n){"use strict";n.r(e);var i=n("7e47"),a=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);e["default"]=a.a},d9f0:function(t,e,n){"use strict";n.r(e);var i=n("2e44"),a=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);e["default"]=a.a},dff1:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){}));var i=function(){var t=this.$createElement,e=this._self._c||t;return e("v-uni-view",[this.loading&&!this.loaded?e("v-uni-view",{staticClass:"Loads acea-row row-center-wrapper",staticStyle:{"margin-top":".2rem"}},[this.loading?e("v-uni-view",[e("v-uni-view",{staticClass:"iconfont icon-jiazai loading acea-row row-center-wrapper"}),this._v("正在加载中")],1):e("v-uni-view",[this._v("上拉加载更多")])],1):this._e()],1)},a=[]},e65c:function(t,e,n){"use strict";var i=n("5065"),a=n.n(i);a.a},f6b6:function(t,e,n){var i=n("2799");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=n("4f06").default;a("2ff3027d",i,!0,{sourceMap:!1,shadowMode:!1})},f72c:function(t,e,n){"use strict";n.r(e);var i=n("9801"),a=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);e["default"]=a.a},fd29:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",[n("v-uni-view",{staticClass:"payment",class:t.pay_close?"on":""},[n("v-uni-view",{staticClass:"title acea-row row-center-wrapper"},[t._v("选择付款方式"),n("v-uni-text",{staticClass:"iconfont icon-guanbi",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.close.apply(void 0,arguments)}}})],1),t._l(t.payMode,(function(e,i){return n("v-uni-view",{key:i,staticClass:"item acea-row row-between-wrapper",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.goPay(e.number||0,e.value)}}},[n("v-uni-view",{staticClass:"left acea-row row-between-wrapper"},[n("v-uni-view",{staticClass:"iconfont",class:e.icon}),n("v-uni-view",{staticClass:"text"},[n("v-uni-view",{staticClass:"name"},[t._v(t._s(e.name))]),e.number?n("v-uni-view",{staticClass:"info"},[t._v(t._s(e.title)),n("span",{staticClass:"money"},[t._v("¥"+t._s(e.number))])]):n("v-uni-view",{staticClass:"info"},[t._v(t._s(e.title))])],1)],1),n("v-uni-view",{staticClass:"iconfont icon-xiangyou"})],1)}))],2),t.pay_close?n("v-uni-view",{staticClass:"mask",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.close.apply(void 0,arguments)}}}):t._e()],1)},a=[]}}]); |