打包地址
This commit is contained in:
@@ -0,0 +1,72 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const common_assets = require("../../common/assets.js");
|
||||
const utils_navTo = require("../../utils/navTo.js");
|
||||
if (!Array) {
|
||||
const _easycom_up_tabbar_item2 = common_vendor.resolveComponent("up-tabbar-item");
|
||||
const _easycom_up_tabbar2 = common_vendor.resolveComponent("up-tabbar");
|
||||
(_easycom_up_tabbar_item2 + _easycom_up_tabbar2)();
|
||||
}
|
||||
const _easycom_up_tabbar_item = () => "../../node-modules/uview-plus/components/u-tabbar-item/u-tabbar-item.js";
|
||||
const _easycom_up_tabbar = () => "../../node-modules/uview-plus/components/u-tabbar/u-tabbar.js";
|
||||
if (!Math) {
|
||||
(_easycom_up_tabbar_item + _easycom_up_tabbar)();
|
||||
}
|
||||
const _sfc_main = {
|
||||
__name: "tabBar",
|
||||
props: {
|
||||
value: {
|
||||
type: Number,
|
||||
default: 0
|
||||
}
|
||||
},
|
||||
setup(__props) {
|
||||
const handleClick = (e) => {
|
||||
if (e == 0) {
|
||||
utils_navTo.navTo({
|
||||
url: "/pages/index/index"
|
||||
});
|
||||
} else if (e == 1) {
|
||||
utils_navTo.navTo({
|
||||
url: "/pages/case/case"
|
||||
});
|
||||
} else if (e == 2) {
|
||||
utils_navTo.navTo({
|
||||
url: "/pages/caseTalk/caseTalk"
|
||||
});
|
||||
}
|
||||
};
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: common_vendor.o(handleClick),
|
||||
b: common_vendor.p({
|
||||
text: "临床病例库",
|
||||
activeIcon: common_vendor.unref(common_assets.ku_on),
|
||||
inactiveIcon: common_vendor.unref(common_assets.ku)
|
||||
}),
|
||||
c: common_vendor.o(handleClick),
|
||||
d: common_vendor.p({
|
||||
text: "互动病例",
|
||||
activeIcon: common_vendor.unref(common_assets.group_on),
|
||||
inactiveIcon: common_vendor.unref(common_assets.group)
|
||||
}),
|
||||
e: common_vendor.o(handleClick),
|
||||
f: common_vendor.p({
|
||||
text: "病例交流",
|
||||
activeIcon: common_vendor.unref(common_assets.talk_on),
|
||||
inactiveIcon: common_vendor.unref(common_assets.talk)
|
||||
}),
|
||||
g: common_vendor.p({
|
||||
value: __props.value,
|
||||
fixed: true,
|
||||
zIndex: 99,
|
||||
placeholder: false,
|
||||
activeColor: "#3CC7C0",
|
||||
safeAreaInsetBottom: false
|
||||
})
|
||||
};
|
||||
};
|
||||
}
|
||||
};
|
||||
wx.createComponent(_sfc_main);
|
||||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/components/tabBar/tabBar.js.map
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"up-tabbar-item": "../../node-modules/uview-plus/components/u-tabbar-item/u-tabbar-item",
|
||||
"up-tabbar": "../../node-modules/uview-plus/components/u-tabbar/u-tabbar"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<up-tabbar wx:if="{{g}}" u-s="{{['d']}}" class="u-page" u-i="64ed1d6c-0" bind:__l="__l" u-p="{{g}}"><up-tabbar-item wx:if="{{b}}" bindclick="{{a}}" u-i="64ed1d6c-1,64ed1d6c-0" bind:__l="__l" u-p="{{b}}"></up-tabbar-item><up-tabbar-item wx:if="{{d}}" bindclick="{{c}}" u-i="64ed1d6c-2,64ed1d6c-0" bind:__l="__l" u-p="{{d}}"></up-tabbar-item><up-tabbar-item wx:if="{{f}}" bindclick="{{e}}" u-i="64ed1d6c-3,64ed1d6c-0" bind:__l="__l" u-p="{{f}}"></up-tabbar-item></up-tabbar>
|
||||
@@ -0,0 +1,17 @@
|
||||
|
||||
.u-page__item__slot-icon{
|
||||
width: 47rpx;
|
||||
height: 47rpx;
|
||||
}
|
||||
.u-tabbar__content__item-wrapper{
|
||||
border-top: 2rpx solid #f3f4f6!important;
|
||||
}
|
||||
/* .page{
|
||||
:deep(.u-tabbar){
|
||||
border-top: 2rpx solid #f3f4f6!important;
|
||||
}
|
||||
:deep(.u-tabbar--fixed){
|
||||
border-top: 2rpx solid #f3f4f6!important;
|
||||
}
|
||||
} */
|
||||
|
||||
Reference in New Issue
Block a user