猎豆优选小程序

pages-subPackages-home-subjectList.7bd29d6b.js 21KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-subPackages-home-subjectList"],{"141a":function(t,e,o){var a=o("24fb");e=a(!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/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.page-wrap[data-v-3415ba4d]{position:relative;height:100vh;overflow:hidden;background-color:#f5f5f5}.page-wrap .sort-wrap[data-v-3415ba4d]{display:flex;align-items:center;justify-content:space-around;padding:%?20?% %?32?%;border-radius:%?10?%;font-size:%?30?%;margin:%?10?% auto 0;color:#333;background-color:#fff}.page-wrap .sort-wrap .sort-item[data-v-3415ba4d]{display:flex;align-items:center}.page-wrap .sort-wrap .sort-item.price-wrap[data-v-3415ba4d]{position:relative}.page-wrap .sort-wrap .sort-item.price-wrap .btn[data-v-3415ba4d]{position:absolute;font-size:%?16?%;color:#ccc}.page-wrap .sort-wrap .sort-item.price-wrap .btn.up[data-v-3415ba4d]{top:%?4?%;right:%?-24?%}.page-wrap .sort-wrap .sort-item.price-wrap .btn.down[data-v-3415ba4d]{bottom:%?4?%;right:%?-24?%}.page-wrap .sort-wrap .sort-item.price-wrap .btn.highlight[data-v-3415ba4d]{color:#ff4040}.page-wrap .sort-wrap .sort-item .sort-img[data-v-3415ba4d]{margin-left:%?10?%;width:%?28?%;height:%?28?%}.page-wrap .sort-wrap .on[data-v-3415ba4d]{color:#ff4040;font-weight:700}.page-wrap .scroll-view-wrap .goods-list-double-wrap[data-v-3415ba4d]{display:flex;justify-content:space-between;flex-wrap:wrap;background-color:#f5f5f5;margin:auto;margin-top:%?22?%}.page-wrap .scroll-view-wrap .goods-list-double-wrap .verticalGoodItem[data-v-3415ba4d]{margin-bottom:%?22?%}.goods-list-double-wrap[data-v-3415ba4d], .sort-wrap[data-v-3415ba4d]{width:%?700?%}',""]),t.exports=e},2909:function(t,e,o){"use strict";o("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return(0,a.default)(t)||(0,i.default)(t)||(0,n.default)(t)||(0,r.default)()};var a=s(o("6005")),i=s(o("db90")),n=s(o("06c5")),r=s(o("3427"));function s(t){return t&&t.__esModule?t:{default:t}}},"2d62":function(t,e,o){"use strict";var a=o("d69d"),i=o.n(a);i.a},"2e72":function(t,e,o){var a=o("24fb");e=a(!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/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.icp-container[data-v-77b45f12]{width:100%;color:#ccc;font-size:%?24?%;line-height:%?40?%;text-align:center;padding:%?40?%}',""]),t.exports=e},3427:function(t,e,o){"use strict";o("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},o("d9e2"),o("d401")},5522:function(t,e,o){var a=o("2e72");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=o("4f06").default;i("624655f7",a,!0,{sourceMap:!1,shadowMode:!1})},5769:function(t,e,o){var a=o("bd81");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=o("4f06").default;i("4145eeb8",a,!0,{sourceMap:!1,shadowMode:!1})},"5b3a":function(t,e,o){"use strict";o.d(e,"b",(function(){return i})),o.d(e,"c",(function(){return n})),o.d(e,"a",(function(){return a}));var a={uNavbar:o("6103").default,uIcon:o("5fbc").default,icp:o("b9f0").default},i=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("v-uni-view",{staticClass:"page-wrap"},[o("u-navbar",{staticClass:"navbar-wrap",attrs:{title:t.navbarTitle,background:t.newNavbarBackground,"title-size":36,"back-icon-color":"#181818","title-color":"#181818","title-bold":!1,"is-back":!0}}),o("v-uni-view",{staticClass:"sort-wrap"},[o("v-uni-view",{class:["sort-item",1==t.filter.sort?"on":""],on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onClickSort({isPrice:!1,sort:1})}}},[t._v("综合")]),o("v-uni-view",{class:["sort-item",2==t.filter.sort?"on":""],on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onClickSort({isPrice:!1,sort:2})}}},[t._v("销量")]),o("v-uni-view",{staticClass:"sort-item price-wrap",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onClickSort({isPrice:!0,sort:null})}}},[o("v-uni-text",{class:[3==t.filter.sort||4==t.filter.sort?"on":""]},[t._v("价格")]),o("u-icon",{class:["btn","up",3==t.filter.sort?"highlight":""],attrs:{name:"arrow-up-fill"}}),o("u-icon",{class:["btn","down",4==t.filter.sort?"highlight":""],attrs:{name:"arrow-down-fill"}})],1),o("v-uni-view",{class:["sort-item",1===t.filter.is_has_coupon?"on":""],on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onClickIsCoupon.apply(void 0,arguments)}}},[o("v-uni-text",[t._v("有券")]),1===t.filter.is_has_coupon?o("v-uni-image",{staticClass:"sort-img",attrs:{src:"/static/imgs/sort-coupon-on.png"}}):o("v-uni-image",{staticClass:"sort-img",attrs:{src:"/static/imgs/sort-coupon.png"}})],1)],1),o("v-uni-scroll-view",{staticClass:"scroll-view-wrap",style:{height:t.scrollView.height},attrs:{"scroll-y":!0,"scroll-top":t.scrollView.scrollTop,"scroll-with-animation":!0},on:{scroll:function(e){arguments[0]=e=t.$handleEvent(e),t.onScroll.apply(void 0,arguments)},scrolltolower:function(e){arguments[0]=e=t.$handleEvent(e),t.onScrollToLower.apply(void 0,arguments)}}},[o("v-uni-view",{staticClass:"goods-list-double-wrap"},[t._l(t.goodsList,(function(e){return[e?o("verticalGood",{key:e.goods_id,staticClass:"verticalGoodItem",attrs:{goodsItem:e,path:t.path,category_id:t.filter.category_id}}):t._e()]}))],2),o("icp")],1),t.goTop_show?o("top-hang",{on:{goTop:function(e){arguments[0]=e=t.$handleEvent(e),t.onclickTophang.apply(void 0,arguments)}}}):t._e()],1)},n=[]},6005:function(t,e,o){"use strict";o("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){if(Array.isArray(t))return(0,a.default)(t)};var a=function(t){return t&&t.__esModule?t:{default:t}}(o("6b75"))},"646e":function(t,e,o){"use strict";o("7a82");var a=o("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,o("4de4"),o("d3b7"),o("4e82"),o("99af");var i=a(o("2909")),n=a(o("c7eb")),r=a(o("1da1")),s=a(o("fa63")),c=a(o("a4bb")),l=getApp(),d={components:{topHang:c.default,verticalGood:s.default},data:function(){return{statusBarHeight:l.globalData.statusBarHeight,newNavbarBackground:l.globalData.newNavbarBackground,navbarTitle:"",scrollView:{height:800,scrollTop:0},goodsList:[],filter:{hasNext:!0,page:1,category_id:13,sort:1,is_has_coupon:0},user_level:uni.getStorageSync("userInfo")?uni.getStorageSync("userInfo").user_level:"",goTop_show:!1,path:""}},onLoad:function(t){var e=this;return(0,r.default)((0,n.default)().mark((function o(){var a,i;return(0,n.default)().wrap((function(o){while(1)switch(o.prev=o.next){case 0:a=t.id,i=t.title,e.path=t.path,e.navbarTitle=i?decodeURIComponent(i):"",e.filter.category_id=a||13,e.handleGetGoodsList();case 5:case"end":return o.stop()}}),o)})))()},onReady:function(){this.handleInitScrollView()},methods:{onclickTophang:function(){this.scrollView.scrollTop=0===this.scrollView.scrollTop?-1:0},onScroll:function(t){var e=t.target.scrollTop;this.goTop_show=e>300},handleInitScrollView:function(){var t=this;return(0,r.default)((0,n.default)().mark((function e(){var o,a,i,r,s;return(0,n.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.$u.getRect(".sort-wrap");case 2:o=e.sent,a=o.height,i=void 0===a?40:a,r=o.top,s=void 0===r?95:r,t.scrollView.height="".concat(uni.getSystemInfoSync().windowHeight-i-s,"px");case 8:case"end":return e.stop()}}),e)})))()},onScrollToLower:function(t){console.log("onScrollToLower => ",t),this.handleGetGoodsList()},handleGetGoodsList:function(){var t=this;return(0,r.default)((0,n.default)().mark((function e(){var o,a,r,s,c,l,d,u,p,f,v;return(0,n.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(console.log("handleGetGoodsList => "),o=t.filter,a=o.hasNext,r=o.page,s=o.category_id,c=o.sort,l=o.is_has_coupon,a){e.next=4;break}return e.abrupt("return",!1);case 4:return e.prev=4,uni.showLoading({title:"加载中...",mask:!0}),d=t.$api.home_stocklistByCategoryId,u={page:r,category_id:s,sort:c,is_has_coupon:l},e.next=10,t.$postJSON(d,u);case 10:p=e.sent,f=p.data,v=void 0===f?{}:f,console.log("res => ",v),v&&0==v.errno&&Array.isArray(v.rst.data)?(t.filter.hasNext=v.rst.pageInfo.hasNext,t.filter.hasNext&&t.filter.page++,t.goodsList=[].concat((0,i.default)(t.goodsList),(0,i.default)(v.rst.data))):uni.showToast({title:v.err||"操作失败",icon:"none"}),e.next=20;break;case 17:e.prev=17,e.t0=e["catch"](4),console.log("error => ",e.t0);case 20:return e.prev=20,uni.hideLoading(),e.finish(20);case 23:case"end":return e.stop()}}),e,null,[[4,17,20,23]])})))()},onClickSort:function(t){var e=t.isPrice,o=void 0!==e&&e,a=t.sort,i=void 0===a?null:a;o?3===this.filter.sort?this.filter.sort=4:(this.filter.sort,this.filter.sort=3):this.filter.sort=i,this.onclickTophang(),this.filter.hasNext=!0,this.filter.page=1,this.goodsList=[],this.handleGetGoodsList()},onClickIsCoupon:function(){1===this.filter.is_has_coupon?this.filter.is_has_coupon=0:this.filter.is_has_coupon=1,this.onclickTophang(),this.filter.hasNext=!0,this.filter.page=1,this.goodsList=[],this.handleGetGoodsList()}}};e.default=d},"697d":function(t,e,o){"use strict";o.r(e);var a=o("646e"),i=o.n(a);for(var n in a)["default"].indexOf(n)<0&&function(t){o.d(e,t,(function(){return a[t]}))}(n);e["default"]=i.a},"73ba":function(t,e,o){"use strict";o.d(e,"b",(function(){return a})),o.d(e,"c",(function(){return i})),o.d(e,"a",(function(){}));var a=function(){var t=this.$createElement,e=this._self._c||t;return e("v-uni-view",{staticClass:"icp-container"},[e("v-uni-view",[this._v("Copyright © 2015-2025 猎豆优选")]),e("v-uni-view",[this._v("杭州猎豆信息技术有限公司 All rights reserved")]),e("v-uni-view",[this._v("浙ICP备16001297号-1")])],1)},i=[]},b53d:function(t,e,o){"use strict";o.r(e);var a=o("5b3a"),i=o("697d");for(var n in i)["default"].indexOf(n)<0&&function(t){o.d(e,t,(function(){return i[t]}))}(n);o("2d62");var r=o("f0c5"),s=Object(r["a"])(i["default"],a["b"],a["c"],!1,null,"3415ba4d",null,!1,a["a"],void 0);e["default"]=s.exports},b735:function(t,e,o){"use strict";o("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,o("a9e3"),o("99af");var a=getApp(),i={name:"verticalGood",props:{goodsItem:{type:Object},path:{type:String,default:""},category_id:{type:String|Number,default:""}},data:function(){return{user_level:uni.getStorageSync("userInfo")?uni.getStorageSync("userInfo").user_level:""}},methods:{onClickGoodsItem:function(t){try{a.categoryNew_countBuy({shop_type:t.shop_type,type:0,path:this.path,category_id:this.category_id})}catch(k){}if(4==t.shop_type){console.log("goodsItem => ",t);t.img;var e=t.goods_id,o=void 0===e?"":e;t.coupon_price,t.discount_price,t.price,t.is_coupon,t.commission_rate,t.is_high_commission,t.coupon_end_time,t.coupon_start_time;uni.navigateTo({url:"/pages/subPackages/home/jdGoodsDetail?goods_id=".concat(encodeURIComponent(o))})}else{var i=t.img,n=void 0===i?"":i,r=t.goods_id,s=void 0===r?"":r,c=t.coupon_price,l=void 0===c?"":c,d=t.discount_price,u=void 0===d?"":d,p=t.price,f=void 0===p?"":p,v=t.is_coupon,g=void 0===v?"":v,h=t.commission_rate,m=void 0===h?"":h,w=t.is_high_commission,b=void 0===w?"":w,_=t.coupon_end_time,y=void 0===_?"":_,x=t.coupon_start_time,C=void 0===x?"":x;uni.navigateTo({url:"/pages/subPackages/home/goodsDetail?img=".concat(encodeURIComponent(n),"&goods_id=").concat(encodeURIComponent(s),"&coupon_price=").concat(encodeURIComponent(l),"&discount_price=").concat(encodeURIComponent(u),"&price=").concat(encodeURIComponent(f),"&is_coupon=").concat(encodeURIComponent(g),"&commission_rate=").concat(encodeURIComponent(m),"&is_high_commission=").concat(encodeURIComponent(b),"&coupon_end_time=").concat(encodeURIComponent(y),"&coupon_start_time=").concat(encodeURIComponent(C))})}}}};e.default=i},b9f0:function(t,e,o){"use strict";o.r(e);var a=o("73ba"),i=o("c220");for(var n in i)["default"].indexOf(n)<0&&function(t){o.d(e,t,(function(){return i[t]}))}(n);o("fe73");var r=o("f0c5"),s=Object(r["a"])(i["default"],a["b"],a["c"],!1,null,"77b45f12",null,!1,a["a"],void 0);e["default"]=s.exports},bd81:function(t,e,o){var a=o("24fb"),i=o("1de5"),n=o("2252"),r=o("2b15"),s=o("6e7b");e=a(!1);var c=i(n),l=i(r),d=i(s);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/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.salesVolume[data-v-99fe919a]{background:url('+c+") no-repeat;background-size:100%;width:%?160?%;line-height:%?28?%;color:#ff4040;font-size:%?20?%;line-height:%?42?%;text-align:center;padding-left:%?16?%}.flex-center[data-v-99fe919a]{display:flex;align-items:center}.flex-center-between[data-v-99fe919a]{display:flex;align-items:center;justify-content:space-between}.goods-item-wrap[data-v-99fe919a]{background-color:#fff;width:%?340?%;height:%?586?%;padding:%?20?%;border-radius:%?12?%}.goods-item-wrap .tp-wrap[data-v-99fe919a]{width:%?300?%;height:%?300?%;overflow:hidden}.goods-item-wrap .tp-wrap .goods-item-img[data-v-99fe919a]{width:100%;height:100%}.goods-item-wrap .bm-wrap[data-v-99fe919a]{margin-top:%?12?%}.goods-item-wrap .bm-wrap .title[data-v-99fe919a]{font-size:%?30?%;color:#1a1a1a;line-height:%?42?%;word-break:break-all;overflow:hidden;-webkit-line-clamp:2;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;font-weight:700}.goods-item-wrap .bm-wrap .title .shop-icon[data-v-99fe919a]{width:%?30?%;height:%?30?%;border-radius:%?6?%;display:inline-block;margin-right:%?6?%;margin-top:%?-7?%;vertical-align:middle}.goods-item-wrap .bm-wrap .shop-wrap[data-v-99fe919a]{margin-top:%?8?%;display:flex;align-items:center}.goods-item-wrap .bm-wrap .shop-wrap .shop-icon[data-v-99fe919a]{width:%?26?%;height:%?26?%;vertical-align:middle}.goods-item-wrap .bm-wrap .shop-wrap .shop-name[data-v-99fe919a]{margin-left:%?6?%;font-size:%?24?%;line-height:%?34?%;color:#aaa;flex:1;max-width:%?240?%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.goods-item-wrap .bm-wrap .price-wrap[data-v-99fe919a]{margin-top:%?10?%;display:flex;align-items:center}.goods-item-wrap .bm-wrap .price-wrap .price[data-v-99fe919a]{font-size:%?36?%;line-height:%?50?%;color:#ff4040;font-weight:700}.goods-item-wrap .bm-wrap .price-wrap .start-price[data-v-99fe919a]{margin-left:%?10?%;font-size:%?24?%;color:#999;line-height:%?34?%;text-decoration:line-through}.goods-item-wrap .bm-wrap .btm-wrap[data-v-99fe919a]{display:flex;align-items:center;margin-top:%?10?%}.goods-item-wrap .bm-wrap .btm-wrap .coupon-wrap[data-v-99fe919a]{display:flex;align-items:center;width:%?144?%;height:%?36?%;background-image:url("+l+");background-repeat:no-repeat;background-size:100% 100%;color:#ff4040;font-size:%?25?%;line-height:%?36?%}.goods-item-wrap .bm-wrap .btm-wrap .coupon-wrap .label[data-v-99fe919a]{width:%?46?%;text-align:center}.goods-item-wrap .bm-wrap .btm-wrap .coupon-wrap .value[data-v-99fe919a]{flex:1;text-align:center}.goods-item-wrap .bm-wrap .btm-wrap .commission-wrap[data-v-99fe919a]{background-image:url("+d+");color:#ae4300;margin-left:%?12?%}",""]),t.exports=e},c220:function(t,e,o){"use strict";o.r(e);var a=o("d501"),i=o.n(a);for(var n in a)["default"].indexOf(n)<0&&function(t){o.d(e,t,(function(){return a[t]}))}(n);e["default"]=i.a},d501:function(t,e,o){"use strict";o("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={name:"icp",data:function(){return{}}}},d69d:function(t,e,o){var a=o("141a");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=o("4f06").default;i("c1087cee",a,!0,{sourceMap:!1,shadowMode:!1})},d903:function(t,e,o){"use strict";var a=o("5769"),i=o.n(a);i.a},db90:function(t,e,o){"use strict";o("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)},o("a4d3"),o("e01a"),o("d3b7"),o("d28b"),o("3ca3"),o("ddb0"),o("a630")},e4ef:function(t,e,o){"use strict";o.r(e);var a=o("b735"),i=o.n(a);for(var n in a)["default"].indexOf(n)<0&&function(t){o.d(e,t,(function(){return a[t]}))}(n);e["default"]=i.a},fa63:function(t,e,o){"use strict";o.r(e);var a=o("fbc6"),i=o("e4ef");for(var n in i)["default"].indexOf(n)<0&&function(t){o.d(e,t,(function(){return i[t]}))}(n);o("d903");var r=o("f0c5"),s=Object(r["a"])(i["default"],a["b"],a["c"],!1,null,"99fe919a",null,!1,a["a"],void 0);e["default"]=s.exports},fbc6:function(t,e,o){"use strict";o.d(e,"b",(function(){return i})),o.d(e,"c",(function(){return n})),o.d(e,"a",(function(){return a}));var a={uLazyLoad:o("1955").default},i=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("v-uni-view",{staticClass:"goods-item-wrap",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onClickGoodsItem(t.goodsItem)}}},[o("v-uni-view",{staticClass:"tp-wrap"},[o("u-lazy-load",{staticClass:"goods-item-img",attrs:{image:t.goodsItem.img,"img-mode":"aspectFit",height:"300","border-radius":"10"}})],1),o("v-uni-view",{staticClass:"bm-wrap"},[o("v-uni-view",{staticClass:"title"},[0==t.goodsItem.shop_type?o("v-uni-image",{staticClass:"shop-icon",attrs:{src:"/static/imgs/icon-tb.png"}}):1==t.goodsItem.shop_type?o("v-uni-image",{staticClass:"shop-icon",attrs:{src:"/static/imgs/icon-tmall.png"}}):4==t.goodsItem.shop_type?o("v-uni-image",{staticClass:"shop-icon",attrs:{src:"/static/imgs/jd-icon.png"}}):t._e(),o("v-uni-text",[t._v(t._s(t.goodsItem.title))])],1),o("v-uni-view",{staticClass:"shop-wrap flex-center-between"},[o("v-uni-view",{staticClass:"flex-center"},[o("v-uni-image",{staticClass:"shop-icon",attrs:{src:"/static/imgs/shop.png"}}),o("v-uni-view",{staticClass:"shop-name",style:t.goodsItem.volume>100?"max-width: 100rpx":""},[t._v(t._s(t.goodsItem.shop_title))])],1),t.goodsItem.volume>100?o("v-uni-view",{staticClass:"salesVolume"},[t._v("月销:"+t._s(t.$NumberHandle({value:t.goodsItem.volume,comma:!0}))+"+")]):t._e()],1),o("v-uni-view",{staticClass:"price-wrap"},[o("v-uni-text",{staticClass:"price"},[t._v(t._s(t.goodsItem.discount_price))]),o("v-uni-text",{staticClass:"start-price"},[t._v("¥"+t._s(t.goodsItem.price))])],1),o("v-uni-view",{staticClass:"btm-wrap"},[t.goodsItem.coupon_price>0?o("v-uni-view",{staticClass:"coupon-wrap"},[o("v-uni-text",{staticClass:"label"},[t._v("券")]),o("v-uni-text",{staticClass:"value"},[t._v("¥"+t._s(t.goodsItem.coupon_price))])],1):t._e(),t.user_level>1&&t.goodsItem.commission_price>0?o("v-uni-view",{staticClass:"coupon-wrap commission-wrap"},[o("v-uni-text",{staticClass:"label"},[t._v("返")]),o("v-uni-text",{staticClass:"value"},[t._v("¥"+t._s(t.goodsItem.commission_price))])],1):t._e()],1)],1)],1)},n=[]},fe73:function(t,e,o){"use strict";var a=o("5522"),i=o.n(a);i.a}}]);