Initial commit: queue workspace

Made-with: Cursor
This commit is contained in:
apple
2026-03-21 02:55:24 +08:00
commit 78de918c37
12388 changed files with 1840126 additions and 0 deletions

View File

@@ -0,0 +1 @@
require('../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/goods/goodsDiscover/index"],{"1d8f":function(t,n,e){"use strict";e.d(n,"b",(function(){return i})),e.d(n,"c",(function(){return o})),e.d(n,"a",(function(){}));var i=function(){var t=this.$createElement,n=(this._self._c,this.contentList.length);this.$mp.data=Object.assign({},{$root:{g0:n}})},o=[]},"6b47":function(t,n,e){"use strict";(function(t){var i=e("47a9");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=i(e("89cc")),a=e("eb8a"),c=e("0f73"),s={data:function(){return{contentList:[],loading:!1,params:{page:1,limit:20,product_id:""},storeInfo:{},count:0}},components:{waterfallsFlow:function(){e.e("components/discoverWaterfall/WaterfallsFlow").then(function(){return resolve(e("831d"))}.bind(null,e)).catch(e.oe)},emptyPage:function(){e.e("components/emptyPage").then(function(){return resolve(e("398a"))}.bind(null,e)).catch(e.oe)}},mixins:[o.default],provide:function(){return{flowLike:this.flowLike}},onPageScroll:function(n){t.$emit("scroll")},onLoad:function(t){this.params.product_id=t.id||"",this.getProductInfo(t.id),this.getList()},methods:{getProductInfo:function(t){var n=this;(0,c.getProductDetail)(t,{promotions_type:0}).then((function(t){n.storeInfo=t.data.storeInfo}))},getList:function(){var t=this;this.loading||(this.loading=!0,(0,a.communityElegantListApi)(this.params).then((function(n){var e=n.data.list;t.count=n.data.count;var i=e.length<t.params.limit;t.contentList=t.contentList.concat(e),t.params.page++,t.loading=i})))},flowLike:function(t){var n=this.contentList.findIndex((function(n){return t.id==n.id}));this.contentList[n].is_like=t.status,1==t.status?this.contentList[n].like_num++:this.contentList[n].like_num--}},onReachBottom:function(){this.getList()}};n.default=s}).call(this,e("df3c")["default"])},9713:function(t,n,e){"use strict";(function(t,n){var i=e("47a9");e("f076");i(e("3240"));var o=i(e("eeed"));t.__webpack_require_UNI_MP_PLUGIN__=e,n(o.default)}).call(this,e("3223")["default"],e("df3c")["createPage"])},af14:function(t,n,e){"use strict";e.r(n);var i=e("6b47"),o=e.n(i);for(var a in i)["default"].indexOf(a)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(a);n["default"]=o.a},cae1:function(t,n,e){},ed26:function(t,n,e){"use strict";var i=e("cae1"),o=e.n(i);o.a},eeed:function(t,n,e){"use strict";e.r(n);var i=e("1d8f"),o=e("af14");for(var a in o)["default"].indexOf(a)<0&&function(t){e.d(n,t,(function(){return o[t]}))}(a);e("ed26");var c=e("828b"),s=Object(c["a"])(o["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);n["default"]=s.exports}},[["9713","common/runtime","common/vendor"]]]);

View File

@@ -0,0 +1,7 @@
{
"navigationBarTitleText": "种草秀",
"usingComponents": {
"waterfalls-flow": "/components/discoverWaterfall/WaterfallsFlow",
"empty-page": "/components/emptyPage"
}
}

View File

@@ -0,0 +1 @@
<view style="{{(colorStyle)}}"><view class="m-20 pro-box rd-20rpx bg--w111-fff flex-between-center"><image class="w-108 h-108 rd-16rpx" src="{{storeInfo.image}}"></image><view class="flex-1 pl-28"><view class="w-510 line1 fs-30 fw-500">{{storeInfo.store_name}}</view><view class="pt-30 fs-24"><text class="font-num fs-30 fw-500 pr-8">{{count}}</text>条种草秀 </view></view></view><block wx:if="{{$root.g0}}"><view class="px-20"><waterfalls-flow vue-id="40227bc6-1" wfList="{{contentList}}" data-event-opts="{{[['^onFlowLike',[['flowLike']]]]}}" bind:onFlowLike="__e" bind:__l="__l"></waterfalls-flow></view></block><block wx:else><view class="px-20 mt-20"><empty-page vue-id="40227bc6-2" title="暂无内容~" bind:__l="__l"></empty-page></view></block><home vue-id="40227bc6-3" bind:__l="__l"></home></view>

View File

@@ -0,0 +1 @@
.w-510{width:510rpx}.pro-box{padding:20rpx 30rpx}