feat: 添加组件配置文件并优化页面结构

- 新增 components.d.json 文件,包含所有组件的属性配置
- 添加 card-item-plugin 组件及其相关文件(json、ts、wxml、wxss)
- 在 app.json 中添加新的生产流程管理页面路径
- 添加多个SVG图标文件用于菜单项
- 重构 popup-plugin 组件样式和关闭逻辑
- 更新 tab-bar-plugin 的激活状态逻辑
- 优化 search-popup 使用全局样式类
- 在首页添加菜单配置和页面跳转功能
- 调整组件样式细节和间距
This commit is contained in:
zhengw
2026-01-14 16:54:47 +08:00
parent 0d58fc80f4
commit b1ecd88641
58 changed files with 971 additions and 386 deletions

View File

@@ -2,12 +2,37 @@ import { Subscribe } from "@/utils/subscribe";
import { setStorage } from "@/utils/util";
Page({
data: {},
data: {
columns: [
{ title: "我的收藏", width: "100px", dataIndex: "name" },
{ title: "我的点赞", width: "200px", dataIndex: "count" },
{ title: "我的评论", width: "300px", dataIndex: "desc" },
],
data: [
// { name: "张三", count: 1, desc: "11111" },
// { name: "张三", count: 1, desc: "11111" },
// { name: "张三", count: 1, desc: "11111" },
// { name: "张三", count: 1, desc: "11111" },
// { name: "张三", count: 1, desc: "11111" },
// { name: "张三", count: 1, desc: "11111" },
// { name: "张三", count: 1, desc: "11111" },
// { name: "张三", count: 1, desc: "11111" },
// { name: "张三", count: 1, desc: "11111" },
// { name: "张三", count: 1, desc: "11111" },
// { name: "张三", count: 1, desc: "11111" },
],
},
change() {
setStorage("isLogin", 1);
Subscribe.set("isLogin", "zzzuz");
// wx.navigateTo({ url: "/pages/my/my" });
},
searchChange(e: any) {
console.log(e);
},
ok() {
console.log("ok");
},
/**
* 生命周期函数--监听页面加载
*/
@@ -21,7 +46,9 @@ Page({
/**
* 生命周期函数--监听页面显示
*/
onShow() {},
onShow() {
wx.hideHomeButton();
},
/**
* 生命周期函数--监听页面隐藏