This commit is contained in:
2025-12-20 08:34:16 +08:00
commit 9d4fdc7242
872 changed files with 3536 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/ns-navbar/ns-navbar"],{"18f4":function(t,n,e){"use strict";e.r(n);var o=e("1caf"),a=e.n(o);for(var i in o)["default"].indexOf(i)<0&&function(t){e.d(n,t,(function(){return o[t]}))}(i);n["default"]=a.a},"1caf":function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var e;t.getSystemInfoSync();e=t.getMenuButtonBoundingClientRect();var o={name:"ns-navbar",props:{data:{type:Object,default:function(){return{}}},titleColor:{type:String,default:"#606266"},customBack:{type:Function,default:null},scrollTop:{type:[String,Number],default:"0"},isBack:{type:Boolean,default:!0}},data:function(){return{menuButtonInfo:e,isBackShow:!1,placeholderHeight:0}},computed:{navbarInnerStyle:function(){var t="";return t+="height:"+2*e.height+"rpx;",t},navbarHeight:function(){var t=e.top;return t},bgColor:function(){var t="";if(this.data.topNavBg){t="transparent";var n=0;4==this.data.navStyle&&(n=this.navbarHeight-25),t=this.scrollTop>n?this.data.topNavColor:"transparent"}else t=this.data.topNavColor;return t},capsuleWidth:function(){var t="calc(100vw - ".concat(this.menuButtonInfo.right,"px + ").concat(this.menuButtonInfo.width,"px + 10px)");return t}},created:function(t){},mounted:function(){},methods:{toLink:function(t){t&&this.$util.redirectTo(t)},goBack:function(){"function"===typeof this.customBack?this.customBack():t.navigateBack()},chooseOtherStore:function(){this.globalStoreConfig&&1==this.globalStoreConfig.is_allow_change?this.$util.redirectTo("/pages_tool/store/list"):this.globalStoreInfo&&this.$util.redirectTo("/pages_tool/store/detail",{store_id:this.globalStoreInfo.store_id})},navbarPlaceholderHeight:function(){var n=this;setTimeout((function(){var e=t.createSelectorQuery().in(n);e.select(".ns-navbar-wrap .u-navbar").boundingClientRect((function(t){n.placeholderHeight=t.height})).exec()}))},setModuleLocatinoFn:function(){var n=this,e=t.createSelectorQuery().in(this);e.select(".ns-navbar-wrap .u-navbar").boundingClientRect((function(t){var e={originalVal:t.height||0,currVal:0};n.$store.commit("setDiyGroupPositionObj",{nsNavbar:e})})).exec()}}};n.default=o}).call(this,e("df3c")["default"])},"6b0d":function(t,n,e){"use strict";var o=e("6c04"),a=e.n(o);a.a},"6c04":function(t,n,e){},7253:function(t,n,e){"use strict";e.d(n,"b",(function(){return o})),e.d(n,"c",(function(){return a})),e.d(n,"a",(function(){}));var o=function(){var t=this.$createElement;this._self._c},a=[]},f5ee:function(t,n,e){"use strict";e.r(n);var o=e("7253"),a=e("18f4");for(var i in a)["default"].indexOf(i)<0&&function(t){e.d(n,t,(function(){return a[t]}))}(i);e("6b0d");var r=e("828b"),c=Object(r["a"])(a["default"],o["b"],o["c"],!1,null,"5c1adb34",null,!1,o["a"],void 0);n["default"]=c.exports}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/ns-navbar/ns-navbar-create-component',
{
'components/ns-navbar/ns-navbar-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("f5ee"))
})
},
[['components/ns-navbar/ns-navbar-create-component']]
]);