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 @@
require('../../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages_tool/components/uni-nav-bar/uni-nav-bar"],{"0579":function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o={name:"UniNavBar",components:{uniStatusBar:function(){e.e("pages_tool/components/uni-status-bar/uni-status-bar").then(function(){return resolve(e("6567"))}.bind(null,e)).catch(e.oe)},uniIcons:function(){Promise.all([e.e("common/vendor"),e.e("components/uni-icons/uni-icons")]).then(function(){return resolve(e("ca76"))}.bind(null,e)).catch(e.oe)}},props:{title:{type:String,default:""},leftText:{type:String,default:""},rightText:{type:String,default:""},leftIcon:{type:String,default:""},rightIcon:{type:String,default:""},fixed:{type:[Boolean,String],default:!1},color:{type:String,default:"#000000"},backgroundColor:{type:String,default:"#FFFFFF"},statusBar:{type:[Boolean,String],default:!1},shadow:{type:[String,Boolean],default:!1},border:{type:[String,Boolean],default:!0}},mounted:function(){t.report&&""!==this.title&&t.report("title",this.title)},methods:{onClickLeft:function(){this.$emit("clickLeft")},onClickRight:function(){this.$emit("clickRight")}}};n.default=o}).call(this,e("df3c")["default"])},"460d":function(t,n,e){},"7f84":function(t,n,e){"use strict";e.d(n,"b",(function(){return i})),e.d(n,"c",(function(){return u})),e.d(n,"a",(function(){return o}));var o={uniIcons:function(){return Promise.all([e.e("common/vendor"),e.e("components/uni-icons/uni-icons")]).then(e.bind(null,"ca76"))}},i=function(){var t=this,n=t.$createElement,e=(t._self._c,t.leftIcon.length),o=t.leftText.length,i=o?t.leftIcon.length:null,u=t.title.length,l=t.title.length,r=t.rightIcon.length,c=t.rightText.length&&!t.rightIcon.length;t.$mp.data=Object.assign({},{$root:{g0:e,g1:o,g2:i,g3:u,g4:l,g5:r,g6:c}})},u=[]},bbea:function(t,n,e){"use strict";var o=e("460d"),i=e.n(o);i.a},c9cb:function(t,n,e){"use strict";e.r(n);var o=e("0579"),i=e.n(o);for(var u in o)["default"].indexOf(u)<0&&function(t){e.d(n,t,(function(){return o[t]}))}(u);n["default"]=i.a},fe63:function(t,n,e){"use strict";e.r(n);var o=e("7f84"),i=e("c9cb");for(var u in i)["default"].indexOf(u)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(u);e("bbea");var l=e("828b"),r=Object(l["a"])(i["default"],o["b"],o["c"],!1,null,"eaee08f2",null,!1,o["a"],void 0);n["default"]=r.exports}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'pages_tool/components/uni-nav-bar/uni-nav-bar-create-component',
{
'pages_tool/components/uni-nav-bar/uni-nav-bar-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("fe63"))
})
},
[['pages_tool/components/uni-nav-bar/uni-nav-bar-create-component']]
]);

View File

@@ -0,0 +1,7 @@
{
"component": true,
"usingComponents": {
"uni-icons": "/components/uni-icons/uni-icons",
"uni-status-bar": "/pages_tool/components/uni-status-bar/uni-status-bar"
}
}

View File

@@ -0,0 +1 @@
<view class="uni-navbar data-v-eaee08f2"><view class="{{['uni-navbar__content','data-v-eaee08f2',(fixed)?'uni-navbar--fixed':'',(shadow)?'uni-navbar--shadow':'',(border)?'uni-navbar--border':'']}}" style="{{'background-color:'+(backgroundColor)+';'}}"><block wx:if="{{statusBar}}"><uni-status-bar vue-id="4ee4c510-1" class="data-v-eaee08f2" bind:__l="__l"></uni-status-bar></block><view class="uni-navbar__header uni-navbar__content_view data-v-eaee08f2" style="{{'color:'+(color)+';'+('background-color:'+(backgroundColor)+';')}}"><view data-event-opts="{{[['tap',[['onClickLeft',['$event']]]]]}}" class="uni-navbar__header-btns uni-navbar__header-btns-left uni-navbar__content_view data-v-eaee08f2" bindtap="__e"><block wx:if="{{$root.g0}}"><view class="uni-navbar__content_view data-v-eaee08f2"><uni-icons vue-id="4ee4c510-2" color="{{color}}" type="{{leftIcon}}" size="24" class="data-v-eaee08f2" bind:__l="__l"></uni-icons></view></block><block wx:if="{{$root.g1}}"><view class="{{['uni-navbar-btn-text','uni-navbar__content_view','data-v-eaee08f2',(!$root.g2)?'uni-navbar-btn-icon-left':'']}}"><text style="{{'color:'+(color)+';'+('font-size:'+('14px')+';')}}" class="data-v-eaee08f2">{{leftText}}</text></view></block><slot name="left"></slot></view><view class="uni-navbar__header-container uni-navbar__content_view data-v-eaee08f2"><block wx:if="{{$root.g3}}"><view class="uni-navbar__header-container-inner uni-navbar__content_view data-v-eaee08f2"><text class="uni-nav-bar-text data-v-eaee08f2" style="{{'color:'+(color)+';'}}">{{title}}</text></view></block><slot></slot></view><view data-event-opts="{{[['tap',[['onClickRight',['$event']]]]]}}" class="{{['uni-navbar__header-btns','uni-navbar__content_view','data-v-eaee08f2',$root.g4?'uni-navbar__header-btns-right':'']}}" bindtap="__e"><block wx:if="{{$root.g5}}"><view class="uni-navbar__content_view data-v-eaee08f2"><uni-icons vue-id="4ee4c510-3" color="{{color}}" type="{{rightIcon}}" size="24" class="data-v-eaee08f2" bind:__l="__l"></uni-icons></view></block><block wx:if="{{$root.g6}}"><view class="uni-navbar-btn-text uni-navbar__content_view data-v-eaee08f2"><text class="uni-nav-bar-right-text data-v-eaee08f2">{{rightText}}</text></view></block><slot name="right"></slot></view></view></view><block wx:if="{{fixed}}"><view class="uni-navbar__placeholder data-v-eaee08f2"><block wx:if="{{statusBar}}"><uni-status-bar vue-id="4ee4c510-4" class="data-v-eaee08f2" bind:__l="__l"></uni-status-bar></block><view class="uni-navbar__placeholder-view data-v-eaee08f2"></view></view></block></view>

View File

@@ -0,0 +1 @@
.uni-nav-bar-text.data-v-eaee08f2{font-size:32rpx}.uni-nav-bar-right-text.data-v-eaee08f2{font-size:28rpx}.uni-navbar.data-v-eaee08f2{width:750rpx}.uni-navbar__content.data-v-eaee08f2{position:relative;width:750rpx;background-color:#fff;overflow:hidden}.uni-navbar__content_view.data-v-eaee08f2{display:flex;align-items:center;flex-direction:row}.uni-navbar__header.data-v-eaee08f2{display:flex;flex-direction:row;width:750rpx;height:44px;line-height:44px;font-size:16px}.uni-navbar__header-btns.data-v-eaee08f2{display:flex;flex-wrap:nowrap;width:120rpx;padding:0 6px;justify-content:center;align-items:center}.uni-navbar__header-btns-left.data-v-eaee08f2{display:flex;width:150rpx;justify-content:flex-start}.uni-navbar__header-btns-right.data-v-eaee08f2{display:flex;width:150rpx;padding-right:30rpx;justify-content:flex-end}.uni-navbar__header-container.data-v-eaee08f2{flex:1}.uni-navbar__header-container-inner.data-v-eaee08f2{display:flex;flex:1;align-items:center;justify-content:center;font-size:28rpx}.uni-navbar__placeholder-view.data-v-eaee08f2{height:44px}.uni-navbar--fixed.data-v-eaee08f2{position:fixed;z-index:998}.uni-navbar--shadow.data-v-eaee08f2{box-shadow:0 1px 6px #ccc}.uni-navbar--border.data-v-eaee08f2{border-bottom-width:1rpx;border-bottom-style:solid;border-bottom-color:#c8c7cc}