This commit is contained in:
2026-03-25 14:54:15 +08:00
commit ab4646b43a
827 changed files with 123812 additions and 0 deletions
+63
View File
@@ -0,0 +1,63 @@
"use strict";
const common_vendor = require("../../common/vendor.js");
if (!Array) {
const _easycom_u_search2 = common_vendor.resolveComponent("u-search");
const _easycom_u_sticky2 = common_vendor.resolveComponent("u-sticky");
(_easycom_u_search2 + _easycom_u_sticky2)();
}
const _easycom_u_search = () => "../../uni_modules/uview-pro/components/u-search/u-search.js";
const _easycom_u_sticky = () => "../../uni_modules/uview-pro/components/u-sticky/u-sticky.js";
if (!Math) {
(_easycom_u_search + _easycom_u_sticky + ListCol)();
}
const ListCol = () => "../../components/ListCol.js";
const _sfc_main = {
__name: "project",
setup(__props) {
const keyword = common_vendor.ref("");
const column = common_vendor.ref([{
name: "单位名称",
value: "unitName",
type: "string"
}, {
name: "在建项目数",
value: "inProject",
type: "string"
}, {
name: "停工项目数",
value: "stopProject",
type: "string"
}]);
const list = common_vendor.ref([{
unitName: "天辰",
inProject: 20,
stopProject: 5
}, {
unitName: "赛鼎",
inProject: 20,
stopProject: 5
}]);
return (_ctx, _cache) => {
return {
a: common_vendor.o(($event) => keyword.value = $event, "ca"),
b: common_vendor.p({
placeholder: "请输入单位名称",
["show-action"]: false,
modelValue: keyword.value
}),
c: common_vendor.f(list.value, (item, idx, i0) => {
return {
a: "5018c5aa-2-" + i0,
b: common_vendor.p({
data: item,
column: column.value,
["label-width"]: "160"
})
};
})
};
};
}
};
wx.createPage(_sfc_main);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/penetrate/project.js.map
@@ -0,0 +1,8 @@
{
"navigationBarTitleText": "项目",
"usingComponents": {
"u-search": "../../uni_modules/uview-pro/components/u-search/u-search",
"u-sticky": "../../uni_modules/uview-pro/components/u-sticky/u-sticky",
"list-col": "../../components/ListCol"
}
}
@@ -0,0 +1 @@
<view class="u-wrap"><u-sticky u-s="{{['d']}}" u-i="5018c5aa-0" bind:__l="__l"><view class="sticky"><u-search wx:if="{{b}}" u-i="5018c5aa-1,5018c5aa-0" bind:__l="__l" bindupdateModelValue="{{a}}" u-p="{{b}}"></u-search></view></u-sticky><list-col wx:for="{{c}}" wx:for-item="item" u-i="{{item.a}}" bind:__l="__l" u-p="{{item.b}}"/></view>
@@ -0,0 +1,74 @@
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
:root,
page {
/* 纯色 */
--u-white-color: #ffffff;
--u-black-color: #000000;
--u-main-color: #303133;
--u-content-color: #606266;
--u-tips-color: #909399;
--u-light-color: #c0c4cc;
--u-border-color: #e4e7ed;
--u-divider-color: #e4e7ed;
--u-mask-color: rgba(0, 0, 0, 0.4);
--u-shadow-color: rgba(0, 0, 0, 0.1);
/* 背景色 */
--u-bg-color: #f3f4f6;
--u-bg-white: #ffffff;
--u-bg-gray-light: #f1f1f1;
--u-bg-gray-dark: #2f343c;
--u-bg-black: #000000;
/* 主色 */
--u-type-primary: #17447a;
--u-type-primary-light: #d5dde7;
--u-type-primary-disabled: #8fa6c3;
--u-type-primary-dark: #123662;
/* 警告色 */
--u-type-warning: #ff9900;
--u-type-warning-disabled: #fcbd71;
--u-type-warning-dark: #f29100;
--u-type-warning-light: #fdf6ec;
/* 成功色 */
--u-type-success: #19be6b;
--u-type-success-disabled: #71d5a1;
--u-type-success-dark: #18b566;
--u-type-success-light: #dbf1e1;
/* 错误色 */
--u-type-error: #fa3534;
--u-type-error-disabled: #fab6b6;
--u-type-error-dark: #dd6161;
--u-type-error-light: #fef0f0;
/* 信息色 */
--u-type-info: #909399;
--u-type-info-disabled: #c8c9cc;
--u-type-info-dark: #82848a;
--u-type-info-light: #f4f4f5;
}
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.sticky {
padding: 20rpx 30rpx;
}