pages-goods-list.e405b543.js 52.6 KB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-goods-list"],{"0a713":function(a,t,e){var i=e("24fb");t=i(!1),t.push([a.i,'@charset "UTF-8";\r\n/* ==================\r\n      uni-app的变量\r\n防止插件市场用到这些,就保留了\r\n ==================== */\r\n/* 页面左右间距 */\r\n/* 文字尺寸 */\r\n/*文字颜色*/\r\n/* 边框颜色 */\r\n/* 图片加载中颜色 */\r\n/* 行为相关颜色 */\r\n/* ==================\r\n       theme   \r\n ==================== */\r\n/*主题色*/\r\n/*文字色*/\r\n/*背景色*/\r\n/* ==================\r\n       自定义变量   \r\n ==================== */\r\n/*utils 工具*/\r\n/* 颜色 */.bg-red[data-v-6d5155eb]{background-color:#f33!important}.bg-purple[data-v-6d5155eb]{background-color:#ff33a9!important}.bg-orange[data-v-6d5155eb]{background-color:#f83!important}.bg-blue[data-v-6d5155eb]{background-color:#37f!important}.color-red[data-v-6d5155eb]{color:#f33!important}.color-purple[data-v-6d5155eb]{color:#ff33a9!important}.color-orange[data-v-6d5155eb]{color:#f83!important}.color-blue[data-v-6d5155eb]{color:#37f!important}.text-black[data-v-6d5155eb]{color:#000}.text-dark[data-v-6d5155eb]{color:#333}.text-deep[data-v-6d5155eb]{color:#555}.text-weak[data-v-6d5155eb]{color:#b3b3b3}.text-white[data-v-6d5155eb]{color:#fff}\r\n/*字体*/.f10[data-v-6d5155eb]{font-size:10px}.f12[data-v-6d5155eb]{font-size:12px}.f14[data-v-6d5155eb]{font-size:14px}.f15[data-v-6d5155eb]{font-size:15px}.f17[data-v-6d5155eb]{font-size:17px}.f20[data-v-6d5155eb]{font-size:20px}.f24[data-v-6d5155eb]{font-size:24px}\r\n/* 文字对齐*/.tl[data-v-6d5155eb]{text-align:left}.tc[data-v-6d5155eb]{text-align:center}.tr[data-v-6d5155eb]{text-align:right}\r\n/*浮动与清除浮动*/.fl[data-v-6d5155eb]{float:left}.fr[data-v-6d5155eb]{float:right}\n.fix[data-v-6d5155eb]{zoom:1}.fix[data-v-6d5155eb]:after{display:table;content:"";clear:both}\r\n\r\n/*显示*/.dn[data-v-6d5155eb]{display:none}.di[data-v-6d5155eb]{display:inline}.db[data-v-6d5155eb]{display:block}.dib[data-v-6d5155eb]{display:inline-block}.dt[data-v-6d5155eb]{display:table}\ndiv.dib[data-v-6d5155eb]{display:inline;zoom:1}\n.vm[data-v-6d5155eb]{vertical-align:middle}.vib[data-v-6d5155eb]{display:inline-block;vertical-align:middle}\r\n/*定位*/.pr[data-v-6d5155eb]{position:relative}.pa[data-v-6d5155eb]{position:absolute}.pf[data-v-6d5155eb]{position:fixed}\r\n/*盒子模型*/.mt2[data-v-6d5155eb]{margin-top:%?2?%}.mr2[data-v-6d5155eb]{margin-right:%?2?%}.mb2[data-v-6d5155eb]{margin-bottom:%?2?%}.ml2[data-v-6d5155eb]{margin-left:%?2?%}.mx2[data-v-6d5155eb]{margin-left:%?2?%;margin-right:%?2?%}.my2[data-v-6d5155eb]{margin-top:%?2?%;margin-bottom:%?2?%}.ma2[data-v-6d5155eb]{margin:%?2?%}.mt4[data-v-6d5155eb]{margin-top:%?4?%}.mr4[data-v-6d5155eb]{margin-right:%?4?%}.mb4[data-v-6d5155eb]{margin-bottom:%?4?%}.ml4[data-v-6d5155eb]{margin-left:%?4?%}.mx4[data-v-6d5155eb]{margin-left:%?4?%;margin-right:%?4?%}.my4[data-v-6d5155eb]{margin-top:%?4?%;margin-bottom:%?4?%}.ma4[data-v-6d5155eb]{margin:%?4?%}.mt8[data-v-6d5155eb]{margin-top:%?8?%}.mr8[data-v-6d5155eb]{margin-right:%?8?%}.mb8[data-v-6d5155eb]{margin-bottom:%?8?%}.ml8[data-v-6d5155eb]{margin-left:%?8?%}.mx8[data-v-6d5155eb]{margin-left:%?8?%;margin-right:%?8?%}.my8[data-v-6d5155eb]{margin-top:%?8?%;margin-bottom:%?8?%}.ma8[data-v-6d5155eb]{margin:%?8?%}.mt10[data-v-6d5155eb]{margin-top:%?10?%}.mr10[data-v-6d5155eb]{margin-right:%?10?%}.mb10[data-v-6d5155eb]{margin-bottom:%?10?%}.ml10[data-v-6d5155eb]{margin-left:%?10?%}.mx10[data-v-6d5155eb]{margin-left:%?10?%;margin-right:%?10?%}.my10[data-v-6d5155eb]{margin-top:%?10?%;margin-bottom:%?10?%}.ma10[data-v-6d5155eb]{margin:%?10?%}.mt15[data-v-6d5155eb]{margin-top:%?15?%}.mr15[data-v-6d5155eb]{margin-right:%?15?%}.mb15[data-v-6d5155eb]{margin-bottom:%?15?%}.ml15[data-v-6d5155eb]{margin-left:%?15?%}.mx15[data-v-6d5155eb]{margin-left:%?15?%;margin-right:%?15?%}.my15[data-v-6d5155eb]{margin-top:%?15?%;margin-bottom:%?15?%}.ma15[data-v-6d5155eb]{margin:%?15?%}.mt20[data-v-6d5155eb]{margin-top:%?20?%}.mr20[data-v-6d5155eb]{margin-right:%?20?%}.mb20[data-v-6d5155eb]{margin-bottom:%?20?%}.ml20[data-v-6d5155eb]{margin-left:%?20?%}.mx20[data-v-6d5155eb]{margin-left:%?20?%;margin-right:%?20?%}.my20[data-v-6d5155eb]{margin-top:%?20?%;margin-bottom:%?20?%}.ma20[data-v-6d5155eb]{margin:%?20?%}.mt24[data-v-6d5155eb]{margin-top:%?24?%}.mr24[data-v-6d5155eb]{margin-right:%?24?%}.mb24[data-v-6d5155eb]{margin-bottom:%?24?%}.ml24[data-v-6d5155eb]{margin-left:%?24?%}.mx24[data-v-6d5155eb]{margin-left:%?24?%;margin-right:%?24?%}.my24[data-v-6d5155eb]{margin-top:%?24?%;margin-bottom:%?24?%}.ma24[data-v-6d5155eb]{margin:%?24?%}.mt30[data-v-6d5155eb]{margin-top:%?30?%}.mr30[data-v-6d5155eb]{margin-right:%?30?%}.mb30[data-v-6d5155eb]{margin-bottom:%?30?%}.ml30[data-v-6d5155eb]{margin-left:%?30?%}.mx30[data-v-6d5155eb]{margin-left:%?30?%;margin-right:%?30?%}.my30[data-v-6d5155eb]{margin-top:%?30?%;margin-bottom:%?30?%}.ma30[data-v-6d5155eb]{margin:%?30?%}.pt2[data-v-6d5155eb]{padding-top:%?2?%}.pr2[data-v-6d5155eb]{padding-right:%?2?%}.pb2[data-v-6d5155eb]{padding-bottom:%?2?%}.pl2[data-v-6d5155eb]{padding-left:%?2?%}.px2[data-v-6d5155eb]{padding-left:%?2?%;padding-right:%?2?%}.py2[data-v-6d5155eb]{padding-top:%?2?%;padding-bottom:%?2?%}.pa2[data-v-6d5155eb]{padding:%?2?%}.pt4[data-v-6d5155eb]{padding-top:%?4?%}.pr4[data-v-6d5155eb]{padding-right:%?4?%}.pb4[data-v-6d5155eb]{padding-bottom:%?4?%}.pl4[data-v-6d5155eb]{padding-left:%?4?%}.px4[data-v-6d5155eb]{padding-left:%?4?%;padding-right:%?4?%}.py4[data-v-6d5155eb]{padding-top:%?4?%;padding-bottom:%?4?%}.pa4[data-v-6d5155eb]{padding:%?4?%}.pt8[data-v-6d5155eb]{padding-top:%?8?%}.pr8[data-v-6d5155eb]{padding-right:%?8?%}.pb8[data-v-6d5155eb]{padding-bottom:%?8?%}.pl8[data-v-6d5155eb]{padding-left:%?8?%}.px8[data-v-6d5155eb]{padding-left:%?8?%;padding-right:%?8?%}.py8[data-v-6d5155eb]{padding-top:%?8?%;padding-bottom:%?8?%}.pa8[data-v-6d5155eb]{padding:%?8?%}.pt10[data-v-6d5155eb]{padding-top:%?10?%}.pr10[data-v-6d5155eb]{padding-right:%?10?%}.pb10[data-v-6d5155eb]{padding-bottom:%?10?%}.pl10[data-v-6d5155eb]{padding-left:%?10?%}.px10[data-v-6d5155eb]{padding-left:%?10?%;padding-right:%?10?%}.py10[data-v-6d5155eb]{padding-top:%?10?%;padding-bottom:%?10?%}.pa10[data-v-6d5155eb]{padding:%?10?%}.pt15[data-v-6d5155eb]{padding-top:%?15?%}.pr15[data-v-6d5155eb]{padding-right:%?15?%}.pb15[data-v-6d5155eb]{padding-bottom:%?15?%}.pl15[data-v-6d5155eb]{padding-left:%?15?%}.px15[data-v-6d5155eb]{padding-left:%?15?%;padding-right:%?15?%}.py15[data-v-6d5155eb]{padding-top:%?15?%;padding-bottom:%?15?%}.pa15[data-v-6d5155eb]{padding:%?15?%}.pt20[data-v-6d5155eb]{padding-top:%?20?%}.pr20[data-v-6d5155eb]{padding-right:%?20?%}.pb20[data-v-6d5155eb]{padding-bottom:%?20?%}.pl20[data-v-6d5155eb]{padding-left:%?20?%}.px20[data-v-6d5155eb]{padding-left:%?20?%;padding-right:%?20?%}.py20[data-v-6d5155eb]{padding-top:%?20?%;padding-bottom:%?20?%}.pa20[data-v-6d5155eb]{padding:%?20?%}.pt24[data-v-6d5155eb]{padding-top:%?24?%}.pr24[data-v-6d5155eb]{padding-right:%?24?%}.pb24[data-v-6d5155eb]{padding-bottom:%?24?%}.pl24[data-v-6d5155eb]{padding-left:%?24?%}.px24[data-v-6d5155eb]{padding-left:%?24?%;padding-right:%?24?%}.py24[data-v-6d5155eb]{padding-top:%?24?%;padding-bottom:%?24?%}.pa24[data-v-6d5155eb]{padding:%?24?%}.pt30[data-v-6d5155eb]{padding-top:%?30?%}.pr30[data-v-6d5155eb]{padding-right:%?30?%}.pb30[data-v-6d5155eb]{padding-bottom:%?30?%}.pl30[data-v-6d5155eb]{padding-left:%?30?%}.px30[data-v-6d5155eb]{padding-left:%?30?%;padding-right:%?30?%}.py30[data-v-6d5155eb]{padding-top:%?30?%;padding-bottom:%?30?%}.pa30[data-v-6d5155eb]{padding:%?30?%}\r\n/*按钮禁用*/.disabled[data-v-6d5155eb]{outline:0 none;cursor:default!important;opacity:.4;filter:alpha(opacity=40);-ms-pointer-events:none;pointer-events:none}\r\n/**\r\n * \r\n * 自定义class工具\r\n * \r\n*/.pad[data-v-6d5155eb]{padding:0 %?30?%}.page_box[data-v-6d5155eb]{height:100%;width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;overflow-x:hidden;background:#fff}.scroll-box[data-v-6d5155eb]{-webkit-box-flex:1;-webkit-flex:1;flex:1;height:100%;position:relative}.content_box[data-v-6d5155eb]{-webkit-box-flex:1;-webkit-flex:1;flex:1;overflow-y:auto}\r\n/*单行文本溢出省略号*/.one-t[data-v-6d5155eb]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;-webkit-transition:all linear .2s;transition:all linear .2s}\r\n/*多行文本溢出省略号*/.more-t[data-v-6d5155eb]{overflow:hidden;text-overflow:ellipsis;word-break:break-all;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;-webkit-transition:all linear .2s;transition:all linear .2s}\r\n/* ==================\r\n          flex布局(colorui里面也有相关基础样式)\r\n ==================== */\r\n/* x水平排列*/.x-f[data-v-6d5155eb]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}\r\n/*x两端且水平居中*/.x-bc[data-v-6d5155eb]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;align-items:center}\r\n/*x平分且水平居中*/.x-ac[data-v-6d5155eb]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-justify-content:space-around;justify-content:space-around;-webkit-box-align:center;-webkit-align-items:center;align-items:center}\r\n/*x水平靠上对齐*/.x-start[data-v-6d5155eb]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:start;-webkit-align-items:flex-start;align-items:flex-start}\r\n/*x水平靠下对齐*/.x-end[data-v-6d5155eb]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:end;-webkit-align-items:flex-end;align-items:flex-end}\r\n/*上下左右居中*/.x-c[data-v-6d5155eb]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center}\r\n/*y竖直靠左*/.y-start[data-v-6d5155eb]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:start;-webkit-align-items:flex-start;align-items:flex-start}\r\n/*y竖直靠右*/.y-end[data-v-6d5155eb]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:end;-webkit-align-items:flex-end;align-items:flex-end}\r\n/*y竖直居中*/.y-f[data-v-6d5155eb]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.y-b[data-v-6d5155eb]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}\r\n/*y竖直两端居中*/.y-bc[data-v-6d5155eb]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}\r\n/* ==================\r\n     flex布局  \r\n ==================== */\r\n/* ==================\r\n      渐变色 \r\n ==================== */\r\n/**\r\n* 溢出省略号\r\n* @param {Number} 行数\r\n*/\r\n/* shopro主题颜色 */\r\n/* 深黑 */#dark-theme[data-v-6d5155eb]{background:#000}#dark-theme .bColor[data-v-6d5155eb]{background:#fff;color:#999}#dark-theme .borderColor[data-v-6d5155eb]{border-color:#fff}\r\n/* 粉红 */#red-theme[data-v-6d5155eb]{background:#f9e5ee}#red-theme .bColor[data-v-6d5155eb]{background:#f9e5ee;color:#8e5a54}#red-theme .borderColor[data-v-6d5155eb]{border-color:#8e5a54}\r\n/* 橘黄 */#yellow-theme[data-v-6d5155eb]{background:#f6e1c9}#yellow-theme .bColor[data-v-6d5155eb]{background:#f6e1c9;color:#8c6031}#yellow-theme .borderColor[data-v-6d5155eb]{border-color:#8c6031}.head_box[data-v-6d5155eb]{position:-webkit-sticky;position:sticky;top:0;z-index:998;background:#fff}.search-box[data-v-6d5155eb]{width:%?661?%;height:%?60?%;background:#f5f5f5;border-radius:%?30?%;padding:0 %?30?%}.search-box .search[data-v-6d5155eb]{text-align:center;font-size:%?28?%}.search-box .cuIcon-roundclosefill[data-v-6d5155eb]{color:#d5a65a;padding:0 %?10?%}.list-box[data-v-6d5155eb]:-webkit-scrollbar{width:0;height:0;color:transparent;display:none}.content-box[data-v-6d5155eb]{padding:%?20?%;width:%?750?%}.goods-list[data-v-6d5155eb]{-webkit-flex-wrap:wrap;flex-wrap:wrap}.goods-list .goods-item[data-v-6d5155eb]{margin-right:%?20?%;margin-bottom:%?20?%}.goods-list .goods-item[data-v-6d5155eb]:nth-child(2n){margin-right:0}',""]),a.exports=t},3257:function(a,t,e){"use strict";var i=e("5500"),d=e.n(i);d.a},"32b6":function(a,t,e){"use strict";e.r(t);var i=e("412a"),d=e("e5ff");for(var n in d)"default"!==n&&function(a){e.d(t,a,(function(){return d[a]}))}(n);e("6d0f");var o,r=e("f0c5"),l=Object(r["a"])(d["default"],i["b"],i["c"],!1,null,"6d5155eb",null,!1,i["a"],o);t["default"]=l.exports},"39b5":function(a,t,e){"use strict";var i=e("4ea4");e("99af"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var d=i(e("2909")),n=i(e("c913")),o=i(e("3bc0")),r=i(e("da02")),l=(e("2f62"),null),b={components:{shFilter:n.default,shoproGoodsCard:o.default,shoproEmpty:r.default},data:function(){return{emptyData:{img:"/static/imgs/empty/empty_goods.png",tip:"暂无该商品,还有更多好货等着你噢~"},goodsList:[],searchVal:"",listParams:{category_id:0,keywords:"",page:1},isLoading:!0,loadStatus:"",lastPage:1}},computed:{},onReachBottom:function(){this.listParams.page<this.lastPage&&(this.listParams.page+=1,this.getGoodsList())},onLoad:function(){this.$Route.query.id&&(this.listParams.category_id=this.$Route.query.id),this.$Route.query.keywords&&(this.listParams.keywords=this.$Route.query.keywords,this.searchVal=this.$Route.query.keywords),this.getGoodsList()},methods:{onFilter:function(a){this.listParams.order=a,this.goodsList=[],this.listParams.page=1,this.getGoodsList()},onSearch:function(){var a=this;a.listParams.keywords=a.searchVal,a.goodsList=[],this.listParams.page=1,a.getGoodsList()},onInput:function(){var a=this,t=this;t.listParams.category_id=0,setTimeout((function(){t.listParams.keywords=t.searchVal}),0),null!==l&&clearTimeout(l),l=setTimeout((function(){t.goodsList=[],a.listParams.page=1,t.getGoodsList()}),1e3)},clearSearch:function(){this.searchVal="",this.listParams.keywords="",this.listParams.page=1,this.getGoodsList()},getGoodsList:function(){var a=this;a.isLoading=!0,a.loadStatus="loading",a.$api("goods.lists",a.listParams).then((function(t){1===t.code&&(a.isLoading=!1,a.goodsList=[].concat((0,d.default)(a.goodsList),(0,d.default)(t.data.data)),a.lastPage=t.data.last_page,a.listParams.page<t.data.last_page?a.loadStatus="":a.loadStatus="over")}))}}};t.default=b},"3bc0":function(a,t,e){"use strict";e.r(t);var i=e("43b9"),d=e("91c2");for(var n in d)"default"!==n&&function(a){e.d(t,a,(function(){return d[a]}))}(n);e("3257");var o,r=e("f0c5"),l=Object(r["a"])(d["default"],i["b"],i["c"],!1,null,"32e79436",null,!1,i["a"],o);t["default"]=l.exports},"412a":function(a,t,e){"use strict";e.d(t,"b",(function(){return d})),e.d(t,"c",(function(){return n})),e.d(t,"a",(function(){return i}));var i={shoproGoodsCard:e("3bc0").default,shoproEmpty:e("da02").default,shoproLoad:e("cd9c").default,shoproTabbar:e("a787").default,shoproNoticeModal:e("0d61").default,shoproLoginModal:e("4061").default},d=function(){var a=this,t=a.$createElement,e=a._self._c||t;return e("v-uni-view",{staticClass:"list-box"},[e("v-uni-view",{staticClass:"head_box"},[e("v-uni-view",{staticStyle:{position:"relative","z-index":"10",background:"#fff"}},[e("cu-custom",{attrs:{isBack:!0}},[e("template",{attrs:{slot:"backText"},slot:"backText"},[e("v-uni-view",{staticClass:"search-box flex align-center",on:{click:function(t){t.stopPropagation(),arguments[0]=t=a.$handleEvent(t)}}},[e("v-uni-input",{staticClass:"search flex-sub",attrs:{"confirm-type":"搜索",type:"text",placeholder:"商品搜索"},on:{confirm:function(t){arguments[0]=t=a.$handleEvent(t),a.onSearch.apply(void 0,arguments)},input:function(t){arguments[0]=t=a.$handleEvent(t),a.onInput.apply(void 0,arguments)}},model:{value:a.searchVal,callback:function(t){a.searchVal=t},expression:"searchVal"}}),e("v-uni-text",{directives:[{name:"show",rawName:"v-show",value:a.searchVal,expression:"searchVal"}],staticClass:"cuIcon-roundclosefill",on:{click:function(t){arguments[0]=t=a.$handleEvent(t),a.clearSearch.apply(void 0,arguments)}}})],1)],1)],2)],1),e("v-uni-view",{staticClass:"filter-item"},[e("sh-filter",{on:{change:function(t){arguments[0]=t=a.$handleEvent(t),a.onFilter.apply(void 0,arguments)}}})],1)],1),e("v-uni-view",{staticClass:"content-box"},[e("v-uni-view",{staticClass:"goods-list x-f"},a._l(a.goodsList,(function(a){return e("v-uni-view",{key:a.id,staticClass:"goods-item"},[e("shopro-goods-card",{attrs:{detail:a,isTag:!0}})],1)})),1),a.goodsList.length||a.isLoading?a._e():e("shopro-empty",{attrs:{emptyData:a.emptyData}}),a.goodsList.length?e("v-uni-view",{staticClass:"cu-load text-gray",class:a.loadStatus}):a._e(),e("shopro-load",{model:{value:a.isLoading,callback:function(t){a.isLoading=t},expression:"isLoading"}})],1),e("shopro-tabbar"),e("shopro-notice-modal"),e("shopro-login-modal")],1)},n=[]},"422b":function(a,t,e){"use strict";var i=e("5331"),d=e.n(i);d.a},"43b9":function(a,t,e){"use strict";var i;e.d(t,"b",(function(){return d})),e.d(t,"c",(function(){return n})),e.d(t,"a",(function(){return i}));var d=function(){var a=this,t=a.$createElement,e=a._self._c||t;return a.detail?e("v-uni-view",{staticClass:"goods-box",on:{click:function(t){arguments[0]=t=a.$handleEvent(t),a.jump("/pages/goods/detail/index",{id:a.detail.id})}}},[e("v-uni-view",{staticClass:"img-box"},[a.isTag&&a.detail.activity?e("v-uni-image",{staticClass:"tag-img",attrs:{src:a.tagPath[a.detail.activity.type],mode:""}}):a._e(),e("v-uni-image",{staticClass:"img",attrs:{src:a.detail.image,"lazy-load":!0,mode:"aspectFill"}})],1),e("v-uni-view",{staticClass:"tip one-t"},[a._v(a._s(a.detail.subtitle))]),e("v-uni-view",{staticClass:"title more-t"},[a._v(a._s(a.detail.title))]),e("v-uni-view",{staticClass:"price-box"},[e("v-uni-view",{staticClass:"flex x-bc align-end"},[e("v-uni-view",{staticClass:"current"},[a._v(a._s("groupon"===a.detail.activity_type?a.detail.groupon_price:a.detail.price))]),e("v-uni-view",{staticClass:"sales miso-font"},[a._v("销量"+a._s(a.detail.sales)+"件")])],1),e("v-uni-view",{staticClass:"x-f tag-box"})],1)],1):a._e()},n=[]},"4b96":function(a,t,e){var i=e("24fb");t=i(!1),t.push([a.i,'@charset "UTF-8";\r\n/* ==================\r\n      uni-app的变量\r\n防止插件市场用到这些,就保留了\r\n ==================== */\r\n/* 页面左右间距 */\r\n/* 文字尺寸 */\r\n/*文字颜色*/\r\n/* 边框颜色 */\r\n/* 图片加载中颜色 */\r\n/* 行为相关颜色 */\r\n/* ==================\r\n       theme   \r\n ==================== */\r\n/*主题色*/\r\n/*文字色*/\r\n/*背景色*/\r\n/* ==================\r\n       自定义变量   \r\n ==================== */\r\n/*utils 工具*/\r\n/* 颜色 */.bg-red[data-v-1243960a]{background-color:#f33!important}.bg-purple[data-v-1243960a]{background-color:#ff33a9!important}.bg-orange[data-v-1243960a]{background-color:#f83!important}.bg-blue[data-v-1243960a]{background-color:#37f!important}.color-red[data-v-1243960a]{color:#f33!important}.color-purple[data-v-1243960a]{color:#ff33a9!important}.color-orange[data-v-1243960a]{color:#f83!important}.color-blue[data-v-1243960a]{color:#37f!important}.text-black[data-v-1243960a]{color:#000}.text-dark[data-v-1243960a]{color:#333}.text-deep[data-v-1243960a]{color:#555}.text-weak[data-v-1243960a]{color:#b3b3b3}.text-white[data-v-1243960a]{color:#fff}\r\n/*字体*/.f10[data-v-1243960a]{font-size:10px}.f12[data-v-1243960a]{font-size:12px}.f14[data-v-1243960a]{font-size:14px}.f15[data-v-1243960a]{font-size:15px}.f17[data-v-1243960a]{font-size:17px}.f20[data-v-1243960a]{font-size:20px}.f24[data-v-1243960a]{font-size:24px}\r\n/* 文字对齐*/.tl[data-v-1243960a]{text-align:left}.tc[data-v-1243960a]{text-align:center}.tr[data-v-1243960a]{text-align:right}\r\n/*浮动与清除浮动*/.fl[data-v-1243960a]{float:left}.fr[data-v-1243960a]{float:right}\n.fix[data-v-1243960a]{zoom:1}.fix[data-v-1243960a]:after{display:table;content:"";clear:both}\r\n\r\n/*显示*/.dn[data-v-1243960a]{display:none}.di[data-v-1243960a]{display:inline}.db[data-v-1243960a]{display:block}.dib[data-v-1243960a]{display:inline-block}.dt[data-v-1243960a]{display:table}\ndiv.dib[data-v-1243960a]{display:inline;zoom:1}\n.vm[data-v-1243960a]{vertical-align:middle}.vib[data-v-1243960a]{display:inline-block;vertical-align:middle}\r\n/*定位*/.pr[data-v-1243960a]{position:relative}.pa[data-v-1243960a]{position:absolute}.pf[data-v-1243960a]{position:fixed}\r\n/*盒子模型*/.mt2[data-v-1243960a]{margin-top:%?2?%}.mr2[data-v-1243960a]{margin-right:%?2?%}.mb2[data-v-1243960a]{margin-bottom:%?2?%}.ml2[data-v-1243960a]{margin-left:%?2?%}.mx2[data-v-1243960a]{margin-left:%?2?%;margin-right:%?2?%}.my2[data-v-1243960a]{margin-top:%?2?%;margin-bottom:%?2?%}.ma2[data-v-1243960a]{margin:%?2?%}.mt4[data-v-1243960a]{margin-top:%?4?%}.mr4[data-v-1243960a]{margin-right:%?4?%}.mb4[data-v-1243960a]{margin-bottom:%?4?%}.ml4[data-v-1243960a]{margin-left:%?4?%}.mx4[data-v-1243960a]{margin-left:%?4?%;margin-right:%?4?%}.my4[data-v-1243960a]{margin-top:%?4?%;margin-bottom:%?4?%}.ma4[data-v-1243960a]{margin:%?4?%}.mt8[data-v-1243960a]{margin-top:%?8?%}.mr8[data-v-1243960a]{margin-right:%?8?%}.mb8[data-v-1243960a]{margin-bottom:%?8?%}.ml8[data-v-1243960a]{margin-left:%?8?%}.mx8[data-v-1243960a]{margin-left:%?8?%;margin-right:%?8?%}.my8[data-v-1243960a]{margin-top:%?8?%;margin-bottom:%?8?%}.ma8[data-v-1243960a]{margin:%?8?%}.mt10[data-v-1243960a]{margin-top:%?10?%}.mr10[data-v-1243960a]{margin-right:%?10?%}.mb10[data-v-1243960a]{margin-bottom:%?10?%}.ml10[data-v-1243960a]{margin-left:%?10?%}.mx10[data-v-1243960a]{margin-left:%?10?%;margin-right:%?10?%}.my10[data-v-1243960a]{margin-top:%?10?%;margin-bottom:%?10?%}.ma10[data-v-1243960a]{margin:%?10?%}.mt15[data-v-1243960a]{margin-top:%?15?%}.mr15[data-v-1243960a]{margin-right:%?15?%}.mb15[data-v-1243960a]{margin-bottom:%?15?%}.ml15[data-v-1243960a]{margin-left:%?15?%}.mx15[data-v-1243960a]{margin-left:%?15?%;margin-right:%?15?%}.my15[data-v-1243960a]{margin-top:%?15?%;margin-bottom:%?15?%}.ma15[data-v-1243960a]{margin:%?15?%}.mt20[data-v-1243960a]{margin-top:%?20?%}.mr20[data-v-1243960a]{margin-right:%?20?%}.mb20[data-v-1243960a]{margin-bottom:%?20?%}.ml20[data-v-1243960a]{margin-left:%?20?%}.mx20[data-v-1243960a]{margin-left:%?20?%;margin-right:%?20?%}.my20[data-v-1243960a]{margin-top:%?20?%;margin-bottom:%?20?%}.ma20[data-v-1243960a]{margin:%?20?%}.mt24[data-v-1243960a]{margin-top:%?24?%}.mr24[data-v-1243960a]{margin-right:%?24?%}.mb24[data-v-1243960a]{margin-bottom:%?24?%}.ml24[data-v-1243960a]{margin-left:%?24?%}.mx24[data-v-1243960a]{margin-left:%?24?%;margin-right:%?24?%}.my24[data-v-1243960a]{margin-top:%?24?%;margin-bottom:%?24?%}.ma24[data-v-1243960a]{margin:%?24?%}.mt30[data-v-1243960a]{margin-top:%?30?%}.mr30[data-v-1243960a]{margin-right:%?30?%}.mb30[data-v-1243960a]{margin-bottom:%?30?%}.ml30[data-v-1243960a]{margin-left:%?30?%}.mx30[data-v-1243960a]{margin-left:%?30?%;margin-right:%?30?%}.my30[data-v-1243960a]{margin-top:%?30?%;margin-bottom:%?30?%}.ma30[data-v-1243960a]{margin:%?30?%}.pt2[data-v-1243960a]{padding-top:%?2?%}.pr2[data-v-1243960a]{padding-right:%?2?%}.pb2[data-v-1243960a]{padding-bottom:%?2?%}.pl2[data-v-1243960a]{padding-left:%?2?%}.px2[data-v-1243960a]{padding-left:%?2?%;padding-right:%?2?%}.py2[data-v-1243960a]{padding-top:%?2?%;padding-bottom:%?2?%}.pa2[data-v-1243960a]{padding:%?2?%}.pt4[data-v-1243960a]{padding-top:%?4?%}.pr4[data-v-1243960a]{padding-right:%?4?%}.pb4[data-v-1243960a]{padding-bottom:%?4?%}.pl4[data-v-1243960a]{padding-left:%?4?%}.px4[data-v-1243960a]{padding-left:%?4?%;padding-right:%?4?%}.py4[data-v-1243960a]{padding-top:%?4?%;padding-bottom:%?4?%}.pa4[data-v-1243960a]{padding:%?4?%}.pt8[data-v-1243960a]{padding-top:%?8?%}.pr8[data-v-1243960a]{padding-right:%?8?%}.pb8[data-v-1243960a]{padding-bottom:%?8?%}.pl8[data-v-1243960a]{padding-left:%?8?%}.px8[data-v-1243960a]{padding-left:%?8?%;padding-right:%?8?%}.py8[data-v-1243960a]{padding-top:%?8?%;padding-bottom:%?8?%}.pa8[data-v-1243960a]{padding:%?8?%}.pt10[data-v-1243960a]{padding-top:%?10?%}.pr10[data-v-1243960a]{padding-right:%?10?%}.pb10[data-v-1243960a]{padding-bottom:%?10?%}.pl10[data-v-1243960a]{padding-left:%?10?%}.px10[data-v-1243960a]{padding-left:%?10?%;padding-right:%?10?%}.py10[data-v-1243960a]{padding-top:%?10?%;padding-bottom:%?10?%}.pa10[data-v-1243960a]{padding:%?10?%}.pt15[data-v-1243960a]{padding-top:%?15?%}.pr15[data-v-1243960a]{padding-right:%?15?%}.pb15[data-v-1243960a]{padding-bottom:%?15?%}.pl15[data-v-1243960a]{padding-left:%?15?%}.px15[data-v-1243960a]{padding-left:%?15?%;padding-right:%?15?%}.py15[data-v-1243960a]{padding-top:%?15?%;padding-bottom:%?15?%}.pa15[data-v-1243960a]{padding:%?15?%}.pt20[data-v-1243960a]{padding-top:%?20?%}.pr20[data-v-1243960a]{padding-right:%?20?%}.pb20[data-v-1243960a]{padding-bottom:%?20?%}.pl20[data-v-1243960a]{padding-left:%?20?%}.px20[data-v-1243960a]{padding-left:%?20?%;padding-right:%?20?%}.py20[data-v-1243960a]{padding-top:%?20?%;padding-bottom:%?20?%}.pa20[data-v-1243960a]{padding:%?20?%}.pt24[data-v-1243960a]{padding-top:%?24?%}.pr24[data-v-1243960a]{padding-right:%?24?%}.pb24[data-v-1243960a]{padding-bottom:%?24?%}.pl24[data-v-1243960a]{padding-left:%?24?%}.px24[data-v-1243960a]{padding-left:%?24?%;padding-right:%?24?%}.py24[data-v-1243960a]{padding-top:%?24?%;padding-bottom:%?24?%}.pa24[data-v-1243960a]{padding:%?24?%}.pt30[data-v-1243960a]{padding-top:%?30?%}.pr30[data-v-1243960a]{padding-right:%?30?%}.pb30[data-v-1243960a]{padding-bottom:%?30?%}.pl30[data-v-1243960a]{padding-left:%?30?%}.px30[data-v-1243960a]{padding-left:%?30?%;padding-right:%?30?%}.py30[data-v-1243960a]{padding-top:%?30?%;padding-bottom:%?30?%}.pa30[data-v-1243960a]{padding:%?30?%}\r\n/*按钮禁用*/.disabled[data-v-1243960a]{outline:0 none;cursor:default!important;opacity:.4;filter:alpha(opacity=40);-ms-pointer-events:none;pointer-events:none}\r\n/**\r\n * \r\n * 自定义class工具\r\n * \r\n*/.pad[data-v-1243960a]{padding:0 %?30?%}.page_box[data-v-1243960a]{height:100%;width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;overflow-x:hidden;background:#fff}.scroll-box[data-v-1243960a]{-webkit-box-flex:1;-webkit-flex:1;flex:1;height:100%;position:relative}.content_box[data-v-1243960a]{-webkit-box-flex:1;-webkit-flex:1;flex:1;overflow-y:auto}\r\n/*单行文本溢出省略号*/.one-t[data-v-1243960a]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;-webkit-transition:all linear .2s;transition:all linear .2s}\r\n/*多行文本溢出省略号*/.more-t[data-v-1243960a]{overflow:hidden;text-overflow:ellipsis;word-break:break-all;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;-webkit-transition:all linear .2s;transition:all linear .2s}\r\n/* ==================\r\n          flex布局(colorui里面也有相关基础样式)\r\n ==================== */\r\n/* x水平排列*/.x-f[data-v-1243960a]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}\r\n/*x两端且水平居中*/.x-bc[data-v-1243960a]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;align-items:center}\r\n/*x平分且水平居中*/.x-ac[data-v-1243960a]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-justify-content:space-around;justify-content:space-around;-webkit-box-align:center;-webkit-align-items:center;align-items:center}\r\n/*x水平靠上对齐*/.x-start[data-v-1243960a]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:start;-webkit-align-items:flex-start;align-items:flex-start}\r\n/*x水平靠下对齐*/.x-end[data-v-1243960a]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:end;-webkit-align-items:flex-end;align-items:flex-end}\r\n/*上下左右居中*/.x-c[data-v-1243960a]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center}\r\n/*y竖直靠左*/.y-start[data-v-1243960a]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:start;-webkit-align-items:flex-start;align-items:flex-start}\r\n/*y竖直靠右*/.y-end[data-v-1243960a]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:end;-webkit-align-items:flex-end;align-items:flex-end}\r\n/*y竖直居中*/.y-f[data-v-1243960a]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.y-b[data-v-1243960a]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}\r\n/*y竖直两端居中*/.y-bc[data-v-1243960a]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}\r\n/* ==================\r\n     flex布局  \r\n ==================== */\r\n/* ==================\r\n      渐变色 \r\n ==================== */\r\n/**\r\n* 溢出省略号\r\n* @param {Number} 行数\r\n*/\r\n/* shopro主题颜色 */\r\n/* 深黑 */#dark-theme[data-v-1243960a]{background:#000}#dark-theme .bColor[data-v-1243960a]{background:#fff;color:#999}#dark-theme .borderColor[data-v-1243960a]{border-color:#fff}\r\n/* 粉红 */#red-theme[data-v-1243960a]{background:#f9e5ee}#red-theme .bColor[data-v-1243960a]{background:#f9e5ee;color:#8e5a54}#red-theme .borderColor[data-v-1243960a]{border-color:#8e5a54}\r\n/* 橘黄 */#yellow-theme[data-v-1243960a]{background:#f6e1c9}#yellow-theme .bColor[data-v-1243960a]{background:#f6e1c9;color:#8c6031}#yellow-theme .borderColor[data-v-1243960a]{border-color:#8c6031}.sel-box[data-v-1243960a]{position:absolute;width:%?750?%;height:%?140?%;background:#f6f6f6;border-radius:0 0 %?20?% %?20?%;z-index:999;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);bottom:%?-138?%;-webkit-transition:all ease-out .2s;transition:all ease-out .2s}.sel-box .sel-item[data-v-1243960a]{color:#333;padding:%?20?% %?40?% 0;font-size:%?24?%;font-weight:500}.sel-box .sel-active[data-v-1243960a]{color:#d5a65a;font-size:%?26?%;font-weight:600}.filter-box[data-v-1243960a]{width:%?750?%}.navbar[data-v-1243960a]{display:-webkit-box;display:-webkit-flex;display:flex;width:%?750?%;height:%?95?%;background:#fff;border-bottom:%?1?% solid #e6e6e6;border-top:%?1?% solid #e6e6e6;position:relative;z-index:999}.navbar .nav-item[data-v-1243960a]{-webkit-box-flex:1;-webkit-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;height:100%;font-size:%?30?%;position:relative}.navbar .nav-item .filter-title[data-v-1243960a]{font-size:%?28?%;color:#333;font-weight:600}.navbar .nav-item .line[data-v-1243960a]{width:%?110?%;height:%?4?%;background:transparent;position:absolute;bottom:0;z-index:2}.navbar .nav-item .line-active[data-v-1243960a]{background:#d5a65a}.navbar .nav-item .p-box[data-v-1243960a]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.navbar .nav-item .p-box .yticon[data-v-1243960a]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;width:%?30?%;line-height:1;height:%?14?%;margin-left:%?6?%;font-size:%?22?%;font-weight:600;color:#c4c4c4;padding:%?0?% %?4?%}.navbar .nav-item .p-box .xia[data-v-1243960a]{-webkit-transform:scaleY(-1);transform:scaleY(-1)}.current[data-v-1243960a]{color:#d5a65a}.active[data-v-1243960a]{color:#d5a65a!important}',""]),a.exports=t},5331:function(a,t,e){var i=e("4b96");"string"===typeof i&&(i=[[a.i,i,""]]),i.locals&&(a.exports=i.locals);var d=e("4f06").default;d("03e62101",i,!0,{sourceMap:!1,shadowMode:!1})},5500:function(a,t,e){var i=e("d964");"string"===typeof i&&(i=[[a.i,i,""]]),i.locals&&(a.exports=i.locals);var d=e("4f06").default;d("637c310a",i,!0,{sourceMap:!1,shadowMode:!1})},"5e43":function(a,t,e){"use strict";e.r(t);var i=e("ba26"),d=e.n(i);for(var n in i)"default"!==n&&function(a){e.d(t,a,(function(){return i[a]}))}(n);t["default"]=d.a},6660:function(a,t,e){var i=e("0a713");"string"===typeof i&&(i=[[a.i,i,""]]),i.locals&&(a.exports=i.locals);var d=e("4f06").default;d("7c03c069",i,!0,{sourceMap:!1,shadowMode:!1})},"6d0f":function(a,t,e){"use strict";var i=e("6660"),d=e.n(i);d.a},"78af":function(a,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i={name:"shoproGoodsCard",components:{},data:function(){return{tagPath:{groupon:"/static/imgs/groupon_tag.png",seckill:"/static/imgs/seckill_tag.png"}}},props:{isTag:{type:[Boolean,String],default:!1},detail:{type:Object,default:null}},computed:{},methods:{jump:function(a,t){this.$Router.push({path:a,query:t})}}};t.default=i},"87dc":function(a,t,e){"use strict";var i;e.d(t,"b",(function(){return d})),e.d(t,"c",(function(){return n})),e.d(t,"a",(function(){return i}));var d=function(){var a=this,t=a.$createElement,e=a._self._c||t;return e("v-uni-view",{staticClass:"filter-box"},[e("v-uni-view",{staticClass:"mask cu-modal",class:{show:a.showSel},staticStyle:{"z-index":"8"},on:{click:function(t){arguments[0]=t=a.$handleEvent(t),a.hideModal.apply(void 0,arguments)}}}),e("v-uni-view",{staticClass:"navbar"},[e("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:a.showSel,expression:"showSel"}],staticClass:"sel-box flex flex-direction"},[e("v-uni-view",{staticClass:"sel-item",class:{"sel-active":0===a.defaultOrder&&0===a.filterIndex},on:{click:function(t){arguments[0]=t=a.$handleEvent(t),a.onSel(0)}}},[a._v("综合推荐")]),e("v-uni-view",{staticClass:"sel-item",class:{"sel-active":1===a.defaultOrder&&0===a.filterIndex},on:{click:function(t){arguments[0]=t=a.$handleEvent(t),a.onSel(1)}}},[a._v("扩展自定义排序")])],1),e("v-uni-view",{staticClass:"nav-item y-f",class:{current:0===a.filterIndex},on:{click:function(t){arguments[0]=t=a.$handleEvent(t),a.tabClick(0)}}},[e("v-uni-view",{staticClass:"title-box flex align-center"},[e("v-uni-text",{staticClass:"filter-title"},[a._v(a._s(1===a.defaultOrder?"自定义":"综合推荐"))]),e("v-uni-view",{staticClass:"p-box"},[e("v-uni-text",{staticClass:"yticon cuIcon-fold xia",class:{active:0===a.filterIndex}})],1)],1),e("v-uni-view",{staticClass:"line",class:{"line-active":0===a.filterIndex}})],1),e("v-uni-view",{staticClass:"nav-item y-f",class:{current:1===a.filterIndex},on:{click:function(t){arguments[0]=t=a.$handleEvent(t),a.tabClick(1)}}},[e("v-uni-view",{staticClass:"title-box x-f"},[e("v-uni-text",{staticClass:"filter-title"},[a._v("销量")])],1),e("v-uni-view",{staticClass:"line",class:{"line-active":1===a.filterIndex}})],1),e("v-uni-view",{staticClass:"nav-item y-f",class:{current:2===a.filterIndex},on:{click:function(t){arguments[0]=t=a.$handleEvent(t),a.tabClick(2)}}},[e("v-uni-view",{staticClass:"title-box x-f"},[e("v-uni-text",{staticClass:"filter-title"},[a._v("价格")]),e("v-uni-view",{staticClass:"p-box"},[e("v-uni-text",{staticClass:"yticon cuIcon-fold",class:{active:1===a.priceOrder&&2===a.filterIndex}}),e("v-uni-text",{staticClass:"yticon cuIcon-fold xia",class:{active:2===a.priceOrder&&2===a.filterIndex}})],1)],1),e("v-uni-view",{staticClass:"line",class:{"line-active":2===a.filterIndex}})],1),e("v-uni-view",{staticClass:"nav-item y-f",class:{current:3===a.filterIndex},on:{click:function(t){arguments[0]=t=a.$handleEvent(t),a.tabClick(3)}}},[e("v-uni-view",{staticClass:"title-box"},[e("v-uni-text",{staticClass:"filter-title"},[a._v("新品优先")])],1),e("v-uni-view",{staticClass:"line",class:{"line-active":3===a.filterIndex}})],1)],1)],1)},n=[]},"91c2":function(a,t,e){"use strict";e.r(t);var i=e("78af"),d=e.n(i);for(var n in i)"default"!==n&&function(a){e.d(t,a,(function(){return i[a]}))}(n);t["default"]=d.a},ba26:function(a,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;e("2f62");var i={components:{},props:{},data:function(){return{filterIndex:0,showSel:!1,defaultOrder:0,priceOrder:0,salesOrder:0,newProdcutOrder:0}},computed:{filterData:function(){var a={defaultOrder:this.defaultOrder,priceOrder:this.priceOrder,salesOrder:this.salesOrder,newProdcutOrder:this.newProdcutOrder};return a}},onLoad:function(){},methods:{tabClick:function(a){this.filterIndex=a,this.showSel=0===a&&!this.showSel,this.salesOrder=1===a?1:0,this.priceOrder=2===a?1===this.priceOrder?2:1:0,this.newProdcutOrder=3===a?1:0,this.$emit("change",this.filterData)},onSel:function(a){this.defaultOrder=a,this.$emit("change",this.filterData),this.showSel=!1},hideModal:function(){this.showSel=!1}}};t.default=i},c913:function(a,t,e){"use strict";e.r(t);var i=e("87dc"),d=e("5e43");for(var n in d)"default"!==n&&function(a){e.d(t,a,(function(){return d[a]}))}(n);e("422b");var o,r=e("f0c5"),l=Object(r["a"])(d["default"],i["b"],i["c"],!1,null,"1243960a",null,!1,i["a"],o);t["default"]=l.exports},d964:function(a,t,e){var i=e("24fb");t=i(!1),t.push([a.i,'@charset "UTF-8";\r\n/* ==================\r\n      uni-app的变量\r\n防止插件市场用到这些,就保留了\r\n ==================== */\r\n/* 页面左右间距 */\r\n/* 文字尺寸 */\r\n/*文字颜色*/\r\n/* 边框颜色 */\r\n/* 图片加载中颜色 */\r\n/* 行为相关颜色 */\r\n/* ==================\r\n       theme   \r\n ==================== */\r\n/*主题色*/\r\n/*文字色*/\r\n/*背景色*/\r\n/* ==================\r\n       自定义变量   \r\n ==================== */\r\n/*utils 工具*/\r\n/* 颜色 */.bg-red[data-v-32e79436]{background-color:#f33!important}.bg-purple[data-v-32e79436]{background-color:#ff33a9!important}.bg-orange[data-v-32e79436]{background-color:#f83!important}.bg-blue[data-v-32e79436]{background-color:#37f!important}.color-red[data-v-32e79436]{color:#f33!important}.color-purple[data-v-32e79436]{color:#ff33a9!important}.color-orange[data-v-32e79436]{color:#f83!important}.color-blue[data-v-32e79436]{color:#37f!important}.text-black[data-v-32e79436]{color:#000}.text-dark[data-v-32e79436]{color:#333}.text-deep[data-v-32e79436]{color:#555}.text-weak[data-v-32e79436]{color:#b3b3b3}.text-white[data-v-32e79436]{color:#fff}\r\n/*字体*/.f10[data-v-32e79436]{font-size:10px}.f12[data-v-32e79436]{font-size:12px}.f14[data-v-32e79436]{font-size:14px}.f15[data-v-32e79436]{font-size:15px}.f17[data-v-32e79436]{font-size:17px}.f20[data-v-32e79436]{font-size:20px}.f24[data-v-32e79436]{font-size:24px}\r\n/* 文字对齐*/.tl[data-v-32e79436]{text-align:left}.tc[data-v-32e79436]{text-align:center}.tr[data-v-32e79436]{text-align:right}\r\n/*浮动与清除浮动*/.fl[data-v-32e79436]{float:left}.fr[data-v-32e79436]{float:right}\n.fix[data-v-32e79436]{zoom:1}.fix[data-v-32e79436]:after{display:table;content:"";clear:both}\r\n\r\n/*显示*/.dn[data-v-32e79436]{display:none}.di[data-v-32e79436]{display:inline}.db[data-v-32e79436]{display:block}.dib[data-v-32e79436]{display:inline-block}.dt[data-v-32e79436]{display:table}\ndiv.dib[data-v-32e79436]{display:inline;zoom:1}\n.vm[data-v-32e79436]{vertical-align:middle}.vib[data-v-32e79436]{display:inline-block;vertical-align:middle}\r\n/*定位*/.pr[data-v-32e79436]{position:relative}.pa[data-v-32e79436]{position:absolute}.pf[data-v-32e79436]{position:fixed}\r\n/*盒子模型*/.mt2[data-v-32e79436]{margin-top:%?2?%}.mr2[data-v-32e79436]{margin-right:%?2?%}.mb2[data-v-32e79436]{margin-bottom:%?2?%}.ml2[data-v-32e79436]{margin-left:%?2?%}.mx2[data-v-32e79436]{margin-left:%?2?%;margin-right:%?2?%}.my2[data-v-32e79436]{margin-top:%?2?%;margin-bottom:%?2?%}.ma2[data-v-32e79436]{margin:%?2?%}.mt4[data-v-32e79436]{margin-top:%?4?%}.mr4[data-v-32e79436]{margin-right:%?4?%}.mb4[data-v-32e79436]{margin-bottom:%?4?%}.ml4[data-v-32e79436]{margin-left:%?4?%}.mx4[data-v-32e79436]{margin-left:%?4?%;margin-right:%?4?%}.my4[data-v-32e79436]{margin-top:%?4?%;margin-bottom:%?4?%}.ma4[data-v-32e79436]{margin:%?4?%}.mt8[data-v-32e79436]{margin-top:%?8?%}.mr8[data-v-32e79436]{margin-right:%?8?%}.mb8[data-v-32e79436]{margin-bottom:%?8?%}.ml8[data-v-32e79436]{margin-left:%?8?%}.mx8[data-v-32e79436]{margin-left:%?8?%;margin-right:%?8?%}.my8[data-v-32e79436]{margin-top:%?8?%;margin-bottom:%?8?%}.ma8[data-v-32e79436]{margin:%?8?%}.mt10[data-v-32e79436]{margin-top:%?10?%}.mr10[data-v-32e79436]{margin-right:%?10?%}.mb10[data-v-32e79436]{margin-bottom:%?10?%}.ml10[data-v-32e79436]{margin-left:%?10?%}.mx10[data-v-32e79436]{margin-left:%?10?%;margin-right:%?10?%}.my10[data-v-32e79436]{margin-top:%?10?%;margin-bottom:%?10?%}.ma10[data-v-32e79436]{margin:%?10?%}.mt15[data-v-32e79436]{margin-top:%?15?%}.mr15[data-v-32e79436]{margin-right:%?15?%}.mb15[data-v-32e79436]{margin-bottom:%?15?%}.ml15[data-v-32e79436]{margin-left:%?15?%}.mx15[data-v-32e79436]{margin-left:%?15?%;margin-right:%?15?%}.my15[data-v-32e79436]{margin-top:%?15?%;margin-bottom:%?15?%}.ma15[data-v-32e79436]{margin:%?15?%}.mt20[data-v-32e79436]{margin-top:%?20?%}.mr20[data-v-32e79436]{margin-right:%?20?%}.mb20[data-v-32e79436]{margin-bottom:%?20?%}.ml20[data-v-32e79436]{margin-left:%?20?%}.mx20[data-v-32e79436]{margin-left:%?20?%;margin-right:%?20?%}.my20[data-v-32e79436]{margin-top:%?20?%;margin-bottom:%?20?%}.ma20[data-v-32e79436]{margin:%?20?%}.mt24[data-v-32e79436]{margin-top:%?24?%}.mr24[data-v-32e79436]{margin-right:%?24?%}.mb24[data-v-32e79436]{margin-bottom:%?24?%}.ml24[data-v-32e79436]{margin-left:%?24?%}.mx24[data-v-32e79436]{margin-left:%?24?%;margin-right:%?24?%}.my24[data-v-32e79436]{margin-top:%?24?%;margin-bottom:%?24?%}.ma24[data-v-32e79436]{margin:%?24?%}.mt30[data-v-32e79436]{margin-top:%?30?%}.mr30[data-v-32e79436]{margin-right:%?30?%}.mb30[data-v-32e79436]{margin-bottom:%?30?%}.ml30[data-v-32e79436]{margin-left:%?30?%}.mx30[data-v-32e79436]{margin-left:%?30?%;margin-right:%?30?%}.my30[data-v-32e79436]{margin-top:%?30?%;margin-bottom:%?30?%}.ma30[data-v-32e79436]{margin:%?30?%}.pt2[data-v-32e79436]{padding-top:%?2?%}.pr2[data-v-32e79436]{padding-right:%?2?%}.pb2[data-v-32e79436]{padding-bottom:%?2?%}.pl2[data-v-32e79436]{padding-left:%?2?%}.px2[data-v-32e79436]{padding-left:%?2?%;padding-right:%?2?%}.py2[data-v-32e79436]{padding-top:%?2?%;padding-bottom:%?2?%}.pa2[data-v-32e79436]{padding:%?2?%}.pt4[data-v-32e79436]{padding-top:%?4?%}.pr4[data-v-32e79436]{padding-right:%?4?%}.pb4[data-v-32e79436]{padding-bottom:%?4?%}.pl4[data-v-32e79436]{padding-left:%?4?%}.px4[data-v-32e79436]{padding-left:%?4?%;padding-right:%?4?%}.py4[data-v-32e79436]{padding-top:%?4?%;padding-bottom:%?4?%}.pa4[data-v-32e79436]{padding:%?4?%}.pt8[data-v-32e79436]{padding-top:%?8?%}.pr8[data-v-32e79436]{padding-right:%?8?%}.pb8[data-v-32e79436]{padding-bottom:%?8?%}.pl8[data-v-32e79436]{padding-left:%?8?%}.px8[data-v-32e79436]{padding-left:%?8?%;padding-right:%?8?%}.py8[data-v-32e79436]{padding-top:%?8?%;padding-bottom:%?8?%}.pa8[data-v-32e79436]{padding:%?8?%}.pt10[data-v-32e79436]{padding-top:%?10?%}.pr10[data-v-32e79436]{padding-right:%?10?%}.pb10[data-v-32e79436]{padding-bottom:%?10?%}.pl10[data-v-32e79436]{padding-left:%?10?%}.px10[data-v-32e79436]{padding-left:%?10?%;padding-right:%?10?%}.py10[data-v-32e79436]{padding-top:%?10?%;padding-bottom:%?10?%}.pa10[data-v-32e79436]{padding:%?10?%}.pt15[data-v-32e79436]{padding-top:%?15?%}.pr15[data-v-32e79436]{padding-right:%?15?%}.pb15[data-v-32e79436]{padding-bottom:%?15?%}.pl15[data-v-32e79436]{padding-left:%?15?%}.px15[data-v-32e79436]{padding-left:%?15?%;padding-right:%?15?%}.py15[data-v-32e79436]{padding-top:%?15?%;padding-bottom:%?15?%}.pa15[data-v-32e79436]{padding:%?15?%}.pt20[data-v-32e79436]{padding-top:%?20?%}.pr20[data-v-32e79436]{padding-right:%?20?%}.pb20[data-v-32e79436]{padding-bottom:%?20?%}.pl20[data-v-32e79436]{padding-left:%?20?%}.px20[data-v-32e79436]{padding-left:%?20?%;padding-right:%?20?%}.py20[data-v-32e79436]{padding-top:%?20?%;padding-bottom:%?20?%}.pa20[data-v-32e79436]{padding:%?20?%}.pt24[data-v-32e79436]{padding-top:%?24?%}.pr24[data-v-32e79436]{padding-right:%?24?%}.pb24[data-v-32e79436]{padding-bottom:%?24?%}.pl24[data-v-32e79436]{padding-left:%?24?%}.px24[data-v-32e79436]{padding-left:%?24?%;padding-right:%?24?%}.py24[data-v-32e79436]{padding-top:%?24?%;padding-bottom:%?24?%}.pa24[data-v-32e79436]{padding:%?24?%}.pt30[data-v-32e79436]{padding-top:%?30?%}.pr30[data-v-32e79436]{padding-right:%?30?%}.pb30[data-v-32e79436]{padding-bottom:%?30?%}.pl30[data-v-32e79436]{padding-left:%?30?%}.px30[data-v-32e79436]{padding-left:%?30?%;padding-right:%?30?%}.py30[data-v-32e79436]{padding-top:%?30?%;padding-bottom:%?30?%}.pa30[data-v-32e79436]{padding:%?30?%}\r\n/*按钮禁用*/.disabled[data-v-32e79436]{outline:0 none;cursor:default!important;opacity:.4;filter:alpha(opacity=40);-ms-pointer-events:none;pointer-events:none}\r\n/**\r\n * \r\n * 自定义class工具\r\n * \r\n*/.pad[data-v-32e79436]{padding:0 %?30?%}.page_box[data-v-32e79436]{height:100%;width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;overflow-x:hidden;background:#fff}.scroll-box[data-v-32e79436]{-webkit-box-flex:1;-webkit-flex:1;flex:1;height:100%;position:relative}.content_box[data-v-32e79436]{-webkit-box-flex:1;-webkit-flex:1;flex:1;overflow-y:auto}\r\n/*单行文本溢出省略号*/.one-t[data-v-32e79436]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;-webkit-transition:all linear .2s;transition:all linear .2s}\r\n/*多行文本溢出省略号*/.more-t[data-v-32e79436]{overflow:hidden;text-overflow:ellipsis;word-break:break-all;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;-webkit-transition:all linear .2s;transition:all linear .2s}\r\n/* ==================\r\n          flex布局(colorui里面也有相关基础样式)\r\n ==================== */\r\n/* x水平排列*/.x-f[data-v-32e79436]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}\r\n/*x两端且水平居中*/.x-bc[data-v-32e79436]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;align-items:center}\r\n/*x平分且水平居中*/.x-ac[data-v-32e79436]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-justify-content:space-around;justify-content:space-around;-webkit-box-align:center;-webkit-align-items:center;align-items:center}\r\n/*x水平靠上对齐*/.x-start[data-v-32e79436]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:start;-webkit-align-items:flex-start;align-items:flex-start}\r\n/*x水平靠下对齐*/.x-end[data-v-32e79436]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:end;-webkit-align-items:flex-end;align-items:flex-end}\r\n/*上下左右居中*/.x-c[data-v-32e79436]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center}\r\n/*y竖直靠左*/.y-start[data-v-32e79436]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:start;-webkit-align-items:flex-start;align-items:flex-start}\r\n/*y竖直靠右*/.y-end[data-v-32e79436]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:end;-webkit-align-items:flex-end;align-items:flex-end}\r\n/*y竖直居中*/.y-f[data-v-32e79436]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.y-b[data-v-32e79436]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}\r\n/*y竖直两端居中*/.y-bc[data-v-32e79436]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}\r\n/* ==================\r\n     flex布局  \r\n ==================== */\r\n/* ==================\r\n      渐变色 \r\n ==================== */\r\n/**\r\n* 溢出省略号\r\n* @param {Number} 行数\r\n*/\r\n/* shopro主题颜色 */\r\n/* 深黑 */#dark-theme[data-v-32e79436]{background:#000}#dark-theme .bColor[data-v-32e79436]{background:#fff;color:#999}#dark-theme .borderColor[data-v-32e79436]{border-color:#fff}\r\n/* 粉红 */#red-theme[data-v-32e79436]{background:#f9e5ee}#red-theme .bColor[data-v-32e79436]{background:#f9e5ee;color:#8e5a54}#red-theme .borderColor[data-v-32e79436]{border-color:#8e5a54}\r\n/* 橘黄 */#yellow-theme[data-v-32e79436]{background:#f6e1c9}#yellow-theme .bColor[data-v-32e79436]{background:#f6e1c9;color:#8c6031}#yellow-theme .borderColor[data-v-32e79436]{border-color:#8c6031}.goods-box[data-v-32e79436]{width:%?345?%;background:-webkit-linear-gradient(315deg,#fff 66%,#e8f6ff);background:linear-gradient(135deg,#fff 66%,#e8f6ff);padding-bottom:%?20?%;border-radius:%?20?%;overflow:hidden}.goods-box .img-box[data-v-32e79436]{width:%?345?%;height:%?345?%;overflow:hidden;position:relative}.goods-box .img-box .tag-img[data-v-32e79436]{position:absolute;left:0;top:0;z-index:2;width:%?80?%;height:%?40?%}.goods-box .img-box .img[data-v-32e79436]{width:%?345?%;height:%?345?%;background-color:#ccc}.goods-box .tip[data-v-32e79436]{width:%?346?%;line-height:%?56?%;font-size:%?28?%;font-family:PingFang SC;font-weight:600;padding:0 %?20?%}.goods-box .title[data-v-32e79436]{font-size:%?24?%;font-family:PingFang SC;font-weight:500;color:#969799;line-height:%?36?%;margin:%?0?% %?20?% %?10?%}.goods-box .price-box[data-v-32e79436]{padding:%?10?% %?20?% 0;width:%?344?%}.goods-box .price-box .sales[data-v-32e79436]{background:#cbf5ff;color:#36b2d0;padding:2px 7px;border-radius:8px;font-size:%?20?%;font-family:PingFang SC;font-weight:400;line-height:%?20?%;margin-bottom:%?20?%}.goods-box .price-box .current[data-v-32e79436]{font-size:%?30?%;font-weight:500;color:#e1212b;line-height:%?30?%;margin-bottom:%?20?%}.goods-box .price-box .current[data-v-32e79436]:before{content:"¥";font-size:%?26?%}.goods-box .price-box .original[data-v-32e79436]{font-size:%?22?%;font-weight:400;text-decoration:line-through;color:#999;margin-left:%?14?%;line-height:%?22?%;margin-bottom:%?10?%}.goods-box .price-box .original[data-v-32e79436]:before{content:"¥";font-size:%?20?%}.goods-box .price-box .tag-box .discount[data-v-32e79436]{line-height:%?28?%;border:%?1?% solid #e1212b;border-radius:%?8?%;font-size:%?18?%;font-family:PingFang SC;font-weight:500;color:#e1212b;padding:0 %?8?%;margin-right:%?10?%}',""]),a.exports=t},e5ff:function(a,t,e){"use strict";e.r(t);var i=e("39b5"),d=e.n(i);for(var n in i)"default"!==n&&function(a){e.d(t,a,(function(){return i[a]}))}(n);t["default"]=d.a}}]);