看板
This commit is contained in:
@@ -0,0 +1,68 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
if (!Array) {
|
||||
const _easycom_qiun_data_charts2 = common_vendor.resolveComponent("qiun-data-charts");
|
||||
_easycom_qiun_data_charts2();
|
||||
}
|
||||
const _easycom_qiun_data_charts = () => "../../../../uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.js";
|
||||
if (!Math) {
|
||||
(_easycom_qiun_data_charts + ChartCard)();
|
||||
}
|
||||
const ChartCard = () => "../../../../components/chartCard.js";
|
||||
const _sfc_main = {
|
||||
__name: "bigCrisisCard",
|
||||
setup(__props) {
|
||||
const opts = common_vendor.ref({
|
||||
padding: [15, 15, 0, 5],
|
||||
enableScroll: false,
|
||||
legend: {
|
||||
show: false
|
||||
},
|
||||
xAxis: {
|
||||
disableGrid: true
|
||||
},
|
||||
yAxis: {
|
||||
data: [{
|
||||
min: 0
|
||||
}]
|
||||
},
|
||||
extra: {
|
||||
column: {
|
||||
type: "group",
|
||||
width: 20,
|
||||
activeBgColor: "#000000",
|
||||
activeBgOpacity: 0.08
|
||||
}
|
||||
}
|
||||
});
|
||||
const chartData = common_vendor.ref({});
|
||||
const handleTap = (e) => {
|
||||
common_vendor.index.__f__("log", "at pages/index/board/safe/bigCrisisCard.vue:45", e);
|
||||
};
|
||||
common_vendor.onReady(() => {
|
||||
let res = {
|
||||
categories: ["未开始", "进行中", "已完成", "培训人次", "作业人次"],
|
||||
series: [{
|
||||
data: [35, 36, 31, 33, 13]
|
||||
}]
|
||||
};
|
||||
chartData.value = JSON.parse(JSON.stringify(res));
|
||||
});
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: common_vendor.o(handleTap, "dc"),
|
||||
b: common_vendor.p({
|
||||
type: "column",
|
||||
opts: opts.value,
|
||||
chartData: chartData.value
|
||||
}),
|
||||
c: common_vendor.p({
|
||||
margin: "0 0 30rpx 0",
|
||||
title: "危大工程管控数据"
|
||||
})
|
||||
};
|
||||
};
|
||||
}
|
||||
};
|
||||
wx.createComponent(_sfc_main);
|
||||
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/pages/index/board/safe/bigCrisisCard.js.map
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"qiun-data-charts": "../../../../uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts",
|
||||
"chart-card": "../../../../components/chartCard"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<chart-card wx:if="{{c}}" u-s="{{['d']}}" u-i="200c7ae4-0" bind:__l="__l" u-p="{{c}}"><view class="big-crisis"><qiun-data-charts wx:if="{{b}}" bindgetIndex="{{a}}" u-i="200c7ae4-1,200c7ae4-0" bind:__l="__l" u-p="{{b}}"/></view></chart-card>
|
||||
@@ -0,0 +1,75 @@
|
||||
/**
|
||||
* 这里是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 */
|
||||
/* 水平间距 */
|
||||
/* 垂直间距 */
|
||||
/* 透明度 */
|
||||
/* 文章场景相关 */
|
||||
.big-crisis {
|
||||
width: 100%;
|
||||
height: 400rpx;
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
if (!Math) {
|
||||
ChartCard();
|
||||
}
|
||||
const ChartCard = () => "../../../../components/chartCard.js";
|
||||
const _sfc_main = {
|
||||
__name: "costCard",
|
||||
setup(__props) {
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: common_vendor.p({
|
||||
margin: "0 0 30rpx 0",
|
||||
title: "安全费用"
|
||||
})
|
||||
};
|
||||
};
|
||||
}
|
||||
};
|
||||
wx.createComponent(_sfc_main);
|
||||
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/pages/index/board/safe/costCard.js.map
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"chart-card": "../../../../components/chartCard"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<chart-card wx:if="{{a}}" u-s="{{['d']}}" u-i="7965665c-0" bind:__l="__l" u-p="{{a}}"><view class="cost u-flex"><view class="cost-box"><view class="cost-box-lab">费用提取(亿元)</view><view class="cost-box-num u-margin-top-20">800</view></view><view class="cost-box"><view class="cost-box-lab">费用使用(亿元)</view><view class="cost-box-num u-margin-top-20">800</view></view></view></chart-card>
|
||||
@@ -0,0 +1,85 @@
|
||||
/**
|
||||
* 这里是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 */
|
||||
/* 水平间距 */
|
||||
/* 垂直间距 */
|
||||
/* 透明度 */
|
||||
/* 文章场景相关 */
|
||||
.cost {
|
||||
width: 100%;
|
||||
}
|
||||
.cost-box {
|
||||
flex: 1;
|
||||
}
|
||||
.cost-box-lab {
|
||||
color: #999999;
|
||||
font-size: 24rpx;
|
||||
}
|
||||
.cost-box-num {
|
||||
color: #333333;
|
||||
font-size: 28rpx;
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
if (!Array) {
|
||||
const _easycom_u_subsection2 = common_vendor.resolveComponent("u-subsection");
|
||||
_easycom_u_subsection2();
|
||||
}
|
||||
const _easycom_u_subsection = () => "../../../../uni_modules/uview-pro/components/u-subsection/u-subsection.js";
|
||||
if (!Math) {
|
||||
(_easycom_u_subsection + ChartCard)();
|
||||
}
|
||||
const ChartCard = () => "../../../../components/chartCard.js";
|
||||
const _sfc_main = {
|
||||
__name: "defectTreatmentCard",
|
||||
setup(__props) {
|
||||
const current = common_vendor.ref(0);
|
||||
const list = common_vendor.ref([
|
||||
{
|
||||
name: "集团级"
|
||||
},
|
||||
{
|
||||
name: "公司级"
|
||||
},
|
||||
{
|
||||
name: "项目级"
|
||||
},
|
||||
{
|
||||
name: "分支机构"
|
||||
}
|
||||
]);
|
||||
const handleChange = () => {
|
||||
};
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: common_vendor.o(handleChange, "1a"),
|
||||
b: common_vendor.p({
|
||||
list: list.value,
|
||||
current: current.value
|
||||
}),
|
||||
c: common_vendor.p({
|
||||
margin: "0 0 30rpx 0",
|
||||
title: "安全隐患排查治理"
|
||||
})
|
||||
};
|
||||
};
|
||||
}
|
||||
};
|
||||
wx.createComponent(_sfc_main);
|
||||
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/pages/index/board/safe/defectTreatmentCard.js.map
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"u-subsection": "../../../../uni_modules/uview-pro/components/u-subsection/u-subsection",
|
||||
"chart-card": "../../../../components/chartCard"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<chart-card wx:if="{{c}}" u-s="{{['d']}}" u-i="2662a872-0" bind:__l="__l" u-p="{{c}}"><view class="defect"><u-subsection wx:if="{{b}}" bindchange="{{a}}" u-i="2662a872-1,2662a872-0" bind:__l="__l" u-p="{{b}}"></u-subsection><view class="defect-main u-flex u-row-between u-margin-top-20"><view class="defect-box gb-all"><text class="defect-box-lab">安全隐患</text><text class="defect-box-num u-margin-top-20">4567</text></view><view class="defect-box gb-rectified"><text class="defect-box-lab">整改闭环</text><text class="defect-box-num u-margin-top-20">20</text></view><view class="defect-box gb-not-rectified"><text class="defect-box-lab">未整改</text><text class="defect-box-num u-margin-top-20">6</text></view><view class="defect-box gb-rectified-rate"><text class="defect-box-lab">整改率</text><text class="defect-box-num u-margin-top-20">99.99%</text></view></view></view></chart-card>
|
||||
+103
@@ -0,0 +1,103 @@
|
||||
/**
|
||||
* 这里是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 */
|
||||
/* 水平间距 */
|
||||
/* 垂直间距 */
|
||||
/* 透明度 */
|
||||
/* 文章场景相关 */
|
||||
.defect-main {
|
||||
height: 120rpx;
|
||||
}
|
||||
.defect-box {
|
||||
width: calc((100% - 40rpx) / 4);
|
||||
height: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.defect-box-lab {
|
||||
font-size: 24rpx;
|
||||
color: #ffffff;
|
||||
}
|
||||
.defect-box-num {
|
||||
font-size: 28rpx;
|
||||
font-weight: 600;
|
||||
color: #ffffff;
|
||||
}
|
||||
.gb-all {
|
||||
background: linear-gradient(to top right, #9E9E9E, #dcdcdc);
|
||||
}
|
||||
.gb-not-rectified {
|
||||
background: linear-gradient(to top right, #FFD626, #FF9F7D);
|
||||
}
|
||||
.gb-rectified {
|
||||
background: linear-gradient(to top right, #2488FA, #79BAFF);
|
||||
}
|
||||
.gb-rectified-rate {
|
||||
background: linear-gradient(to top right, #2AD192, #8DF0C9);
|
||||
}
|
||||
@@ -0,0 +1,76 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
if (!Array) {
|
||||
const _easycom_qiun_data_charts2 = common_vendor.resolveComponent("qiun-data-charts");
|
||||
_easycom_qiun_data_charts2();
|
||||
}
|
||||
const _easycom_qiun_data_charts = () => "../../../../uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.js";
|
||||
if (!Math) {
|
||||
(_easycom_qiun_data_charts + ChartCard)();
|
||||
}
|
||||
const ChartCard = () => "../../../../components/chartCard.js";
|
||||
const _sfc_main = {
|
||||
__name: "educationCard",
|
||||
setup(__props) {
|
||||
const opts = common_vendor.ref({
|
||||
padding: [15, 15, 0, 15],
|
||||
enableScroll: false,
|
||||
legend: {
|
||||
show: false
|
||||
},
|
||||
xAxis: {
|
||||
disableGrid: true,
|
||||
rotateLabel: true,
|
||||
rotateAngle: -30,
|
||||
fontSize: 10
|
||||
},
|
||||
yAxis: {
|
||||
gridType: "dash",
|
||||
dashLength: 2
|
||||
},
|
||||
extra: {
|
||||
tooltip: {
|
||||
showBox: false
|
||||
},
|
||||
area: {
|
||||
type: "curve",
|
||||
opacity: 0.2,
|
||||
addLine: true,
|
||||
width: 2,
|
||||
gradient: true,
|
||||
activeType: "hollow"
|
||||
}
|
||||
}
|
||||
});
|
||||
const chartData = common_vendor.ref({});
|
||||
const handleTap = (e) => {
|
||||
common_vendor.index.__f__("log", "at pages/index/board/safe/educationCard.vue:52", e);
|
||||
};
|
||||
common_vendor.onReady(() => {
|
||||
let res = {
|
||||
categories: ["专项培训", "特种作业\n培训", "三级安全\n教育培训", "安全技术\n交底"],
|
||||
series: [{
|
||||
data: [302265, 70770, 399175, 14851]
|
||||
}]
|
||||
};
|
||||
chartData.value = JSON.parse(JSON.stringify(res));
|
||||
});
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: common_vendor.o(handleTap, "c3"),
|
||||
b: common_vendor.p({
|
||||
type: "area",
|
||||
opts: opts.value,
|
||||
chartData: chartData.value
|
||||
}),
|
||||
c: common_vendor.p({
|
||||
margin: "0 0 30rpx 0",
|
||||
title: "教育培训"
|
||||
})
|
||||
};
|
||||
};
|
||||
}
|
||||
};
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-a6a882bc"]]);
|
||||
wx.createComponent(Component);
|
||||
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/pages/index/board/safe/educationCard.js.map
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"qiun-data-charts": "../../../../uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts",
|
||||
"chart-card": "../../../../components/chartCard"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<chart-card wx:if="{{c}}" class="data-v-a6a882bc" u-s="{{['d']}}" u-i="a6a882bc-0" bind:__l="__l" u-p="{{c}}"><view class="charts-box data-v-a6a882bc"><qiun-data-charts wx:if="{{b}}" class="data-v-a6a882bc" bindgetIndex="{{a}}" u-i="a6a882bc-1,a6a882bc-0" bind:__l="__l" u-p="{{b}}"/></view></chart-card>
|
||||
@@ -0,0 +1,5 @@
|
||||
|
||||
.charts-box.data-v-a6a882bc {
|
||||
width: 100%;
|
||||
height: 400rpx;
|
||||
}
|
||||
@@ -0,0 +1,76 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
if (!Array) {
|
||||
const _easycom_qiun_data_charts2 = common_vendor.resolveComponent("qiun-data-charts");
|
||||
_easycom_qiun_data_charts2();
|
||||
}
|
||||
const _easycom_qiun_data_charts = () => "../../../../uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.js";
|
||||
if (!Math) {
|
||||
(_easycom_qiun_data_charts + ChartCard)();
|
||||
}
|
||||
const ChartCard = () => "../../../../components/chartCard.js";
|
||||
const _sfc_main = {
|
||||
__name: "emergencyCard",
|
||||
setup(__props) {
|
||||
const opts = common_vendor.ref({
|
||||
padding: [15, 15, 0, 5],
|
||||
enableScroll: false,
|
||||
legend: { show: false },
|
||||
xAxis: {
|
||||
disableGrid: true,
|
||||
rotateLabel: true,
|
||||
fontSize: 10,
|
||||
rotateAngle: -30
|
||||
},
|
||||
yAxis: {
|
||||
data: [{
|
||||
min: 0
|
||||
}]
|
||||
},
|
||||
extra: {
|
||||
column: {
|
||||
type: "group",
|
||||
width: 20,
|
||||
activeBgColor: "#000000",
|
||||
activeBgOpacity: 0.08
|
||||
}
|
||||
}
|
||||
});
|
||||
const chartData = common_vendor.ref({});
|
||||
const handleTap = (e) => {
|
||||
common_vendor.index.__f__("log", "at pages/index/board/safe/emergencyCard.vue:46", e);
|
||||
};
|
||||
common_vendor.onReady(() => {
|
||||
let res = {
|
||||
categories: ["应急预案", "专项预案", "现场处置\n预案", "演练次数", "参演人数"],
|
||||
series: [{
|
||||
data: [35, 36, 31, 33, 13],
|
||||
color: "#eef82f"
|
||||
}],
|
||||
formatter: function(value, index, series, opts2) {
|
||||
common_vendor.index.__f__("log", "at pages/index/board/safe/emergencyCard.vue:58", value);
|
||||
common_vendor.index.__f__("log", "at pages/index/board/safe/emergencyCard.vue:59", index);
|
||||
common_vendor.index.__f__("log", "at pages/index/board/safe/emergencyCard.vue:60", series);
|
||||
common_vendor.index.__f__("log", "at pages/index/board/safe/emergencyCard.vue:61", opts2);
|
||||
}
|
||||
};
|
||||
chartData.value = JSON.parse(JSON.stringify(res));
|
||||
});
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: common_vendor.o(handleTap, "8d"),
|
||||
b: common_vendor.p({
|
||||
type: "column",
|
||||
opts: opts.value,
|
||||
chartData: chartData.value
|
||||
}),
|
||||
c: common_vendor.p({
|
||||
margin: "0 0 30rpx 0",
|
||||
title: "应急管理数据"
|
||||
})
|
||||
};
|
||||
};
|
||||
}
|
||||
};
|
||||
wx.createComponent(_sfc_main);
|
||||
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/pages/index/board/safe/emergencyCard.js.map
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"qiun-data-charts": "../../../../uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts",
|
||||
"chart-card": "../../../../components/chartCard"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<chart-card wx:if="{{c}}" u-s="{{['d']}}" u-i="b57ac788-0" bind:__l="__l" u-p="{{c}}"><view class="emergencyCard"><qiun-data-charts wx:if="{{b}}" bindgetIndex="{{a}}" u-i="b57ac788-1,b57ac788-0" bind:__l="__l" u-p="{{b}}"/></view></chart-card>
|
||||
@@ -0,0 +1,75 @@
|
||||
/**
|
||||
* 这里是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 */
|
||||
/* 水平间距 */
|
||||
/* 垂直间距 */
|
||||
/* 透明度 */
|
||||
/* 文章场景相关 */
|
||||
.emergencyCard {
|
||||
width: 100%;
|
||||
height: 400rpx;
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
if (!Math) {
|
||||
ChartCard();
|
||||
}
|
||||
const ChartCard = () => "../../../../components/chartCard.js";
|
||||
const _sfc_main = {
|
||||
__name: "organizerCard",
|
||||
setup(__props) {
|
||||
const loading = common_vendor.ref(false);
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: common_vendor.p({
|
||||
loading: loading.value,
|
||||
margin: "0 0 30rpx 0",
|
||||
title: "组织机构人员"
|
||||
})
|
||||
};
|
||||
};
|
||||
}
|
||||
};
|
||||
wx.createComponent(_sfc_main);
|
||||
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/pages/index/board/safe/organizerCard.js.map
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"chart-card": "../../../../components/chartCard"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<chart-card wx:if="{{a}}" u-s="{{['d']}}" u-i="61830bda-0" bind:__l="__l" u-p="{{a}}"><view class="organizer"><view class="row u-flex u-padding-20 u-margin-bottom-20"><view class="row_li u-flex u-row-center"><text class="organizer-lab">集团总人数</text><text class="organizer_num">13273</text></view><view class="row_li u-flex u-row-center"><text class="organizer-lab">总监</text><text class="organizer_num">13273</text></view><view class="row_li u-flex u-row-center"><text class="organizer-lab">专职</text><text class="organizer_num">13273</text></view><view class="row_li u-flex u-row-center"><text class="organizer-lab">企业</text><text class="organizer_num">13273</text></view></view><view class="organizer-tit">分支机构</view><view class="row u-flex u-padding-20 u-margin-bottom-20"><view class="row_li u-flex u-row-center"><text class="organizer-lab">总监</text><text class="organizer_num">13273</text></view><view class="row_li u-flex u-row-center"><text class="organizer-lab">专职</text><text class="organizer_num">13273</text></view></view><view class="organizer-tit">注安师</view><view class="row u-flex u-padding-20 u-margin-bottom-20"><view class="row_li u-flex u-row-center"><text class="organizer-lab">在岗职业</text><text class="organizer_num">13273</text></view></view><view class="organizer-tit">项目人数</view><view class="row u-flex u-padding-20 u-margin-bottom-20"><view class="row_li u-flex u-row-center"><text class="organizer-lab">总监</text><text class="organizer_num">13273</text></view><view class="row_li u-flex u-row-center"><text class="organizer-lab">专职</text><text class="organizer_num">13273</text></view><view class="row_li u-flex u-row-center"><text class="organizer-lab">安全监护</text><text class="organizer_num">13273</text></view></view><view class="organizer-tit">三类人员</view><view class="row u-flex u-padding-20"><view class="row_li u-flex u-row-center"><text class="organizer-lab">A证</text><text class="organizer_num">13273</text></view><view class="row_li u-flex u-row-center"><text class="organizer-lab">B证</text><text class="organizer_num">13273</text></view><view class="row_li u-flex u-row-center"><text class="organizer-lab">C证</text><text class="organizer_num">13273</text></view></view></view></chart-card>
|
||||
@@ -0,0 +1,95 @@
|
||||
/**
|
||||
* 这里是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 */
|
||||
/* 水平间距 */
|
||||
/* 垂直间距 */
|
||||
/* 透明度 */
|
||||
/* 文章场景相关 */
|
||||
.organizer-tit {
|
||||
color: #2573cb;
|
||||
width: 100%;
|
||||
font-size: 28rpx;
|
||||
background-color: #F7FBFE;
|
||||
padding: 12rpx 20rpx 0;
|
||||
}
|
||||
.organizer-lab {
|
||||
color: #999999;
|
||||
font-size: 24rpx;
|
||||
}
|
||||
.organizer_num {
|
||||
color: #333333;
|
||||
font-size: 28rpx;
|
||||
margin-top: 16rpx;
|
||||
}
|
||||
.organizer .row {
|
||||
background-color: #F7FBFE;
|
||||
}
|
||||
.organizer .row_li {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
if (!Math) {
|
||||
ChartCard();
|
||||
}
|
||||
const ChartCard = () => "../../../../components/chartCard.js";
|
||||
const _sfc_main = {
|
||||
__name: "projectCard",
|
||||
setup(__props) {
|
||||
const loading = common_vendor.ref(false);
|
||||
const handleSkip = () => {
|
||||
common_vendor.index.navigateTo({
|
||||
url: `/pages/penetrate/project`
|
||||
});
|
||||
};
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: common_vendor.o(handleSkip, "f6"),
|
||||
b: common_vendor.p({
|
||||
loading: loading.value,
|
||||
margin: "30rpx 0 0 0",
|
||||
padding: "20rpx 10rpx 80rpx 10rpx",
|
||||
["bg-color"]: "linear-gradient(#1e5ca3, #3094ff)"
|
||||
})
|
||||
};
|
||||
};
|
||||
}
|
||||
};
|
||||
wx.createComponent(_sfc_main);
|
||||
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/pages/index/board/safe/projectCard.js.map
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"chart-card": "../../../../components/chartCard"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<chart-card wx:if="{{b}}" u-s="{{['d']}}" u-i="b68f92f8-0" bind:__l="__l" u-p="{{b}}"><view class="project"><view class="project-col" bindtap="{{a}}"><text class="project-col-num">1024</text><text class="project-col-lab u-margin-top-10">在建项目</text></view><view class="project-col"><text class="project-col-num">1024</text><text class="project-col-lab u-margin-top-10">停工项目</text></view><view class="project-col"><text class="project-col-num">1024111</text><text class="project-col-lab u-margin-top-10">参建人数</text></view><view class="project-col"><text class="project-col-num">1024</text><text class="project-col-lab u-margin-top-10">在施危大工程</text></view></view></chart-card>
|
||||
@@ -0,0 +1,92 @@
|
||||
/**
|
||||
* 这里是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 */
|
||||
/* 水平间距 */
|
||||
/* 垂直间距 */
|
||||
/* 透明度 */
|
||||
/* 文章场景相关 */
|
||||
.project {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(4, 25%);
|
||||
}
|
||||
.project-col {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.project-col-num {
|
||||
text-align: center;
|
||||
overflow-wrap: break-word;
|
||||
width: 100%;
|
||||
color: #ffffff;
|
||||
font-size: 40rpx;
|
||||
}
|
||||
.project-col-lab {
|
||||
color: #ffffff;
|
||||
font-size: 24rpx;
|
||||
}
|
||||
@@ -0,0 +1,77 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
if (!Array) {
|
||||
const _easycom_qiun_data_charts2 = common_vendor.resolveComponent("qiun-data-charts");
|
||||
_easycom_qiun_data_charts2();
|
||||
}
|
||||
const _easycom_qiun_data_charts = () => "../../../../uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.js";
|
||||
if (!Math) {
|
||||
(_easycom_qiun_data_charts + ChartCard)();
|
||||
}
|
||||
const ChartCard = () => "../../../../components/chartCard.js";
|
||||
const _sfc_main = {
|
||||
__name: "riskRankingCard",
|
||||
setup(__props) {
|
||||
const opts = common_vendor.ref({
|
||||
color: ["#EE6666", "#EF893B", "#EFCB3B", "#3B8CEF"],
|
||||
padding: [5, 5, 5, 5],
|
||||
enableScroll: false,
|
||||
legend: {
|
||||
lineHeight: 20,
|
||||
fontSize: 10,
|
||||
itemGap: 20
|
||||
},
|
||||
extra: {
|
||||
pie: {
|
||||
activeOpacity: 0.5,
|
||||
activeRadius: 10,
|
||||
offsetAngle: 0,
|
||||
labelWidth: 15,
|
||||
border: true,
|
||||
borderWidth: 3,
|
||||
borderColor: "#FFFFFF"
|
||||
}
|
||||
}
|
||||
});
|
||||
const chartData = common_vendor.ref({});
|
||||
common_vendor.onReady(() => {
|
||||
let res = {
|
||||
series: [{
|
||||
data: [{
|
||||
"name": "重大风险",
|
||||
"value": 50,
|
||||
"labelText": "重大风险:50"
|
||||
}, {
|
||||
"name": "较大风险",
|
||||
"value": 30,
|
||||
"labelText": "较大风险:30"
|
||||
}, {
|
||||
"name": "一般风险",
|
||||
"value": 20,
|
||||
"labelText": "一般风险:20"
|
||||
}, {
|
||||
"name": "低风险",
|
||||
"value": 8,
|
||||
"labelText": "低风险:8"
|
||||
}]
|
||||
}]
|
||||
};
|
||||
chartData.value = JSON.parse(JSON.stringify(res));
|
||||
});
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: common_vendor.p({
|
||||
type: "pie",
|
||||
opts: opts.value,
|
||||
chartData: chartData.value
|
||||
}),
|
||||
b: common_vendor.p({
|
||||
margin: "0 0 30rpx 0",
|
||||
title: "风险分级管控"
|
||||
})
|
||||
};
|
||||
};
|
||||
}
|
||||
};
|
||||
wx.createComponent(_sfc_main);
|
||||
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/pages/index/board/safe/riskRankingCard.js.map
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"qiun-data-charts": "../../../../uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts",
|
||||
"chart-card": "../../../../components/chartCard"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<chart-card wx:if="{{b}}" u-s="{{['d']}}" u-i="4956b652-0" bind:__l="__l" u-p="{{b}}"><view class="rish-ranking"><qiun-data-charts wx:if="{{a}}" u-i="4956b652-1,4956b652-0" bind:__l="__l" u-p="{{a}}"/></view></chart-card>
|
||||
@@ -0,0 +1,75 @@
|
||||
/**
|
||||
* 这里是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 */
|
||||
/* 水平间距 */
|
||||
/* 垂直间距 */
|
||||
/* 透明度 */
|
||||
/* 文章场景相关 */
|
||||
.rish-ranking {
|
||||
width: 100%;
|
||||
height: 480rpx;
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
if (!Math) {
|
||||
ChartCard();
|
||||
}
|
||||
const ChartCard = () => "../../../../components/chartCard.js";
|
||||
const _sfc_main = {
|
||||
__name: "safeHoursCard",
|
||||
setup(__props) {
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: common_vendor.p({
|
||||
margin: "0 0 30rpx 0",
|
||||
title: "安全工时"
|
||||
})
|
||||
};
|
||||
};
|
||||
}
|
||||
};
|
||||
wx.createComponent(_sfc_main);
|
||||
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/pages/index/board/safe/safeHoursCard.js.map
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"chart-card": "../../../../components/chartCard"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<chart-card wx:if="{{a}}" u-s="{{['d']}}" u-i="9d55c5a6-0" bind:__l="__l" u-p="{{a}}"><view class="safe-hours"><text>9024145</text><text>万</text></view></chart-card>
|
||||
@@ -0,0 +1,88 @@
|
||||
/**
|
||||
* 这里是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 */
|
||||
/* 水平间距 */
|
||||
/* 垂直间距 */
|
||||
/* 透明度 */
|
||||
/* 文章场景相关 */
|
||||
.safe-hours {
|
||||
padding: 0 40rpx 0 120rpx;
|
||||
width: 100%;
|
||||
text-align: left;
|
||||
overflow: hidden;
|
||||
}
|
||||
.safe-hours > text {
|
||||
font-weight: 700;
|
||||
font-size: 52rpx;
|
||||
background: linear-gradient(180deg, #2573cb, #50c2ff);
|
||||
-webkit-background-clip: text;
|
||||
/* 兼容Safari浏览器 */
|
||||
background-clip: text;
|
||||
color: transparent;
|
||||
/* 文字透明,显示背景渐变 */
|
||||
letter-spacing: 10rpx;
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
if (!Array) {
|
||||
const _easycom_u_icon2 = common_vendor.resolveComponent("u-icon");
|
||||
_easycom_u_icon2();
|
||||
}
|
||||
const _easycom_u_icon = () => "../../../../uni_modules/uview-pro/components/u-icon/u-icon.js";
|
||||
if (!Math) {
|
||||
(_easycom_u_icon + ChartCard)();
|
||||
}
|
||||
const ChartCard = () => "../../../../components/chartCard.js";
|
||||
const _sfc_main = {
|
||||
__name: "specialEquipCard",
|
||||
setup(__props) {
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: common_vendor.p({
|
||||
name: "ziyuanshiyongtongji",
|
||||
color: "#e28ea3",
|
||||
["custom-prefix"]: "custom-icon",
|
||||
size: "60"
|
||||
}),
|
||||
b: common_vendor.p({
|
||||
name: "tezhongshebei",
|
||||
color: "#3bdae2",
|
||||
["custom-prefix"]: "custom-icon",
|
||||
size: "60"
|
||||
}),
|
||||
c: common_vendor.p({
|
||||
margin: "0 0 30rpx 0",
|
||||
title: "施工机具设备"
|
||||
})
|
||||
};
|
||||
};
|
||||
}
|
||||
};
|
||||
wx.createComponent(_sfc_main);
|
||||
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/pages/index/board/safe/specialEquipCard.js.map
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"u-icon": "../../../../uni_modules/uview-pro/components/u-icon/u-icon",
|
||||
"chart-card": "../../../../components/chartCard"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<chart-card wx:if="{{c}}" u-s="{{['d']}}" u-i="2035ee08-0" bind:__l="__l" u-p="{{c}}"><view class="special-equip u-flex"><view class="special-equip-box u-flex u-row-center"><view class="special-equip-box-icon"><u-icon wx:if="{{a}}" u-i="2035ee08-1,2035ee08-0" bind:__l="__l" u-p="{{a}}"></u-icon></view><view class="special-equip-box-row u-padding-left-20"><text class="special-equip-box-row-num">9000个</text><text class="special-equip-box-row-lab">在用个数</text></view></view><view class="special-equip-box u-flex u-row-center"><view class="special-equip-box-icon"><u-icon wx:if="{{b}}" u-i="2035ee08-2,2035ee08-0" bind:__l="__l" u-p="{{b}}"></u-icon></view><view class="special-equip-box-row u-padding-left-20"><text class="special-equip-box-row-num">9000个</text><text class="special-equip-box-row-lab">特种设备</text></view></view></view></chart-card>
|
||||
@@ -0,0 +1,92 @@
|
||||
/**
|
||||
* 这里是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 */
|
||||
/* 水平间距 */
|
||||
/* 垂直间距 */
|
||||
/* 透明度 */
|
||||
/* 文章场景相关 */
|
||||
.special-equip {
|
||||
padding: 20rpx 0;
|
||||
}
|
||||
.special-equip-box {
|
||||
flex: 1;
|
||||
}
|
||||
.special-equip-box-row {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: flex-start;
|
||||
}
|
||||
.special-equip-box-row-lab {
|
||||
font-size: 24rpx;
|
||||
color: #999999;
|
||||
margin-top: 12rpx;
|
||||
}
|
||||
.special-equip-box-row-num {
|
||||
color: #333333;
|
||||
font-size: 28rpx;
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
if (!Array) {
|
||||
const _easycom_u_icon2 = common_vendor.resolveComponent("u-icon");
|
||||
_easycom_u_icon2();
|
||||
}
|
||||
const _easycom_u_icon = () => "../../../../uni_modules/uview-pro/components/u-icon/u-icon.js";
|
||||
if (!Math) {
|
||||
(_easycom_u_icon + ChartCard)();
|
||||
}
|
||||
const ChartCard = () => "../../../../components/chartCard.js";
|
||||
const _sfc_main = {
|
||||
__name: "workCard",
|
||||
setup(__props) {
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: common_vendor.p({
|
||||
name: "xukezheng",
|
||||
color: "#8CEEFF",
|
||||
["custom-prefix"]: "custom-icon",
|
||||
size: "60"
|
||||
}),
|
||||
b: common_vendor.p({
|
||||
name: "guanbi",
|
||||
color: "#FFEB3B",
|
||||
["custom-prefix"]: "custom-icon",
|
||||
size: "60"
|
||||
}),
|
||||
c: common_vendor.p({
|
||||
margin: "0 0 30rpx 0",
|
||||
title: "高风险作业许可"
|
||||
})
|
||||
};
|
||||
};
|
||||
}
|
||||
};
|
||||
wx.createComponent(_sfc_main);
|
||||
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/pages/index/board/safe/workCard.js.map
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"u-icon": "../../../../uni_modules/uview-pro/components/u-icon/u-icon",
|
||||
"chart-card": "../../../../components/chartCard"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<chart-card wx:if="{{c}}" u-s="{{['d']}}" u-i="327ce016-0" bind:__l="__l" u-p="{{c}}"><view class="work u-flex"><view class="work-box u-flex u-row-center"><view class="work-box-icon"><u-icon wx:if="{{a}}" u-i="327ce016-1,327ce016-0" bind:__l="__l" u-p="{{a}}"></u-icon></view><view class="work-box-row u-padding-left-20"><text class="work-box-row-num">9000个</text><text class="work-box-row-lab">许可</text></view></view><view class="work-box u-flex u-row-center"><view class="work-box-icon"><u-icon wx:if="{{b}}" u-i="327ce016-2,327ce016-0" bind:__l="__l" u-p="{{b}}"></u-icon></view><view class="work-box-row u-padding-left-20"><text class="work-box-row-num">9000个</text><text class="work-box-row-lab">关闭</text></view></view></view></chart-card>
|
||||
@@ -0,0 +1,92 @@
|
||||
/**
|
||||
* 这里是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 */
|
||||
/* 水平间距 */
|
||||
/* 垂直间距 */
|
||||
/* 透明度 */
|
||||
/* 文章场景相关 */
|
||||
.work {
|
||||
padding: 20rpx 0;
|
||||
}
|
||||
.work-box {
|
||||
flex: 1;
|
||||
}
|
||||
.work-box-row {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: flex-start;
|
||||
}
|
||||
.work-box-row-lab {
|
||||
font-size: 24rpx;
|
||||
color: #999999;
|
||||
margin-top: 12rpx;
|
||||
}
|
||||
.work-box-row-num {
|
||||
color: #333333;
|
||||
font-size: 28rpx;
|
||||
}
|
||||
Reference in New Issue
Block a user