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/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>