From 166c0b6d1855da21c2137e4980aa74f54a689b62 Mon Sep 17 00:00:00 2001 From: sassassin <530521314@qq.com> Date: Sun, 13 Sep 2020 11:28:26 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=9F=BA=E6=9C=AC=E8=AF=A6?= =?UTF-8?q?=E6=83=85=E9=A1=B5=E4=B8=8E=E9=AB=98=E7=BA=A7=E8=AF=A6=E6=83=85?= =?UTF-8?q?=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin/data/menu.json | 38 +- component/pear/css/pear-module/step.css | 5 + component/pear/module/step.js | 14 +- view/document/SeniorDetail.html | 473 ++++++++++++++++++++++++ view/document/basicDetail.html | 206 +++++++++++ view/document/form.html | 4 +- 6 files changed, 721 insertions(+), 19 deletions(-) create mode 100644 view/document/SeniorDetail.html create mode 100644 view/document/basicDetail.html diff --git a/admin/data/menu.json b/admin/data/menu.json index 57ec7d4..7be9022 100644 --- a/admin/data/menu.json +++ b/admin/data/menu.json @@ -298,19 +298,33 @@ "type": 0, "href": "", "children": [{ - "id": 701, - "title": "登录页面", - "icon": "layui-icon layui-icon-face-smile", - "type": 1, - "openType": "_iframe", - "href": "login.html" + "id": 701, + "title": "登录页面", + "icon": "layui-icon layui-icon-face-smile", + "type": 1, + "openType": "_iframe", + "href": "login.html" },{ - "id": 702, - "title": "空白页面", - "icon": "layui-icon layui-icon-face-smile", - "type": 1, - "openType": "_iframe", - "href": "view/system/space.html" + "id": 702, + "title": "空白页面", + "icon": "layui-icon layui-icon-face-smile", + "type": 1, + "openType": "_iframe", + "href": "view/system/space.html" + },{ + "id": 703, + "title": "基本详情", + "icon": "layui-icon layui-icon-face-smile", + "type": 1, + "openType": "_iframe", + "href": "view/document/basicDetail.html" + },{ + "id": 704, + "title": "高级详情", + "icon": "layui-icon layui-icon-face-smile", + "type": 1, + "openType": "_iframe", + "href": "view/document/SeniorDetail.html" }] }, { diff --git a/component/pear/css/pear-module/step.css b/component/pear/css/pear-module/step.css index b622112..379af9c 100644 --- a/component/pear/css/pear-module/step.css +++ b/component/pear/css/pear-module/step.css @@ -12,6 +12,7 @@ line-height: 35px; position: relative; font-size: 15px; + vertical-align: top; } .step-item-tail { @@ -74,6 +75,10 @@ color: #aaaaaa; } +.step-item-main-time { + color: #aaaaaa; +} + .lay-step + [carousel-item]:before { display: none; } diff --git a/component/pear/module/step.js b/component/pear/module/step.js index 9186061..8bce8d3 100644 --- a/component/pear/module/step.js +++ b/component/pear/module/step.js @@ -33,7 +33,8 @@ layui.define(['layer', 'carousel'], function (exports) { // 标题和描述 var title = stepItems[i].title; var desc = stepItems[i].desc; - if (title || desc) { + var time = stepItems[i].time; + if (title || desc || time) { stepDiv += '