no message

This commit is contained in:
PC-202306242200\Administrator
2026-03-28 23:00:29 +08:00
commit 4d06351f6a
2830 changed files with 166480 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
.tabbar_pages {
position: fixed;
bottom: 0;
left: 0;
width: 750rpx;
height: 140rpx;
display: flex;
align-items: center;
flex-direction: row;
justify-content: space-between;
background-color: #fff;
box-shadow: 0rpx -6rpx 12rpx 2rpx rgba(88, 140, 255, 0.1);
border-radius: 15rpx 15rpx 0rpx 0rpx;
z-index: 99;
}
.tabbar_pages_view view {
font-size: 24rpx;
color: #999999;
display: flex;
align-items: center;
flex-direction: column;
justify-content: space-between;
}
.tabbar_pages_view view image {
width: 65rpx;
height: 65rpx;
}

View File

@@ -0,0 +1 @@
<view class="tabbar_pages p30"><view a:for="{{a}}" a:for-item="item" a:key="h" class="tabbar_pages_view" onTap="{{item.i}}"><view a:if="{{item.a}}"><view style="height:70rpx"><image mode="widthFix" style="width:132rpx;height:64rpx" src="{{item.b}}"></image></view><view style="{{'color:' + item.d}}">{{item.c}}</view></view><view a:else><view style="height:70rpx"><image mode="widthFix" src="{{item.e}}"></image></view><view style="{{'color:' + item.g}}">{{item.f}}</view></view></view></view>

View File

@@ -0,0 +1,80 @@
"use strict";
const common_vendor = require("../../common/vendor.js");
const _sfc_main = {
__name: "tabbar",
props: {
path: {
type: String,
default: ""
}
},
setup(__props) {
const data = __props;
let list = common_vendor.ref([
{
pagePath: "/pages/home/home",
text: "首页",
icon_select: "/static/tabbar/select_home.png",
icon: "/static/tabbar/home.png",
type: 0
},
{
pagePath: "/pages/index/index",
text: "地图",
icon_select: "/static/tabbar/select_sq.png",
icon: "/static/tabbar/sq.png",
type: 0
},
{
pagePath: "/pages/sweep/sweep",
text: "扫码充电",
icon_select: "/static/tabbar/find.png",
icon: "/static/tabbar/find.png",
type: 1
},
{
pagePath: "/pages/order/order",
text: "订单",
icon_select: "/static/tabbar/select_order.png",
icon: "/static/tabbar/order.png",
type: 0
},
{
pagePath: "/pages/mine/mine",
text: "我的",
icon_select: "/static/tabbar/select_my.png",
icon: "/static/tabbar/my.png",
type: 0
}
]);
const toLink = (e) => {
common_vendor.index.vibrateShort();
if (data.path == e)
return true;
common_vendor.index.switchTab({
url: e
});
};
return (_ctx, _cache) => {
return {
a: common_vendor.f(common_vendor.unref(list), (item, index, i0) => {
return common_vendor.e({
a: item.type == 1
}, item.type == 1 ? {
b: item.icon,
c: common_vendor.t(item.text),
d: __props.path == item.pagePath ? "#4879e6" : ""
} : {
e: __props.path == item.pagePath ? item.icon : item.icon_select,
f: common_vendor.t(item.text),
g: __props.path == item.pagePath ? "#4879e6" : ""
}, {
h: index,
i: common_vendor.o(($event) => toLink(item.pagePath))
});
})
};
};
}
};
my.createComponent(_sfc_main);

View File

@@ -0,0 +1,5 @@
{
"component": true,
"styleIsolation": "apply-shared",
"usingComponents": {}
}