商品浏览页构建前最后一次更新

This commit is contained in:
2026-08-02 00:21:54 +08:00
parent d37a93ab9e
commit e423ab2d73
146 changed files with 3449 additions and 1342 deletions
+9 -8
View File
@@ -21,19 +21,19 @@
var TABS = [{
pagePath: '/pages/index/index',
text: '首页',
icon: '🏠'
icon: '/icon/首页.png'
}, {
pagePath: '/pages/designList/index',
text: '设计清单',
icon: '📐'
icon: '/icon/调色盘.png'
}, {
pagePath: '/pages/orders/index',
text: '订单',
icon: '📦'
icon: '/icon/包裹.png'
}, {
pagePath: '/pages/profile/index',
text: '我的',
icon: '👤'
icon: '/icon/个人.png'
}];
function CustomTabBar() {
var _Taro$getCurrentInsta;
@@ -49,12 +49,13 @@ function CustomTabBar() {
var isActive = currentPath === tab.pagePath;
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_tarojs_components__WEBPACK_IMPORTED_MODULE_2__.View, {
className: "tab-item ".concat(isActive ? 'active' : ''),
onClick: function onClick() {
onTap: function onTap() {
return switchTab(tab.pagePath);
},
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_tarojs_components__WEBPACK_IMPORTED_MODULE_2__.Text, {
className: "tab-icon",
children: tab.icon
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_tarojs_components__WEBPACK_IMPORTED_MODULE_2__.Image, {
className: "tab-icon-img ".concat(isActive ? 'active' : ''),
src: tab.icon,
mode: "aspectFit"
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_tarojs_components__WEBPACK_IMPORTED_MODULE_2__.Text, {
className: "tab-label",
children: tab.text