zx/public/static/js/pages-users-order_confirm-i...

1 line
108 KiB
JavaScript
Raw Normal View History

2024-07-02 15:32:59 +08:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-users-order_confirm-index"],{"082e":function(t,e,i){"use strict";i.r(e);var a=i("247f"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},"0919":function(t,e,i){var a=i("7417");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("f53a9504",a,!0,{sourceMap:!1,shadowMode:!1})},"0b2c":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{style:t.viewColor},[i("v-uni-view",{staticClass:"coupon-list-window animated",class:1==t.coupon.status?"slideInUp":""},[i("v-uni-view",{staticClass:"title"},[i("v-uni-view",{staticClass:"item"},[t._v(t._s(t.couponTitle)),i("v-uni-text",{staticClass:"iconfont icon-guanbi",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.close.apply(void 0,arguments)}}})],1)],1),t.couponArr.length?[i("v-uni-view",{staticClass:"coupon-list"},t._l(t.couponArr,(function(e,a){return i("v-uni-view",{key:a,staticClass:"item acea-row row-center-wrapper",class:e.disabled?"disabled":"",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.getCouponUser(a,e)}}},[5==e.coupon.send_type?i("v-uni-view",{staticClass:"money acea-row row-column row-center-wrapper vip-coupon"},[i("v-uni-view",[t._v("¥"),i("v-uni-text",{staticClass:"num"},[t._v(t._s(e.coupon_price))])],1),i("v-uni-view",{staticClass:"pic-num"},[t._v("满"+t._s(e.use_min_price)+"元可用")])],1):i("v-uni-view",{staticClass:"money acea-row row-column row-center-wrapper",style:{"background-image":"url("+t.domain+"/static/diy/couponBg"+t.keyColor+".png)"}},[i("v-uni-view",[t._v("¥"),i("v-uni-text",{staticClass:"num"},[t._v(t._s(e.coupon_price))])],1),i("v-uni-view",{staticClass:"pic-num"},[t._v("满"+t._s(e.use_min_price)+"元可用")])],1),i("v-uni-view",{staticClass:"text"},[i("v-uni-view",{staticClass:"condition line1"},[0===e.coupon.type?i("span",{staticClass:"line-title"},[t._v("店铺券")]):1===e.coupon.type?i("span",{staticClass:"line-title"},[t._v("商品券")]):t._e(),i("span",[t._v(t._s(e.coupon_title))])]),i("v-uni-view",{staticClass:"data acea-row row-between-wrapper"},[i("v-uni-view",[t._v(t._s(t._f("timeYMD")(e.start_time))+" ~ "+t._s(t._f("timeYMD")(e.end_time)))]),e.checked?i("v-uni-view",{staticClass:"iconfont icon-xuanzhong1"}):i("v-uni-view",{staticClass:"iconfont icon-weixuanzhong"})],1)],1)],1)})),1),i("v-uni-view",{staticClass:"foot-box"},[i("v-uni-view",{staticClass:"left"},[t._v("已选择"+t._s(t.coupon_number)+"张,可优惠"),i("v-uni-text",[t._v("¥"+t._s(t.coupon_amount))])],1)],1)]:i("v-uni-view",{staticClass:"pictrue"},[i("v-uni-image",{attrs:{src:t.domain+"/static/images/noCoupon.png"}})],1)],2),i("v-uni-view",{staticClass:"mask",attrs:{catchtouchmove:"true",hidden:0==t.coupon.status},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.close.apply(void 0,arguments)}}})],1)},n=[]},"0bf3":function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("aa9c");for(var a=[],n=0;n<=59;n++)n<10&&(n="0"+n),a.push(n);for(var o=[],s=0;s<=23;s++)s<10&&(s="0"+s),o.push(s);var r={props:{isShow:{type:Boolean,default:!1},time:{type:Array,default:function(){return[]}}},watch:{time:function(){this.value=this.time}},created:function(){},data:function(){return{value:this.time,hoursList:o,minutes:a}},methods:{confirm:function(){var t=this.value[0]+":"+this.value[1]+" - "+this.value[3]+":"+this.value[4];if(!(this.value[3]>this.value[0]||this.value[3]==this.value[0]&&this.value[4]>=this.value[1]))return this.$util.Tips({title:"开始时间必须小于结束时间"});this.$emit("confrim",{time:t,val:this.value})},cancel:function(){var t=this.value[0]+":"+this.value[1]+" - "+this.value[3]+":"+this.value[4];this.$emit("cancel",{time:t})},getime:function(t){var e=t.detail.value;this.value[0]=this.hoursList[e[0]],this.value[1]=this.minut