This commit is contained in:
2026-04-14 17:38:46 +08:00
commit b71e6d6bae
2848 changed files with 237896 additions and 0 deletions

View File

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/active-area/active-area"],{"008f":function(n,t,e){"use strict";e.d(t,"b",(function(){return r})),e.d(t,"c",(function(){return i})),e.d(t,"a",(function(){return u}));var u={uIcon:function(){return e.e("components/uview-ui/components/u-icon/u-icon").then(e.bind(null,"8f08"))},goodsList:function(){return e.e("components/goods-list/goods-list").then(e.bind(null,"877a"))}},r=function(){var n=this.$createElement;this._self._c},i=[]},"4d1b":function(n,t,e){"use strict";var u=e("eb64"),r=e.n(u);r.a},aa80:function(n,t,e){"use strict";e.r(t);var u=e("b870"),r=e.n(u);for(var i in u)["default"].indexOf(i)<0&&function(n){e.d(t,n,(function(){return u[n]}))}(i);t["default"]=r.a},b870:function(n,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u={name:"active-area",props:{title:String,url:String,list:{type:Array,default:function(){return[]}},type:String},data:function(){return{}}};t.default=u},c9d3:function(n,t,e){"use strict";e.r(t);var u=e("008f"),r=e("aa80");for(var i in r)["default"].indexOf(i)<0&&function(n){e.d(t,n,(function(){return r[n]}))}(i);e("4d1b");var a=e("828b"),o=Object(a["a"])(r["default"],u["b"],u["c"],!1,null,"ac26f4de",null,!1,u["a"],void 0);t["default"]=o.exports},eb64:function(n,t,e){}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/active-area/active-area-create-component',
{
'components/active-area/active-area-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("c9d3"))
})
},
[['components/active-area/active-area-create-component']]
]);

View File

@ -0,0 +1,7 @@
{
"component": true,
"usingComponents": {
"u-icon": "/components/uview-ui/components/u-icon/u-icon",
"goods-list": "/components/goods-list/goods-list"
}
}

View File

@ -0,0 +1 @@
<view class="{{['data-v-ac26f4de','active-area bg-white',type]}}"><block wx:if="{{title}}"><view class="active-hd flex row-between data-v-ac26f4de"><view class="xxl bold data-v-ac26f4de">{{title}}</view><block wx:if="{{url&&type=='hot'}}"><router-link vue-id="16b13058-1" to="{{url}}" class="data-v-ac26f4de" bind:__l="__l" vue-slots="{{['default']}}"><view class="sm data-v-ac26f4de">更多 <u-icon vue-id="{{('16b13058-2')+','+('16b13058-1')}}" name="arrow-right" class="data-v-ac26f4de" bind:__l="__l"></u-icon></view></router-link></block></view></block><view class="active-con data-v-ac26f4de"><block wx:if="{{type=='hot'}}"><scroll-view style="white-space:nowrap;" scroll-x="{{true}}" class="data-v-ac26f4de"><view class="goods-wrap data-v-ac26f4de"><goods-list vue-id="16b13058-3" show-bg="{{false}}" type="row-hot" list="{{list}}" class="data-v-ac26f4de" bind:__l="__l"></goods-list></view></scroll-view></block><block wx:if="{{type=='new'}}"><goods-list vue-id="16b13058-4" type="new" list="{{list}}" show-bg="{{false}}" class="data-v-ac26f4de" bind:__l="__l"></goods-list></block></view><block wx:if="{{url&&type=='new'}}"><router-link vue-id="16b13058-5" to="{{url}}" class="data-v-ac26f4de" bind:__l="__l" vue-slots="{{['default']}}"><view class="bg-white xs flex row-center more data-v-ac26f4de">查看更多 <u-icon vue-id="{{('16b13058-6')+','+('16b13058-5')}}" name="arrow-right" class="data-v-ac26f4de" bind:__l="__l"></u-icon></view></router-link></block></view>

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/ad-swipers/ad-swipers"],{"0791":function(t,e,n){"use strict";n.r(e);var i=n("c3e1"),a=n("b67c");for(var r in a)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(r);n("29c8");var u=n("828b"),s=Object(u["a"])(a["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);e["default"]=s.exports},"29c8":function(t,e,n){"use strict";var i=n("b051"),a=n.n(i);a.a},b051:function(t,e,n){},b384:function(t,e,n){"use strict";var i=n("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=i(n("7eb4")),r=i(n("ee10")),u=n("c2cb"),s=(n("0aec"),{data:function(){return{lists:[],currentSwiper:0}},props:{pid:{type:Number},circular:{type:Boolean,default:!0},autoplay:{type:Boolean,default:!0},height:{type:String},radius:{type:String,default:"0"},padding:{type:String,default:"0rpx"},previousMargin:{type:String,default:"0rpx"},isSwiper:{type:Boolean,default:!0}},created:function(){this.getAdListFun()},watch:{pid:function(t){this.getAdListFun()}},methods:{getAdListFun:function(){var t=this;return(0,r.default)(a.default.mark((function e(){var n,i,r;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,(0,u.getAdList)({pid:t.pid,terminal:1});case 2:n=e.sent,i=n.code,r=n.data,1==i&&(t.lists=r);case 6:case"end":return e.stop()}}),e)})))()},swiperChange:function(t){this.currentSwiper=t.detail.current},goPage:function(t){var e=t.link,n=t.link_type,i=t.params,a=t.is_tab;switch(n){case 1:case 2:a?this.$Router.pushTab({path:e}):this.$Router.push({path:e,query:i});break;case 3:this.$Router.push({path:"/pages/webview/webview",query:{url:e}});break}}}});e.default=s},b67c:function(t,e,n){"use strict";n.r(e);var i=n("b384"),a=n.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(r);e["default"]=a.a},c3e1:function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){return i}));var i={uImage:function(){return n.e("components/uview-ui/components/u-image/u-image").then(n.bind(null,"28a8"))}},a=function(){var t=this.$createElement,e=(this._self._c,this.lists.length),n=e&&this.isSwiper?this.lists.length:null;this.$mp.data=Object.assign({},{$root:{g0:e,g1:n}})},r=[]}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/ad-swipers/ad-swipers-create-component',
{
'components/ad-swipers/ad-swipers-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("0791"))
})
},
[['components/ad-swipers/ad-swipers-create-component']]
]);

View File

@ -0,0 +1,6 @@
{
"component": true,
"usingComponents": {
"u-image": "/components/uview-ui/components/u-image/u-image"
}
}

View File

@ -0,0 +1 @@
<block wx:if="{{$root.g0}}"><view class="swiper-wrap" style="{{'height:'+(height)+';'+('padding:'+(padding)+';')}}"><view class="swiper-con" style="{{'border-radius:'+(radius)+';'}}"><block wx:if="{{isSwiper}}"><swiper class="swiper" autoplay="{{autoplay}}" circular="{{circular}}" previous-margin="{{previousMargin}}" display-multiple-items="1" data-event-opts="{{[['change',[['swiperChange',['$event']]]]]}}" bindchange="__e"><block wx:for="{{lists}}" wx:for-item="item" wx:for-index="index" wx:key="index"><swiper-item><view style="width:100%;height:100%;" data-item="{{item}}" data-event-opts="{{[['tap',[['goPage',['$0'],[[['lists','',index]]]]]]]}}" bindtap="__e"><u-image vue-id="{{'3d64ae62-1-'+index}}" mode="aspectFill" width="{{'calc(100% - '+previousMargin+')'}}" height="100%" border-radius="{{radius}}" src="{{item.image}}" bind:__l="__l"></u-image></view></swiper-item></block></swiper><block wx:if="{{$root.g1>1}}"><view class="dots"><block wx:for="{{lists}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="{{['dot '+(index==currentSwiper?'active':'')]}}"></view></block></view></block></block><block wx:for="{{lists}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block wx:if="{{index<1}}"><view style="width:100%;height:100%;" data-item="{{item}}" data-event-opts="{{[['tap',[['goPage',['$0'],[[['lists','',index]]]]]]]}}" bindtap="__e"><u-image vue-id="{{'3d64ae62-2-'+index}}" mode="aspectFill" width="{{'calc(100% - '+previousMargin+')'}}" height="100%" border-radius="{{radius}}" src="{{item.image}}" bind:__l="__l"></u-image></view></block></block></view></view></block>

View File

@ -0,0 +1 @@
.swiper-wrap{overflow:hidden;box-sizing:initial}.swiper-wrap .swiper-con{position:relative;height:100%;overflow:hidden;-webkit-transform:translateY(0);transform:translateY(0)}.swiper-wrap .swiper{width:100%;height:100%;position:relative}.swiper-wrap .swiper .slide-image{height:100%}.swiper-wrap .dots{position:absolute;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);bottom:20rpx;display:flex}.swiper-wrap .dots .dot{width:8rpx;height:8rpx;border-radius:50%;margin-right:10rpx;background-color:#fff}.swiper-wrap .dots .dot.active{width:16rpx;border-radius:8rpx;background-color:#ff2c3c}

View File

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/after-sales-list/after-sales-list"],{1960:function(e,t,n){"use strict";n.r(t);var a=n("8719"),r=n("b67a");for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);n("42fa");var l=n("828b"),o=Object(l["a"])(r["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],void 0);t["default"]=o.exports},"42fa":function(e,t,n){"use strict";var a=n("4d79"),r=n.n(a);r.a},"4d79":function(e,t,n){},"857a":function(e,t,n){"use strict";(function(e){var a=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n("7eb4")),i=a(n("ee10")),l=a(n("8462")),o=a(n("8628")),s=n("f4fb"),u=n("25af"),d={mixins:[l.default,o.default],props:{type:{type:String,default:s.afterSaleType.NORMAL}},data:function(){return{lists:[],downOption:{auto:!1},upOption:{auto:!1,noMoreSize:4,empty:{icon:"/static/images/order_null.png",tip:"暂无售后~",fixed:!0}},showDialog:!1}},created:function(){var t=this;e.$on("refreshsale",(function(){t.downCallback()}))},destroyed:function(){e.$off("refreshsale")},methods:{applyRefund:function(e,t){var n=e.after_sale.able_apply,a=e.order_id,r=t.item_id;1==n&&this.$Router.push({path:"/bundle/pages/apply_refund/apply_refund",query:{order_id:a,item_id:r}})},cancelApplyFun:function(){var t=this;(0,u.cancelApply)({id:this.id}).then((function(n){1==n.code&&(t.$toast({title:n.msg}),e.$emit("refreshsale"))}))},upCallback:function(e){var t=this;return(0,i.default)(r.default.mark((function n(){var a,i,l,o,s,d,f,c;return r.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return a=t.type,i={page_size:e.size,page_no:e.num,type:a},n.next=4,(0,u.getAfterSaleList)(i);case 4:l=n.sent,o=l.data,s=l.code,1==s&&(d=o.list,f=d.length,c=!!o.more,1==e.num&&(t.lists=[]),t.lists=t.lists.concat(d),t.mescroll.endSuccess(f,c));case 8:case"end":return n.stop()}}),n)})))()},onShowDialog:function(e){this.id=e,this.showDialog=!0}}};t.default=d}).call(this,n("df3c")["default"])},8719:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return a}));var a={mescrollUni:function(){return Promise.all([n.e("common/vendor"),n.e("components/mescroll-uni/mescroll-uni")]).then(n.bind(null,"8293"))},shopTitle:function(){return n.e("components/shop-title/shop-title").then(n.bind(null,"c1de"))},uImage:function(){return n.e("components/uview-ui/components/u-image/u-image").then(n.bind(null,"28a8"))},priceFormat:function(){return n.e("components/price-format/price-format").then(n.bind(null,"1738"))},uModal:function(){return n.e("components/uview-ui/components/u-modal/u-modal").then(n.bind(null,"37df"))}},r=function(){var e=this,t=e.$createElement,n=(e._self._c,"normal"==e.type?e.__map(e.lists,(function(t,n){var a=e.__get_orig(t),r={name:t.shop_name,id:t.sid};return{$orig:a,a0:r}})):null),a="normal"!=e.type&&"apply"==e.type?e.__map(e.lists,(function(t,n){var a=e.__get_orig(t),r={name:t.shop_name,id:t.sid},i=e.__map(t.order_goods,(function(n,a){var r=e.__get_orig(n),i={path:"/bundle/pages/after_sales_detail/after_sales_detail",query:{id:t.after_sale.after_sale_id}},l=4==t.after_sale.status||1==t.after_sale.status?{path:"/bundle/pages/apply_refund/apply_refund",query:{after_sale_id:t.after_sale.after_sale_id,order_id:t.order_id,item_id:n.item_id}}:null,o=2==t.after_sale.status?{path:"/bundle/pages/input_express_info/input_express_info",query:{id:t.after_sale.after_sale_id}}:null;return{$orig:r,a2:i,a3:l,a4:o}}));return{$orig:a,a1:r,l1:i}})):null,r="normal"!=e.type&&"apply"!=e.type?e.__map(e.lists,(function(t,n){var a=e.__get_orig(t),r={name:t.shop_name,id:t.sid},i=e.__map(t.order_goods,(function(n,a){var r=e.__get_orig(n),i={path:"/bundle/pages/after_sales_detail/after_sales_detail",query:{id:t.after_sale.after_sale_id}};return{$orig:r,a6:i}}));return{$orig:a,a5:r,l3:i}})):null;e.$mp.data=Object.assign({},{$root:{l0:n,l2:a,l4:r}})},i=[]},b67a:function(e,t,n){"use strict";n.r(t);var a=n("857a"),r=n.n(a);for(var i in a)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(i);t["default"]=r.a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/after-sales-list/after-sales-list-create-component',
{
'components/after-sales-list/after-sales-list-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("1960"))
})
},
[['components/after-sales-list/after-sales-list-create-component']]
]);

View File

@ -0,0 +1,10 @@
{
"component": true,
"usingComponents": {
"mescroll-uni": "/components/mescroll-uni/mescroll-uni",
"shop-title": "/components/shop-title/shop-title",
"u-image": "/components/uview-ui/components/u-image/u-image",
"price-format": "/components/price-format/price-format",
"u-modal": "/components/uview-ui/components/u-modal/u-modal"
}
}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
.sale-list{overflow:hidden}.sale-list .sale-item .sale-header{padding:0 20rpx}.sale-list .sale-item .sale-content{padding:20rpx 24rpx}.sale-list .sale-item .sale-content .sale-status{padding:20rpx 40rpx;background-color:#f6f6f6;border-radius:6rpx}.sale-list .sale-item .sale-content .goods-desc{min-width:500rpx}.sale-list .sale-item .sale-footer{padding:0 24rpx 22rpx}.sale-list .sale-item .sale-footer .btn{padding:9rpx 34rpx;border:1px solid #ff2c3c}.sale-list .sale-item .sale-footer .btn.gray-btn{border-color:#e5e5e5;color:#999}.sale-list .sale-item .sale-footer .btn.black-btn{border-color:#e5e5e5;color:#333}

View File

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/bargain-list/bargain-list"],{"2ce6":function(t,n,e){"use strict";e.r(n);var i=e("eb85"),a=e.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(o);n["default"]=a.a},"43b2":function(t,n,e){"use strict";e.r(n);var i=e("cc11c"),a=e("2ce6");for(var o in a)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return a[t]}))}(o);e("6780");var c=e("828b"),u=Object(c["a"])(a["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);n["default"]=u.exports},6780:function(t,n,e){"use strict";var i=e("c8a2"),a=e.n(i);a.a},c8a2:function(t,n,e){},cc11c:function(t,n,e){"use strict";e.d(n,"b",(function(){return a})),e.d(n,"c",(function(){return o})),e.d(n,"a",(function(){return i}));var i={mescrollUni:function(){return Promise.all([e.e("common/vendor"),e.e("components/mescroll-uni/mescroll-uni")]).then(e.bind(null,"8293"))},customImage:function(){return e.e("components/custom-image/custom-image").then(e.bind(null,"1402"))}},a=function(){var t=this.$createElement;this._self._c},o=[]},eb85:function(t,n,e){"use strict";var i=e("47a9");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=e("0956"),o=i(e("8462")),c=i(e("8628")),u={mixins:[o.default,c.default],data:function(){return{lists:[],downOption:{auto:!1},upOption:{auto:!0,noMoreSize:4,empty:{icon:"/static/images/goods_null.png",tip:"暂无砍价记录~",fixed:!0}}}},props:{bargainType:{type:Number,default:-1}},mounted:function(){this.$getBargainActivityList()},methods:{upCallback:function(t){this.$getBargainActivityList(t.num,t.size)},$getBargainActivityList:function(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,i=this.bargainType;(0,a.getBargainActivityList)({type:i,page_no:n,page_size:e}).then((function(e){if(e){var i=e.data.list,a=i.length,o=!!e.data.more;1==n&&(t.lists=[]),console.log(o),t.lists=t.lists.concat(i),t.mescroll.endSuccess(a,o)}})).catch((function(){t.mescroll.endErr()}))}}};n.default=u}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/bargain-list/bargain-list-create-component',
{
'components/bargain-list/bargain-list-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("43b2"))
})
},
[['components/bargain-list/bargain-list-create-component']]
]);

View File

@ -0,0 +1,7 @@
{
"component": true,
"usingComponents": {
"mescroll-uni": "/components/mescroll-uni/mescroll-uni",
"custom-image": "/components/custom-image/custom-image"
}
}

View File

@ -0,0 +1 @@
<mescroll-uni class="vue-ref" vue-id="28a7c93c-1" top="80rpx" down="{{downOption}}" up="{{upOption}}" data-ref="mescrollRef" data-event-opts="{{[['^down',[['downCallback']]],['^up',[['upCallback']]]]}}" bind:down="__e" bind:up="__e" bind:__l="__l" vue-slots="{{['default']}}"><view class="bargain-list-container"><block wx:for="{{lists}}" wx:for-item="item" wx:for-index="index" wx:key="id"><view class="bargain-list mt20"><view class="header row-between"><view class="count-down-container row"><text class="muted xs" style="margin-left:8rpx;">{{item.shop_name}}</text></view><view class="primary sm">{{''+item.status_text+''}}</view></view><navigator class="content row" hover-class="none" url="{{'/pages/bundle/bargain_process/bargain_process?bargainId='+item.id}}"><custom-image vue-id="{{('28a7c93c-2-'+index)+','+('28a7c93c-1')}}" width="180rpx" height="180rpx" src="{{item.image}}" radius="10rpx" bind:__l="__l"></custom-image><view class="goods-info"><view class="goods-name line2 nr normal">{{''+item.name+''}}</view><view class="mt10 row"><view class="sm primary"> 已砍至<text class="sm" style="font-weight:500;line-height:48rpx;">¥<text class="xl">{{item.current_price}}</text></text></view><view class="xs muted ml20"> 原价<text style="text-decoration:line-through;">{{'¥'+item.price}}</text></view></view><view class="xxs" style="color:#FFA200;line-height:30rpx;margin-top:4rpx;">{{''+item.bargain_tips+''}}</view></view></navigator><view class="footer row-between"><view class="count-down-container row"><text class="muted xs" style="margin-left:8rpx;">{{"发起时间:"+item.create_time}}</text></view><block wx:if="{{item.btn_tips!=''}}"><navigator class="bargain-btn footer-btn white row-center br60" hover-class="none" url="{{'/bundle/pages/bargain_process/bargain_process?bargainId='+item.id}}">{{''+item.btn_tips+''}}</navigator></block></view></view></block></view></mescroll-uni>

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/bubble-tips/bubble-tips"],{"1fa5":function(t,e,i){"use strict";i.r(e);var n=i("482a"),u=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=u.a},"3f1d":function(t,e,i){"use strict";i.d(e,"b",(function(){return u})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return n}));var n={uImage:function(){return i.e("components/uview-ui/components/u-image/u-image").then(i.bind(null,"28a8"))}},u=function(){var t=this.$createElement;this._self._c},r=[]},"482a":function(t,e,i){"use strict";var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=i("7a03"),r=n(i("3f13")),l={name:"BubbleTips",props:{discharge:{type:Boolean,default:!1},top:{type:String,default:"40rpx"},left:{type:String,default:"20rpx"},updateTime:{type:Number,default:3e5}},data:function(){return{index:r.default.get("currentIndex")||0,list:[],currentList:[],timer:null,showBubble:!1}},watch:{index:function(t,e){var i=this;if(!(this.index-this.list.length>=0))return this.timer&&(clearInterval(this.timer),this.timer=null),void this.fadeUpBubble();this.showBubble=!1;var n=setTimeout((function(){r.default.set("currentIndex",0),i.timer&&(clearInterval(i.timer),i.timer=null),i.fadeUpBubble(),clearTimeout(n)}),2e3)},discharge:function(){if(this.discharge)return r.default.set("currentIndex",this.index),clearInterval(this.timer),this.timer=null,!1;var t=r.default.get("currentInex")||this.list.length;t-this.list.length<0&&(this.timer&&(setInterval(this.timer),this.timer=null),this.fadeUpBubble())}},methods:{getBubbleListsFunc:function(){var t=this;(0,u.getBubbleLists)().then((function(e){if(e){t.list=e.data.lists;var i=1e3*e.data.time;r.default.set("bubbleList",JSON.stringify(t.list),300),r.default.set("requestTime",i),t.timer&&(clearInterval(t.timer),t.timer=null),t.fadeUpBubble()}}))},fadeUpBubble:function(){var t=this,e=r.default.get("requestTime"),i=new Date;if(this.showBubble=!0,this.index=r.default.get("currentIndex")||0,this.list=r.default.get("bubbleList")?JSON.parse(r.default.get("bubbleList")):[],i.getTime()-e>=this.updateTime)return this.getBubbleListsFunc(),void r.default.set("currentIndex",0,300);this.timer=setInterval((function(){t.currentList=t.list.slice(t.index,t.index+1),r.default.set("currentIndex",++t.index)}),4e3)}},created:function(){var t=r.default.get("currentIndex")||0,e=r.default.get("requestTime"),i=new Date,n=r.default.get("bubbleList")?JSON.parse(r.default.get("bubbleList")):[];n.length<=0?(this.getBubbleListsFunc(),r.default.set("currentIndex",0)):t-n.length>=0?(r.default.set("currentIndex",0),this.timer&&(clearInterval(this.timer),this.timer=null),this.fadeUpBubble()):i.getTime()-e>=this.updateTime?(this.getBubbleListsFunc(),r.default.set("currentIndex",0)):(this.timer&&(clearInterval(this.timer),this.timer=null),this.fadeUpBubble())},onLoad:function(){},destroyed:function(){this.timer&&(clearInterval(this.timer),this.timer=null)}};e.default=l},"80af":function(t,e,i){"use strict";var n=i("8fb1"),u=i.n(n);u.a},"8fb1":function(t,e,i){},bc9b:function(t,e,i){"use strict";i.r(e);var n=i("3f1d"),u=i("1fa5");for(var r in u)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return u[t]}))}(r);i("80af");var l=i("828b"),s=Object(l["a"])(u["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=s.exports}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/bubble-tips/bubble-tips-create-component',
{
'components/bubble-tips/bubble-tips-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("bc9b"))
})
},
[['components/bubble-tips/bubble-tips-create-component']]
]);

View File

@ -0,0 +1,6 @@
{
"usingComponents": {
"u-image": "/components/uview-ui/components/u-image/u-image"
},
"component": true
}

View File

@ -0,0 +1 @@
<view class="bubble-tips-container" style="{{'top:'+(top)+';'+('left:'+(left)+';')}}"><block wx:for="{{currentList}}" wx:for-item="item" wx:for-index="__i0__" wx:key="id"><view hidden="{{!(showBubble)}}" class="bubble-content row"><u-image class="bubble-img" vue-id="{{'29709c4e-1-'+__i0__}}" width="50rpx" height="50rpx" src="{{item.user.avatar}}" border-radius="50%" bind:__l="__l"></u-image><view class="xs">{{''+item.template+''}}</view></view></block></view>

View File

@ -0,0 +1 @@
page{font-family:PingFang SC,Arial,Hiragino Sans GB,Microsoft YaHei,sans-serif;font-size:28rpx;color:#333;padding-bottom:env(safe-area-inset-bottom);background-color:#f6f6f6}.bold{font-weight:700}.primary{color:#ff2c3c}.bg-primary{background-color:#ff2c3c}.bg-white{background-color:#fff}.bg-body{background-color:#f6f6f6}.bg-gray{background-color:#e5e5e5}.black{color:#101010}.white{color:#fff}.normal{color:#333}.lighter{color:#666}.muted{color:#999}.xxl{font-size:36rpx}.xl{font-size:34rpx}.lg{font-size:32rpx}.md{font-size:30rpx}.nr{font-size:28rpx}.sm{font-size:26rpx}.xs{font-size:24rpx}.xxs{font-size:22rpx}.ml5{margin-left:5rpx}.ml10{margin-left:10rpx}.ml20{margin-left:20rpx}.ml30{margin-left:30rpx}.mr5{margin-right:5rpx}.mr10{margin-right:10rpx}.mr20{margin-right:20rpx}.mr30{margin-right:30rpx}.mt5{margin-top:5rpx}.mt10{margin-top:10rpx}.mt20{margin-top:20rpx}.mt30{margin-top:30rpx}.mb5{margin-bottom:5rpx}.mb10{margin-bottom:10rpx}.mb20{margin-bottom:20rpx}.mb30{margin-bottom:30rpx}.flex1{flex:1}.flexnone{flex:none}.wrap{flex-wrap:wrap}.row{display:flex;align-items:center}.row-center{display:flex;align-items:center;justify-content:center}.row-end{display:flex;align-items:center;justify-content:flex-end}.row-between{display:flex;align-items:center;justify-content:space-between}.row-around{display:flex;align-items:center;justify-content:space-around}.column{display:flex;flex-direction:column;justify-content:center}.column-center{display:flex;flex-direction:column;align-items:center;justify-content:center}.column-around{display:flex;flex-direction:column;align-items:center;justify-content:space-around}.column-end{display:flex;flex-direction:column;align-items:center;justify-content:flex-end}.column-between{display:flex;flex-direction:column;align-items:center;justify-content:space-between}.line1{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.line-1{word-break:break-all;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.line2{word-break:break-all;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.line-through{text-decoration:line-through}.br60{border-radius:60rpx}page button{padding:0;margin:0;background-color:initial;font-weight:400;font-size:28rpx;overflow:unset;margin-left:0;margin-right:0}page button::after{border:none}button[type=primary]{background-color:#ff2c3c}.button-hover[type=primary]{background-color:#ff2c3c}button[disabled][type=primary]{background-color:#ff2c3c}button[size=xs]{line-height:58rpx;height:58rpx;font-size:26rpx;padding:0 30rpx}button[size=sm]{line-height:62rpx;height:62rpx;font-size:28rpx;padding:0 30rpx}button[size=md]{line-height:70rpx;height:70rpx;font-size:30rpx;padding:0 30rpx}button[size=lg]{line-height:80rpx;height:80rpx;font-size:32rpx;padding:0 30rpx}.icon-xs{min-height:28rpx;min-width:28rpx;height:28rpx;width:28rpx;vertical-align:middle}.icon-sm{min-height:30rpx;min-width:30rpx;height:30rpx;width:30rpx;vertical-align:middle}.icon{min-height:34rpx;min-width:34rpx;height:34rpx;width:34rpx;vertical-align:middle}.icon-md{min-height:44rpx;min-width:44rpx;height:44rpx;width:44rpx;vertical-align:middle}.icon-lg{min-height:52rpx;min-width:52rpx;height:52rpx;width:52rpx;vertical-align:middle}.icon-xl{min-height:64rpx;min-width:64rpx;height:64rpx;width:64rpx;vertical-align:middle}.icon-xxl{min-height:120rpx;min-width:120rpx;height:120rpx;width:120rpx;vertical-align:middle}.img-null{width:300rpx;height:300rpx}::-webkit-scrollbar{width:0;height:0;color:transparent}radio .uni-radio-input{border-radius:50%;width:34rpx;height:34rpx}radio .uni-radio-input{border-radius:50%;width:34rpx;height:34rpx}radio .uni-radio-input.uni-radio-input-checked{border:1px solid #ff2c3c!important;background-color:#ff2c3c!important}checkbox .uni-checkbox-input{border-radius:50%;width:34rpx;height:34rpx}checkbox .uni-checkbox-input.uni-checkbox-input-checked{border:1px solid #ff2c3c!important;background-color:#ff2c3c!important;color:#fff!important}checkbox .uni-checkbox-input.uni-checkbox-input-checked::before{font-size:35rpx}radio .wx-radio-input{border-radius:50%;width:34rpx;height:34rpx}radio .wx-radio-input{border-radius:50%;width:34rpx;height:34rpx}radio .wx-radio-input.wx-radio-input-checked{border:1px solid #ff2c3c!important;background-color:#ff2c3c!important}checkbox .wx-checkbox-input{border-radius:50%;width:34rpx;height:34rpx}checkbox .wx-checkbox-input.wx-checkbox-input-checked{border:1px solid #ff2c3c!important;background-color:#ff2c3c!important;color:#fff!important}checkbox .wx-checkbox-input.wx-checkbox-input-checked::before{font-size:35rpx}.bubble-tips-container{position:fixed;z-index:98}.bubble-tips-container .bubble-content{padding:4rpx 20rpx 4rpx 10rpx;background-color:rgba(0,0,0,.7);color:#fff;border-radius:120rpx}.bubble-tips-container .bubble-content .bubble-img{width:50rpx;height:50rpx;border-radius:50%;margin-right:10rpx}

View File

@ -0,0 +1,6 @@
wx.createComponent({
generic:true,
props: {leftList:{type:null}},
render: function(){}
})

View File

@ -0,0 +1,12 @@
{
"component": true,
"usingComponents": {
"cate-home-u-waterfall-left": "/components/cate-home/cate-home-u-waterfall-left",
"cate-home-u-waterfall-right": "/components/cate-home/cate-home-u-waterfall-right",
"mescroll-uni": "/components/mescroll-uni/mescroll-uni",
"cate-nav": "/components/cate-nav/cate-nav",
"active-area": "/components/active-area/active-area",
"u-waterfall": "/components/uview-ui/components/u-waterfall/u-waterfall",
"goods-list": "/components/goods-list/goods-list"
}
}

View File

@ -0,0 +1 @@
<view style="padding:0 9rpx 0 30rpx;"><goods-list vue-id="59846874-6" width="336rpx" type="waterfall" list="{{leftList}}" bind:__l="__l"></goods-list></view>

View File

@ -0,0 +1 @@
@import "./cate-home.wxss"

View File

@ -0,0 +1,6 @@
wx.createComponent({
generic:true,
props: {rightList:{type:null}},
render: function(){}
})

View File

@ -0,0 +1,12 @@
{
"component": true,
"usingComponents": {
"cate-home-u-waterfall-left": "/components/cate-home/cate-home-u-waterfall-left",
"cate-home-u-waterfall-right": "/components/cate-home/cate-home-u-waterfall-right",
"mescroll-uni": "/components/mescroll-uni/mescroll-uni",
"cate-nav": "/components/cate-nav/cate-nav",
"active-area": "/components/active-area/active-area",
"u-waterfall": "/components/uview-ui/components/u-waterfall/u-waterfall",
"goods-list": "/components/goods-list/goods-list"
}
}

View File

@ -0,0 +1 @@
<view style="padding:0 30rpx 0 9rpx;"><goods-list vue-id="59846874-7" width="336rpx" type="waterfall" list="{{rightList}}" bind:__l="__l"></goods-list></view>

View File

@ -0,0 +1 @@
@import "./cate-home.wxss"

View File

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/cate-home/cate-home"],{"05ca":function(t,e,n){"use strict";var o=n("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=o(n("7eb4")),r=o(n("ee10")),c=o(n("8462")),u=o(n("8628")),i=n("c2cb"),s=(getApp(),{mixins:[c.default,u.default],name:"cate-home",props:{top:{type:[Number,String]},cate:{type:Object,default:function(){return{}}}},data:function(){return{goodsList:[],navList:[],hotGoods:[],newGoods:[],downOption:{auto:!1},upOption:{auto:!1,noMoreSize:1,empty:{icon:"/static/images/goods_null.png",tip:"暂无商品~"}}}},created:function(){},computed:{positionTop:function(){return this.top}},methods:{downCallback:function(){var t=this;return(0,r.default)(a.default.mark((function e(){return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.getIndexCategory();case 2:t.$refs.uWaterfall.clear&&t.$refs.uWaterfall.clear(),t.mescroll.resetUpScroll();case 4:case"end":return e.stop()}}),e)})))()},upCallback:function(t){var e=this,n=t.num,o=t.size;(0,i.getGoodsList)({page_size:o,page_no:n,platform_cate_id:this.cate.id}).then((function(n){var o=n.data,a=o.lists,r=a.length,c=!!o.more;1==t.num&&(e.goodsList=[]),e.goodsList=e.goodsList.concat(a),e.mescroll.endSuccess(r,c)}))},getIndexCategory:function(){var t=this;return(0,r.default)(a.default.mark((function e(){var n,o,r,c,u,s,l;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=t.cate.id,e.next=3,(0,i.getIndexCategory)({platform_category_id:n});case 3:o=e.sent,r=o.code,c=o.data,1==r&&(u=c.level_two,s=c.category_hots,l=c.category_recommend,t.navList=u,t.hotGoods=s,t.newGoods=l);case 7:case"end":return e.stop()}}),e)})))()}}});e.default=s},1183:function(t,e,n){"use strict";n.r(e);var o=n("11d6"),a=n("3c70");for(var r in a)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(r);n("4372");var c=n("828b"),u=Object(c["a"])(a["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],void 0);e["default"]=u.exports},"11d6":function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){return o}));var o={mescrollUni:function(){return Promise.all([n.e("common/vendor"),n.e("components/mescroll-uni/mescroll-uni")]).then(n.bind(null,"8293"))},cateNav:function(){return n.e("components/cate-nav/cate-nav").then(n.bind(null,"fdc9"))},activeArea:function(){return n.e("components/active-area/active-area").then(n.bind(null,"c9d3"))},uWaterfall:function(){return n.e("components/uview-ui/components/u-waterfall/u-waterfall").then(n.bind(null,"b072"))},goodsList:function(){return n.e("components/goods-list/goods-list").then(n.bind(null,"877a"))}},a=function(){var t=this.$createElement,e=(this._self._c,this.hotGoods.length),n=this.newGoods.length;this.$mp.data=Object.assign({},{$root:{g0:e,g1:n}})},r=[]},"3c70":function(t,e,n){"use strict";n.r(e);var o=n("05ca"),a=n.n(o);for(var r in o)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(r);e["default"]=a.a},4372:function(t,e,n){"use strict";var o=n("82cb"),a=n.n(o);a.a},"82cb":function(t,e,n){}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/cate-home/cate-home-create-component',
{
'components/cate-home/cate-home-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("1183"))
})
},
[['components/cate-home/cate-home-create-component']]
]);

View File

@ -0,0 +1,12 @@
{
"component": true,
"usingComponents": {
"cate-home-u-waterfall-left": "/components/cate-home/cate-home-u-waterfall-left",
"cate-home-u-waterfall-right": "/components/cate-home/cate-home-u-waterfall-right",
"mescroll-uni": "/components/mescroll-uni/mescroll-uni",
"cate-nav": "/components/cate-nav/cate-nav",
"active-area": "/components/active-area/active-area",
"u-waterfall": "/components/uview-ui/components/u-waterfall/u-waterfall",
"goods-list": "/components/goods-list/goods-list"
}
}

View File

@ -0,0 +1 @@
<view class="cate-home"><mescroll-uni class="vue-ref" vue-id="59846874-1" bg-color="#f4f4f4" top="{{positionTop}}" bottom="50px" safearea="{{true}}" down="{{downOption}}" up="{{upOption}}" data-ref="{{'mescrollRef'+i}}" data-event-opts="{{[['^init',[['mescrollInit']]],['^down',[['downCallback']]],['^up',[['upCallback']]]]}}" bind:init="__e" bind:down="__e" bind:up="__e" bind:__l="__l" vue-slots="{{['default']}}"><view class="content"><view style="margin:0 30rpx;"><cate-nav vue-id="{{('59846874-2')+','+('59846874-1')}}" list="{{navList}}" bind:__l="__l"></cate-nav></view><block wx:if="{{$root.g0}}"><view class="contain"><active-area vue-id="{{('59846874-3')+','+('59846874-1')}}" list="{{hotGoods}}" type="hot" title="品类热销" bind:__l="__l"></active-area></view></block><block wx:if="{{$root.g1}}"><view class="contain"><active-area vue-id="{{('59846874-4')+','+('59846874-1')}}" list="{{newGoods}}" type="new" title="品类推荐" bind:__l="__l"></active-area></view></block><view class="goods"><image class="title-img" src="/static/images/category_title.png"></image><u-waterfall generic:scoped-slots-left="cate-home-u-waterfall-left" data-vue-generic="scoped" generic:scoped-slots-right="cate-home-u-waterfall-right" bind:input="__e" class="vue-ref" vue-id="{{('59846874-5')+','+('59846874-1')}}" add-time="{{20}}" data-ref="uWaterfall" value="{{goodsList}}" data-event-opts="{{[['^input',[['__set_model',['','goodsList','$event',[]]]]]]}}" bind:__l="__l" vue-slots="{{['right','left']}}"></u-waterfall></view></view></mescroll-uni></view>

View File

@ -0,0 +1 @@
.cate-home{border-radius:20rpx 20rpx 0 0;overflow:hidden}.cate-home .contain{padding:20rpx 30rpx 0}.cate-home .title-img{width:100%;height:120rpx}

View File

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/cate-list/cate-list"],{"34a6":function(t,e,n){},"71a2":function(t,e,n){"use strict";n.r(e);var r=n("bba0"),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(i);e["default"]=o.a},b541:function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return r}));var r={mescrollUni:function(){return Promise.all([n.e("common/vendor"),n.e("components/mescroll-uni/mescroll-uni")]).then(n.bind(null,"8293"))},cateNav:function(){return n.e("components/cate-nav/cate-nav").then(n.bind(null,"fdc9"))},adSwipers:function(){return n.e("components/ad-swipers/ad-swipers").then(n.bind(null,"0791"))},sortNav:function(){return n.e("components/sort-nav/sort-nav").then(n.bind(null,"c8b5"))},goodsList:function(){return n.e("components/goods-list/goods-list").then(n.bind(null,"877a"))}},o=function(){var t=this.$createElement;this._self._c},i=[]},bba0:function(t,e,n){"use strict";var r=n("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n("7eb4")),i=r(n("ee10")),s=r(n("7ca3")),c=r(n("8462")),a=r(n("8628")),u=n("c2cb"),l=n("8f59");function f(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function p(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?f(Object(n),!0).forEach((function(e){(0,s.default)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}getApp();var d={mixins:[c.default,a.default],name:"cate-list",props:{top:{type:[Number,String]},cate:{type:Object,default:function(){return{}}}},data:function(){return{goodsList:[],cateTwoList:[],upOption:{auto:!1,noMoreSize:1,empty:{icon:"/static/images/goods_null.png",tip:"暂无商品~"}},sortConfig:{goodsType:"double",priceSort:"",saleSort:""}}},computed:p(p({},(0,l.mapGetters)(["appConfig"])),{},{positionTop:function(){return this.top}}),methods:{onRefresh:function(){this.mescroll.resetUpScroll(!0)},downCallback:function(){var t=this;return(0,i.default)(o.default.mark((function e(){return o.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.getListByLevelOneFun();case 2:t.mescroll.resetUpScroll();case 3:case"end":return e.stop()}}),e)})))()},upCallback:function(t){var e=this,n=this.sortConfig,r=n.priceSort,o=n.saleSort;(0,u.getGoodsList)({page_size:t.size,page_no:t.num,platform_cate_id:this.cate.id,sort_by_price:r,sort_by_sales:o}).then((function(n){var r=n.data,o=r.lists,i=o.length,s=!!r.more;1==t.num&&(e.goodsList=[]),e.goodsList=e.goodsList.concat(o),e.mescroll.endSuccess(i,s)}))},getListByLevelOneFun:function(){var t=this;return(0,i.default)(o.default.mark((function e(){var n,r,i,s;return o.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=t.cate.id,e.next=3,(0,u.getListByLevelOne)({id:n});case 3:r=e.sent,i=r.code,s=r.data,1==i&&(t.cateTwoList=s);case 7:case"end":return e.stop()}}),e)})))()}},watch:{"sortConfig.saleSort":function(){this.onRefresh()},"sortConfig.priceSort":function(){this.onRefresh()}}};e.default=d},f473:function(t,e,n){"use strict";n.r(e);var r=n("b541"),o=n("71a2");for(var i in o)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(i);n("f8fe");var s=n("828b"),c=Object(s["a"])(o["default"],r["b"],r["c"],!1,null,null,null,!1,r["a"],void 0);e["default"]=c.exports},f8fe:function(t,e,n){"use strict";var r=n("34a6"),o=n.n(r);o.a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/cate-list/cate-list-create-component',
{
'components/cate-list/cate-list-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("f473"))
})
},
[['components/cate-list/cate-list-create-component']]
]);

View File

@ -0,0 +1,10 @@
{
"usingComponents": {
"mescroll-uni": "/components/mescroll-uni/mescroll-uni",
"cate-nav": "/components/cate-nav/cate-nav",
"ad-swipers": "/components/ad-swipers/ad-swipers",
"sort-nav": "/components/sort-nav/sort-nav",
"goods-list": "/components/goods-list/goods-list"
},
"component": true
}

View File

@ -0,0 +1 @@
<view class="cate-list"><mescroll-uni class="vue-ref" vue-id="7a680470-1" top="{{positionTop}}" bottom="50px" safearea="{{true}}" up="{{upOption}}" down="{{downOption}}" data-ref="{{'mescrollRef'+i}}" data-event-opts="{{[['^init',[['mescrollInit']]],['^down',[['downCallback']]],['^up',[['upCallback']]]]}}" bind:init="__e" bind:down="__e" bind:up="__e" bind:__l="__l" vue-slots="{{['default']}}"><view class="content"><block wx:if="{{appConfig.cate_style==3}}"><view style="margin:0 20rpx;"><cate-nav vue-id="{{('7a680470-2')+','+('7a680470-1')}}" list="{{cateTwoList}}" bind:__l="__l"></cate-nav></view></block><ad-swipers vue-id="{{('7a680470-3')+','+('7a680470-1')}}" pid="{{11}}" height="268rpx" padding="20rpx 20rpx 0" radius="10rpx" bind:__l="__l"></ad-swipers><view class="sort-nav-wrap"><sort-nav bind:input="__e" vue-id="{{('7a680470-4')+','+('7a680470-1')}}" value="{{sortConfig}}" data-event-opts="{{[['^input',[['__set_model',['','sortConfig','$event',[]]]]]]}}" bind:__l="__l"></sort-nav></view><view class="goods"><view hidden="{{!(sortConfig.goodsType=='double')}}" class="double"><goods-list vue-id="{{('7a680470-5')+','+('7a680470-1')}}" type="double" list="{{goodsList}}" bind:__l="__l"></goods-list></view><view hidden="{{!(sortConfig.goodsType=='one')}}" class="one"><goods-list vue-id="{{('7a680470-6')+','+('7a680470-1')}}" list="{{goodsList}}" type="one" bind:__l="__l"></goods-list></view></view></view></mescroll-uni></view>

View File

@ -0,0 +1 @@
.cate-list{border-radius:20rpx 20rpx 0 0;overflow:hidden}.cate-list .contain{padding:20rpx 30rpx 0}.cate-list .sort-nav-wrap{margin:20rpx 20rpx 0;border-radius:14rpx;overflow:hidden}.cate-list .title-img{width:100%;height:120rpx}

View File

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/cate-nav/cate-nav"],{"23a3":function(n,t,e){"use strict";e.r(t);var a=e("3b51"),r=e.n(a);for(var i in a)["default"].indexOf(i)<0&&function(n){e.d(t,n,(function(){return a[n]}))}(i);t["default"]=r.a},"26d7":function(n,t,e){"use strict";e.d(t,"b",(function(){return r})),e.d(t,"c",(function(){return i})),e.d(t,"a",(function(){return a}));var a={uImage:function(){return e.e("components/uview-ui/components/u-image/u-image").then(e.bind(null,"28a8"))}},r=function(){var n=this,t=n.$createElement,e=(n._self._c,n.navList.length),a=e?n.__map(n.navList,(function(t,e){var a=n.__get_orig(t),r=n.__map(t,(function(t,e){var a=n.__get_orig(t),r={path:"/pages/goods_search/goods_search",query:{id:t.id,name:t.name,type:1}};return{$orig:a,a0:r}}));return{$orig:a,l0:r}})):null,r=e?n.navList.length:null;n.$mp.data=Object.assign({},{$root:{g0:e,l1:a,g1:r}})},i=[]},"3b51":function(n,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=e("0aec"),r={name:"cate-nav",props:{list:{type:Array}},data:function(){return{navSwiperH:0,navList:[],currentSwiper:0}},watch:{list:{handler:function(n){n.length<=5?this.navSwiperH=200:this.navSwiperH=374,this.navList=(0,a.arraySlice)(n)},immediate:!0}},methods:{swiperChange:function(n){this.currentSwiper=n.detail.current}}};t.default=r},"6a6c":function(n,t,e){},"77de":function(n,t,e){"use strict";var a=e("6a6c"),r=e.n(a);r.a},fdc9:function(n,t,e){"use strict";e.r(t);var a=e("26d7"),r=e("23a3");for(var i in r)["default"].indexOf(i)<0&&function(n){e.d(t,n,(function(){return r[n]}))}(i);e("77de");var u=e("828b"),c=Object(u["a"])(r["default"],a["b"],a["c"],!1,null,"6cde2c30",null,!1,a["a"],void 0);t["default"]=c.exports}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/cate-nav/cate-nav-create-component',
{
'components/cate-nav/cate-nav-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("fdc9"))
})
},
[['components/cate-nav/cate-nav-create-component']]
]);

View File

@ -0,0 +1,6 @@
{
"component": true,
"usingComponents": {
"u-image": "/components/uview-ui/components/u-image/u-image"
}
}

View File

@ -0,0 +1 @@
<block wx:if="{{$root.g0}}"><view class="p-t-20 data-v-6cde2c30"><view class="cate-nav bg-white data-v-6cde2c30"><swiper data-event-opts="{{[['change',[['swiperChange',['$event']]]]]}}" style="{{('height:'+navSwiperH+'rpx;')}}" bindchange="__e" class="data-v-6cde2c30"><block wx:for="{{$root.l1}}" wx:for-item="items" wx:for-index="index" wx:key="index"><swiper-item class="data-v-6cde2c30"><view class="nav-list flex flex-wrap data-v-6cde2c30"><block wx:for="{{items.l0}}" wx:for-item="item" wx:for-index="index2" wx:key="index2"><router-link class="nav-item m-t-30 data-v-6cde2c30" vue-id="{{'3d55f1e2-1-'+index+'-'+index2}}" to="{{item.a0}}" bind:__l="__l" vue-slots="{{['default']}}"><view class="flex-col col-center data-v-6cde2c30"><u-image vue-id="{{('3d55f1e2-2-'+index+'-'+index2)+','+('3d55f1e2-1-'+index+'-'+index2)}}" width="82rpx" height="82rpx" src="{{item.$orig.image}}" border-radius="50%" class="data-v-6cde2c30" bind:__l="__l"></u-image><view class="m-t-14 xs line-1 text-center data-v-6cde2c30" style="width:90%;">{{item.$orig.name}}</view></view></router-link></block></view></swiper-item></block></swiper><block wx:if="{{$root.g1>1}}"><view class="dots data-v-6cde2c30"><block wx:for="{{navList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="{{['data-v-6cde2c30','dot '+(index==currentSwiper?'active':'')]}}"></view></block></view></block></view></view></block>

View File

@ -0,0 +1 @@
.cate-nav.data-v-6cde2c30{position:relative;border-radius:20rpx}.cate-nav .nav-item.data-v-6cde2c30{width:20%}.cate-nav .dots.data-v-6cde2c30{position:absolute;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);bottom:20rpx;display:flex}.cate-nav .dots .dot.data-v-6cde2c30{width:10rpx;height:6rpx;border-radius:6rpx;margin-right:10rpx;background-color:rgba(255,44,60,.4)}.cate-nav .dots .dot.active.data-v-6cde2c30{width:20rpx;background-color:#ff2c3c}

View File

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/cate-one/cate-one"],{"3ec3":function(t,e,n){"use strict";n.r(e);var a=n("9cb6"),c=n.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(o);e["default"]=c.a},"9cb6":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a={name:"cate-one",props:{cateList:{type:Array,default:function(){return[]}},selecttab:{type:Number,default:function(){return 0}}},data:function(){return{selectIndex:0,showCate:[]}},methods:{changeActive:function(t){this.selectIndex=t,this.showCate[t]=!0}},watch:{selecttab:function(t){var e=this;0!=t&&setTimeout((function(){e.changeActive(t)}),20)},cateList:function(t){var e=this;this.showCate=t.map((function(t,n){return n==e.selectIndex})),console.log(this.showCate)}}};e.default=a},b8e4f:function(t,e,n){"use strict";n.r(e);var a=n("eea7"),c=n("3ec3");for(var o in c)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return c[t]}))}(o);var i=n("828b"),u=Object(i["a"])(c["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],void 0);e["default"]=u.exports},eea7:function(t,e,n){"use strict";n.d(e,"b",(function(){return c})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return a}));var a={tabs:function(){return Promise.all([n.e("common/vendor"),n.e("components/tabs/tabs")]).then(n.bind(null,"ffae"))},tab:function(){return n.e("components/tab/tab").then(n.bind(null,"9777"))},cateList:function(){return Promise.all([n.e("common/vendor"),n.e("components/cate-list/cate-list")]).then(n.bind(null,"f473"))}},c=function(){var t=this.$createElement,e=(this._self._c,this.cateList.length);this.$mp.data=Object.assign({},{$root:{g0:e}})},o=[]}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/cate-one/cate-one-create-component',
{
'components/cate-one/cate-one-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("b8e4f"))
})
},
[['components/cate-one/cate-one-create-component']]
]);

View File

@ -0,0 +1,8 @@
{
"usingComponents": {
"tabs": "/components/tabs/tabs",
"tab": "/components/tab/tab",
"cate-list": "/components/cate-list/cate-list"
},
"component": true
}

View File

@ -0,0 +1 @@
<view class="cate-one"><block wx:if="{{$root.g0}}"><tabs vue-id="0565d282-1" current="{{selectIndex}}" data-event-opts="{{[['^change',[['changeActive']]]]}}" bind:change="__e" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{cateList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><tab vue-id="{{('0565d282-2-'+index)+','+('0565d282-1')}}" name="{{item.name}}" bind:__l="__l" vue-slots="{{['default']}}"><block wx:if="{{showCate[index]}}"><cate-list class="vue-ref-in-for" vue-id="{{('0565d282-3-'+index)+','+('0565d282-2-'+index)}}" top="{{174}}" i="{{index}}" index="{{selectIndex}}" cate="{{item}}" data-ref="mescrollItem" bind:__l="__l"></cate-list></block></tab></block></tabs></block></view>

View File

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/cate-two/cate-two"],{"0674":function(t,e,n){"use strict";var o=n("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=o(n("7eb4")),i=o(n("7ca3")),a=o(n("af34")),s=o(n("ee10")),c=n("c2cb"),u=n("8f59"),f=n("f4fb");function d(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}var l={name:"cate-two",props:{cateList:{type:Array,default:function(){return[]}}},data:function(){return{selectIndex:0,cateTwoList:[],goodsList:[],sortConfig:{goodsType:"double",priceSort:"",saleSort:""},status:f.loadingType.LOADING,hasData:!0}},methods:{changeActive:function(t){this.selectIndex=t},getListByLevelOneFun:function(){var t=this;return(0,s.default)(r.default.mark((function e(){var n,o,i,a,s,u;return r.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(n=t.selectIndex,o=t.cateList,o.length){e.next=3;break}return e.abrupt("return");case 3:return i=o[n].id,e.next=6,(0,c.getListByLevelOne)({id:i});case 6:a=e.sent,s=a.code,u=a.data,1==s&&(t.cateTwoList=u);case 10:case"end":return e.stop()}}),e)})))()},getGoodsListFun:function(){var t=this,e=this.page,n=this.cateList,o=this.status,r=this.selectIndex,i=this.goodsList,s=this.sortConfig,u=s.priceSort,d=s.saleSort;if(n.length){var l=n[r].id;o!=f.loadingType.FINISHED&&4!=this.appConfig.cate_style&&(0,c.getGoodsList)({page_no:e,platform_cate_id:l,sort_by_price:u,sort_by_sales:d}).then((function(e){if(1==e.code){var n=e.data,o=n.more,r=n.lists;if(i.push.apply(i,(0,a.default)(r)),t.page++,o||(t.status=f.loadingType.FINISHED),i.length<=0)return void(t.status=f.loadingType.EMPTY)}else t.status=f.loadingType.ERROR}))}},onRefresh:function(){this.status=f.loadingType.LOADING,this.page=1,this.goodsList=[],this.getGoodsListFun()}},watch:{selectIndex:function(){1==this.appConfig.cate_style?this.onRefresh():this.getListByLevelOneFun()},cateList:{immediate:!0,handler:function(t){this.hasData=!!t.length,1==this.appConfig.cate_style?this.onRefresh():this.getListByLevelOneFun()}},"sortConfig.saleSort":function(){this.onRefresh()},"sortConfig.priceSort":function(){this.onRefresh()}},computed:function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?d(Object(n),!0).forEach((function(e){(0,i.default)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},(0,u.mapGetters)(["appConfig"]))};e.default=l},"17d6":function(t,e,n){},"24b7":function(t,e,n){"use strict";var o=n("17d6"),r=n.n(o);r.a},f3dd:function(t,e,n){"use strict";n.r(e);var o=n("0674"),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},f42f: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={adSwipers:function(){return n.e("components/ad-swipers/ad-swipers").then(n.bind(null,"0791"))},uIcon:function(){return n.e("components/uview-ui/components/u-icon/u-icon").then(n.bind(null,"8f08"))},uImage:function(){return n.e("components/uview-ui/components/u-image/u-image").then(n.bind(null,"28a8"))},sortNav:function(){return n.e("components/sort-nav/sort-nav").then(n.bind(null,"c8b5"))},priceFormat:function(){return n.e("components/price-format/price-format").then(n.bind(null,"1738"))},loadingFooter:function(){return n.e("components/loading-footer/loading-footer").then(n.bind(null,"b48b"))}},r=function(){var t=this,e=t.$createElement,n=(t._self._c,4==t.appConfig.cate_style?t.__map(t.cateTwoList,(function(e,n){var o=t.__get_orig(e),r={path:"/pages/goods_search/goods_search",query:{id:e.id,name:e.name,type:1}},i=t.__map(e.children,(function(e,n){var o=t.__get_orig(e),r={path:"/pages/goods_search/goods_search",query:{id:e.id,name:e.name,type:1}};return{$orig:o,a1:r}}));return{$orig:o,a0:r,l0:i}})):null);t.$mp.data=Object.assign({},{$root:{l1:n}})},i=[]},fa8c:function(t,e,n){"use strict";n.r(e);var o=n("f42f"),r=n("f3dd");for(var i in r)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(i);n("24b7");var a=n("828b"),s=Object(a["a"])(r["default"],o["b"],o["c"],!1,null,"763e3e61",null,!1,o["a"],void 0);e["default"]=s.exports}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/cate-two/cate-two-create-component',
{
'components/cate-two/cate-two-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("fa8c"))
})
},
[['components/cate-two/cate-two-create-component']]
]);

View File

@ -0,0 +1,11 @@
{
"usingComponents": {
"ad-swipers": "/components/ad-swipers/ad-swipers",
"u-icon": "/components/uview-ui/components/u-icon/u-icon",
"u-image": "/components/uview-ui/components/u-image/u-image",
"sort-nav": "/components/sort-nav/sort-nav",
"price-format": "/components/price-format/price-format",
"loading-footer": "/components/loading-footer/loading-footer"
},
"component": true
}

View File

@ -0,0 +1 @@
<view class="cate-two flex data-v-763e3e61" style="height:100%;"><view class="aside bg-white data-v-763e3e61"><scroll-view style="height:100%;" scroll-y="true" scroll-with-animation="true" class="data-v-763e3e61"><block wx:for="{{cateList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block class="data-v-763e3e61"><view data-event-opts="{{[['tap',[['changeActive',[index]]]]]}}" class="{{['data-v-763e3e61','one-item sm '+(index==selectIndex?'active':'')]}}" bindtap="__e"><text class="name data-v-763e3e61">{{item.name}}</text><block wx:if="{{index==selectIndex}}"><view class="active-line bg-primary data-v-763e3e61"></view></block></view></block></block></scroll-view></view><view class="main bg-body data-v-763e3e61"><scroll-view style="height:100%;" scroll-y="true" scroll-with-animation="true" data-event-opts="{{[['scrolltolower',[['getGoodsListFun',['$event']]]]]}}" bindscrolltolower="__e" class="data-v-763e3e61"><view class="main-wrap data-v-763e3e61"><ad-swipers vue-id="040ef07c-1" pid="{{11}}" height="200rpx" previous-margin="0" padding="0 0 20rpx" radius="10rpx" class="data-v-763e3e61" bind:__l="__l"></ad-swipers><block wx:if="{{appConfig.cate_style==4}}"><view class="cate-two data-v-763e3e61"><block wx:for="{{$root.l1}}" wx:for-item="sitem" wx:for-index="sindex" wx:key="sindex"><view class="two-item bg-white m-b-20 data-v-763e3e61"><router-link vue-id="{{'040ef07c-2-'+sindex}}" to="{{sitem.a0}}" class="data-v-763e3e61" bind:__l="__l" vue-slots="{{['default']}}"><view class="title flex row-between data-v-763e3e61"><text class="name bold sm data-v-763e3e61">{{sitem.$orig.name}}</text><u-icon vue-id="{{('040ef07c-3-'+sindex)+','+('040ef07c-2-'+sindex)}}" name="arrow-right" class="data-v-763e3e61" bind:__l="__l"></u-icon></view></router-link><view class="three-list flex flex-wrap data-v-763e3e61"><block wx:for="{{sitem.l0}}" wx:for-item="titem" wx:for-index="tindex" wx:key="tindex"><router-link class="three-item data-v-763e3e61" vue-id="{{'040ef07c-4-'+sindex+'-'+tindex}}" to="{{titem.a1}}" bind:__l="__l" vue-slots="{{['default']}}"><view class="flex-col col-center m-b-20 data-v-763e3e61"><u-image vue-id="{{('040ef07c-5-'+sindex+'-'+tindex)+','+('040ef07c-4-'+sindex+'-'+tindex)}}" mode="aspectFit" width="150rpx" height="150rpx" src="{{titem.$orig.image}}" class="data-v-763e3e61" bind:__l="__l"></u-image><view class="text m-t-20 xs data-v-763e3e61">{{titem.$orig.name}}</view></view></router-link></block></view></view></block></view></block><block wx:if="{{appConfig.cate_style==1&&hasData}}"><view class="goods data-v-763e3e61"><view class="sort-nav-wrap data-v-763e3e61"><sort-nav bind:input="__e" vue-id="040ef07c-6" show-type="{{false}}" value="{{sortConfig}}" data-event-opts="{{[['^input',[['__set_model',['','sortConfig','$event',[]]]]]]}}" class="data-v-763e3e61" bind:__l="__l"></sort-nav></view><view class="goods data-v-763e3e61"><view class="goods-list data-v-763e3e61"><block wx:for="{{goodsList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><router-link vue-id="{{'040ef07c-7-'+index}}" to="{{'/pages/goods_details/goods_details?id='+item.id}}" class="data-v-763e3e61" bind:__l="__l" vue-slots="{{['default']}}"><view class="flex item bg-white m-t-20 data-v-763e3e61"><u-image vue-id="{{('040ef07c-8-'+index)+','+('040ef07c-7-'+index)}}" width="200rpx" height="200rpx" border-radius="14rpx" src="{{item.image}}" class="data-v-763e3e61" bind:__l="__l"></u-image><view class="flex-1 m-l-20 m-r-10 data-v-763e3e61"><view class="line-2 data-v-763e3e61">{{item.name}}</view><view class="muted data-v-763e3e61"><text class="xxs data-v-763e3e61">原价</text><price-format vue-id="{{('040ef07c-9-'+index)+','+('040ef07c-7-'+index)}}" subscript-size="{{22}}" first-size="{{22}}" second-size="{{22}}" price="{{item.market_price}}" class="data-v-763e3e61" bind:__l="__l"></price-format></view><view class="primary mt10 data-v-763e3e61"><price-format vue-id="{{('040ef07c-10-'+index)+','+('040ef07c-7-'+index)}}" price="{{item.min_price}}" subscript-size="{{22}}" first-size="{{34}}" second-size="{{26}}" class="data-v-763e3e61" bind:__l="__l"></price-format></view></view></view></router-link></block></view><loading-footer vue-id="040ef07c-11" status="{{status}}" slot-empty="{{true}}" class="data-v-763e3e61" bind:__l="__l" vue-slots="{{['empty']}}"><view class="flex-col col-center data-v-763e3e61" style="padding:200rpx 0 0;" slot="empty"><image class="img-null data-v-763e3e61" src="/static/images/goods_null.png"></image><text class="lighter sm data-v-763e3e61">暂无商品</text></view></loading-footer></view></view></block></view></scroll-view></view></view>

View File

@ -0,0 +1 @@
.cate-two .aside.data-v-763e3e61{width:180rpx;flex:none;height:100%}.cate-two .aside .one-item.data-v-763e3e61{position:relative;text-align:center;padding:26rpx 10rpx}.cate-two .aside .one-item.active.data-v-763e3e61{color:#ff2c3c;font-size:26rpx;font-weight:700}.cate-two .aside .one-item .active-line.data-v-763e3e61{position:absolute;width:6rpx;height:30rpx;left:4rpx;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.cate-two .main.data-v-763e3e61{height:100%;flex:1}.cate-two .main .main-wrap.data-v-763e3e61{position:relative;padding:20rpx 20rpx 0}.cate-two .main .main-wrap .two-item.data-v-763e3e61{border-radius:10rpx}.cate-two .main .main-wrap .two-item .title.data-v-763e3e61{height:90rpx;padding:0 20rpx}.cate-two .main .main-wrap .two-item .title .line.data-v-763e3e61{width:40rpx;height:1px;background-color:#bbb}.cate-two .main .main-wrap .two-item .three-list.data-v-763e3e61{align-items:flex-start;padding:0 10rpx}.cate-two .main .main-wrap .two-item .three-list .three-item.data-v-763e3e61{width:33%}.cate-two .main .main-wrap .two-item .three-list .three-item .text.data-v-763e3e61{text-align:center}.cate-two .main .goods .item.data-v-763e3e61{border-radius:14rpx}

View File

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/collection-list/collection-list"],{"131e":function(e,t,n){"use strict";n.r(t);var o=n("e2d9"),i=n.n(o);for(var c in o)["default"].indexOf(c)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(c);t["default"]=i.a},1999:function(e,t,n){},bf14:function(e,t,n){"use strict";var o=n("1999"),i=n.n(o);i.a},d6b8:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return c})),n.d(t,"a",(function(){return o}));var o={mescrollUni:function(){return Promise.all([n.e("common/vendor"),n.e("components/mescroll-uni/mescroll-uni")]).then(n.bind(null,"8293"))},uSwipeAction:function(){return n.e("components/uview-ui/components/u-swipe-action/u-swipe-action").then(n.bind(null,"2f6d"))},uImage:function(){return n.e("components/uview-ui/components/u-image/u-image").then(n.bind(null,"28a8"))},priceFormat:function(){return n.e("components/price-format/price-format").then(n.bind(null,"1738"))}},i=function(){var e=this.$createElement;this._self._c},c=[]},df8c:function(e,t,n){"use strict";n.r(t);var o=n("d6b8"),i=n("131e");for(var c in i)["default"].indexOf(c)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(c);n("bf14");var u=n("828b"),a=Object(u["a"])(i["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],void 0);t["default"]=a.exports},e2d9:function(e,t,n){"use strict";var o=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=o(n("7eb4")),c=o(n("ee10")),u=n("25af"),a=n("03a1"),r=o(n("8462")),s=o(n("8628")),l={mixins:[r.default,s.default],name:"collection-list",props:{type:{type:[String,Number]}},data:function(){return{collectionList:[],downOption:{auto:!1},upOption:{auto:!1,noMoreSize:4,empty:{icon:"/static/images/goods_null.png",tip:"暂无收藏~",fixed:!0}},options:[{text:"取消收藏",style:{backgroundColor:"#FF2C3C"}}],selectIndex:-1}},methods:{upCallback:function(e){var t=this;return(0,c.default)(i.default.mark((function n(){var o,c,a,r,s,l,d,f,p;return i.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(o=e.num,c=e.size,a=t.type,1!=a){n.next=9;break}return n.next=6,(0,u.getCollectGoods)({page_size:c,page_no:o});case 6:n.t0=n.sent,n.next=12;break;case 9:return n.next=11,(0,u.getCollectShop)({page_size:c,page_no:o});case 11:n.t0=n.sent;case 12:r=n.t0,s=r.data,l=r.code,1==l&&(d=s.lists,f=d.length,p=!!s.more,1==e.num&&(t.collectionList=[]),t.collectionList=t.collectionList.concat(d),t.mescroll.endSuccess(f,p));case 16:case"end":return n.stop()}}),n)})))()},toGoods:function(e){e.is_valid&&this.$Router.push({path:"/pages/goods_details/goods_details",query:{id:e.id}})},toShop:function(e){this.$Router.push({path:"/pages/store_index/store_index",query:{id:e.id}})},open:function(e){this.selectIndex=e},clickBtn:function(e){var t=this;return(0,c.default)(i.default.mark((function n(){var o,c,r;return i.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(1!=t.type){n.next=6;break}return n.next=3,(0,u.collectGoods)({goods_id:e});case 3:n.t0=n.sent,n.next=9;break;case 6:return n.next=8,(0,a.changeShopFollow)({shop_id:e});case 8:n.t0=n.sent;case 9:o=n.t0,c=o.code,o.data,r=o.msg,1==c&&(t.$toast({title:r}),t.downCallback());case 14:case"end":return n.stop()}}),n)})))()}}};t.default=l}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/collection-list/collection-list-create-component',
{
'components/collection-list/collection-list-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("df8c"))
})
},
[['components/collection-list/collection-list-create-component']]
]);

View File

@ -0,0 +1,9 @@
{
"component": true,
"usingComponents": {
"mescroll-uni": "/components/mescroll-uni/mescroll-uni",
"u-swipe-action": "/components/uview-ui/components/u-swipe-action/u-swipe-action",
"u-image": "/components/uview-ui/components/u-image/u-image",
"price-format": "/components/price-format/price-format"
}
}

View File

@ -0,0 +1 @@
<mescroll-uni class="vue-ref" vue-id="74da8226-1" top="80rpx" down="{{downOption}}" up="{{upOption}}" data-ref="mescrollRef" data-event-opts="{{[['^init',[['mescrollInit']]],['^down',[['downCallback']]],['^up',[['upCallback']]]]}}" bind:init="__e" bind:down="__e" bind:up="__e" bind:__l="__l" vue-slots="{{['default']}}"><view class="collection-list"><view hidden="{{!(type==1)}}" class="goods-list p-t-20"><block wx:for="{{collectionList}}" wx:for-item="item" wx:for-index="index" wx:key="id"><view><u-swipe-action vue-id="{{('74da8226-2-'+index)+','+('74da8226-1')}}" show="{{selectIndex==item.id}}" index="{{item.id}}" bg-color="transparent" btn-width="{{130}}" options="{{options}}" data-event-opts="{{[['^click',[['clickBtn']]],['^open',[['open']]]]}}" bind:click="__e" bind:open="__e" bind:__l="__l" vue-slots="{{['default']}}"><view data-event-opts="{{[['tap',[['toGoods',['$0'],[[['collectionList','id',item.id]]]]]]]}}" class="collection-item flex bg-white" bindtap="__e"><u-image class="m-r-20" vue-id="{{('74da8226-3-'+index)+','+('74da8226-2-'+index)}}" width="160rpx" height="160rpx" border-radius="6rpx" lazy-load="{{true}}" src="{{item.image}}" bind:__l="__l"></u-image><view class="info flex-1"><view class="flex row-between"><view class="name line-2">{{item.name}}</view></view><view class="flex row-between m-t-20"><price-format vue-id="{{('74da8226-4-'+index)+','+('74da8226-2-'+index)}}" first-size="{{30}}" second-size="{{26}}" price="{{item.min_price}}" weight="{{400}}" subscript-size="{{30}}" color="{{colorConfig.primary}}" bind:__l="__l"></price-format><view class="{{['btn','primary','flex','row-center','br60','sm',(item.is_valid==0)?'valid muted':'']}}">{{''+(item.is_valid==0?'已失效':'去购买')+''}}</view></view></view></view></u-swipe-action></view></block></view><view hidden="{{!(type==2)}}" class="store-list"><block wx:for="{{collectionList}}" wx:for-item="item" wx:for-index="index" wx:key="id"><view class="m-t-20"><u-swipe-action vue-id="{{('74da8226-5-'+index)+','+('74da8226-1')}}" show="{{selectIndex==item.id}}" index="{{item.id}}" bg-color="transparent" btn-width="{{130}}" options="{{options}}" data-event-opts="{{[['^click',[['clickBtn']]],['^open',[['open']]]]}}" bind:click="__e" bind:open="__e" bind:__l="__l" vue-slots="{{['default']}}"><view data-event-opts="{{[['tap',[['toShop',['$0'],[[['collectionList','id',item.id]]]]]]]}}" class="store-item bg-white flex" bindtap="__e"><u-image vue-id="{{('74da8226-6-'+index)+','+('74da8226-5-'+index)}}" width="80rpx" height="80rpx" border-radius="60rpx" src="{{item.logo}}" bind:__l="__l"></u-image><view class="flex-1 m-l-10"><view class="store-name lg">{{''+item.name}}<block wx:if="{{item.type==1}}"><text class="xxs tag white m-l-10 line-1">自营</text></block></view><view class="m-t-12 xs muted flex row-between">{{'主营行业:'+item.cid_desc+''}}<block wx:if="{{item.score!=0}}"><view class="xs"> 评分: <text style="color:#ffa200;">{{''+item.score+''}}</text></view></block></view></view></view></u-swipe-action></view></block></view></view></mescroll-uni>

View File

@ -0,0 +1 @@
.collection-list{width:100%}.collection-list .goods-list .collection-item{padding:20rpx}.collection-list .goods-list .collection-item:not(:last-of-type){border-bottom:1px solid #e5e5e5}.collection-list .goods-list .collection-item .btn{width:148rpx;height:52rpx;border:1px solid #ff2c3c}.collection-list .goods-list .collection-item .btn.valid{background-color:#f2f2f2;border-color:transparent}.collection-list .store-list{margin:0 20rpx}.collection-list .store-list .store-item{padding:15rpx 20rpx;border-radius:16rpx}.collection-list .store-list .store-item .tag{background:linear-gradient(267deg,#ff2c3c,#f52e99);border-radius:6rpx;padding:0 9rpx;vertical-align:5rpx}

View File

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/comment-list/comment-list"],{"0992":function(e,n,t){"use strict";t.r(n);var o=t("1efe"),r=t("b56a");for(var i in r)["default"].indexOf(i)<0&&function(e){t.d(n,e,(function(){return r[e]}))}(i);t("4e50");var u=t("828b"),a=Object(u["a"])(r["default"],o["b"],o["c"],!1,null,"6197a430",null,!1,o["a"],void 0);n["default"]=a.exports},1397:function(e,n,t){"use strict";(function(e){var o=t("47a9");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=o(t("7eb4")),i=o(t("ee10")),u=t("25af"),a=o(t("8462")),c=o(t("8628")),s={mixins:[a.default,c.default],data:function(){return{list:[],downOption:{auto:!1},upOption:{auto:!1,noMoreSize:4,empty:{icon:"/static/images/goods_null.png",tip:"暂无评价~",fixed:!0}}}},props:{type:{type:Number|String}},created:function(){var n=this;e.$on("refreshcomment",(function(){n.downCallback()}))},destroyed:function(){e.$off("refreshcomment")},methods:{checkGoods:function(e,n){var t=this;(0,u.apiCheckGoods)({goods_id:e}).then((function(e){1==e.code&&t.$Router.push({path:"/bundle/pages/goods_reviews/goods_reviews",query:{id:n}})}))},upCallback:function(e){var n=this;return(0,i.default)(r.default.mark((function t(){var o,i,a,c,s,l,d,f;return r.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(o=n.type,i={page_size:e.size,page_no:e.num},console.log(o),1!=o){t.next=9;break}return t.next=6,(0,u.getUnComment)(i);case 6:t.t0=t.sent,t.next=12;break;case 9:return t.next=11,(0,u.getComment)(i);case 11:t.t0=t.sent;case 12:a=t.t0,c=a.data,s=a.code,1==s&&(l=c.lists,d=l.length,f=!!c.more,1==e.num&&(n.list=[]),n.list=n.list.concat(l),n.mescroll.endSuccess(d,f));case 16:case"end":return t.stop()}}),t)})))()},previewImage:function(n,t){console.log(n,t),e.previewImage({current:t,urls:n})}}};n.default=s}).call(this,t("df3c")["default"])},"1efe":function(e,n,t){"use strict";t.d(n,"b",(function(){return r})),t.d(n,"c",(function(){return i})),t.d(n,"a",(function(){return o}));var o={mescrollUni:function(){return Promise.all([t.e("common/vendor"),t.e("components/mescroll-uni/mescroll-uni")]).then(t.bind(null,"8293"))},shopTitle:function(){return t.e("components/shop-title/shop-title").then(t.bind(null,"c1de"))},uImage:function(){return t.e("components/uview-ui/components/u-image/u-image").then(t.bind(null,"28a8"))},priceFormat:function(){return t.e("components/price-format/price-format").then(t.bind(null,"1738"))},uRate:function(){return t.e("components/uview-ui/components/u-rate/u-rate").then(t.bind(null,"49b8"))}},r=function(){var e=this,n=e.$createElement,t=(e._self._c,e.__map(e.list,(function(n,t){var o=e.__get_orig(n),r=1==e.type?e.__map(n.order_goods_un_comment,(function(n,t){var o=e.__get_orig(n),r={path:"/pages/goods_details/goods_details",query:{id:n.goods_id}};return{$orig:o,a0:r}})):null,i=2==e.type?n.goods_comment_image_arr&&n.goods_comment_image_arr.length:null;return{$orig:o,l0:r,g0:i}})));e.$mp.data=Object.assign({},{$root:{l1:t}})},i=[]},"4e50":function(e,n,t){"use strict";var o=t("4e6f"),r=t.n(o);r.a},"4e6f":function(e,n,t){},b56a:function(e,n,t){"use strict";t.r(n);var o=t("1397"),r=t.n(o);for(var i in o)["default"].indexOf(i)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(i);n["default"]=r.a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/comment-list/comment-list-create-component',
{
'components/comment-list/comment-list-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("0992"))
})
},
[['components/comment-list/comment-list-create-component']]
]);

View File

@ -0,0 +1,10 @@
{
"component": true,
"usingComponents": {
"mescroll-uni": "/components/mescroll-uni/mescroll-uni",
"shop-title": "/components/shop-title/shop-title",
"u-image": "/components/uview-ui/components/u-image/u-image",
"price-format": "/components/price-format/price-format",
"u-rate": "/components/uview-ui/components/u-rate/u-rate"
}
}

View File

@ -0,0 +1 @@
<mescroll-uni vue-id="35524efc-1" top="80rpx" down="{{downOption}}" up="{{upOption}}" data-ref="mescrollRef" data-event-opts="{{[['^init',[['mescrollInit']]],['^down',[['downCallback']]],['^up',[['upCallback']]]]}}" bind:init="__e" bind:down="__e" bind:up="__e" class="data-v-6197a430 vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><view class="comment-list data-v-6197a430"><block wx:for="{{$root.l1}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="comment-item bg-white m-t-20 data-v-6197a430"><block wx:if="{{type==1}}"><view class="data-v-6197a430"><view class="m-l-20 data-v-6197a430"><shop-title vue-id="{{('35524efc-2-'+index)+','+('35524efc-1')}}" shop="{{item.$orig.shop}}" class="data-v-6197a430" bind:__l="__l"></shop-title></view><block wx:for="{{item.l0}}" wx:for-item="gitem" wx:for-index="gindex" wx:key="gindex"><view class="data-v-6197a430"><router-link vue-id="{{('35524efc-3-'+index+'-'+gindex)+','+('35524efc-1')}}" to="{{gitem.a0}}" class="data-v-6197a430" bind:__l="__l" vue-slots="{{['default']}}"><view class="comment-goods flex data-v-6197a430"><u-image vue-id="{{('35524efc-4-'+index+'-'+gindex)+','+('35524efc-3-'+index+'-'+gindex)}}" width="160rpx" height="160rpx" border-radius="6rpx" src="{{gitem.$orig.goods_item.image}}" class="data-v-6197a430" bind:__l="__l"></u-image><view class="goods-desc flex-1 m-l-24 data-v-6197a430"><view class="goods-name line-2 data-v-6197a430">{{gitem.$orig.goods_name}}</view><view class="m-t-10 xs muted line-1 data-v-6197a430">{{gitem.$orig.goods_item.spec_value_str}}</view><view class="flex row-between m-t-20 data-v-6197a430"><price-format vue-id="{{('35524efc-5-'+index+'-'+gindex)+','+('35524efc-3-'+index+'-'+gindex)}}" price="{{gitem.$orig.goods_price}}" subscript-size="{{26}}" first-size="{{30}}" second-size="{{30}}" class="data-v-6197a430" bind:__l="__l"></price-format><view class="nr data-v-6197a430">{{"x"+gitem.$orig.goods_num}}</view></view></view></view></router-link><view data-event-opts="{{[['tap',[['checkGoods',['$0','$1'],[[['list','',index],['order_goods_un_comment','',gindex,'goods_id']],[['list','',index],['order_goods_un_comment','',gindex,'id']]]]]]]}}" class="evaluate-footer flex row-right data-v-6197a430" bindtap="__e"><view class="btn flex row-center primary br60 data-v-6197a430">评价商品</view></view></view></block></view></block><block wx:if="{{type==2}}"><view class="data-v-6197a430"><view class="p-20 data-v-6197a430"><view class="p-b-20 time data-v-6197a430"><view class="muted xs data-v-6197a430">{{"评价时间: "+item.$orig.create_time}}</view></view><block wx:if="{{item.$orig.comment}}"><view class="m-t-20 data-v-6197a430">{{''+item.$orig.comment+''}}</view></block><block wx:if="{{item.g0}}"><view class="flex flex-wrap m-t-20 data-v-6197a430"><block wx:for="{{item.$orig.goods_comment_image_arr}}" wx:for-item="iitem" wx:for-index="idx" wx:key="idx"><view data-event-opts="{{[['tap',[['previewImage',['$0',idx,'$event'],[[['list','',index,'goods_comment_image_arr']]]]]]]}}" class="comment-img data-v-6197a430" bindtap="__e"><u-image vue-id="{{('35524efc-6-'+index+'-'+idx)+','+('35524efc-1')}}" width="160rpx" height="160rpx" border-radius="6rpx" src="{{iitem}}" class="data-v-6197a430" bind:__l="__l"></u-image></view></block></view></block><view class="comment-goods flex bg-body m-t-20 data-v-6197a430"><u-image vue-id="{{('35524efc-7-'+index)+','+('35524efc-1')}}" width="160rpx" height="160rpx" border-radius="6rpx" src="{{item.$orig.goods_item.image}}" class="data-v-6197a430" bind:__l="__l"></u-image><view class="goods-desc flex-1 m-l-24 data-v-6197a430"><view class="goods-name line-2 data-v-6197a430">{{item.$orig.goods.name}}</view><view class="m-t-10 xs muted line-1 data-v-6197a430">{{item.$orig.goods_item.spec_value_str}}</view><view class="flex m-t-10 data-v-6197a430"><view class="sm m-r-10 muted data-v-6197a430">评分</view><u-rate vue-id="{{('35524efc-8-'+index)+','+('35524efc-1')}}" disabled="{{true}}" value="{{item.$orig.goods_comment}}" active-color="{{colorConfig.primary}}" size="{{36}}" class="data-v-6197a430" bind:__l="__l"></u-rate></view></view></view></view></view></block></view></block></view></mescroll-uni>

View File

@ -0,0 +1 @@
.comment-list .comment-goods.data-v-6197a430{padding:20rpx 24rpx}.comment-list .comment-goods .goods-desc.data-v-6197a430{min-width:500rpx}.comment-list .time.data-v-6197a430{border-bottom:1px solid #e5e5e5}.comment-item .comment-img.data-v-6197a430{margin-bottom:20rpx}.comment-item .comment-img.data-v-6197a430:not(:nth-last-of-type(4n+1)){margin-right:20rpx}.comment-item .evaluate-footer.data-v-6197a430{padding:0 24rpx 28rpx}.comment-item .evaluate-footer .btn.data-v-6197a430{width:178rpx;height:52rpx;border:1px solid #ff2c3c}

View File

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/community-comment-list/community-comment-list"],{"24de":function(e,n,t){},"37cc":function(e,n,t){"use strict";t.d(n,"b",(function(){return o})),t.d(n,"c",(function(){return c})),t.d(n,"a",(function(){return i}));var i={uImage:function(){return t.e("components/uview-ui/components/u-image/u-image").then(t.bind(null,"28a8"))},communityCommentList:function(){return Promise.resolve().then(t.bind(null,"8136"))},uIcon:function(){return t.e("components/uview-ui/components/u-icon/u-icon").then(t.bind(null,"8f08"))},uLoading:function(){return t.e("components/uview-ui/components/u-loading/u-loading").then(t.bind(null,"7cbc"))}},o=function(){var e=this.$createElement;this._self._c},c=[]},8136:function(e,n,t){"use strict";t.r(n);var i=t("37cc"),o=t("fdf6");for(var c in o)["default"].indexOf(c)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(c);t("ff5c");var s=t("828b"),u=Object(s["a"])(o["default"],i["b"],i["c"],!1,null,"cc3cfb38",null,!1,i["a"],void 0);n["default"]=u.exports},fdf6:function(e,n,t){"use strict";t.r(n);var i=t("ff14"),o=t.n(i);for(var c in i)["default"].indexOf(c)<0&&function(e){t.d(n,e,(function(){return i[e]}))}(c);n["default"]=o.a},ff14:function(e,n,t){"use strict";var i=t("47a9");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=i(t("af34")),c=t("6440"),s=t("0aec"),u={name:"community-comment-list",components:{"community-comment-list":function(){Promise.resolve().then(function(){return resolve(t("8136"))}.bind(null,t)).catch(t.oe)}},props:{comment:{type:Object},isSecond:{type:Boolean,default:!1}},data:function(){return{more:1,page:1,pageSize:5,commentInfo:{}}},watch:{comment:{handler:function(e){var n;this.commentInfo.hasOwnProperty("child")?((n=this.commentInfo.child).push.apply(n,(0,o.default)(JSON.parse(JSON.stringify(e.child)))),this.commentInfo.child=this.removeDiffrent(this.commentInfo.child,"id")):this.commentInfo=e},immediate:!0}},mounted:function(){this.handleCommentLike=(0,s.debounce)(this.handleCommentLike,100)},methods:{onReply:function(e){this.$emit("reply",e)},onComment:function(e,n){if(!this.isLogin)return this.$Router.push("/pages/login/login");this.$emit("reply",{commentId:e,parentId:this.commentInfo.id,commentUserName:n})},handleCommentLike:function(e,n,t){var i=this;if(!this.isLogin)return this.$Router.push("/pages/login/login");switch(n){case 0:this.$set(t,"like",t.like+=1),this.$set(t,"is_like",1);break;case 1:this.$set(t,"like",t.like-=1),this.$set(t,"is_like",0);break}(0,c.apiCommunityCommentLike)({id:e,status:n?0:1,type:2}).then((function(e){if(1!==e.code){switch(n){case 0:i.$set(t,"like",t.like-=1),i.$set(t,"is_like",1);break;case 1:i.$set(t,"like",t.like+=1),i.$set(t,"is_like",0);break}i.$toast({title:e.msg})}}))},handleLoadingMore:function(){var e=this;if(!this.isLogin)return this.$Router.push("/pages/login/login");this.commentInfo.loading=!0,(0,c.getCommunityCommentChildLists)({comment_id:this.commentInfo.id,page_no:this.page,page_size:this.pageSize}).then((function(n){var t;1===n.code?(e.more=n.data.more,(t=e.commentInfo.child).push.apply(t,(0,o.default)(n.data.list)),e.commentInfo.child=e.removeDiffrent(e.commentInfo.child,"id"),1===n.data.more&&(e.page+=1)):e.$toast({title:n.msg});e.commentInfo.loading=!1}))},removeDiffrent:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"id",t={};return e.reduce((function(e,i){return!t[i[n]]&&(t[i[n]]=e.push(i)),e}),[])}}};n.default=u},ff5c:function(e,n,t){"use strict";var i=t("24de"),o=t.n(i);o.a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/community-comment-list/community-comment-list-create-component',
{
'components/community-comment-list/community-comment-list-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("8136"))
})
},
[['components/community-comment-list/community-comment-list-create-component']]
]);

View File

@ -0,0 +1,9 @@
{
"component": true,
"usingComponents": {
"u-image": "/components/uview-ui/components/u-image/u-image",
"community-comment-list": "/components/community-comment-list/community-comment-list",
"u-icon": "/components/uview-ui/components/u-icon/u-icon",
"u-loading": "/components/uview-ui/components/u-loading/u-loading"
}
}

View File

@ -0,0 +1 @@
<view class="comment data-v-cc3cfb38"><view class="comment--item data-v-cc3cfb38"><view class="flex col-top row-between data-v-cc3cfb38"><navigator hover-class="none" open-type="navigate" url="{{'/bundle_b/pages/community_user/community_user?id='+commentInfo.user_id}}" class="data-v-cc3cfb38"><u-image vue-id="94699d7c-1" src="{{commentInfo.avatar}}" width="88" height="88" borderRadius="50%" class="data-v-cc3cfb38" bind:__l="__l"></u-image></navigator><view data-event-opts="{{[['tap',[['onComment',[isSecond?commentInfo.pid:commentInfo.id,'$0'],['commentInfo.nickname']]]]]}}" class="m-l-16 flex-1 data-v-cc3cfb38" bindtap="__e"><view class="lighter sm flex data-v-cc3cfb38">{{''+commentInfo.nickname+''}}<block wx:if="{{commentInfo.is_author}}"><text class="lighter xxs author data-v-cc3cfb38">作者</text></block></view><view class="m-t-10 nr normal content data-v-cc3cfb38"><block wx:if="{{commentInfo.is_second}}"><text class="data-v-cc3cfb38"> 回复<text class="primary m-l-6 m-r-6 data-v-cc3cfb38">{{"@"+commentInfo.reply_nickname}}</text></text></block>{{''+commentInfo.comment+''}}</view><view class="muted xs m-t-10 data-v-cc3cfb38">{{commentInfo.create_time}}</view></view><view data-event-opts="{{[['tap',[['handleCommentLike',['$0','$1','$2'],['commentInfo.id','commentInfo.is_like','commentInfo']]]]]}}" class="good text-center m-l-30 data-v-cc3cfb38" catchtap="__e"><image src="{{commentInfo.is_like?'/static/images/icon_good_s.png':'/static/images/icon_good.png'}}" class="data-v-cc3cfb38"></image><view class="xxs muted data-v-cc3cfb38">{{commentInfo.like}}</view></view></view></view><block wx:if="{{commentInfo.child}}"><block wx:for="{{commentInfo.child}}" wx:for-item="item" wx:for-index="__i0__" wx:key="id"><community-comment-list class="comment--item-list data-v-cc3cfb38" vue-id="{{'94699d7c-2-'+__i0__}}" comment="{{item}}" isSecond="{{true}}" data-event-opts="{{[['^reply',[['onReply']]]]}}" bind:reply="__e" bind:__l="__l"></community-comment-list></block></block><block wx:if="{{commentInfo.more!=0&&commentInfo.more+2>!commentInfo.child&&more&&!commentInfo.loading}}"><view data-event-opts="{{[['tap',[['handleLoadingMore',['$event']]]]]}}" class="sons primary xs m-t-10 flex data-v-cc3cfb38" catchtap="__e"> 展开更多回复 <u-icon vue-id="94699d7c-3" name="arrow-down" size="22" color="{{colorConfig.primary}}" class="data-v-cc3cfb38" bind:__l="__l"></u-icon></view></block><block wx:if="{{commentInfo.loading}}"><view class="sons primary xs data-v-cc3cfb38"><u-loading vue-id="94699d7c-4" color="{{colorConfig.primary}}" size="{{30}}" mode="circle" class="data-v-cc3cfb38" bind:__l="__l"></u-loading><text class="m-l-20 data-v-cc3cfb38">加载中</text></view></block><view class="border-b data-v-cc3cfb38"></view></view>

View File

@ -0,0 +1 @@
.comment--item-list.data-v-cc3cfb38 .comment{border-bottom:none;padding:0;margin-left:104rpx;margin-top:24rpx}.comment--item-list.data-v-cc3cfb38 .comment .border-b{padding:0;border-bottom:none}.comment.data-v-cc3cfb38{transition:all .5s;padding:24rpx 24rpx 0 24rpx}.comment.data-v-cc3cfb38 .comment--item-list{border-bottom:none;padding:0;margin-left:104rpx;margin-top:24rpx}.comment.data-v-cc3cfb38 .comment--item-list .border-b{padding:0;border-bottom:none}.comment .border-b.data-v-cc3cfb38{margin-left:104rpx;padding-bottom:18rpx;border-bottom:1px solid #e5e5e5}.comment .sons.data-v-cc3cfb38{margin-left:104rpx}.comment--item.data-v-cc3cfb38{transition:all .5s}.comment--item .author.data-v-cc3cfb38{padding:0 16rpx;margin-left:10rpx;background-color:#eee;border-radius:18rpx}.comment--item .content.data-v-cc3cfb38{white-space:pre-line}.comment--item .good image.data-v-cc3cfb38{width:26rpx;height:26rpx}

View File

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/community-comment-popup/community-comment-popup"],{"0081":function(t,n,e){"use strict";e.r(n);var o=e("f2bd"),i=e.n(o);for(var u in o)["default"].indexOf(u)<0&&function(t){e.d(n,t,(function(){return o[t]}))}(u);n["default"]=i.a},"11a9":function(t,n,e){"use strict";var o=e("5485e"),i=e.n(o);i.a},"176d":function(t,n,e){"use strict";e.d(n,"b",(function(){return i})),e.d(n,"c",(function(){return u})),e.d(n,"a",(function(){return o}));var o={uPopup:function(){return e.e("components/uview-ui/components/u-popup/u-popup").then(e.bind(null,"b12c"))},uLoading:function(){return e.e("components/uview-ui/components/u-loading/u-loading").then(e.bind(null,"7cbc"))},uImage:function(){return e.e("components/uview-ui/components/u-image/u-image").then(e.bind(null,"28a8"))},communityCommentList:function(){return e.e("components/community-comment-list/community-comment-list").then(e.bind(null,"8136"))},communityComment:function(){return e.e("components/community-comment/community-comment").then(e.bind(null,"f145"))}},i=function(){var t=this,n=t.$createElement,e=(t._self._c,{bottom:t.tabbarBottom}),o=t.isFirstLoading?null:t.commentData.length;t._isMounted||(t.e0=function(n){t.showCommentPopup=!0}),t.$mp.data=Object.assign({},{$root:{a0:e,g0:o}})},u=[]},"5485e":function(t,n,e){},e890:function(t,n,e){"use strict";e.r(n);var o=e("176d"),i=e("0081");for(var u in i)["default"].indexOf(u)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(u);e("11a9");var c=e("828b"),m=Object(c["a"])(i["default"],o["b"],o["c"],!1,null,"050b3881",null,!1,o["a"],void 0);n["default"]=m.exports},f2bd:function(t,n,e){"use strict";(function(t){var o=e("47a9");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=o(e("af34")),u=o(e("7ca3")),c=e("8f59"),m=e("6440");function a(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);n&&(o=o.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,o)}return e}function r(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?a(Object(e),!0).forEach((function(n){(0,u.default)(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):a(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}var s={name:"community-comment-popup",components:{CommunityCommentList:function(){e.e("components/community-comment-list/community-comment-list").then(function(){return resolve(e("8136"))}.bind(null,e)).catch(e.oe)}},props:{value:{type:Boolean},communityId:{type:[Number,String]}},data:function(){return{id:"",commentData:[],page:1,pageSize:10,more:0,loading:!1,showCommentPopup:!1,showCommentChildPopup:!1,childPid:"",childIndex:"",childPlaceholder:"",isFirstLoading:!0}},computed:r(r({},(0,c.mapGetters)(["userInfo","sysInfo"])),{},{show:{get:function(){return this.value},set:function(t){!t&&(this.showCommentPopup=!1),this.$emit("input",t)}},tabbarBottom:function(){var n=this.sysInfo.safeArea,e=this.sysInfo.screenHeight-n.bottom,o=t.getMenuButtonBoundingClientRect();return e+o.bottom-o.top+15+"px"}}),watch:{communityId:{handler:function(t){this.id=t,this.page=1,this.commentData=[],this.getCommentData()},immediate:!0}},methods:{changeComment:function(t){t.hasOwnProperty("child")||(t.child=[]),this.commentData.unshift(t)},onSelectComment:function(t){this.childIndex=t},onReply:function(t){this.childPid=t.parentId,this.childPlaceholder="回复@"+t.commentUserName,this.showCommentChildPopup=!0},changeCommentChild:function(t){this.commentData[this.childIndex].child.push(t)},getCommentData:function(){var t=this;(0,m.getCommunityCommentLists)({article_id:this.communityId,page_no:this.page,page_size:this.pageSize}).then((function(n){var e;(setTimeout((function(){return t.isFirstLoading=!1}),1e3),1==n.code)?(n.data.list.forEach((function(t){return t.loading=!1})),1===n.data.more&&(t.page+=1),(e=t.commentData).push.apply(e,(0,i.default)(n.data.list)),t.more=n.data.more,t.loading=!1):t.$toast({title:n.msg})}))},toLower:function(){this.more&&(this.loading=!0,this.getCommentData())}}};n.default=s}).call(this,e("df3c")["default"])}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/community-comment-popup/community-comment-popup-create-component',
{
'components/community-comment-popup/community-comment-popup-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("e890"))
})
},
[['components/community-comment-popup/community-comment-popup-create-component']]
]);

View File

@ -0,0 +1,10 @@
{
"component": true,
"usingComponents": {
"u-popup": "/components/uview-ui/components/u-popup/u-popup",
"u-loading": "/components/uview-ui/components/u-loading/u-loading",
"u-image": "/components/uview-ui/components/u-image/u-image",
"community-comment-list": "/components/community-comment-list/community-comment-list",
"community-comment": "/components/community-comment/community-comment"
}
}

View File

@ -0,0 +1 @@
<view class="data-v-050b3881"><u-popup bind:input="__e" vue-id="448d66e8-1" mode="bottom" height="900rpx" duration="{{100}}" closeable="{{true}}" border-radius="14" customStyle="{{$root.a0}}" value="{{show}}" data-event-opts="{{[['^input',[['__set_model',['','show','$event',[]]]]]]}}" class="data-v-050b3881" bind:__l="__l" vue-slots="{{['default']}}"><view class="content data-v-050b3881"><view class="xl p-24 text-center bold bb data-v-050b3881">评论</view><view class="content-wrapper data-v-050b3881"><scroll-view scroll-y="true" data-event-opts="{{[['scrolltolower',[['toLower',['$event']]]]]}}" bindscrolltolower="__e" class="data-v-050b3881"><block wx:if="{{isFirstLoading}}"><view class="text-center flex row-center p-50 data-v-050b3881"><u-loading vue-id="{{('448d66e8-2')+','+('448d66e8-1')}}" color="{{colorConfig.primary}}" size="{{40}}" mode="circle" class="data-v-050b3881" bind:__l="__l"></u-loading><text class="m-l-20 data-v-050b3881">加载中</text></view></block><block wx:else><block wx:if="{{!$root.g0}}"><view class="text-center p-50 data-v-050b3881"><view class="flex row-center data-v-050b3881"><u-image vue-id="{{('448d66e8-3')+','+('448d66e8-1')}}" src="/static/images/news_null.png" width="300" height="300" class="data-v-050b3881" bind:__l="__l"></u-image></view><view class="muted m-t-40 data-v-050b3881"> 还没有人评论呢, 快来抢沙发~ </view></view></block><block wx:else><block wx:for="{{commentData}}" wx:for-item="commentItem" wx:for-index="commentIndex" wx:key="id"><view data-event-opts="{{[['tap',[['onSelectComment',[commentIndex]]]]]}}" bindtap="__e" class="data-v-050b3881"><community-comment-list vue-id="{{('448d66e8-4-'+commentIndex)+','+('448d66e8-1')}}" comment="{{commentItem}}" data-event-opts="{{[['^reply',[['onReply']]]]}}" bind:reply="__e" class="data-v-050b3881" bind:__l="__l"></community-comment-list></view></block><block wx:if="{{more===1&&loading}}"><view class="flex row-center primary nd p-50 data-v-050b3881"><u-loading vue-id="{{('448d66e8-5')+','+('448d66e8-1')}}" color="{{colorConfig.primary}}" size="{{40}}" mode="circle" class="data-v-050b3881" bind:__l="__l"></u-loading><text class="m-l-20 data-v-050b3881">加载中</text></view></block><block wx:else><view class="text-center muted nd p-50 data-v-050b3881"><text class="data-v-050b3881">没有更多了~</text></view></block></block></block></scroll-view></view><view class="comment-footer m-t-8 flex row-between data-v-050b3881"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="flex-1 flex data-v-050b3881" bindtap="__e"><u-image vue-id="{{('448d66e8-6')+','+('448d66e8-1')}}" src="{{userInfo.avatar}}" width="60" height="60" borderRadius="50%" class="data-v-050b3881" bind:__l="__l"></u-image><view class="input nr muted data-v-050b3881">发表你的想法吧</view></view></view></view></u-popup><community-comment vue-id="448d66e8-7" communityId="{{id}}" safeAreaInsetBottom="{{true}}" value="{{showCommentPopup}}" data-event-opts="{{[['^change',[['changeComment']]],['^input',[['__set_model',['','showCommentPopup','$event',[]]]]]]}}" bind:change="__e" bind:input="__e" class="data-v-050b3881" bind:__l="__l"></community-comment><community-comment vue-id="448d66e8-8" communityId="{{id}}" pid="{{childPid}}" placeholder="{{childPlaceholder}}" safeAreaInsetBottom="{{true}}" value="{{showCommentChildPopup}}" data-event-opts="{{[['^change',[['changeCommentChild']]],['^input',[['__set_model',['','showCommentChildPopup','$event',[]]]]]]}}" bind:change="__e" bind:input="__e" class="data-v-050b3881" bind:__l="__l"></community-comment></view>

View File

@ -0,0 +1 @@
.bb.data-v-050b3881{border-bottom:1px solid #f6f6f6}.content.data-v-050b3881{width:100%;height:100%;position:relative;padding-bottom:calc(100rpx + env(safe-area-inset-bottom))}.content > view.data-v-050b3881{width:100%;position:fixed}.content .content-wrapper.data-v-050b3881{top:46px;height:700rpx}.content .content-wrapper scroll-view.data-v-050b3881{height:100%}.content .comment-footer.data-v-050b3881{bottom:0;height:92rpx;padding:0 30rpx;box-shadow:0 -4rpx 10rpx rgba(0,0,0,.1)}.content .comment-footer .input.data-v-050b3881{width:100%;margin-left:16rpx;border-radius:30rpx;background:#f8f8f8;padding:10rpx 30rpx}.content .comment-footer image.data-v-050b3881{width:44rpx;height:44rpx}

View File

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/community-comment/community-comment"],{"1d01":function(t,e,n){},"20c4":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){return o}));var o={uMask:function(){return n.e("components/uview-ui/components/u-mask/u-mask").then(n.bind(null,"693c"))}},i=function(){var t=this,e=t.$createElement;t._self._c;t._isMounted||(t.e0=function(e){t.show=!1},t.e1=function(e){t.isFocus=!0},t.e2=function(e){e.stopPropagation(),t.show=!1})},r=[]},"4f4a":function(t,e,n){"use strict";(function(t){var o=n("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=o(n("7eb4")),r=o(n("ee10")),u=o(n("7ca3")),c=n("8f59"),a=n("6440"),s=n("0aec");n("f4fb");function f(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function l(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?f(Object(n),!0).forEach((function(e){(0,u.default)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var m={name:"community-comment",props:{value:{type:Boolean},communityId:{type:[Number,String]},pid:{type:[String,Number]},placeholder:{type:[String,Number],default:"发表你的想法吧..."},safeAreaInsetBottom:{type:Boolean,default:!1}},data:function(){return{isFocus:!0,height:0,content:""}},computed:l(l({},(0,c.mapGetters)(["sysInfo"])),{},{commentPlaceholder:function(){return this.placeholder},show:{get:function(){return this.value},set:function(t){this.$emit("input",t)}},tabbarBottom:function(){if(this.safeAreaInsetBottom){console.log("???");var e=this.sysInfo.safeArea,n=this.sysInfo.screenHeight-e.bottom,o=t.getMenuButtonBoundingClientRect();return n+o.bottom-o.top+15}return 0}}),mounted:function(){this.handleComment=(0,s.trottle)(this.handleComment,500,this)},methods:{handleFocus:function(t){var e=this;return(0,r.default)(i.default.mark((function n(){return i.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:e.isFocus=!0,"pages/community/community"==(0,s.currentPage)().route?e.height=t.detail.height-54:e.height=t.detail.height;case 2:case"end":return n.stop()}}),n)})))()},handleBlur:function(){this.isFocus=!1},handleComment:function(){var t=this;if(!this.isLogin)return this.$Router.push("/pages/login/login");(0,a.apiCommunityCommentAdd)({article_id:this.communityId,pid:this.pid,comment:this.content}).then((function(e){t.$toast({title:e.msg}),1==e.code&&(t.show=!1,t.$emit("change",e.data),t.content="")}))}}};e.default=m}).call(this,n("df3c")["default"])},"7ce1":function(t,e,n){"use strict";var o=n("1d01"),i=n.n(o);i.a},cb34:function(t,e,n){"use strict";n.r(e);var o=n("4f4a"),i=n.n(o);for(var r in o)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(r);e["default"]=i.a},f145:function(t,e,n){"use strict";n.r(e);var o=n("20c4"),i=n("cb34");for(var r in i)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(r);n("7ce1");var u=n("828b"),c=Object(u["a"])(i["default"],o["b"],o["c"],!1,null,"4541b853",null,!1,o["a"],void 0);e["default"]=c.exports}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/community-comment/community-comment-create-component',
{
'components/community-comment/community-comment-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("f145"))
})
},
[['components/community-comment/community-comment-create-component']]
]);

View File

@ -0,0 +1,6 @@
{
"component": true,
"usingComponents": {
"u-mask": "/components/uview-ui/components/u-mask/u-mask"
}
}

View File

@ -0,0 +1 @@
<view class="mask-comment data-v-4541b853"><u-mask vue-id="656c2d0a-1" show="{{show}}" duration="0" data-event-opts="{{[['^click',[['e0']]]]}}" bind:click="__e" class="data-v-4541b853" bind:__l="__l"></u-mask><block wx:if="{{show}}"><view data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" class="comment-popup bg-white data-v-4541b853" style="{{'bottom:'+(!isFocus?0+'px':tabbarBottom+height+'px')+';'}}" bindtap="__e"><view class="comment-popup-header flex row-between data-v-4541b853"><view data-event-opts="{{[['tap',[['e2',['$event']]]]]}}" class="lg normal data-v-4541b853" catchtap="__e">取消</view><view class="lg bold data-v-4541b853">评论</view><view data-event-opts="{{[['tap',[['handleComment',['$event']]]]]}}" class="primary lg data-v-4541b853" catchtap="__e">确定</view></view><view class="comment-popup-content data-v-4541b853"><textarea class="comment-popup-textarea data-v-4541b853" cols="30" rows="10" focus="{{isFocus}}" auto-focus="{{true}}" placeholder="{{commentPlaceholder}}" disable-default-padding="{{true}}" show-confirm-bar="{{false}}" fixed="{{true}}" adjust-position="{{false}}" data-event-opts="{{[['focus',[['handleFocus',['$event']]]],['blur',[['handleBlur',['$event']]]],['input',[['__set_model',['','content','$event',[]]]]]]}}" value="{{content}}" bindfocus="__e" bindblur="__e" bindinput="__e"></textarea></view></view></block></view>

View File

@ -0,0 +1 @@
.comment-popup.data-v-4541b853{width:100%;height:340rpx;border-radius:20rpx 20rpx 0 0;position:fixed;z-index:9999;bottom:0;left:0;padding-bottom:env(safe-area-inset-bottom)}.comment-popup .comment-popup-header view.data-v-4541b853{padding:28rpx 30rpx}.comment-popup .comment-popup-content.data-v-4541b853{height:240rpx;padding:20rpx}.comment-popup .comment-popup-content .comment-popup-textarea.data-v-4541b853{width:100%;box-sizing:border-box;height:200rpx;background:#f8f8f8;border-radius:14rpx;padding:20rpx}

View File

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/community-goods/community-goods"],{"0f26":function(n,t,e){},3476:function(n,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u=e("6440"),o={name:"community-goods",props:{value:{type:Boolean},communityId:{type:[String,Number],default:""}},data:function(){return{lists:[]}},computed:{show:{get:function(){return this.value},set:function(n){n&&this.initRecommendGoods(),this.$emit("input",n)}}},methods:{initRecommendGoods:function(){var n=this;(0,u.getCommunityGoodsLists)({id:this.communityId}).then((function(t){n.lists=t.data}))}}};t.default=o},"54a6":function(n,t,e){"use strict";var u=e("0f26"),o=e.n(u);o.a},"55bb":function(n,t,e){"use strict";e.d(t,"b",(function(){return o})),e.d(t,"c",(function(){return i})),e.d(t,"a",(function(){return u}));var u={uPopup:function(){return e.e("components/uview-ui/components/u-popup/u-popup").then(e.bind(null,"b12c"))},uImage:function(){return e.e("components/uview-ui/components/u-image/u-image").then(e.bind(null,"28a8"))}},o=function(){var n=this.$createElement;this._self._c},i=[]},c46b:function(n,t,e){"use strict";e.r(t);var u=e("55bb"),o=e("e815");for(var i in o)["default"].indexOf(i)<0&&function(n){e.d(t,n,(function(){return o[n]}))}(i);e("54a6");var c=e("828b"),r=Object(c["a"])(o["default"],u["b"],u["c"],!1,null,"604168ee",null,!1,u["a"],void 0);t["default"]=r.exports},e815:function(n,t,e){"use strict";e.r(t);var u=e("3476"),o=e.n(u);for(var i in u)["default"].indexOf(i)<0&&function(n){e.d(t,n,(function(){return u[n]}))}(i);t["default"]=o.a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/community-goods/community-goods-create-component',
{
'components/community-goods/community-goods-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("c46b"))
})
},
[['components/community-goods/community-goods-create-component']]
]);

View File

@ -0,0 +1,7 @@
{
"component": true,
"usingComponents": {
"u-popup": "/components/uview-ui/components/u-popup/u-popup",
"u-image": "/components/uview-ui/components/u-image/u-image"
}
}

View File

@ -0,0 +1 @@
<u-popup bind:input="__e" vue-id="9dc40348-1" mode="bottom" height="900" closeable="{{true}}" border-radius="14" value="{{show}}" data-event-opts="{{[['^input',[['__set_model',['','show','$event',[]]]]]]}}" class="data-v-604168ee" bind:__l="__l" vue-slots="{{['default']}}"><view class="xl p-24 text-center bold data-v-604168ee">TA提到的商品</view><block wx:for="{{lists}}" wx:for-item="goodsItem" wx:for-index="index" wx:key="index"><navigator hover-class="none" url="{{'/pages/goods_details/goods_details?id='+goodsItem.id}}" class="data-v-604168ee"><view class="goods flex data-v-604168ee"><u-image vue-id="{{('9dc40348-2-'+index)+','+('9dc40348-1')}}" width="160" height="160" src="{{goodsItem.image}}" class="data-v-604168ee" bind:__l="__l"></u-image><view class="m-l-20 goods-info data-v-604168ee"><view class="line-2 nr normal data-v-604168ee">{{''+goodsItem.name+''}}</view><view class="primary xl p-t-30 data-v-604168ee">{{"¥"+goodsItem.goods_price}}</view></view></view></navigator></block></u-popup>

View File

@ -0,0 +1 @@
.goods.data-v-604168ee{padding:20rpx;border-top:1px solid #f6f6f6}.goods .goods-info.data-v-604168ee{height:160rpx}

View File

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/community-list/community-list"],{"22d6":function(n,t,e){"use strict";e.d(t,"b",(function(){return i})),e.d(t,"c",(function(){return r})),e.d(t,"a",(function(){return u}));var u={uLazyLoad:function(){return e.e("components/uview-ui/components/u-lazy-load/u-lazy-load").then(e.bind(null,"fbc8"))},uImage:function(){return e.e("components/uview-ui/components/u-image/u-image").then(e.bind(null,"28a8"))}},i=function(){var n=this.$createElement;this._self._c},r=[]},7481:function(n,t,e){"use strict";e.r(t);var u=e("22d6"),i=e("9130");for(var r in i)["default"].indexOf(r)<0&&function(n){e.d(t,n,(function(){return i[n]}))}(r);e("9cc5");var c=e("828b"),o=Object(c["a"])(i["default"],u["b"],u["c"],!1,null,"3b279352",null,!1,u["a"],void 0);t["default"]=o.exports},8510:function(n,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u={props:{list:{type:Array,default:function(){return[]}},width:{type:String,default:"347rpx"},type:{type:String}},data:function(){return{}}};t.default=u},"8c8e":function(n,t,e){},9130:function(n,t,e){"use strict";e.r(t);var u=e("8510"),i=e.n(u);for(var r in u)["default"].indexOf(r)<0&&function(n){e.d(t,n,(function(){return u[n]}))}(r);t["default"]=i.a},"9cc5":function(n,t,e){"use strict";var u=e("8c8e"),i=e.n(u);i.a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/community-list/community-list-create-component',
{
'components/community-list/community-list-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("7481"))
})
},
[['components/community-list/community-list-create-component']]
]);

View File

@ -0,0 +1,7 @@
{
"component": true,
"usingComponents": {
"u-lazy-load": "/components/uview-ui/components/u-lazy-load/u-lazy-load",
"u-image": "/components/uview-ui/components/u-image/u-image"
}
}

View File

@ -0,0 +1 @@
<view class="data-v-3b279352"><block wx:if="{{type=='waterfall'}}"><view class="community-list data-v-3b279352"><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><router-link vue-id="{{'5340a2fc-1-'+index}}" to="{{'/bundle_b/pages/community_detail/community_detail?id='+item.id}}" class="data-v-3b279352" bind:__l="__l" vue-slots="{{['default']}}"><view class="community-list--item bg-white m-t-20 data-v-3b279352"><view class="community-img data-v-3b279352"><u-lazy-load vue-id="{{('5340a2fc-2-'+index)+','+('5340a2fc-1-'+index)}}" threshold="0" border-radius="10" image="{{item.image}}" index="{{index}}" class="data-v-3b279352" bind:__l="__l"></u-lazy-load></view><view class="community-info data-v-3b279352"><view class="community-title line-2 data-v-3b279352">{{item.content}}</view><view class="m-t-10 flex data-v-3b279352"><u-image vue-id="{{('5340a2fc-3-'+index)+','+('5340a2fc-1-'+index)}}" width="50" height="50" border-radius="50%" src="{{item.avatar}}" class="data-v-3b279352" bind:__l="__l"></u-image><view class="user-name flex-1 line-2 data-v-3b279352">{{item.nickname}}</view><view class="likes data-v-3b279352"><image src="{{item.is_like?'/static/images/icon_collection_s.png':'/static/images/icon_likes.png'}}" class="data-v-3b279352"></image><text class="xs muted m-l-6 data-v-3b279352">{{item.like}}</text></view></view></view></view></router-link></block></view></block><block wx:if="{{type=='works'}}"><view class="community-list data-v-3b279352"><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><router-link vue-id="{{'5340a2fc-4-'+index}}" to="{{'/bundle_b/pages/community_detail/community_detail?id='+item.id}}" class="data-v-3b279352" bind:__l="__l" vue-slots="{{['default']}}"><view class="community-list--item bg-white m-t-20 data-v-3b279352"><view class="community-img data-v-3b279352"><block wx:if="{{item.status===0||item.status===2}}"><view class="works flex row-center data-v-3b279352"><view class="text-center nr white data-v-3b279352"><view class="data-v-3b279352">{{item.status_desc}}</view><view class="m-t-10 data-v-3b279352">{{item.audit_remark_desc}}</view></view></view></block><u-lazy-load vue-id="{{('5340a2fc-5-'+index)+','+('5340a2fc-4-'+index)}}" threshold="0" border-radius="10" image="{{item.image}}" index="{{index}}" class="data-v-3b279352" bind:__l="__l"></u-lazy-load></view><view class="community-info data-v-3b279352"><view class="community-title line-2 data-v-3b279352">{{item.content}}</view><view class="m-t-20 flex data-v-3b279352"><view class="user-name flex-1 line-2 data-v-3b279352">{{item.create_time}}</view><view class="likes data-v-3b279352"><image src="{{item.is_like?'/static/images/icon_collection_s.png':'/static/images/icon_likes.png'}}" class="data-v-3b279352"></image><text class="xs muted m-l-6 data-v-3b279352">{{item.like}}</text></view></view></view></view></router-link></block></view></block><block wx:if="{{type=='index'}}"><view class="community-list flex data-v-3b279352"><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><router-link class="community-list--item bg-white m-r-20 data-v-3b279352" vue-id="{{'5340a2fc-6-'+index}}" to="{{'/bundle_b/pages/community_detail/community_detail?id='+item.id}}" bind:__l="__l" vue-slots="{{['default']}}"><view class="community-index data-v-3b279352"><view class="wrap white sm p-l-10 data-v-3b279352"><view class="index-title line-1 data-v-3b279352">{{item.content}}</view><view class="flex m-t-10 data-v-3b279352"><u-lazy-load vue-id="{{('5340a2fc-7-'+index)+','+('5340a2fc-6-'+index)}}" threshold="0" border-radius="10" image="{{item.image}}" index="{{index}}" class="data-v-3b279352" bind:__l="__l"></u-lazy-load><view class="index-name line-1 m-l-6 data-v-3b279352">{{''+item.nickname+''}}</view></view></view><u-image vue-id="{{('5340a2fc-8-'+index)+','+('5340a2fc-6-'+index)}}" width="240" height="240" src="{{item.image}}" borderRadius="14" class="data-v-3b279352" bind:__l="__l"></u-image></view></router-link></block></view></block></view>

View File

@ -0,0 +1 @@
.community-list--item.data-v-3b279352{border-radius:14rpx}.community-list--item .community-img.data-v-3b279352{width:336rpx;position:relative}.community-list--item .community-img .works.data-v-3b279352{width:100%;height:100%;z-index:10;border-radius:14rpx;background-color:rgba(0,0,0,.4);position:absolute}.community-list--item .community-index.data-v-3b279352{width:240rpx;position:relative}.community-list--item .community-index .wrap.data-v-3b279352{width:100%;height:100%;z-index:10;border-radius:14rpx;background-color:rgba(0,0,0,.4);position:absolute;padding-top:140rpx}.community-list--item .community-index .wrap .index-title.data-v-3b279352{width:210rpx}.community-list--item .community-index .wrap .index-name.data-v-3b279352{width:160rpx}.community-list--item .community-info.data-v-3b279352{padding:10rpx}.community-list--item .community-info .community-title.data-v-3b279352{font-size:28rpx;line-height:40rpx;color:#333}.community-list--item .community-info .user-name.data-v-3b279352{color:#999;font-size:24rpx;margin:0 10rpx}.community-list--item .community-info .likes image.data-v-3b279352{width:32rpx;height:32rpx;vertical-align:middle}

View File

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/community-recommend/community-recommend"],{"0e88":function(n,t,e){"use strict";e.r(t);var u=e("e36b"),i=e.n(u);for(var o in u)["default"].indexOf(o)<0&&function(n){e.d(t,n,(function(){return u[n]}))}(o);t["default"]=i.a},"3f9e9":function(n,t,e){"use strict";var u=e("634e"),i=e.n(u);i.a},"634e":function(n,t,e){},9204:function(n,t,e){"use strict";e.d(t,"b",(function(){return i})),e.d(t,"c",(function(){return o})),e.d(t,"a",(function(){return u}));var u={uIcon:function(){return e.e("components/uview-ui/components/u-icon/u-icon").then(e.bind(null,"8f08"))},communityList:function(){return e.e("components/community-list/community-list").then(e.bind(null,"7481"))}},i=function(){var n=this.$createElement;this._self._c},o=[]},ca1b:function(n,t,e){"use strict";e.r(t);var u=e("9204"),i=e("0e88");for(var o in i)["default"].indexOf(o)<0&&function(n){e.d(t,n,(function(){return i[n]}))}(o);e("3f9e9");var c=e("828b"),r=Object(c["a"])(i["default"],u["b"],u["c"],!1,null,"4ffab2f4",null,!1,u["a"],void 0);t["default"]=r.exports},e36b:function(n,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u={name:"community-recommend",props:{title:String,url:String,list:{type:Array,default:function(){return[]}}}};t.default=u}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/community-recommend/community-recommend-create-component',
{
'components/community-recommend/community-recommend-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("ca1b"))
})
},
[['components/community-recommend/community-recommend-create-component']]
]);

View File

@ -0,0 +1,7 @@
{
"usingComponents": {
"u-icon": "/components/uview-ui/components/u-icon/u-icon",
"community-list": "/components/community-list/community-list"
},
"component": true
}

View File

@ -0,0 +1 @@
<view class="{{['data-v-4ffab2f4','community-recommend bg-white']}}"><block wx:if="{{title}}"><view class="active-hd flex row-between data-v-4ffab2f4"><view class="xxl bold data-v-4ffab2f4">{{title}}</view><router-link vue-id="48553c90-1" to="{{url}}" navType="pushTab" class="data-v-4ffab2f4" bind:__l="__l" vue-slots="{{['default']}}"><view class="sm data-v-4ffab2f4">发现好物 <u-icon vue-id="{{('48553c90-2')+','+('48553c90-1')}}" name="arrow-right" class="data-v-4ffab2f4" bind:__l="__l"></u-icon></view></router-link></view></block><scroll-view style="white-space:nowrap;" scroll-x="{{true}}" class="data-v-4ffab2f4"><view class="community-wrap data-v-4ffab2f4"><community-list vue-id="48553c90-3" type="index" list="{{list}}" class="data-v-4ffab2f4" bind:__l="__l"></community-list></view></scroll-view></view>

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/community-shop/community-shop"],{"0e74":function(n,t,e){"use strict";e.r(t);var u=e("bb7a"),i=e.n(u);for(var o in u)["default"].indexOf(o)<0&&function(n){e.d(t,n,(function(){return u[n]}))}(o);t["default"]=i.a},"3cb6":function(n,t,e){"use strict";var u=e("ae78"),i=e.n(u);i.a},"7d29":function(n,t,e){"use strict";e.d(t,"b",(function(){return i})),e.d(t,"c",(function(){return o})),e.d(t,"a",(function(){return u}));var u={uPopup:function(){return e.e("components/uview-ui/components/u-popup/u-popup").then(e.bind(null,"b12c"))},uImage:function(){return e.e("components/uview-ui/components/u-image/u-image").then(e.bind(null,"28a8"))}},i=function(){var n=this.$createElement;this._self._c},o=[]},aa96:function(n,t,e){"use strict";e.r(t);var u=e("7d29"),i=e("0e74");for(var o in i)["default"].indexOf(o)<0&&function(n){e.d(t,n,(function(){return i[n]}))}(o);e("3cb6");var c=e("828b"),a=Object(c["a"])(i["default"],u["b"],u["c"],!1,null,"094262ce",null,!1,u["a"],void 0);t["default"]=a.exports},ae78:function(n,t,e){},bb7a:function(n,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u=e("6440"),i={name:"community-shop",props:{value:{type:Boolean},communityId:{type:[String,Number],default:""}},data:function(){return{lists:[]}},computed:{show:{get:function(){return this.value},set:function(n){n&&this.initRecommendShop(),this.$emit("input",n)}}},methods:{initRecommendShop:function(){var n=this;(0,u.getCommunityShopLists)({id:this.communityId}).then((function(t){n.lists=t.data}))}}};t.default=i}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/community-shop/community-shop-create-component',
{
'components/community-shop/community-shop-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("aa96"))
})
},
[['components/community-shop/community-shop-create-component']]
]);

View File

@ -0,0 +1,7 @@
{
"component": true,
"usingComponents": {
"u-popup": "/components/uview-ui/components/u-popup/u-popup",
"u-image": "/components/uview-ui/components/u-image/u-image"
}
}

View File

@ -0,0 +1 @@
<u-popup bind:input="__e" vue-id="21606cfc-1" mode="bottom" height="900" closeable="{{true}}" border-radius="14" value="{{show}}" data-event-opts="{{[['^input',[['__set_model',['','show','$event',[]]]]]]}}" class="data-v-094262ce" bind:__l="__l" vue-slots="{{['default']}}"><view class="xl p-24 text-center bold data-v-094262ce">TA提到的店铺</view><block wx:for="{{lists}}" wx:for-item="shopItem" wx:for-index="shopIndex" wx:key="shopIndex"><navigator hover-class="none" url="{{'/pages/store_index/store_index?id='+shopItem.id}}" class="data-v-094262ce"><view class="shop flex data-v-094262ce"><u-image vue-id="{{('21606cfc-2-'+shopIndex)+','+('21606cfc-1')}}" width="160" height="160" src="{{shopItem.logo}}" class="data-v-094262ce" bind:__l="__l"></u-image><view class="m-l-20 shop-info data-v-094262ce"><view class="line-2 nr normal data-v-094262ce">{{''+shopItem.name+''}}</view></view></view></navigator></block></u-popup>

View File

@ -0,0 +1 @@
.shop.data-v-094262ce{padding:20rpx;border-top:1px solid #f6f6f6}.shop .shop-info.data-v-094262ce{height:160rpx;line-height:160rpx}

View File

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/coupon-list/coupon-list"],{"0512":function(t,n,e){"use strict";e.d(n,"b",(function(){return o})),e.d(n,"c",(function(){return u})),e.d(n,"a",(function(){return i}));var i={priceFormat:function(){return e.e("components/price-format/price-format").then(e.bind(null,"1738"))},uIcon:function(){return e.e("components/uview-ui/components/u-icon/u-icon").then(e.bind(null,"8f08"))}},o=function(){var t=this,n=t.$createElement,i=(t._self._c,t.__map(t.list,(function(n,i){var o=t.__get_orig(n),u=n.is_get?e("36fd"):null,r=t.getBtn(n),s=t.getBtn(n);return{$orig:o,m0:u,m1:r,m2:s}})));t.$mp.data=Object.assign({},{$root:{l0:i}})},u=[]},2157:function(t,n,e){"use strict";e.r(n);var i=e("56c5"),o=e.n(i);for(var u in i)["default"].indexOf(u)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(u);n["default"]=o.a},"56c5":function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=e("0956"),o={data:function(){return{showTips:[]}},props:{list:{type:Array,default:function(){return[]}},btnType:{type:Number}},watch:{list:{handler:function(t){var n=t.map((function(t){return 0}));this.showTips=n},immediate:!0,deep:!0}},computed:{getBtn:function(){var t=this;return function(n){var e="";return e=n.is_get?n.can_continue_get?"继续领取":"去使用":0==t.btnType?"去使用":"领取",e}}},methods:{onHandle:function(n,e){this.id=n;var i=this.getBtn(e);switch(i){case"去使用":0==this.btnType?t.redirectTo({url:"/pages/store_index/store_index?id=".concat(e.shop_id)}):t.redirectTo({url:"/pages/store_index/store_index?id=".concat(e.shop.id)});break;case"领取":this.getCouponFun(),e.is_get=1,e.can_continue_get=0;break;case"继续领取":this.getCouponFun(),e.can_continue_get=0;break}},onShowTips:function(t){var n=this.showTips;this.showTips[t]=n[t]?0:1,this.showTips=Object.assign([],this.showTips)},getCouponFun:function(){var t=this;if(!this.isLogin)return this.$Router.push("/pages/login/login");(0,i.getCoupon)(this.id).then((function(n){1==n.code&&t.$toast({title:n.msg})}))}}};n.default=o}).call(this,e("df3c")["default"])},"9f67":function(t,n,e){"use strict";var i=e("d577"),o=e.n(i);o.a},ca64:function(t,n,e){"use strict";e.r(n);var i=e("0512"),o=e("2157");for(var u in o)["default"].indexOf(u)<0&&function(t){e.d(n,t,(function(){return o[t]}))}(u);e("9f67");var r=e("828b"),s=Object(r["a"])(o["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);n["default"]=s.exports},d577:function(t,n,e){}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/coupon-list/coupon-list-create-component',
{
'components/coupon-list/coupon-list-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("ca64"))
})
},
[['components/coupon-list/coupon-list-create-component']]
]);

View File

@ -0,0 +1,7 @@
{
"component": true,
"usingComponents": {
"price-format": "/components/price-format/price-format",
"u-icon": "/components/uview-ui/components/u-icon/u-icon"
}
}

View File

@ -0,0 +1 @@
<view class="coupon-list"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="m-t-20"><view class="{{['coupon-item flex '+(btnType==1||btnType==2?'gray':'')]}}"><block wx:if="{{item.$orig.is_get}}"><image class="received _img" src="{{item.m0}}" alt></image></block><view class="price white flex-col col-center"><view class="xl"><price-format vue-id="{{'5f1e0936-1-'+index}}" first-size="{{60}}" second-size="{{50}}" subscript-size="{{34}}" price="{{item.$orig.money}}" weight="{{500}}" bind:__l="__l"></price-format></view><view class="sm text-center">{{item.$orig.condition_type_desc}}</view></view><view class="info m-l-20"><view class="lg m-b-20">{{item.$orig.coupon_name}}</view><view class="xs lighter m-b-20">{{item.$orig.user_time_desc}}</view><view class="xs lighter">{{item.$orig.use_scene_desc}}</view></view><button hidden="{{!(!(btnType==1||btnType==2))}}" class="{{['btn br60 white xs '+(item.m1=='去使用'?'plain':'')]}}" type="primary" data-event-opts="{{[['tap',[['onHandle',['$0','$1'],[[['list','',index,'id']],[['list','',index]]]]]]]}}" bindtap="__e">{{''+item.m2+''}}</button><block wx:if="{{item.$orig.is_get}}"><image class="receive" src="/static/images/coupon_receive.png"></image></block></view><block wx:if="{{item.$orig.use_goods_desc}}"><view data-event-opts="{{[['tap',[['onShowTips',[index]]]]]}}" class="bg-white" style="padding:14rpx 20rpx;" bindtap="__e"><view class="flex row-between"><view class="xs">使用说明</view><u-icon class="{{[showTips[index]?'rotate':'']}}" vue-id="{{'5f1e0936-2-'+index}}" name="arrow-down" bind:__l="__l"></u-icon></view><view hidden="{{!(showTips[index])}}" class="m-t-10 xs">{{item.$orig.use_goods_desc}}</view></view></block></view></block></view>

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/coupon-order/coupon-order"],{"22ef":function(t,n,e){"use strict";e.r(n);var o=e("d6b9"),u=e.n(o);for(var c in o)["default"].indexOf(c)<0&&function(t){e.d(n,t,(function(){return o[t]}))}(c);n["default"]=u.a},4485:function(t,n,e){"use strict";e.d(n,"b",(function(){return u})),e.d(n,"c",(function(){return c})),e.d(n,"a",(function(){return o}));var o={priceFormat:function(){return e.e("components/price-format/price-format").then(e.bind(null,"1738"))},uCheckbox:function(){return e.e("components/uview-ui/components/u-checkbox/u-checkbox").then(e.bind(null,"7f15"))}},u=function(){var t=this.$createElement,n=(this._self._c,this.coupons.length);this.$mp.data=Object.assign({},{$root:{g0:n}})},c=[]},6606:function(t,n,e){"use strict";e.r(n);var o=e("4485"),u=e("22ef");for(var c in u)["default"].indexOf(c)<0&&function(t){e.d(n,t,(function(){return u[t]}))}(c);e("dc54");var i=e("828b"),r=Object(i["a"])(u["default"],o["b"],o["c"],!1,null,"3b23292d",null,!1,o["a"],void 0);n["default"]=r.exports},b54b:function(t,n,e){},d6b9:function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o={data:function(){return{coupons:[],selectId:""}},props:{list:{type:Array,default:function(){return[]}},type:{type:Number},couponId:[Number,String]},watch:{list:{handler:function(t){this.coupons=t},immediate:!0},couponId:{handler:function(t){this.selectId=t},immediate:!0}},methods:{onSelect:function(t){this.coupons;var n=this.type,e=this.selectId;1!=n&&(this.selectId=t==e?"":t)},onConfirmCoupon:function(){this.$emit("change",this.selectId)}}};n.default=o},dc54:function(t,n,e){"use strict";var o=e("b54b"),u=e.n(o);u.a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/coupon-order/coupon-order-create-component',
{
'components/coupon-order/coupon-order-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("6606"))
})
},
[['components/coupon-order/coupon-order-create-component']]
]);

View File

@ -0,0 +1,7 @@
{
"usingComponents": {
"price-format": "/components/price-format/price-format",
"u-checkbox": "/components/uview-ui/components/u-checkbox/u-checkbox"
},
"component": true
}

View File

@ -0,0 +1 @@
<view class="coupon-order flex-col data-v-3b23292d"><scroll-view style="{{'background-color:#F6F6F6;'+('height:'+(type==0?'750rpx':'852rpx')+';')}}" scroll-y="true" class="data-v-3b23292d"><view class="coupon-list data-v-3b23292d"><block wx:for="{{coupons}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['onSelect',['$0'],[[['coupons','',index,'id']]]]]]]}}" class="m-b-20 bg-white data-v-3b23292d" bindtap="__e"><view class="coupon-item flex data-v-3b23292d"><view class="price white flex-col col-center data-v-3b23292d"><view class="xl data-v-3b23292d"><price-format vue-id="{{'07e9d0a2-1-'+index}}" subscript-size="{{34}}" first-size="{{60}}" second-size="{{50}}" price="{{item.money}}" weight="{{500}}" class="data-v-3b23292d" bind:__l="__l"></price-format></view><view class="data-v-3b23292d">{{item.condition_type_desc}}</view></view><view class="flex row-between flex-1 data-v-3b23292d"><view class="info m-l-20 data-v-3b23292d"><view class="bold md bold m-b-10 line-1 data-v-3b23292d">{{item.coupon_name}}</view><view class="xxs lighter m-b-10 data-v-3b23292d">{{item.user_time_desc}}</view><view class="xxs lighter data-v-3b23292d">{{item.use_scene_desc}}</view></view><block wx:if="{{type==0}}"><u-checkbox vue-id="{{'07e9d0a2-2-'+index}}" shape="circle" value="{{selectId==item.id}}" class="data-v-3b23292d" bind:__l="__l"></u-checkbox></block></view></view><block wx:if="{{item.use_goods_desc&&type==1}}"><view class="xs data-v-3b23292d" style="padding:14rpx 20rpx;">{{''+item.use_goods_desc+''}}</view></block></view></block></view><block wx:if="{{$root.g0==0}}"><view class="flex-col col-center data-v-3b23292d" style="padding-top:50rpx;"><image class="img-null data-v-3b23292d" src="/static/images/coupon_null.png"></image><text class="muted data-v-3b23292d">暂无优惠券~</text></view></block></scroll-view><block wx:if="{{type==0}}"><view class="data-v-3b23292d"><view data-event-opts="{{[['tap',[['onConfirmCoupon',['$event']]]]]}}" class="bg-primary btn white flex row-center br60 mb10 lg data-v-3b23292d" bindtap="__e"> 确定 </view></view></block></view>

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/cu-progress/cu-progress"],{1950:function(t,e,r){"use strict";r.r(e);var n=r("4bfa"),u=r.n(n);for(var f in n)["default"].indexOf(f)<0&&function(t){r.d(e,t,(function(){return n[t]}))}(f);e["default"]=u.a},4163:function(t,e,r){},"4bfa":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={data:function(){return{currentSwiper:0,offset:0,barLeft:0}},components:{},props:{progressBarColor:{type:String,default:"#01B55B"},progressWidth:{type:Number,default:90},progressHeight:{type:Number,default:6},progressColor:{type:String,default:"#E5E5E5"},left:{type:Number,default:0},barWidth:{type:Number,default:30}},watch:{left:function(t){this.barLeft=t/100*this.offset}},beforeMount:function(){this.offset=this.progressWidth-this.barWidth},destroyed:function(){},methods:{}};e.default=n},"77be":function(t,e,r){"use strict";r.r(e);var n=r("e649"),u=r("1950");for(var f in u)["default"].indexOf(f)<0&&function(t){r.d(e,t,(function(){return u[t]}))}(f);r("e94f");var o=r("828b"),i=Object(o["a"])(u["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=i.exports},e649:function(t,e,r){"use strict";r.d(e,"b",(function(){return n})),r.d(e,"c",(function(){return u})),r.d(e,"a",(function(){}));var n=function(){var t=this.$createElement;this._self._c},u=[]},e94f:function(t,e,r){"use strict";var n=r("4163"),u=r.n(n);u.a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/cu-progress/cu-progress-create-component',
{
'components/cu-progress/cu-progress-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("77be"))
})
},
[['components/cu-progress/cu-progress-create-component']]
]);

View File

@ -0,0 +1,4 @@
{
"usingComponents": {},
"component": true
}

View File

@ -0,0 +1 @@
<view class="cu-progress" style="{{('height: '+progressHeight+'; width: '+progressWidth+';background-color: '+progressColor)}}"><view class="cu-progress-bar" style="{{('background-color: '+progressBarColor+';left: '+barLeft+'rpx; width:'+barWidth+'rpx')}}"></view></view>

View File

@ -0,0 +1 @@
.cu-progress{background-color:#e5e5e5;height:6rpx;width:90rpx;position:relative}.cu-progress .cu-progress-bar{height:100%;width:30rpx;position:absolute;left:0}

View File

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/custom-image/custom-image"],{1402:function(t,e,n){"use strict";n.r(e);var i=n("441e"),o=n("61ae");for(var u in o)["default"].indexOf(u)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(u);n("cd1e");var r=n("828b"),s=Object(r["a"])(o["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);e["default"]=s.exports},"441e":function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return u})),n.d(e,"a",(function(){return i}));var i={uIcon:function(){return n.e("components/uview-ui/components/u-icon/u-icon").then(n.bind(null,"8f08"))}},o=function(){var t=this.$createElement,e=(this._self._c,this.__get_style([this.viewStyle]));this.$mp.data=Object.assign({},{$root:{s0:e}})},u=[]},"61ae":function(t,e,n){"use strict";n.r(e);var i=n("c88f"),o=n.n(i);for(var u in i)["default"].indexOf(u)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(u);e["default"]=o.a},"9c72":function(t,e,n){},c88f:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={props:{src:{type:String},round:Boolean,width:{type:null},height:{type:null},radius:null,lazyLoad:{type:Boolean,default:!0},useErrorSlot:Boolean,useLoadingSlot:Boolean,showMenuByLongpress:Boolean,mode:{type:String,default:"scaleToFill"},showError:{type:Boolean,default:!0},showLoading:{type:Boolean,default:!0},customStyle:{type:Object,default:function(){}}},data:function(){return{error:!1,loading:!0,viewStyle:{}}},created:function(){this.setStyle()},methods:{setStyle:function(){var t=this.width,e=this.height,n=this.radius,i={};t&&(i.width=t),e&&(i.height=e),n&&(i["overflow"]="hidden",i["border-radius"]=n),this.viewStyle=i,this.customStyle&&(this.viewStyle=Object.assign(this.viewStyle,this.customStyle))},onLoaded:function(t){this.loading=!1,this.$emit("load",t.detail)},onErrored:function(t){this.error=!1,this.loading=!0,this.$emit("error",t.detail)},onClick:function(t){this.$emit("click",t.detail)}},watch:{src:function(){this.error=!1,this.loading=!0},width:function(){this.setStyle()},height:function(){this.setStyle()}}};e.default=i},cd1e:function(t,e,n){"use strict";var i=n("9c72"),o=n.n(i);o.a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/custom-image/custom-image-create-component',
{
'components/custom-image/custom-image-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("1402"))
})
},
[['components/custom-image/custom-image-create-component']]
]);

View File

@ -0,0 +1,6 @@
{
"component": true,
"usingComponents": {
"u-icon": "/components/uview-ui/components/u-icon/u-icon"
}
}

View File

@ -0,0 +1 @@
<view data-event-opts="{{[['tap',[['onClick',['$event']]]]]}}" class="{{[(true)?'custom-image':'',(round)?'image-round':'']}}" style="{{$root.s0}}" bindtap="__e"><block wx:if="{{!error}}"><image class="image" src="{{src}}" mode="{{mode}}" lazy-load="{{lazyLoad}}" show-menu-by-longpress="{{showMenuByLongpress}}" data-event-opts="{{[['load',[['onLoaded',['$event']]]],['error',[['onErrored',['$event']]]]]}}" bindload="__e" binderror="__e"></image></block><block wx:if="{{loading&&showLoading}}"><view class="loading-wrap image"><block wx:if="{{useLoadingSlot}}"><slot name="loading"></slot></block><block wx:else><u-icon vue-id="28a8acbc-1" color="#aaa" name="photo-fill" size="45" bind:__l="__l"></u-icon></block></view></block><block wx:if="{{error&&showError}}"><view class="error-wrap image"><block wx:if="{{useErrorSlot}}"><slot name="error"></slot></block><block wx:else><u-icon vue-id="28a8acbc-2" color="#aaa" name="error-circle-fill" size="45" bind:__l="__l"></u-icon></block><text class="sm">加载失败</text></view></block></view>

View File

@ -0,0 +1,2 @@
.custom-image{position:relative;display:block;width:100%;height:100%}.custom-image.image-round{overflow:hidden;border-radius:50%}.custom-image .image{display:block;width:100%;height:100%}.custom-image .loading-wrap,
.custom-image .error-wrap{position:absolute;top:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#969799;font-size:28rpx;background-color:#f7f8fa}

View File

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/emoji/emoji"],{2126:function(n,t,e){"use strict";var u=e("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=u(e("d08f")),a={name:"emoji",data:function(){return{emoji:i.default}},methods:{handleClick:function(n){this.$emit("input","[".concat(n,"]"))}}};t.default=a},3371:function(n,t,e){"use strict";var u=e("f221"),i=e.n(u);i.a},"41d5":function(n,t,e){"use strict";e.d(t,"b",(function(){return u})),e.d(t,"c",(function(){return i})),e.d(t,"a",(function(){}));var u=function(){var n=this.$createElement;this._self._c},i=[]},93997:function(n,t,e){"use strict";e.r(t);var u=e("2126"),i=e.n(u);for(var a in u)["default"].indexOf(a)<0&&function(n){e.d(t,n,(function(){return u[n]}))}(a);t["default"]=i.a},d2e2:function(n,t,e){"use strict";e.r(t);var u=e("41d5"),i=e("93997");for(var a in i)["default"].indexOf(a)<0&&function(n){e.d(t,n,(function(){return i[n]}))}(a);e("3371");var o=e("828b"),c=Object(o["a"])(i["default"],u["b"],u["c"],!1,null,null,null,!1,u["a"],void 0);t["default"]=c.exports},f221:function(n,t,e){}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/emoji/emoji-create-component',
{
'components/emoji/emoji-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("d2e2"))
})
},
[['components/emoji/emoji-create-component']]
]);

Some files were not shown because too many files have changed in this diff Show More