created
This commit is contained in:
Vendored
+11
@@ -0,0 +1,11 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["uni_modules/uview-ui/components/u-tabbar-item/u-tabbar-item"],{266:function(n,e,t){"use strict";t.r(e);var r=t(267),i=t(269);for(var u in i)["default"].indexOf(u)<0&&function(n){t.d(e,n,(function(){return i[n]}))}(u);t(272);var a,o=t(46),c=Object(o["default"])(i["default"],r["render"],r["staticRenderFns"],!1,null,"0d9729bf",null,!1,r["components"],a);c.options.__file="uni_modules/uview-ui/components/u-tabbar-item/u-tabbar-item.vue",e["default"]=c.exports},267:function(n,e,t){"use strict";t.r(e);var r=t(268);t.d(e,"render",(function(){return r["render"]})),t.d(e,"staticRenderFns",(function(){return r["staticRenderFns"]})),t.d(e,"recyclableRender",(function(){return r["recyclableRender"]})),t.d(e,"components",(function(){return r["components"]}))},268:function(n,e,t){"use strict";var r;t.r(e),t.d(e,"render",(function(){return i})),t.d(e,"staticRenderFns",(function(){return a})),t.d(e,"recyclableRender",(function(){return u})),t.d(e,"components",(function(){return r}));try{r={uIcon:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uview-ui/components/u-icon/u-icon")]).then(t.bind(null,825))},uBadge:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uview-ui/components/u-badge/u-badge")]).then(t.bind(null,834))}}}catch(o){if(-1===o.message.indexOf("Cannot find module")||-1===o.message.indexOf(".vue"))throw o;console.error(o.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件")}var i=function(){var n=this,e=n.$createElement,t=(n._self._c,n.__get_style([n.$u.addStyle(n.customStyle)]));n.$mp.data=Object.assign({},{$root:{s0:t}})},u=!1,a=[];i._withStripped=!0},269:function(n,e,t){"use strict";t.r(e);var r=t(270),i=t.n(r);for(var u in r)["default"].indexOf(u)<0&&function(n){t.d(e,n,(function(){return r[n]}))}(u);e["default"]=i.a},270:function(n,e,t){"use strict";(function(n){var r=t(4);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=r(t(271)),u={name:"u-tabbar-item",mixins:[n.$u.mpMixin,n.$u.mixin,i.default],data:function(){return{isActive:!1,parentData:{value:null,activeColor:"",inactiveColor:""}}},created:function(){this.init()},methods:{init:function(){this.updateParentData(),this.parent||n.$u.error("u-tabbar-item必须搭配u-tabbar组件使用");var e=this.parent.children.indexOf(this);this.isActive=(this.name||e)===this.parentData.value},updateParentData:function(){this.getParentData("u-tabbar")},updateFromParent:function(){this.init()},clickHandler:function(){var n=this;this.$nextTick((function(){var e=n.parent.children.indexOf(n),t=n.name||e;t!==n.parent.value&&n.parent.$emit("change",t),n.$emit("click",t)}))}}};e.default=u}).call(this,t(2)["default"])},272:function(n,e,t){"use strict";t.r(e);var r=t(273),i=t.n(r);for(var u in r)["default"].indexOf(u)<0&&function(n){t.d(e,n,(function(){return r[n]}))}(u);e["default"]=i.a},273:function(n,e,t){}}]);
|
||||
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/uni_modules/uview-ui/components/u-tabbar-item/u-tabbar-item.js.map
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'uni_modules/uview-ui/components/u-tabbar-item/u-tabbar-item-create-component',
|
||||
{
|
||||
'uni_modules/uview-ui/components/u-tabbar-item/u-tabbar-item-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('2')['createComponent'](__webpack_require__(266))
|
||||
})
|
||||
},
|
||||
[['uni_modules/uview-ui/components/u-tabbar-item/u-tabbar-item-create-component']]
|
||||
]);
|
||||
Vendored
+7
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"u-icon": "/uni_modules/uview-ui/components/u-icon/u-icon",
|
||||
"u-badge": "/uni_modules/uview-ui/components/u-badge/u-badge"
|
||||
}
|
||||
}
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
<view data-event-opts="{{[['tap',[['clickHandler',['$event']]]]]}}" class="u-tabbar-item data-v-0d9729bf" style="{{$root.s0}}" bindtap="__e"><view class="u-tabbar-item__icon data-v-0d9729bf"><block wx:if="{{icon}}"><u-icon vue-id="b562e1b2-1" name="{{icon}}" color="{{isActive?parentData.activeColor:parentData.inactiveColor}}" size="{{20}}" class="data-v-0d9729bf" bind:__l="__l"></u-icon></block><block wx:else><block wx:if="{{isActive}}"><slot name="active-icon"></slot></block><block wx:else><slot name="inactive-icon"></slot></block></block><u-badge vue-id="b562e1b2-2" absolute="{{true}}" offset="{{[0,dot?'34rpx':badge>9?'14rpx':'20rpx']}}" customStyle="{{badgeStyle}}" isDot="{{dot}}" value="{{badge||(dot?1:null)}}" show="{{dot||badge>0}}" class="data-v-0d9729bf" bind:__l="__l"></u-badge></view><block wx:if="{{$slots.text}}"><slot name="text"></slot></block><block wx:else><text class="u-tabbar-item__text data-v-0d9729bf" style="{{'color:'+(isActive?parentData.activeColor:parentData.inactiveColor)+';'}}">{{text}}</text></block></view>
|
||||
Vendored
+288
@@ -0,0 +1,288 @@
|
||||
@charset "UTF-8";
|
||||
/**
|
||||
* 这里是uni-app内置的常用样式变量
|
||||
*
|
||||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||||
*
|
||||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||||
*/
|
||||
/* 颜色变量 */
|
||||
/* uni.scss */
|
||||
.u-line-1.data-v-0d9729bf {
|
||||
display: -webkit-box !important;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
word-break: break-all;
|
||||
-webkit-line-clamp: 1;
|
||||
-webkit-box-orient: vertical !important;
|
||||
}
|
||||
.u-line-2.data-v-0d9729bf {
|
||||
display: -webkit-box !important;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
word-break: break-all;
|
||||
-webkit-line-clamp: 2;
|
||||
-webkit-box-orient: vertical !important;
|
||||
}
|
||||
.u-line-3.data-v-0d9729bf {
|
||||
display: -webkit-box !important;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
word-break: break-all;
|
||||
-webkit-line-clamp: 3;
|
||||
-webkit-box-orient: vertical !important;
|
||||
}
|
||||
.u-line-4.data-v-0d9729bf {
|
||||
display: -webkit-box !important;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
word-break: break-all;
|
||||
-webkit-line-clamp: 4;
|
||||
-webkit-box-orient: vertical !important;
|
||||
}
|
||||
.u-line-5.data-v-0d9729bf {
|
||||
display: -webkit-box !important;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
word-break: break-all;
|
||||
-webkit-line-clamp: 5;
|
||||
-webkit-box-orient: vertical !important;
|
||||
}
|
||||
.u-border.data-v-0d9729bf {
|
||||
border-width: 0.5px !important;
|
||||
border-color: #dadbde !important;
|
||||
border-style: solid;
|
||||
}
|
||||
.u-border-top.data-v-0d9729bf {
|
||||
border-top-width: 0.5px !important;
|
||||
border-color: #dadbde !important;
|
||||
border-top-style: solid;
|
||||
}
|
||||
.u-border-left.data-v-0d9729bf {
|
||||
border-left-width: 0.5px !important;
|
||||
border-color: #dadbde !important;
|
||||
border-left-style: solid;
|
||||
}
|
||||
.u-border-right.data-v-0d9729bf {
|
||||
border-right-width: 0.5px !important;
|
||||
border-color: #dadbde !important;
|
||||
border-right-style: solid;
|
||||
}
|
||||
.u-border-bottom.data-v-0d9729bf {
|
||||
border-bottom-width: 0.5px !important;
|
||||
border-color: #dadbde !important;
|
||||
border-bottom-style: solid;
|
||||
}
|
||||
.u-border-top-bottom.data-v-0d9729bf {
|
||||
border-top-width: 0.5px !important;
|
||||
border-bottom-width: 0.5px !important;
|
||||
border-color: #dadbde !important;
|
||||
border-top-style: solid;
|
||||
border-bottom-style: solid;
|
||||
}
|
||||
.u-reset-button.data-v-0d9729bf {
|
||||
padding: 0;
|
||||
background-color: transparent;
|
||||
font-size: inherit;
|
||||
line-height: inherit;
|
||||
color: inherit;
|
||||
}
|
||||
.u-reset-button.data-v-0d9729bf::after {
|
||||
border: none;
|
||||
}
|
||||
.u-hover-class.data-v-0d9729bf {
|
||||
opacity: 0.7;
|
||||
}
|
||||
.u-primary-light.data-v-0d9729bf {
|
||||
color: #ecf5ff;
|
||||
}
|
||||
.u-warning-light.data-v-0d9729bf {
|
||||
color: #fdf6ec;
|
||||
}
|
||||
.u-success-light.data-v-0d9729bf {
|
||||
color: #f5fff0;
|
||||
}
|
||||
.u-error-light.data-v-0d9729bf {
|
||||
color: #fef0f0;
|
||||
}
|
||||
.u-info-light.data-v-0d9729bf {
|
||||
color: #f4f4f5;
|
||||
}
|
||||
.u-primary-light-bg.data-v-0d9729bf {
|
||||
background-color: #ecf5ff;
|
||||
}
|
||||
.u-warning-light-bg.data-v-0d9729bf {
|
||||
background-color: #fdf6ec;
|
||||
}
|
||||
.u-success-light-bg.data-v-0d9729bf {
|
||||
background-color: #f5fff0;
|
||||
}
|
||||
.u-error-light-bg.data-v-0d9729bf {
|
||||
background-color: #fef0f0;
|
||||
}
|
||||
.u-info-light-bg.data-v-0d9729bf {
|
||||
background-color: #f4f4f5;
|
||||
}
|
||||
.u-primary-dark.data-v-0d9729bf {
|
||||
color: #398ade;
|
||||
}
|
||||
.u-warning-dark.data-v-0d9729bf {
|
||||
color: #f1a532;
|
||||
}
|
||||
.u-success-dark.data-v-0d9729bf {
|
||||
color: #53c21d;
|
||||
}
|
||||
.u-error-dark.data-v-0d9729bf {
|
||||
color: #e45656;
|
||||
}
|
||||
.u-info-dark.data-v-0d9729bf {
|
||||
color: #767a82;
|
||||
}
|
||||
.u-primary-dark-bg.data-v-0d9729bf {
|
||||
background-color: #398ade;
|
||||
}
|
||||
.u-warning-dark-bg.data-v-0d9729bf {
|
||||
background-color: #f1a532;
|
||||
}
|
||||
.u-success-dark-bg.data-v-0d9729bf {
|
||||
background-color: #53c21d;
|
||||
}
|
||||
.u-error-dark-bg.data-v-0d9729bf {
|
||||
background-color: #e45656;
|
||||
}
|
||||
.u-info-dark-bg.data-v-0d9729bf {
|
||||
background-color: #767a82;
|
||||
}
|
||||
.u-primary-disabled.data-v-0d9729bf {
|
||||
color: #9acafc;
|
||||
}
|
||||
.u-warning-disabled.data-v-0d9729bf {
|
||||
color: #f9d39b;
|
||||
}
|
||||
.u-success-disabled.data-v-0d9729bf {
|
||||
color: #a9e08f;
|
||||
}
|
||||
.u-error-disabled.data-v-0d9729bf {
|
||||
color: #f7b2b2;
|
||||
}
|
||||
.u-info-disabled.data-v-0d9729bf {
|
||||
color: #c4c6c9;
|
||||
}
|
||||
.u-primary.data-v-0d9729bf {
|
||||
color: #3c9cff;
|
||||
}
|
||||
.u-warning.data-v-0d9729bf {
|
||||
color: #f9ae3d;
|
||||
}
|
||||
.u-success.data-v-0d9729bf {
|
||||
color: #5ac725;
|
||||
}
|
||||
.u-error.data-v-0d9729bf {
|
||||
color: #f56c6c;
|
||||
}
|
||||
.u-info.data-v-0d9729bf {
|
||||
color: #909399;
|
||||
}
|
||||
.u-primary-bg.data-v-0d9729bf {
|
||||
background-color: #3c9cff;
|
||||
}
|
||||
.u-warning-bg.data-v-0d9729bf {
|
||||
background-color: #f9ae3d;
|
||||
}
|
||||
.u-success-bg.data-v-0d9729bf {
|
||||
background-color: #5ac725;
|
||||
}
|
||||
.u-error-bg.data-v-0d9729bf {
|
||||
background-color: #f56c6c;
|
||||
}
|
||||
.u-info-bg.data-v-0d9729bf {
|
||||
background-color: #909399;
|
||||
}
|
||||
.u-main-color.data-v-0d9729bf {
|
||||
color: #303133;
|
||||
}
|
||||
.u-content-color.data-v-0d9729bf {
|
||||
color: #606266;
|
||||
}
|
||||
.u-tips-color.data-v-0d9729bf {
|
||||
color: #909193;
|
||||
}
|
||||
.u-light-color.data-v-0d9729bf {
|
||||
color: #c0c4cc;
|
||||
}
|
||||
.u-safe-area-inset-top.data-v-0d9729bf {
|
||||
padding-top: 0;
|
||||
padding-top: constant(safe-area-inset-top);
|
||||
padding-top: env(safe-area-inset-top);
|
||||
}
|
||||
.u-safe-area-inset-right.data-v-0d9729bf {
|
||||
padding-right: 0;
|
||||
padding-right: constant(safe-area-inset-right);
|
||||
padding-right: env(safe-area-inset-right);
|
||||
}
|
||||
.u-safe-area-inset-bottom.data-v-0d9729bf {
|
||||
padding-bottom: 0;
|
||||
padding-bottom: constant(safe-area-inset-bottom);
|
||||
padding-bottom: env(safe-area-inset-bottom);
|
||||
}
|
||||
.u-safe-area-inset-left.data-v-0d9729bf {
|
||||
padding-left: 0;
|
||||
padding-left: constant(safe-area-inset-left);
|
||||
padding-left: env(safe-area-inset-left);
|
||||
}
|
||||
.data-v-0d9729bf::-webkit-scrollbar {
|
||||
display: none;
|
||||
width: 0 !important;
|
||||
height: 0 !important;
|
||||
-webkit-appearance: none;
|
||||
background: transparent;
|
||||
}
|
||||
/* 行为相关颜色 */
|
||||
/* 文字基本颜色 */
|
||||
/* 背景颜色 */
|
||||
/* 边框颜色 */
|
||||
/* 尺寸变量 */
|
||||
/* 文字尺寸 */
|
||||
/* 图片尺寸 */
|
||||
/* Border Radius */
|
||||
/* 水平间距 */
|
||||
/* 垂直间距 */
|
||||
/* 透明度 */
|
||||
/* 文章场景相关 */
|
||||
view.data-v-0d9729bf, scroll-view.data-v-0d9729bf, swiper-item.data-v-0d9729bf {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex-shrink: 0;
|
||||
flex-grow: 0;
|
||||
flex-basis: auto;
|
||||
align-items: stretch;
|
||||
align-content: flex-start;
|
||||
}
|
||||
.u-tabbar-item.data-v-0d9729bf {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex: 1;
|
||||
}
|
||||
.u-tabbar-item__icon.data-v-0d9729bf {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
position: relative;
|
||||
width: 150rpx;
|
||||
justify-content: center;
|
||||
}
|
||||
.u-tabbar-item__text.data-v-0d9729bf {
|
||||
margin-top: 2px;
|
||||
font-size: 12px;
|
||||
color: #606266;
|
||||
}
|
||||
.data-v-0d9729bf:host {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user