first commit
This commit is contained in:
83
unpackage/dist/dev/mp-weixin/pages/closeout/application.js
vendored
Normal file
83
unpackage/dist/dev/mp-weixin/pages/closeout/application.js
vendored
Normal file
@@ -0,0 +1,83 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
if (!Array) {
|
||||
const _easycom_up_input2 = common_vendor.resolveComponent("up-input");
|
||||
const _easycom_up_datetime_picker2 = common_vendor.resolveComponent("up-datetime-picker");
|
||||
const _easycom_up_textarea2 = common_vendor.resolveComponent("up-textarea");
|
||||
const _easycom_u_popup2 = common_vendor.resolveComponent("u-popup");
|
||||
(_easycom_up_input2 + _easycom_up_datetime_picker2 + _easycom_up_textarea2 + _easycom_u_popup2)();
|
||||
}
|
||||
const _easycom_up_input = () => "../../uni_modules/uview-plus/components/u-input/u-input.js";
|
||||
const _easycom_up_datetime_picker = () => "../../uni_modules/uview-plus/components/u-datetime-picker/u-datetime-picker.js";
|
||||
const _easycom_up_textarea = () => "../../uni_modules/uview-plus/components/u-textarea/u-textarea.js";
|
||||
const _easycom_u_popup = () => "../../uni_modules/uview-plus/components/u-popup/u-popup.js";
|
||||
if (!Math) {
|
||||
(_easycom_up_input + _easycom_up_datetime_picker + _easycom_up_textarea + _easycom_u_popup)();
|
||||
}
|
||||
const _sfc_main = {
|
||||
__name: "application",
|
||||
setup(__props) {
|
||||
const showAddPopup = common_vendor.ref(false);
|
||||
const handleAdd = () => {
|
||||
showAddPopup.value = false;
|
||||
common_vendor.index.showToast({
|
||||
title: "新增成功",
|
||||
icon: "success"
|
||||
});
|
||||
};
|
||||
const value1 = common_vendor.ref(Date.now());
|
||||
const editor = () => {
|
||||
common_vendor.index.navigateTo({
|
||||
url: "/pages/closeout/editor"
|
||||
});
|
||||
};
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: common_vendor.o(($event) => editor()),
|
||||
b: common_vendor.o(($event) => showAddPopup.value = true),
|
||||
c: common_vendor.o(($event) => showAddPopup.value = false),
|
||||
d: common_vendor.p({
|
||||
placeholder: "请选择隐患"
|
||||
}),
|
||||
e: common_vendor.o(($event) => value1.value = $event),
|
||||
f: common_vendor.p({
|
||||
hasInput: true,
|
||||
show: _ctx.show,
|
||||
mode: "date",
|
||||
modelValue: value1.value
|
||||
}),
|
||||
g: common_vendor.p({
|
||||
placeholder: "请输入隐患治理责任单位"
|
||||
}),
|
||||
h: common_vendor.p({
|
||||
placeholder: "请输入主要负责人"
|
||||
}),
|
||||
i: common_vendor.o(($event) => _ctx.value = $event),
|
||||
j: common_vendor.p({
|
||||
placeholder: "请输入主要治理内容",
|
||||
modelValue: _ctx.value
|
||||
}),
|
||||
k: common_vendor.o(($event) => _ctx.value = $event),
|
||||
l: common_vendor.p({
|
||||
placeholder: "请输入隐患治理完成情况",
|
||||
modelValue: _ctx.value
|
||||
}),
|
||||
m: common_vendor.o(($event) => _ctx.value = $event),
|
||||
n: common_vendor.p({
|
||||
placeholder: "请输入隐患治理责任单位自行验收的情况",
|
||||
modelValue: _ctx.value
|
||||
}),
|
||||
o: common_vendor.o(($event) => showAddPopup.value = false),
|
||||
p: common_vendor.o(handleAdd),
|
||||
q: common_vendor.o(($event) => showAddPopup.value = false),
|
||||
r: common_vendor.p({
|
||||
show: showAddPopup.value,
|
||||
mode: "center",
|
||||
round: "20"
|
||||
})
|
||||
};
|
||||
};
|
||||
}
|
||||
};
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-4b6250eb"]]);
|
||||
wx.createPage(MiniProgramPage);
|
||||
9
unpackage/dist/dev/mp-weixin/pages/closeout/application.json
vendored
Normal file
9
unpackage/dist/dev/mp-weixin/pages/closeout/application.json
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"navigationBarTitleText": "销号申请",
|
||||
"usingComponents": {
|
||||
"up-input": "../../uni_modules/uview-plus/components/u-input/u-input",
|
||||
"up-datetime-picker": "../../uni_modules/uview-plus/components/u-datetime-picker/u-datetime-picker",
|
||||
"up-textarea": "../../uni_modules/uview-plus/components/u-textarea/u-textarea",
|
||||
"u-popup": "../../uni_modules/uview-plus/components/u-popup/u-popup"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/dev/mp-weixin/pages/closeout/application.wxml
vendored
Normal file
1
unpackage/dist/dev/mp-weixin/pages/closeout/application.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="{{['padding', 'page', 'data-v-4b6250eb', virtualHostClass]}}" style="{{virtualHostStyle}}"><view class="padding bg-white radius data-v-4b6250eb"><view class="flex justify-between margin-bottom data-v-4b6250eb"><view class="text-bold text-black data-v-4b6250eb">发现火苗</view><view class="data-v-4b6250eb">已审核</view></view><view class="flex margin-bottom data-v-4b6250eb"><view class="text-gray data-v-4b6250eb">隐患日期:</view><view class="text-black data-v-4b6250eb">2025-11-11</view></view><view class="flex margin-bottom data-v-4b6250eb"><view class="text-gray data-v-4b6250eb">责任单位:</view><view class="text-black data-v-4b6250eb">吉首网络有限公司</view></view><view class="flex margin-bottom data-v-4b6250eb"><view class="text-gray data-v-4b6250eb">判定人员:</view><view class="text-black data-v-4b6250eb">张起</view></view><view class="flex margin-bottom data-v-4b6250eb"><view class="text-gray data-v-4b6250eb">创建时间:</view><view class="text-black data-v-4b6250eb">2025-11-14 06:33:49</view></view><view class="flex justify-between data-v-4b6250eb"><view class="data-v-4b6250eb"></view><view class="data-v-4b6250eb"><button class="bg-blue round cu-btn lg data-v-4b6250eb" bindtap="{{a}}">查看详情</button></view></view></view><button class="cuIcon-add bg-blue round margin-top data-v-4b6250eb" bindtap="{{b}}">新增</button><u-popup wx:if="{{r}}" class="data-v-4b6250eb" virtualHostClass="data-v-4b6250eb" u-s="{{['d']}}" bindclose="{{q}}" u-i="4b6250eb-0" bind:__l="__l" u-p="{{r}}"><view class="popup-content data-v-4b6250eb"><view class="popup-header data-v-4b6250eb"><view class="popup-title text-bold data-v-4b6250eb">新增销号申请</view><view class="popup-close data-v-4b6250eb" bindtap="{{c}}">×</view></view><view class="popup-body data-v-4b6250eb"><view class="flex margin-bottom data-v-4b6250eb"><view class="data-v-4b6250eb">隐患</view><view class="text-red data-v-4b6250eb">*</view></view><up-input wx:if="{{d}}" class="data-v-4b6250eb" virtualHostClass="data-v-4b6250eb" u-i="4b6250eb-1,4b6250eb-0" bind:__l="__l" u-p="{{d}}"></up-input><view class="flex margin-bottom margin-top data-v-4b6250eb"><view class="data-v-4b6250eb">整改时限</view><view class="text-red data-v-4b6250eb">*</view></view><view class="data-v-4b6250eb"><up-datetime-picker wx:if="{{f}}" class="data-v-4b6250eb" virtualHostClass="data-v-4b6250eb" u-i="4b6250eb-2,4b6250eb-0" bind:__l="__l" bindupdateModelValue="{{e}}" u-p="{{f}}"></up-datetime-picker></view><view class="margin-bottom margin-top data-v-4b6250eb">隐患治理责任单位</view><up-input wx:if="{{g}}" class="data-v-4b6250eb" virtualHostClass="data-v-4b6250eb" u-i="4b6250eb-3,4b6250eb-0" bind:__l="__l" u-p="{{g}}"></up-input><view class="margin-bottom margin-top data-v-4b6250eb">主要负责人</view><up-input wx:if="{{h}}" class="data-v-4b6250eb" virtualHostClass="data-v-4b6250eb" u-i="4b6250eb-4,4b6250eb-0" bind:__l="__l" u-p="{{h}}"></up-input><view class="margin-bottom margin-top data-v-4b6250eb">主要治理内容</view><up-textarea wx:if="{{j}}" class="data-v-4b6250eb" virtualHostClass="data-v-4b6250eb" u-i="4b6250eb-5,4b6250eb-0" bind:__l="__l" bindupdateModelValue="{{i}}" u-p="{{j}}"></up-textarea><view class="margin-bottom margin-top data-v-4b6250eb">隐患治理完成内容</view><up-textarea wx:if="{{l}}" class="data-v-4b6250eb" virtualHostClass="data-v-4b6250eb" u-i="4b6250eb-6,4b6250eb-0" bind:__l="__l" bindupdateModelValue="{{k}}" u-p="{{l}}"></up-textarea><view class="margin-bottom margin-top data-v-4b6250eb">隐患治理责任单位自行验收的情况</view><up-textarea wx:if="{{n}}" class="data-v-4b6250eb" virtualHostClass="data-v-4b6250eb" u-i="4b6250eb-7,4b6250eb-0" bind:__l="__l" bindupdateModelValue="{{m}}" u-p="{{n}}"></up-textarea></view><view class="popup-footer data-v-4b6250eb"><button class="btn-cancel data-v-4b6250eb" bindtap="{{o}}">取消</button><button class="btn-confirm bg-blue data-v-4b6250eb" bindtap="{{p}}">确定</button></view></view></u-popup></view>
|
||||
78
unpackage/dist/dev/mp-weixin/pages/closeout/application.wxss
vendored
Normal file
78
unpackage/dist/dev/mp-weixin/pages/closeout/application.wxss
vendored
Normal file
@@ -0,0 +1,78 @@
|
||||
/**
|
||||
* 这里是uni-app内置的常用样式变量
|
||||
*
|
||||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||||
*
|
||||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||||
*/
|
||||
/* uni.scss */
|
||||
/* 颜色变量 */
|
||||
/* 行为相关颜色 */
|
||||
/* 文字基本颜色 */
|
||||
/* 背景颜色 */
|
||||
/* 边框颜色 */
|
||||
/* 尺寸变量 */
|
||||
/* 文字尺寸 */
|
||||
/* 图片尺寸 */
|
||||
/* Border Radius */
|
||||
/* 水平间距 */
|
||||
/* 垂直间距 */
|
||||
/* 透明度 */
|
||||
/* 文章场景相关 */
|
||||
.page.data-v-4b6250eb {
|
||||
min-height: 100vh;
|
||||
background: #EBF2FC;
|
||||
}
|
||||
.popup-content.data-v-4b6250eb {
|
||||
width: 600rpx;
|
||||
background: #fff;
|
||||
border-radius: 20rpx;
|
||||
overflow: hidden;
|
||||
}
|
||||
.popup-header.data-v-4b6250eb {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 30rpx;
|
||||
border-bottom: 1rpx solid #eee;
|
||||
}
|
||||
.popup-header .popup-title.data-v-4b6250eb {
|
||||
font-size: 32rpx;
|
||||
color: #333;
|
||||
}
|
||||
.popup-header .popup-close.data-v-4b6250eb {
|
||||
font-size: 40rpx;
|
||||
color: #999;
|
||||
line-height: 1;
|
||||
}
|
||||
.popup-body.data-v-4b6250eb {
|
||||
padding: 30rpx;
|
||||
max-height: 800rpx;
|
||||
overflow-y: auto;
|
||||
}
|
||||
.popup-footer.data-v-4b6250eb {
|
||||
display: flex;
|
||||
border-top: 1rpx solid #eee;
|
||||
}
|
||||
.popup-footer button.data-v-4b6250eb {
|
||||
flex: 1;
|
||||
height: 90rpx;
|
||||
line-height: 90rpx;
|
||||
border-radius: 0;
|
||||
font-size: 30rpx;
|
||||
}
|
||||
.popup-footer button.data-v-4b6250eb::after {
|
||||
border: none;
|
||||
}
|
||||
.popup-footer .btn-cancel.data-v-4b6250eb {
|
||||
background: #fff;
|
||||
color: #666;
|
||||
}
|
||||
.popup-footer .btn-confirm.data-v-4b6250eb {
|
||||
color: #fff;
|
||||
}
|
||||
46
unpackage/dist/dev/mp-weixin/pages/closeout/editor.js
vendored
Normal file
46
unpackage/dist/dev/mp-weixin/pages/closeout/editor.js
vendored
Normal file
@@ -0,0 +1,46 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const _sfc_main = {};
|
||||
if (!Array) {
|
||||
const _easycom_up_input2 = common_vendor.resolveComponent("up-input");
|
||||
const _easycom_up_textarea2 = common_vendor.resolveComponent("up-textarea");
|
||||
(_easycom_up_input2 + _easycom_up_textarea2)();
|
||||
}
|
||||
const _easycom_up_input = () => "../../uni_modules/uview-plus/components/u-input/u-input.js";
|
||||
const _easycom_up_textarea = () => "../../uni_modules/uview-plus/components/u-textarea/u-textarea.js";
|
||||
if (!Math) {
|
||||
(_easycom_up_input + _easycom_up_textarea)();
|
||||
}
|
||||
function _sfc_render(_ctx, _cache) {
|
||||
return {
|
||||
a: common_vendor.p({
|
||||
placeholder: "请输入内容"
|
||||
}),
|
||||
b: common_vendor.p({
|
||||
placeholder: "请输入内容"
|
||||
}),
|
||||
c: common_vendor.p({
|
||||
placeholder: "请输入内容"
|
||||
}),
|
||||
d: common_vendor.p({
|
||||
placeholder: "请输入内容"
|
||||
}),
|
||||
e: common_vendor.o(($event) => _ctx.value1 = $event),
|
||||
f: common_vendor.p({
|
||||
placeholder: "请输入内容",
|
||||
modelValue: _ctx.value1
|
||||
}),
|
||||
g: common_vendor.o(($event) => _ctx.value1 = $event),
|
||||
h: common_vendor.p({
|
||||
placeholder: "请输入内容",
|
||||
modelValue: _ctx.value1
|
||||
}),
|
||||
i: common_vendor.o(($event) => _ctx.value1 = $event),
|
||||
j: common_vendor.p({
|
||||
placeholder: "请输入内容",
|
||||
modelValue: _ctx.value1
|
||||
})
|
||||
};
|
||||
}
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
|
||||
wx.createPage(MiniProgramPage);
|
||||
7
unpackage/dist/dev/mp-weixin/pages/closeout/editor.json
vendored
Normal file
7
unpackage/dist/dev/mp-weixin/pages/closeout/editor.json
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"navigationBarTitleText": "编辑销号申请",
|
||||
"usingComponents": {
|
||||
"up-input": "../../uni_modules/uview-plus/components/u-input/u-input",
|
||||
"up-textarea": "../../uni_modules/uview-plus/components/u-textarea/u-textarea"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/dev/mp-weixin/pages/closeout/editor.wxml
vendored
Normal file
1
unpackage/dist/dev/mp-weixin/pages/closeout/editor.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="{{['padding', 'page', virtualHostClass]}}" style="{{virtualHostStyle}}"><view class="padding bg-white radius"><view class="flex margin-bottom"><view class="text-gray">隐患</view><view class="text-red">*</view></view><up-input wx:if="{{a}}" u-i="df29223c-0" bind:__l="__l" u-p="{{a}}"></up-input><view class="flex margin-bottom margin-top"><view class="text-gray">整改时限</view><view class="text-red">*</view></view><up-input wx:if="{{b}}" u-i="df29223c-1" bind:__l="__l" u-p="{{b}}"></up-input><view class="text-gray margin-bottom margin-top">隐患治理责任单位</view><up-input wx:if="{{c}}" u-i="df29223c-2" bind:__l="__l" u-p="{{c}}"></up-input><view class="text-gray margin-bottom margin-top">主要负责人</view><up-input wx:if="{{d}}" u-i="df29223c-3" bind:__l="__l" u-p="{{d}}"></up-input><view class="margin-bottom text-gray margin-top">主要治理内容</view><up-textarea wx:if="{{f}}" u-i="df29223c-4" bind:__l="__l" bindupdateModelValue="{{e}}" u-p="{{f}}"></up-textarea><view class="margin-bottom text-gray margin-top">隐患治理完成情况</view><up-textarea wx:if="{{h}}" u-i="df29223c-5" bind:__l="__l" bindupdateModelValue="{{g}}" u-p="{{h}}"></up-textarea><view class="margin-bottom text-gray margin-top">隐患治理责任单位自行验收的情况</view><up-textarea wx:if="{{j}}" u-i="df29223c-6" bind:__l="__l" bindupdateModelValue="{{i}}" u-p="{{j}}"></up-textarea><view class="flex justify-center margin-top-xl"><button class="lg round cu-btn lg margin-right">取消</button><button class="bg-blue round cu-btn lg">确定</button></view></view></view>
|
||||
6
unpackage/dist/dev/mp-weixin/pages/closeout/editor.wxss
vendored
Normal file
6
unpackage/dist/dev/mp-weixin/pages/closeout/editor.wxss
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
|
||||
.page {
|
||||
min-height: 100vh;
|
||||
background: #EBF2FC;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user