(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["other-page-ShowcaseGoodsList-ShowcaseGoodsList","components-newSpecifications-newSpecifications","other-page-CouponList-CouponList","other-page-ProductsListOnce-ProductsListOnce","other-page-components-ProductSpecNumberBox"],{"009f":function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){}));var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"goods-list"},[n("v-uni-view",{staticClass:"list-left",style:[t.categoryListWrapperStyle]},[n("v-uni-scroll-view",{staticClass:"scroll-view",attrs:{"scroll-y":!0}},[n("category-list",{attrs:{data:t.categoryList,"sticky-height":t.stickyDistance,height:t.height,avctColor:t.avctColor,categoryGoodsNum:t.categoryGoodsNum},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.handleCategoryChangeEvent.apply(void 0,arguments)}},model:{value:t.currentCategoryIndex,callback:function(e){t.currentCategoryIndex=e},expression:"currentCategoryIndex"}})],1)],1),n("v-uni-view",{staticClass:"list-right"},[t.showConpon&&t.couponNum>0?n("coupon-list",{attrs:{"coupon-num":t.couponNum,"coupon-money":t.couponMoney},on:{subCoupon:function(e){arguments[0]=e=t.$handleEvent(e),t.changCoupon.apply(void 0,arguments)}}}):t._e(),n("products-list-once",{attrs:{currentCategoryIndex:t.currentCategoryIndex,data:t.goodsList,goods:t.goods,"sticky-height":t.stickyDistance,sid:t.sid,"spellrice-id":t.spellriceId,"table-id":t.tableId,"is-rest":t.isRest,paddingtop:t.paddingtop,delivery_type:t.delivery_type,avctColor:t.avctColor,showloadStatu:t.showload,showloadStatu2:t.showloadNext,showloadStatu3:t.showloadNext1,is_renovate:t.is_renovate,showloadNext2:t.showloadNext2,is_top:t.is_top,brand:t.brand,navbarHeight:t.navbarHeight,navType:t.navType,refreshCategoryTitleRectInfo:t.refreshCategoryTitleRectInfo},on:{onR:function(e){arguments[0]=e=t.$handleEvent(e),t.onR.apply(void 0,arguments)},"init-finish":function(e){arguments[0]=e=t.$handleEvent(e),t.handleProductListInitFinishEvent.apply(void 0,arguments)},"good-num-change":function(e){arguments[0]=e=t.$handleEvent(e),t.handleProductListGoodNumChangeEvent.apply(void 0,arguments)},"category-next":function(e){arguments[0]=e=t.$handleEvent(e),t.handleCategoryNextEvent.apply(void 0,arguments)},"category-top":function(e){arguments[0]=e=t.$handleEvent(e),t.handleCategoryTopEvent.apply(void 0,arguments)},"chang-tabs":function(e){arguments[0]=e=t.$handleEvent(e),t.changTabs.apply(void 0,arguments)}}})],1)],1)},r=[]},"027c":function(t,e,n){"use strict";var o=n("d0c5"),r=n.n(o);r.a},"06e0":function(t,e,n){"use strict";n("6a54");var o=n("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("64aa"),n("fd3c"),n("d4b5"),n("c223"),n("795c"),n("c9b5"),n("bf0f"),n("ab80"),n("aa9c"),n("3efd"),n("8f71"),n("e838"),n("5c47"),n("a1c1"),n("4626"),n("5ac7"),n("01a2"),n("e39c"),n("f3f7"),n("18f7"),n("de6c");var r=o(n("a66a")),i=o(n("e4cc")),a=o(n("35a4")),s=n("eda6"),c=(n("47da"),{props:{data:{type:Array,default:function(){return[]}},showloadNext:{type:Boolean,default:!1},showloadNext1:{type:Boolean,default:!1},storeData:{type:[Object,Boolean,Array],default:!1},pageShowType:{type:[Number,String],default:1},avctColor:{type:String,default:""},stickyDistance:{type:Number,default:0},height:{type:Number,default:0},navbarHeight:{type:Number,default:0},sid:{type:[String,Number],default:""},searchComdId:{type:[String,Number],default:""},spellriceId:{type:[String,Number],default:""},tableId:{type:[String,Number],default:""},isRest:{type:Boolean,default:!1},categoryIndex:{type:[String,Number],default:0},delivery_type:{type:Number},isReachBottom:{type:Boolean,default:!1},is_renovate:{type:Boolean,default:!1},is_top:{type:Boolean,default:!1},isNextCategory:{type:Boolean,default:!1},paddingtop:{type:Boolean,default:!1},navType:{type:String,default:""},storeShow:{type:Object,default:function(){return{}}},brand:{type:String,default:""},default_display_selection:{type:Number},categoryGoodsNum:{type:Array,default:function(){return[]}},refreshCategoryTitleRectInfo:{type:Boolean,default:!1},goods:{type:Array,default:function(){return[]}}},components:{CategoryList:r.default,ProductsListOnce:i.default,CouponList:a.default},data:function(){return{isClick:!1,categoryList:[],goodsList:[],currentCategoryIndex:0,oldCategoryIndex:0,scrollTopInfo:[],showConpon:!1,nextCategory:!1,count:0,showload:!1,showloadNext2:!1}},computed:{categoryListWrapperStyle:function(){var t={};return t.top="".concat(this.stickyDistance,"px"),t.height="".concat(this.height,"px"),console.log("style.height",t.height),t},couponNum:function(){var t;return null===(t=this.storeData.coupons)||void 0===t?void 0:t.length},couponMoney:function(){var t;return null===(t=this.storeData)||void 0===t?void 0:t.price},showCon:function(){this.storeData&&(this.showConpon=!0)}},watch:{data:{handler:function(t,e){(t&&t.length>0||e&&e.length>0)&&this._splitData(t)},immediate:!0,deep:!0},categoryIndex:{handler:function(t,e){uni.pageScrollTo({scrollTop:0,duration:0}),this.currentCategoryIndex=t,this.oldCategoryIndex=e}},stickyDistance:{handler:function(t,e){console.log(t,e)},immediate:!0}},methods:{onR:function(){this.$emit("onReachBottom")},handleCategoryNextEvent:function(t){var e=this;if(this.isReachBottom)if(this.isNextCategory&&(this.nextCategory=!0),this.currentCategoryIndex>=this.categoryList.length-1)console.log("已经是最后一个分类,不再切换");else if(this.nextCategory=!this.nextCategory,!(t>15&&this.nextCategory)){this.showload=!0;var n=setTimeout((function(){e.currentCategoryIndex+=1,e.$emit("category-change",e.categoryList[e.currentCategoryIndex].id,e.currentCategoryIndex),e.nextCategory=!1,e.showload=!1,clearTimeout(n)}),500)}},handleCategoryTopEvent:function(t){var e=this;this.is_top&&this.currentCategoryIndex>0&&(this.showloadNext2=!0,this.currentCategoryIndex-=1,this.$emit("category-change",this.categoryList[this.currentCategoryIndex].id,this.currentCategoryIndex)),setTimeout((function(){e.showloadNext2=!1}),500)},handRequireCategoryEvent:function(t){t>=0&&(this.handleProductListUpdateCategoryIndexEvent(t),this.handleCategoryChangeEvent(t))},handleProductListUpdateCategoryIndexEvent:function(t){this.currentCategoryIndex=t},changTabs:function(t,e){this.$emit("changTabsId",t,e)},handleProductListInitFinishEvent:function(t){var e=this;this.scrollTopInfo=t.map((function(t){return t-e.stickyDistance})),this.$nextTick((function(){e.$emit("render-finish")}))},handleProductListGoodNumChangeEvent:function(t){this.$emit("good-num-change",t)},handleCategoryChangeEvent:function(t,e){var n=this;this.isClick=!0;var o=1===this.pageShowType?t:0;uni.pageScrollTo({scrollTop:this.scrollTopInfo[o],duration:0}),2===this.pageShowType&&(this.currentCategoryIndex=t,this.$emit("category-change",this.categoryList[this.currentCategoryIndex].id,t)),3===this.pageShowType&&(console.log("切换"),this.$emit("category-change",this.categoryList[this.currentCategoryIndex].id,t,this.pageShowType)),setTimeout((function(){n.isClick=!1}),150)},_splitData:function(t){var e=JSON.parse(JSON.stringify(t)),n=new Date,o=0===n.getDay()?7:n.getDay(),r=+"".concat(n.getHours().toString().padStart(2,"0"),".").concat(n.getMinutes().toString().padStart(2,"0"));if(this.searchComdId&&1==this.pageShowType)t:for(var i=0;i=n&&r<=i&&(e=!0)}else e=!0;return e?{id:t.id,title:t.title,thumb:t.thumb,is_mandatory:t.is_mandatory,description:t.description,is_showtime:t.is_showtime,week:t.week,start_time:t.start_time,end_time:t.end_time}:null})).filter((function(t){return null!==t}));var c=new Set(this.categoryList.map((function(t){return t.id})));this.goodsList=e.filter((function(t){return c.has(t.id)})),console.log("this.goodsList",this.goodsList),console.log("对对对对对对对对",this.categoryList),console.log("好好好好好好",this.categoryGoodsNum)},changCoupon:function(){var t=this;(0,s.postStoreCouponApi)({sid:this.storeData.sid}).then((function(e){uni.showToast({title:"领取成功",icon:"none"}),t.showConpon=!1}))},handleSearchPromotion:function(t){this.$emit("searchPromotion",t)}}});e.default=c},"13d2":function(t,e,n){var o=n("c86c");e=o(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.tn-badge[data-v-5ef10296]{width:auto;height:auto;box-sizing:border-box;display:flex;align-items:center;justify-content:center;z-index:10;font-size:%?20?%;background-color:#fff;border-radius:%?100?%;padding:%?4?% %?8?%;line-height:normal}.tn-badge--dot[data-v-5ef10296]{width:%?8?%;height:%?8?%;border-radius:50%;padding:0}.tn-badge--absolute[data-v-5ef10296]{position:absolute;top:0;right:0}.tn-badge--center-position[data-v-5ef10296]{-webkit-transform:translate(50%,-50%);transform:translate(50%,-50%)}',""]),t.exports=e},"1ee6":function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){}));var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"tn-badge-class tn-badge",class:[t.backgroundColorClass,t.fontColorClass,t.badgeClass],style:[t.badgeStyle],on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.handleClick.apply(void 0,arguments)}}},[t.dot?t._e():t._t("default")],2)},r=[]},"204c":function(t,e,n){"use strict";n("6a54");var o=n("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("64aa"),n("5c47"),n("473f"),n("bf0f"),n("aa77");var r=o(n("7dcc")),i=n("06f9"),a={props:{value:{type:Number,default:0},data:{type:Array,default:[]},avctColor:{type:String,default:""},stickyHeight:{type:Number,default:0},height:{type:Number,default:0},categoryGoodsNum:{type:Array,default:function(){return[]}}},mixins:[r.default],data:function(){return{currentSelectIndex:0,id:"",bottomEmptyAreaRectInfo:{height:0},initRectCount:0}},computed:{itemStyle:function(){var t=this;return function(e){var n={};if(e!=t.currentSelectIndex){var o=t.data.length;e=0&&e===t.currentSelectIndex-1&&(n.borderBottomRightRadius="15rpx")}return n}}},watch:{value:{handler:function(t){this.currentSelectIndex=t},immediate:!0},data:{handler:function(t){var e=this;t&&t.length>0&&this.stickyHeight&&setTimeout((function(){e._initBottomEmptyAreaRectInfo()}),150)},immediate:!0}},created:function(){this.id=this.$t.uuid()},methods:{categoryClickEvent:function(t){console.log("🚀 ~ categoryClickEvent ~ index:",t),t!==this.currentSelectIndex&&(this.$emit("input",t),this.$emit("change",t,this.currentSelectIndex),console.log("钱钱钱钱钱钱钱",this.categoryGoodsNum))},_initBottomEmptyAreaRectInfo:function(){var t=this;if(this.height){var e=(0,i.createQuery)(this);e.selectAll("#item-".concat(this.id)).boundingClientRect((function(e){if(!e||0===e.length)return t.initRectCount>10?console.error("[showcaseGoodsList-categoryList]获取标题容器信息失败"):void setTimeout((function(){t._initBottomEmptyAreaRectInfo(),t.initRectCount++}),150);t.initRectCount=0;var n=e.reduce((function(t,e){return t+e.height}),0),o=t.height-n;t.bottomEmptyAreaRectInfo.height=o<0?100:o})).exec()}else setTimeout((function(){t._initBottomEmptyAreaRectInfo()}))},getCategoryGoodsNum:function(t){var e=this.categoryGoodsNum.find((function(e){return e.cid===t}));return e?e.num:null}}};e.default=a},2634:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){ /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ e.default=function(){return t};var t={},n=Object.prototype,r=n.hasOwnProperty,i=Object.defineProperty||function(t,e,n){t[e]=n.value},a="function"==typeof Symbol?Symbol:{},s=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function d(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{d({},"")}catch(A){d=function(t,e,n){return t[e]=n}}function l(t,e,n,o){var r=e&&e.prototype instanceof p?e:p,a=Object.create(r.prototype),s=new E(o||[]);return i(a,"_invoke",{value:_(t,n,s)}),a}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(A){return{type:"throw",arg:A}}}t.wrap=l;var h={};function p(){}function g(){}function v(){}var y={};d(y,s,(function(){return this}));var m=Object.getPrototypeOf,b=m&&m(m(L([])));b&&b!==n&&r.call(b,s)&&(y=b);var x=v.prototype=p.prototype=Object.create(y);function C(t){["next","throw","return"].forEach((function(e){d(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){var n;i(this,"_invoke",{value:function(i,a){function s(){return new e((function(n,s){(function n(i,a,s,c){var u=f(t[i],t,a);if("throw"!==u.type){var d=u.arg,l=d.value;return l&&"object"==(0,o.default)(l)&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,s,c)}),(function(t){n("throw",t,s,c)})):e.resolve(l).then((function(t){d.value=t,s(d)}),(function(t){return n("throw",t,s,c)}))}c(u.arg)})(i,a,n,s)}))}return n=n?n.then(s,s):s()}})}function _(t,e,n){var o="suspendedStart";return function(r,i){if("executing"===o)throw new Error("Generator is already running");if("completed"===o){if("throw"===r)throw i;return N()}for(n.method=r,n.arg=i;;){var a=n.delegate;if(a){var s=S(a,n);if(s){if(s===h)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===o)throw o="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o="executing";var c=f(t,e,n);if("normal"===c.type){if(o=n.done?"completed":"suspendedYield",c.arg===h)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o="completed",n.method="throw",n.arg=c.arg)}}}function S(t,e){var n=e.method,o=t.iterator[n];if(void 0===o)return e.delegate=null,"throw"===n&&t.iterator["return"]&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),h;var r=f(o,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,h;var i=r.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,h):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,h)}function I(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function k(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(I,this),this.reset(!0)}function L(t){if(t){var e=t[s];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var s=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(s&&c){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),k(n),h}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var o=n.completion;if("throw"===o.type){var r=o.arg;k(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:L(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),h}},t},n("6a54"),n("01a2"),n("e39c"),n("bf0f"),n("844d"),n("18f7"),n("de6c"),n("3872e"),n("4e9b"),n("114e"),n("c240"),n("926e"),n("7a76"),n("c9b5"),n("aa9c"),n("2797"),n("8a8d"),n("dc69"),n("f7a5");var o=function(t){return t&&t.__esModule?t:{default:t}}(n("fcf3"))},"27e2c":function(t,e,n){var o=n("af6d");o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);var r=n("967d").default;r("39c713e8",o,!0,{sourceMap:!1,shadowMode:!1})},"2fdc":function(t,e,n){"use strict";function o(t,e,n,o,r,i,a){try{var s=t[i](a),c=s.value}catch(u){return void n(u)}s.done?e(c):Promise.resolve(c).then(o,r)}n("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var a=t.apply(e,n);function s(t){o(a,r,i,s,c,"next",t)}function c(t){o(a,r,i,s,c,"throw",t)}s(void 0)}))}},n("bf0f")},"328d":function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){}));var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"tn-margin-sm tn-flex-row coupon-discount",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.subCoupon.apply(void 0,arguments)}}},[n("v-uni-view",{staticClass:"tn-flex-1"},[n("v-uni-view",{staticClass:"tn-color-red tn-padding-left"},[n("v-uni-text",{staticClass:"tn-text-lg"},[t._v("RM")]),n("v-uni-text",{staticClass:"tn-text-bold tn-margin-left-xs",staticStyle:{"font-size":"30px"}},[t._v(t._s(t.couponMoney))])],1)],1),n("v-uni-view",{staticClass:"tn-flex-1 tn-flex-column tn-color-white"},[n("v-uni-view",{},[t._v("商家代金券")]),n("v-uni-view",{staticClass:"tn-text-sm"},[t._v("内含"+t._s(t.couponNum)+"张券")])],1),n("v-uni-view",{staticClass:"tn-flex-1"})],1)},r=[]},"35a4":function(t,e,n){"use strict";n.r(e);var o=n("328d"),r=n("61e8");for(var i in r)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(i);n("6ebd");var a=n("828b"),s=Object(a["a"])(r["default"],o["b"],o["c"],!1,null,"fb66f786",null,!1,o["a"],void 0);e["default"]=s.exports},"4e70":function(t,e,n){var o=n("c86c");e=o(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.coupon-discount[data-v-fb66f786]{background:url(http://qny.wdsp666.com/images/1/2022/04/FjBXUdq43dDRQd43Xi3q5bU0uXuI3R.png);background-repeat:no-repeat;background-size:100% %?160?%;border-radius:%?15?%;height:%?160?%;align-items:center}',""]),t.exports=e},5036:function(t,e,n){"use strict";var o=n("84ad"),r=n.n(o);r.a},5775:function(t,e,n){var o=n("c86c");e=o(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.goods-list[data-v-f25f6344]{position:relative;width:100%;display:flex;background-color:#fff}.goods-list .list-left[data-v-f25f6344]{position:-webkit-sticky;position:sticky;width:%?160?%;flex-shrink:0;overflow-x:hidden}.goods-list .list-right[data-v-f25f6344]{flex-grow:1}',""]),t.exports=e},"5edb":function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return o}));var o={tnBadge:n("8d2a").default},r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"categorys theme-goods-categorys"},[t._l(t.data,(function(e,o){return n("v-uni-view",{key:o,staticClass:"item tn-flex-center tn-bg-gray--light",class:o===t.currentSelectIndex?"select theme-categorys-select":"",staticStyle:{"flex-wrap":"wrap"},style:[t.itemStyle(o)],attrs:{id:"item-"+t.id},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.categoryClickEvent(o)}}},[e.description?n("v-uni-view",{staticClass:"itemDescribe theme-itemDescribe"},[t._v(t._s(e.description))]):t._e(),t.getCategoryGoodsNum(e.id)?n("tn-badge",{attrs:{backgroundColor:"#ff0004",fontColor:"#ffffff",absolute:!0,top:"20",right:"20",radius:32}},[t._v(t._s(t.getCategoryGoodsNum(e.id)))]):t._e(),e.thumb?n("v-uni-view",{staticClass:"itemIconBox"},[n("v-uni-image",{staticClass:"itemIcon",attrs:{src:e.thumb}})],1):t._e(),n("v-uni-view",{staticClass:"itemTitle"},[t._v(t._s(e.title))]),1==e.is_mandatory?n("v-uni-view",{staticStyle:{color:"#ff9900"}},[t._v("(必选)")]):t._e(),o===t.currentSelectIndex?n("v-uni-view",{staticClass:"select-line theme-select-line",style:[{backgroundColor:t.avctColor?t.avctColor:t.themeBgColor}]}):t._e()],1)})),n("v-uni-view",{staticClass:"tn-bg-gray--light",style:[{borderTopRightRadius:t.currentSelectIndex===t.data.length-1?"15rpx":"0rpx",height:t.bottomEmptyAreaRectInfo.height+"px"}]})],2)},i=[]},"61e8":function(t,e,n){"use strict";n.r(e);var o=n("ba52"),r=n.n(o);for(var i in o)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(i);e["default"]=r.a},"6ebd":function(t,e,n){"use strict";var o=n("bbaa"),r=n.n(o);r.a},7211:function(t,e,n){"use strict";n.r(e);var o=n("06e0"),r=n.n(o);for(var i in o)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(i);e["default"]=r.a},"73e1":function(t,e,n){"use strict";var o=n("29d8");t.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(o)},7610:function(t,e,n){"use strict";n.r(e);var o=n("009f"),r=n("7211");for(var i in r)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(i);n("5036");var a=n("828b"),s=Object(a["a"])(r["default"],o["b"],o["c"],!1,null,"f25f6344",null,!1,o["a"],void 0);e["default"]=s.exports},"795c":function(t,e,n){"use strict";var o=n("8bdb"),r=n("db04").start,i=n("73e1");o({target:"String",proto:!0,forced:i},{padStart:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}})},"7caa":function(t,e,n){n("64aa"),t.exports={data:function(){},props:{backgroundColor:{type:String,default:""},fontColor:{type:String,default:""},fontSize:{type:Number,default:0},fontUnit:{type:String,default:"rpx"}},computed:{backgroundColorStyle:function(){return this.$t.color.getBackgroundColorStyle(this.backgroundColor)},backgroundColorClass:function(){return this.$t.color.getBackgroundColorInternalClass(this.backgroundColor)},fontColorStyle:function(){return this.$t.color.getFontColorStyle(this.fontColor)},fontColorClass:function(){return this.$t.color.getFontColorInternalClass(this.fontColor)},fontSizeStyle:function(){return this.$t.string.getLengthUnitValue(this.fontSize,this.fontUnit)}},methods:{}}},"84ad":function(t,e,n){var o=n("5775");o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);var r=n("967d").default;r("52e2cd92",o,!0,{sourceMap:!1,shadowMode:!1})},"8d2a":function(t,e,n){"use strict";n.r(e);var o=n("1ee6"),r=n("9f89");for(var i in r)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(i);n("027c");var a=n("828b"),s=Object(a["a"])(r["default"],o["b"],o["c"],!1,null,"5ef10296",null,!1,o["a"],void 0);e["default"]=s.exports},"9f89":function(t,e,n){"use strict";n.r(e);var o=n("faf2"),r=n.n(o);for(var i in o)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(i);e["default"]=r.a},a66a:function(t,e,n){"use strict";n.r(e);var o=n("5edb"),r=n("be19");for(var i in r)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(i);n("b917");var a=n("828b"),s=Object(a["a"])(r["default"],o["b"],o["c"],!1,null,"44364970",null,!1,o["a"],void 0);e["default"]=s.exports},af6d:function(t,e,n){var o=n("c86c");e=o(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.itemDescribe[data-v-44364970]{width:90%;height:%?40?%;background-color:#ffca28;color:#fff;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;border-top-left-radius:%?11?%;border-top-right-radius:%?11?%;-o-text-overflow:ellipsis;line-height:%?40?%;padding-left:%?8?%;padding-right:%?8?%}.itemIconBox[data-v-44364970]{width:90%;height:auto;padding:%?10?%}.itemIconBox .itemIcon[data-v-44364970]{width:%?50?%;height:%?50?%}.itemTitle[data-v-44364970]{width:90%;height:auto}.categorys[data-v-44364970]{width:100%;background-color:#fff}.categorys .item[data-v-44364970]{position:relative;padding:%?20?% %?15?%;text-align:center}.categorys .item.select[data-v-44364970]{background-color:#fff!important;color:#000!important}.categorys .item .select-line[data-v-44364970]{position:absolute;top:50%;right:%?-8?%;height:50%;width:%?10?%;border-radius:%?30?%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}',""]),t.exports=e},b917:function(t,e,n){"use strict";var o=n("27e2c"),r=n.n(o);r.a},ba52:function(t,e,n){"use strict";n("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("64aa");var o={props:{couponNum:{type:Number,default:0},couponMoney:{type:Number,default:0}},methods:{subCoupon:function(){this.$emit("subCoupon")}}};e.default=o},bbaa:function(t,e,n){var o=n("4e70");o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);var r=n("967d").default;r("22cda32c",o,!0,{sourceMap:!1,shadowMode:!1})},be19:function(t,e,n){"use strict";n.r(e);var o=n("204c"),r=n.n(o);for(var i in o)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(i);e["default"]=r.a},d0c5:function(t,e,n){var o=n("13d2");o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);var r=n("967d").default;r("565e6516",o,!0,{sourceMap:!1,shadowMode:!1})},db04:function(t,e,n){"use strict";var o=n("bb80"),r=n("c435"),i=n("9e70"),a=n("f298"),s=n("862c"),c=o(a),u=o("".slice),d=Math.ceil,l=function(t){return function(e,n,o){var a,l,f=i(s(e)),h=r(n),p=f.length,g=void 0===o?" ":i(o);return h<=p||""===g?f:(a=h-p,l=c(g,d(a/g.length)),l.length>a&&(l=u(l,0,a)),t?f+l:l+f)}};t.exports={start:l(!1),end:l(!0)}},eda6:function(t,e,n){"use strict";n("6a54");var o=n("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.postStoreCouponApi=e.getStoreInfoApi=e.getStoreGoodsListApi=e.getOrderDinnerStoreIdApi=e.getCodeInfoByCodeApi=e.getBrandApi=e.getAlipayTemplateIdDataApi=e.exchangeApi=e.default=e.checkExchangeApi=e.applyRefundApi=void 0,e.refundListBySupplierApi=y,e.updateGoodCartApi=e.searchRecordApi=void 0,n("5c47"),n("af8f");var r=o(n("b4f6")),i=function(t){return r.default.get("api/user.store.store/getOrderDinnerStoreId",t)};e.getOrderDinnerStoreIdApi=i;var a=function(t){return r.default.get("api/user.store.store/getBrand?sid="+t)};e.getBrandApi=a;var s=function(t){return r.default.get("api/user.store.store/getCodeInfo?code="+t,{})};e.getCodeInfoByCodeApi=s;var c=function(t){return r.default.get("api/user.mealRedpacket.meal_redpacket/checkExchange?sid="+t)};e.checkExchangeApi=c;var u=function(t){return r.default.post("api/user.mealRedpacket.meal_redpacket/exchange",t)};e.exchangeApi=u;var d=function(){return r.default.get("api/system.template.AliTemplate/templateList")};e.getAlipayTemplateIdDataApi=d;var l=function(t){return r.default.post("api/user.tuangouquan.write_off/searchRecords",t)};e.searchRecordApi=l;var f=function(t){var e=t.sid,n=t.search,o=t.orderId,i=t.cid,a=t.child_id,s=t.page,c=t.is_api_shop,u=t.storeCode,d=t.api_brand,l=t.order_type,f=t.encrypted_data,h=t.write_off_type,p=t.is_promotion,g=t.goodsC,v=t.chrid;return r.default.get("api/user.store.goods/goods",{sid:e,child_id:a||"",search:n||"",order_id:o||"",cid:i||"",page:s||1,is_api_shop:c||"",storeCode:u||"",api_brand:d||"",order_type:l||"",encrypted_data:f||"",write_off_type:h||"",is_promotion:p||-1,goodsC:g,chrid:v||""})};e.getStoreGoodsListApi=f;var h=function(t){var e=t.sid,n=t.table_id,o=t.storeCode,i=t.brand;return r.default.get("api/user.store.store/index",{sid:e,table_id:n,storeCode:o,brand:i})};e.getStoreInfoApi=h;var p=function(t){var e=t.sid;return r.default.post("api/user.channel.coupon/receive",{sid:e})};e.postStoreCouponApi=p;var g=function(t){var e=t.goodsId,n=t.sid,o=t.num,i=t.options_id;return r.default.post("api/user.store.goods/updateCart",{sid:n,goods_id:e,num:o,options_id:i})};e.updateGoodCartApi=g;var v=function(t){return r.default.post("api/user.order.order/applyRefund",t)};function y(t){return r.default.get("api/user.order.order/refundListBySupplier",t)}e.applyRefundApi=v;var m={getOrderDinnerStoreIdApi:i,getBrandApi:a,getCodeInfoByCodeApi:s,checkExchangeApi:c,exchangeApi:u,getAlipayTemplateIdDataApi:d,searchRecordApi:l,getStoreGoodsListApi:f,getStoreInfoApi:h,postStoreCouponApi:p,updateGoodCartApi:g,applyRefundApi:v,refundListBySupplierApi:y};e.default=m},f298:function(t,e,n){"use strict";var o=n("497b"),r=n("9e70"),i=n("862c"),a=RangeError;t.exports=function(t){var e=r(i(this)),n="",s=o(t);if(s<0||s===1/0)throw new a("Wrong number of repetitions");for(;s>0;(s>>>=1)&&(e+=e))1&s&&(n+=e);return n}},faf2:function(t,e,n){"use strict";n("6a54");var o=n("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("64aa");var r=o(n("7caa")),i={mixins:[r.default],name:"tn-badge",props:{index:{type:[Number,String],default:"0"},radius:{type:Number,default:0},padding:{type:String,default:""},margin:{type:String,default:""},dot:{type:Boolean,default:!1},absolute:{type:Boolean,default:!1},top:{type:[String,Number],default:""},right:{type:[String,Number],default:""},translateCenter:{type:Boolean,default:!0}},computed:{badgeClass:function(){var t="";return this.dot&&(t+=" tn-badge--dot"),this.absolute&&(t+=" tn-badge--absolute",this.translateCenter&&(t+=" tn-badge--center-position")),t},badgeStyle:function(){var t={};return 0!==this.radius&&(t.width=this.radius+"rpx",t.height=this.radius+"rpx",t.lineHeight=this.radius+"rpx"),this.padding&&(t.padding=this.padding),this.margin&&(t.margin=this.margin),this.fontColorStyle&&(t.color=this.fontColorStyle),this.fontSize&&(t.fontSize=this.fontSize+this.fontUnit),this.backgroundColorStyle&&(t.backgroundColor=this.backgroundColorStyle),this.top&&(t.top=this.$t.string.getLengthUnitValue(this.top)),this.right&&(t.right=this.$t.string.getLengthUnitValue(this.right)),t}},data:function(){return{}},methods:{handleClick:function(){this.$emit("click",{index:Number(this.index)}),this.$emit("tap",{index:Number(this.index)})}}};e.default=i}}]);