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,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/WaterfallsFlow/WaterfallsFlow"],{"240b":function(t,i,e){"use strict";(function(t){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var s={components:{WaterfallsFlowItem:function(){e.e("components/WaterfallsFlow/WaterfallsFlowItem").then(function(){return resolve(e("10f0"))}.bind(null,e)).catch(e.oe)}},props:{wfList:{type:Array,require:!0},updateNum:{type:Number,default:10},type:{type:Number,default:0},isStore:{type:[String,Number],default:"1"},recommend:{type:Boolean,default:!1},showCart:{type:Boolean,default:!0},isMerchant:{type:Boolean,default:!1}},data:function(){return{allList:[],leftList:[],rightList:[],mark:0,boxHeight:[]}},watch:{wfList:{handler:function(t,i){var e=this;(!this.wfList.length||this.wfList.length===this.updateNum&&this.wfList.length<=this.allList.length)&&(this.allList=[],this.leftList=[],this.rightList=[],this.boxHeight=[],this.mark=0),this.wfList.length&&(this.allList=this.wfList,this.leftList=[],this.rightList=[],this.boxHeight=[],this.allList.forEach((function(t,i){(e.allList.length<3||e.allList.length<=7&&e.allList.length-i>1||e.allList.length>7&&e.allList.length-i>2)&&(i%2?e.rightList.push(t):e.leftList.push(t))})),this.allList.length<3?this.mark=this.allList.length+1:this.allList.length<=7?this.mark=this.allList.length-1:this.mark=this.allList.length-2,this.mark<this.allList.length&&this.waterFall())},immediate:!0,deep:!0},mounted:function(){},mark:function(){var t=this.allList.length;this.mark<t&&0!==this.mark&&this.boxHeight.length&&this.waterFall()}},methods:{waterFall:function(){var t=this.mark;if(0==t)this.leftList.push(this.allList[t]),this.getViewHeight(0);else if(1==t)this.rightList.push(this.allList[t]),this.getViewHeight(1);else{if(this.boxHeight.length){var i=this.boxHeight[0]>this.boxHeight[1]?1:0;i?this.rightList.push(this.allList[t]):this.leftList.push(this.allList[t])}else this.rightList.length<this.leftList.length?this.rightList.push(this.allList[t]):this.leftList.push(this.allList[t]);this.getViewHeight()}},getViewHeight:function(){var i=this;this.$nextTick((function(){setTimeout((function(){t.createSelectorQuery().in(i).select("#right").boundingClientRect((function(e){e&&(i.boxHeight[1]=e.height),t.createSelectorQuery().in(i).select("#left").boundingClientRect((function(t){t&&(i.boxHeight[0]=t.height),i.mark=i.mark+1})).exec()})).exec()}),100)}))},itemTap:function(t){this.$emit("itemTap",t)},goShop:function(t){this.$emit("goShop",t)}}};i.default=s}).call(this,e("df3c")["default"])},"33ab":function(t,i,e){"use strict";e.r(i);var s=e("90e1"),l=e("b6aa");for(var h in l)["default"].indexOf(h)<0&&function(t){e.d(i,t,(function(){return l[t]}))}(h);e("cd19");var n=e("828b"),a=Object(n["a"])(l["default"],s["b"],s["c"],!1,null,"b458908a",null,!1,s["a"],void 0);i["default"]=a.exports},"90e1":function(t,i,e){"use strict";e.d(i,"b",(function(){return s})),e.d(i,"c",(function(){return l})),e.d(i,"a",(function(){}));var s=function(){var t=this.$createElement,i=(this._self._c,this.leftList.length),e=this.rightList.length;this.$mp.data=Object.assign({},{$root:{g0:i,g1:e}})},l=[]},aadf:function(t,i,e){},b6aa:function(t,i,e){"use strict";e.r(i);var s=e("240b"),l=e.n(s);for(var h in s)["default"].indexOf(h)<0&&function(t){e.d(i,t,(function(){return s[t]}))}(h);i["default"]=l.a},cd19:function(t,i,e){"use strict";var s=e("aadf"),l=e.n(s);l.a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/WaterfallsFlow/WaterfallsFlow-create-component',
{
'components/WaterfallsFlow/WaterfallsFlow-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("33ab"))
})
},
[['components/WaterfallsFlow/WaterfallsFlow-create-component']]
]);

View File

@@ -0,0 +1,6 @@
{
"component": true,
"usingComponents": {
"waterfalls-flow-item": "/components/WaterfallsFlow/WaterfallsFlowItem"
}
}

View File

@@ -0,0 +1 @@
<view class="{{['data-v-b458908a','wf-page wf-page'+type]}}"><view class="data-v-b458908a"><block wx:if="{{$root.g0}}"><view id="left" class="data-v-b458908a"><block wx:for="{{leftList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['itemTap',['$0'],[[['leftList','',index]]]]]]]}}" class="wf-item data-v-b458908a" bindtap="__e"><waterfalls-flow-item vue-id="{{'979213bc-1-'+index}}" item="{{item}}" isStore="{{isStore}}" type="{{type}}" isMerchant="{{isMerchant}}" recommend="{{recommend}}" showCart="{{showCart}}" class="data-v-b458908a" bind:__l="__l"></waterfalls-flow-item></view></block></view></block></view><view class="data-v-b458908a"><block wx:if="{{$root.g1}}"><view id="right" class="data-v-b458908a"><block wx:for="{{rightList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['itemTap',['$0'],[[['rightList','',index]]]]]]]}}" class="wf-item data-v-b458908a" bindtap="__e"><waterfalls-flow-item vue-id="{{'979213bc-2-'+index}}" item="{{item}}" isStore="{{isStore}}" type="{{type}}" isMerchant="{{isMerchant}}" recommend="{{recommend}}" showCart="{{showCart}}" class="data-v-b458908a" bind:__l="__l"></waterfalls-flow-item></view></block></view></block></view></view>

View File

@@ -0,0 +1 @@
.wf-page.data-v-b458908a{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px}.wf-item.data-v-b458908a{width:calc((100vw - 2 * 10px - 10px) / 2);padding-bottom:10px}.wf-page1 .wf-item.data-v-b458908a{margin-top:20rpx;background-color:#fff;border-radius:20rpx;padding-bottom:0}

View File

@@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/WaterfallsFlow/WaterfallsFlowItem"],{"10f0":function(e,t,n){"use strict";n.r(t);var a=n("bec4"),i=n("4f08");for(var o in i)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(o);n("1904");var r=n("828b"),u=Object(r["a"])(i["default"],a["b"],a["c"],!1,null,"39c83180",null,!1,a["a"],void 0);t["default"]=u.exports},1904:function(e,t,n){"use strict";var a=n("dab0"),i=n.n(a);i.a},"47f0":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;n("8f59");var a=n("4d38"),i={components:{easyLoadimage:function(){n.e("components/easy-loadimage/easy-loadimage").then(function(){return resolve(n("94dd"))}.bind(null,n)).catch(n.oe)}},props:{item:{type:Object,require:!0},type:{type:Number,default:0},recommend:{type:Boolean,default:!1},showCart:{type:Boolean,default:!0},isMerchant:{type:Boolean,default:!1}},data:function(){return{domain:a.HTTP_REQUEST_URL}},inject:{isVip:{from:"isVip",default:!1},addCartClick:{from:"addCartClick",default:function(){}}},methods:{addCartChange:function(){this.addCartClick(this.item)}}};t.default=i},"4f08":function(e,t,n){"use strict";n.r(t);var a=n("47f0"),i=n.n(a);for(var o in a)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(o);t["default"]=i.a},bec4:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return a}));var a={easyLoadimage:function(){return n.e("components/easy-loadimage/easy-loadimage").then(n.bind(null,"94dd"))}},i=function(){var e=this,t=e.$createElement,n=(e._self._c,e.item.store_label.length&&!e.isMerchant),a=e.recommend?Number(e.item.vip_price)>0&&e.item.is_vip&&!e.isVip:null,i=e.recommend?null:Number(e.item.vip_price)>0&&e.item.is_vip&&!e.isMerchant;e.$mp.data=Object.assign({},{$root:{g0:n,m0:a,m1:i}})},o=[]},dab0:function(e,t,n){}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/WaterfallsFlow/WaterfallsFlowItem-create-component',
{
'components/WaterfallsFlow/WaterfallsFlowItem-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("10f0"))
})
},
[['components/WaterfallsFlow/WaterfallsFlowItem-create-component']]
]);

View File

@@ -0,0 +1,6 @@
{
"component": true,
"usingComponents": {
"easy-loadimage": "/components/easy-loadimage/easy-loadimage"
}
}

View File

@@ -0,0 +1 @@
<view class="wf-item-page wf-page0 data-v-39c83180"><view class="pictrue data-v-39c83180"><easy-loadimage vue-id="9e11d662-1" mode="widthFix" image-src="{{item.image}}" borderSrc="{{item.activity_frame.image}}" width="100%" borderRadius="16rpx 16rpx 0 0" class="data-v-39c83180" bind:__l="__l"></easy-loadimage></view><view class="info_box data-v-39c83180"><view class="w-full line2 fs-28 text--w111-333 lh-40rpx data-v-39c83180"><block wx:if="{{item.brand_name}}"><text class="brand-tag data-v-39c83180">{{item.brand_name}}</text></block>{{item.store_name+''}}</view><block wx:if="{{$root.g0}}"><view class="flex items-end flex-wrap mt-12 w-full data-v-39c83180"><block wx:for="{{item.store_label}}" wx:for-item="label" wx:for-index="idx" wx:key="idx"><base-tag vue-id="{{'9e11d662-2-'+idx}}" text="{{label.label_name}}" color="{{label.color}}" background="{{label.bg_color}}" borderColor="{{label.border_color}}" circle="{{label.border_color?true:false}}" imgSrc="{{label.icon}}" class="data-v-39c83180" bind:__l="__l"></base-tag></block></view></block><block wx:if="{{recommend}}"><view class="flex-between-center mt-7 data-v-39c83180"><view class="flex-y-center flex-wrap data-v-39c83180"><base-money vue-id="9e11d662-3" money="{{isVip?item.vip_price:item.price}}" symbolSize="24" integerSize="40" decimalSize="24" weight="{{true}}" class="data-v-39c83180" bind:__l="__l"></base-money><block wx:if="{{$root.m0}}"><view class="svip-label ml-8 data-v-39c83180"><text class="text data-v-39c83180">SVIP</text><text class="px-8 SemiBold data-v-39c83180">{{"¥"+item.vip_price}}</text></view></block></view><view hidden="{{!(showCart)}}" class="w-44 h-44 rd-24 bg-gradient flex-center data-v-39c83180"><text class="iconfont icon-ic_ShoppingCart1 text--w111-fff fs-26 data-v-39c83180"></text></view></view></block><block wx:else><view class="mt-8 data-v-39c83180"><view class="flex-y-center flex-wrap mt-8 data-v-39c83180"><base-money vue-id="9e11d662-4" money="{{item.price}}" symbolSize="24" integerSize="40" decimalSize="24" color="{{isMerchant?'#FF7E00':'var(--view-theme)'}}" weight="{{true}}" class="data-v-39c83180" bind:__l="__l"></base-money><block wx:if="{{$root.m1}}"><view class="svip-label data-v-39c83180"><text class="text data-v-39c83180">SVIP</text><text class="px-8 SemiBold data-v-39c83180">{{"¥"+item.vip_price}}</text></view></block></view><view class="flex-between-center mt-12 data-v-39c83180"><text class="fs-22 text--w111-999 data-v-39c83180">{{"已售"+item.sales+item.unit_name}}</text><view data-event-opts="{{[['tap',[['addCartChange',['$event']]]]]}}" hidden="{{!(showCart)}}" class="{{['w-44','h-44','rd-24','flex-center','data-v-39c83180',isMerchant?'bg-mer':'bg-gradient']}}" catchtap="__e"><text class="{{['iconfont','icon-ic_ShoppingCart1','fs-26','data-v-39c83180',isMerchant?'text-mer':'text--w111-fff']}}"></text></view></view></view></block></view></view>

View File

@@ -0,0 +1 @@
.wf-item-page.data-v-39c83180{background:#fff;overflow:hidden;border-radius:20rpx}.pictrue.data-v-39c83180{max-height:560rpx;overflow-y:hidden}.info_box.data-v-39c83180{padding:16rpx 20rpx;border-radius:0 0 20rpx 20rpx;background-color:#fff}.bg-mer.data-v-39c83180{background-color:rgba(45,140,240,.1)}.text-mer.data-v-39c83180{color:#2d8cf0}