Files
2025-06-11 10:21:51 +08:00

11 lines
2.1 KiB
JavaScript

(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/navBar/navBar"],{"0f96":function(t,n,e){"use strict";e.r(n);var i=e("8b9e"),a=e("224a");for(var c in a)["default"].indexOf(c)<0&&function(t){e.d(n,t,(function(){return a[t]}))}(c);e("6ebd");var r=e("828b"),o=Object(r["a"])(a["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);n["default"]=o.exports},"224a":function(t,n,e){"use strict";e.r(n);var i=e("3423"),a=e.n(i);for(var c in i)["default"].indexOf(c)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(c);n["default"]=a.a},3423:function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i={props:["currentI","navList"],components:{ssScrollNavbar:function(){e.e("components/navBar/scroll-navbar").then(function(){return resolve(e("b340"))}.bind(null,e)).catch(e.oe)}},data:function(){return{currentIndex:0,isFixed:!1,topHeight:0,listData:[]}},onLoad:function(t){this.calculateTopSectionHeight()},created:function(){},methods:{navbarTapHandler:function(t){this.currentIndex=t,this.$emit("currentIndex",t)},scrollChnage:function(t){var n=t.detail.scrollTop;n>=this.topHeight?this.isFixed=!0:this.isFixed=!1},calculateTopSectionHeight:function(){var n=this,e=t.createSelectorQuery().select(".top-section");e.fields({size:!0},(function(t){n.topHeight=t.height})).exec()}},watch:{currentI:function(t){this.navbarTapHandler(t)}}};n.default=i}).call(this,e("df3c")["default"])},"6ebd":function(t,n,e){"use strict";var i=e("7110"),a=e.n(i);a.a},7110:function(t,n,e){},"8b9e":function(t,n,e){"use strict";e.d(n,"b",(function(){return i})),e.d(n,"c",(function(){return a})),e.d(n,"a",(function(){}));var i=function(){var t=this.$createElement;this._self._c},a=[]}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/navBar/navBar-create-component',
{
'components/navBar/navBar-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("0f96"))
})
},
[['components/navBar/navBar-create-component']]
]);