From d75b0b71c2feed580bf765c0d6007b3c1f17ca74 Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期三, 19 十月 2022 09:54:00 +0800
Subject: [PATCH] 1.消息列表静态页面实现
---
pages/xtsy/index.html | 130 ++++
pages/other/wdxx.html | 206 +++++++
unpackage/cache/wgt/H5EDA0853/pages/xtsy/index.html | 130 ++++
pages/sbgl/rcdj.html | 14
pages/adgl/adhj.html | 97 +++
components/my_van_nav_bar.html | 138 +++++
unpackage/cache/wgt/H5EDA0853/components/my_van_nav_bar.html | 138 +++++
unpackage/cache/wgt/H5EDA0853/css/global.css | 16
css/global.css | 25
unpackage/cache/wgt/H5EDA0853/pages/other/wdxx.html | 206 +++++++
unpackage/cache/wgt/H5EDA0853/pages/adgl/adxy.html | 97 +++
/dev/null | 0
pages/sbgl/dqby.html | 22
pages/adgl/adxy.html | 97 +++
unpackage/cache/wgt/H5EDA0853/pages/test/template.html | 97 +++
pages/test/template.html | 97 +++
unpackage/cache/wgt/H5EDA0853/pages/adgl/adhj.html | 97 +++
17 files changed, 1,539 insertions(+), 68 deletions(-)
diff --git a/components/my_van_nav_bar.html b/components/my_van_nav_bar.html
new file mode 100644
index 0000000..59f9ed8
--- /dev/null
+++ b/components/my_van_nav_bar.html
@@ -0,0 +1,138 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
+ <meta name="HandheldFriendly" content="true" />
+ <meta name="MobileOptimized" content="320" />
+ <title>鏂板嚡杩埗閫犱簯骞冲彴</title>
+
+ <!-- 寮曞叆鏍峰紡鏂囦欢 -->
+ <link rel="stylesheet" href="../css/vant.css" />
+ <!-- 寮曞叆 Vue 鍜� Vant 鐨� JS 鏂囦欢 -->
+ <script src="../js/vue.min.js"></script>
+ <script src="../js/vant.min.js"></script>
+
+ <script type="text/javascript" src="../js/jquery-1.6.4.min.js"></script>
+ <script type="text/javascript" src="../js/axios.min.js"></script>
+ <script type="text/javascript" src="../js/http.js"></script>
+
+ <script type="text/javascript" src="../js/global.js"></script>
+
+ </head>
+ <body>
+ <div id="app">
+
+ <div class="body">
+
+
+ <van-sticky>
+ <van-nav-bar style="z-index: 1000;" :left-arrow='isLeftArrow' :title="title" @click-right="onClickRight">
+ <template #right>
+ <van-popover placement="bottom-end" :offset="[13,8]" v-model="showPopover" trigger="click"
+ :actions="actions" @select="onSelect">
+ <template #reference>
+ <van-badge :content="10" max="99">
+ <van-icon name="bars" size='20' color='#fff' />
+ </van-badge>
+ </template>
+ </van-popover>
+ </template>
+ </van-nav-bar>
+ </van-sticky>
+
+
+ </div>
+
+
+ <van-overlay :show="overlayShow" @click="overlayShow=false" />
+
+
+ </div>
+ </body>
+ <script>
+ var app = new Vue({
+ el: '#app',
+ props: {
+ isLeftArrow: {
+ type: Boolean,
+ default: true,
+ },
+ title: {
+ type: String,
+ default: '鏍囬',
+ },
+ },
+ data: function() {
+ return {
+
+ sheetShow: false,
+ overlayShow: false,
+ showPopover: false,
+ actions: [{
+ icon: 'comment-o',
+ text: '瀹夌伅鍝嶅簲'
+ },
+ {
+ icon: 'description',
+ text: '鎿嶄綔鎸囧'
+ },
+ {
+ icon: 'award-o',
+ text: '鎴愬搧杩芥函'
+ }, {
+ icon: 'revoke',
+ text: '閫�鍑虹櫥褰�'
+ },
+ ],
+
+ }
+ },
+ created() {
+
+ },
+ mounted() {
+
+ },
+ methods: {
+ // 椤堕儴鍙冲浘鏍囩偣鍑�
+ onClickRight() {
+ this.overlayShow = true
+ },
+ // 椤堕儴鍙冲浘鏍囦笅鎷夐�夋嫨
+ onSelect(action) {
+ if (action.text === '鎿嶄綔鎸囧') {
+ topPopoverClick('鎿嶄綔鎸囧')
+ } else if (action.text === '鎴愬搧杩芥函') {
+ topPopoverClick('鎴愬搧杩芥函')
+ } else if (action.text === '閫�鍑虹櫥褰�') {
+ topPopoverClick('閫�鍑虹櫥褰�')
+ }
+ this.overlayShow = false
+ },
+ }
+ })
+ </script>
+ <style type="text/css">
+
+ .van-nav-bar__arrow {
+ color: #fff !important;
+ }
+
+ .van-nav-bar__content {
+ background-color: #2651d8;
+ height: 44px;
+ }
+
+ .van-nav-bar__title {
+ color: #fff;
+ letter-spacing: 2px;
+ }
+
+ .van-nav-bar__right {
+ padding: 0;
+ margin-right: 16px;
+ }
+ </style>
+
+</html>
diff --git a/css/global.css b/css/global.css
index 0f42896..dcd1215 100644
--- a/css/global.css
+++ b/css/global.css
@@ -26,6 +26,21 @@
}
+.topRight {
+ width: 160px;
+ min-height: 60px;
+ display: flex;
+ flex-direction: column;
+ padding: 10px;
+}
+
+.topRightItem {
+ display: flex;
+ align-items: center;
+ line-height: 20px;
+ border-bottom: 1px solid #eee;
+}
+
.vanFieldInput {
height: 36px;
line-height: 36px;
@@ -90,10 +105,14 @@
}
.head_bar {
- width: 5px;
- height: 20px;
- background-color: red;
+ /* width: 5px;
+ height: 20px; */
+ /* background-color: red; */
margin-left: 5px;
+ border-radius: 3px;
+ height: 20px;
+ border: 2px solid red;
+
}
.head_title {
diff --git a/pages/adgl/adhj.html b/pages/adgl/adhj.html
new file mode 100644
index 0000000..c0fdffe
--- /dev/null
+++ b/pages/adgl/adhj.html
@@ -0,0 +1,97 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
+ <meta name="HandheldFriendly" content="true" />
+ <meta name="MobileOptimized" content="320" />
+ <title>鏂板嚡杩埗閫犱簯骞冲彴</title>
+
+ <!-- 寮曞叆鏍峰紡鏂囦欢 -->
+ <link rel="stylesheet" href="../../css/vant.css" />
+ <!-- 寮曞叆 Vue 鍜� Vant 鐨� JS 鏂囦欢 -->
+ <script src="../../js/vue.min.js"></script>
+ <script src="../../js/vant.min.js"></script>
+
+ <script type="text/javascript" src="../../js/jquery-1.6.4.min.js"></script>
+ <script type="text/javascript" src="../../js/axios.min.js"></script>
+ <script type="text/javascript" src="../../js/http.js"></script>
+
+
+ <link rel="stylesheet" href="../css/global.css" type="text/css" charset="utf-8" />
+
+ </head>
+ <body>
+ <div id="app">
+
+ <div class="body">
+
+ <van-nav-bar title="瀹夌伅鍛煎彨" @click-right="onClickRight" left-arrow @click-left="onClickleft">
+ <template #right>
+ <van-popover style="" placement="bottom-end" :offset="[13,8]" v-model="showPopover"
+ trigger="click" :actions="actions" @select="onSelect">
+ <template #reference>
+ <van-icon name="bars" size='20' color='#fff' />
+ </template>
+ </van-popover>
+ </template>
+ </van-nav-bar>
+
+ </div>
+
+
+ <van-overlay :show="overlayShow" @click="overlayShow=false" />
+
+
+ </div>
+ </body>
+ <script>
+ var app = new Vue({
+ el: '#app',
+ data: function() {
+ return {
+ overlayShow: false,
+ showPopover: false,
+ actions: [{
+ icon: 'description',
+ text: '鎿嶄綔鎸囧'
+ }, {
+ icon: 'award-o',
+ text: '鎴愬搧杩芥函'
+ }, {
+ icon: 'revoke',
+ text: '閫�鍑虹櫥褰�'
+ }],
+
+ }
+ },
+ created() {
+
+ },
+ mounted() {
+
+ },
+ methods: {
+ onClickleft() {
+ history.back()
+ },
+ onClickRight() {
+ this.overlayShow = true
+ },
+ onSelect(action) {
+ if (action.text === '鎿嶄綔鎸囧') {
+ topPopoverClick('鎿嶄綔鎸囧')
+ } else if (action.text === '鎴愬搧杩芥函') {
+ topPopoverClick('鎴愬搧杩芥函')
+ } else if (action.text === '閫�鍑虹櫥褰�') {
+ topPopoverClick('閫�鍑虹櫥褰�')
+ }
+ this.overlayShow = false
+ },
+ }
+ })
+ </script>
+ <style type="text/css">
+ @import url('../../css/global.css');
+ </style>
+</html>
diff --git a/pages/adgl/adxy.html b/pages/adgl/adxy.html
new file mode 100644
index 0000000..c8f900d
--- /dev/null
+++ b/pages/adgl/adxy.html
@@ -0,0 +1,97 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
+ <meta name="HandheldFriendly" content="true" />
+ <meta name="MobileOptimized" content="320" />
+ <title>鏂板嚡杩埗閫犱簯骞冲彴</title>
+
+ <!-- 寮曞叆鏍峰紡鏂囦欢 -->
+ <link rel="stylesheet" href="../../css/vant.css" />
+ <!-- 寮曞叆 Vue 鍜� Vant 鐨� JS 鏂囦欢 -->
+ <script src="../../js/vue.min.js"></script>
+ <script src="../../js/vant.min.js"></script>
+
+ <script type="text/javascript" src="../../js/jquery-1.6.4.min.js"></script>
+ <script type="text/javascript" src="../../js/axios.min.js"></script>
+ <script type="text/javascript" src="../../js/http.js"></script>
+
+
+ <link rel="stylesheet" href="../css/global.css" type="text/css" charset="utf-8" />
+
+ </head>
+ <body>
+ <div id="app">
+
+ <div class="body">
+
+ <van-nav-bar title="瀹夌伅鍝嶅簲" @click-right="onClickRight" left-arrow @click-left="onClickleft">
+ <template #right>
+ <van-popover style="" placement="bottom-end" :offset="[13,8]" v-model="showPopover"
+ trigger="click" :actions="actions" @select="onSelect">
+ <template #reference>
+ <van-icon name="bars" size='20' color='#fff' />
+ </template>
+ </van-popover>
+ </template>
+ </van-nav-bar>
+
+ </div>
+
+
+ <van-overlay :show="overlayShow" @click="overlayShow=false" />
+
+
+ </div>
+ </body>
+ <script>
+ var app = new Vue({
+ el: '#app',
+ data: function() {
+ return {
+ overlayShow: false,
+ showPopover: false,
+ actions: [{
+ icon: 'description',
+ text: '鎿嶄綔鎸囧'
+ }, {
+ icon: 'award-o',
+ text: '鎴愬搧杩芥函'
+ }, {
+ icon: 'revoke',
+ text: '閫�鍑虹櫥褰�'
+ }],
+
+ }
+ },
+ created() {
+
+ },
+ mounted() {
+
+ },
+ methods: {
+ onClickleft() {
+ history.back()
+ },
+ onClickRight() {
+ this.overlayShow = true
+ },
+ onSelect(action) {
+ if (action.text === '鎿嶄綔鎸囧') {
+ topPopoverClick('鎿嶄綔鎸囧')
+ } else if (action.text === '鎴愬搧杩芥函') {
+ topPopoverClick('鎴愬搧杩芥函')
+ } else if (action.text === '閫�鍑虹櫥褰�') {
+ topPopoverClick('閫�鍑虹櫥褰�')
+ }
+ this.overlayShow = false
+ },
+ }
+ })
+ </script>
+ <style type="text/css">
+ @import url('../../css/global.css');
+ </style>
+</html>
diff --git a/pages/other/wdxx.html b/pages/other/wdxx.html
new file mode 100644
index 0000000..be7f653
--- /dev/null
+++ b/pages/other/wdxx.html
@@ -0,0 +1,206 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
+ <meta name="HandheldFriendly" content="true" />
+ <meta name="MobileOptimized" content="320" />
+ <title>鏂板嚡杩埗閫犱簯骞冲彴</title>
+
+ <!-- 寮曞叆鏍峰紡鏂囦欢 -->
+ <link rel="stylesheet" href="../../css/vant.css" />
+ <!-- 寮曞叆 Vue 鍜� Vant 鐨� JS 鏂囦欢 -->
+ <script src="../../js/vue.min.js"></script>
+ <script src="../../js/vant.min.js"></script>
+
+ <script type="text/javascript" src="../../js/jquery-1.6.4.min.js"></script>
+ <script type="text/javascript" src="../../js/axios.min.js"></script>
+ <script type="text/javascript" src="../../js/http.js"></script>
+
+ <script type="text/javascript" src="../../js/global.js"></script>
+ <link rel="stylesheet" href="../css/global.css" type="text/css" charset="utf-8" />
+
+ </head>
+ <body>
+ <div id="app">
+
+ <div class="body">
+
+ <van-sticky>
+ <van-nav-bar title="娑堟伅鍒楄〃" @click-right="onClickRight" left-arrow @click-left="onClickleft">
+ <template #right>
+ <van-popover style="" placement="bottom-end" :offset="[13,8]" v-model="showPopover"
+ trigger="click" :actions="actions" @select="onSelect">
+ <template #reference>
+ <van-icon name="bars" size='20' color='#fff' />
+ </template>
+ </van-popover>
+ </template>
+ </van-nav-bar>
+ </van-sticky>
+
+ <div class="head">
+ <div class="head_block">
+ <div class="head_left">
+ <div class="head_bar"></div>
+ <div class="head_title">
+ 娑堟伅鍒楄〃
+ </div>
+ </div>
+ </div>
+
+ <van-steps :active='messageArr.length' direction="vertical" center active-color='red'
+ style="margin-left: 5px;">
+ <van-step v-for='(item,index) in messageArr'>
+ <div slot="finish-icon">
+ <div class="messageIndex">{{index+1}}</div>
+ </div>
+ <div style="margin-left: 5px;">宸ヤ綅鍚嶇О锛歿{item.gwmc}}</div>
+ <div style="margin-left: 5px;">鐢熶骇杞﹂棿锛歿{item.sccj}}</div>
+ <div style="margin-left: 5px;">鍛煎彨绫诲瀷锛歿{item.hjlx}}</div>
+ <div style="margin-left: 5px;">鍙戣捣浜哄憳锛歿{item.fqry}}</div>
+ <div style="margin-left: 5px;">鍙戣捣鏃堕棿锛歿{item.fqsj}}</div>
+ </van-step>
+ </van-steps>
+ </div>
+
+
+ </div>
+
+
+ <van-overlay :show="overlayShow" @click="overlayShow=false" />
+
+
+ </div>
+ </body>
+ <script>
+ var app = new Vue({
+ el: '#app',
+ data: function() {
+ return {
+ overlayShow: false,
+ showPopover: false,
+ actions: [
+ // {
+ // icon: 'description',
+ // text: '鎿嶄綔鎸囧'
+ // }, {
+ // icon: 'award-o',
+ // text: '鎴愬搧杩芥函'
+ // },
+ {
+ icon: 'revoke',
+ text: '閫�鍑虹櫥褰�'
+ },
+ ],
+ messageArr: [{
+ gwmc: '鏈哄姞01宸ヤ綅',
+ sccj: '鏈哄姞杞﹂棿',
+ hjlx: '鍛煎彨璁惧',
+ fqry: '寮犱笁',
+ fqsj: '2022-10-10 11:12:12'
+ },
+ {
+ gwmc: '鏈哄姞01宸ヤ綅',
+ sccj: '鏈哄姞杞﹂棿',
+ hjlx: '鍛煎彨璁惧',
+ fqry: '寮犱笁',
+ fqsj: '2022-10-10 11:12:12'
+ },
+ {
+ gwmc: '鏈哄姞01宸ヤ綅',
+ sccj: '鏈哄姞杞﹂棿',
+ hjlx: '鍛煎彨璁惧',
+ fqry: '寮犱笁',
+ fqsj: '2022-10-10 11:12:12'
+ },
+ {
+ gwmc: '鏈哄姞01宸ヤ綅',
+ sccj: '鏈哄姞杞﹂棿',
+ hjlx: '鍛煎彨璁惧',
+ fqry: '寮犱笁',
+ fqsj: '2022-10-10 11:12:12'
+ },
+ {
+ gwmc: '鏈哄姞01宸ヤ綅',
+ sccj: '鏈哄姞杞﹂棿',
+ hjlx: '鍛煎彨璁惧',
+ fqry: '寮犱笁',
+ fqsj: '2022-10-10 11:12:12'
+ },
+ {
+ gwmc: '鏈哄姞01宸ヤ綅',
+ sccj: '鏈哄姞杞﹂棿',
+ hjlx: '鍛煎彨璁惧',
+ fqry: '寮犱笁',
+ fqsj: '2022-10-10 11:12:12'
+ },
+ {
+ gwmc: '鏈哄姞01宸ヤ綅',
+ sccj: '鏈哄姞杞﹂棿',
+ hjlx: '鍛煎彨璁惧',
+ fqry: '寮犱笁',
+ fqsj: '2022-10-10 11:12:12'
+ },
+ {
+ gwmc: '鏈哄姞01宸ヤ綅',
+ sccj: '鏈哄姞杞﹂棿',
+ hjlx: '鍛煎彨璁惧',
+ fqry: '寮犱笁',
+ fqsj: '2022-10-10 11:12:12'
+ },
+ {
+ gwmc: '鏈哄姞01宸ヤ綅',
+ sccj: '鏈哄姞杞﹂棿',
+ hjlx: '鍛煎彨璁惧',
+ fqry: '寮犱笁',
+ fqsj: '2022-10-10 11:12:12'
+ },
+
+ ]
+
+
+ }
+ },
+ created() {
+
+ },
+ mounted() {
+
+ },
+ methods: {
+ onClickleft() {
+ history.back()
+ },
+ onClickRight() {
+ this.overlayShow = true
+ },
+ onSelect(action) {
+ if (action.text === '鎿嶄綔鎸囧') {
+ topPopoverClick('鎿嶄綔鎸囧')
+ } else if (action.text === '鎴愬搧杩芥函') {
+ topPopoverClick('鎴愬搧杩芥函')
+ } else if (action.text === '閫�鍑虹櫥褰�') {
+ topPopoverClick('閫�鍑虹櫥褰�')
+ }
+ this.overlayShow = false
+ },
+ }
+ })
+ </script>
+ <style type="text/css">
+ @import url('../../css/global.css');
+
+ .messageIndex {
+ color: red;
+ width: 20px;
+ height: 20px;
+ border-radius: 50%;
+ background-color: #fff;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ border: 1px solid red;
+ }
+ </style>
+</html>
diff --git a/pages/sbgl/dqby.html b/pages/sbgl/dqby.html
index 41cf45e..1b0f97f 100644
--- a/pages/sbgl/dqby.html
+++ b/pages/sbgl/dqby.html
@@ -25,15 +25,15 @@
<script type="text/javascript">
var topContent = [
- // {
- // code: 'SB001',
- // name: '鐢垫睜缁勪竴绾�',
- // wksp_code: "CJ002",
- // wksp_name: '鐢垫睜杞﹂棿',
- // eapmai_code: "bybz004",
- // eapmai_name: "鏍囧噯4",
- // main_cycle: "M",
- // },
+ {
+ code: 'SB001',
+ name: '鐢垫睜缁勪竴绾�',
+ wksp_code: "CJ002",
+ wksp_name: '鐢垫睜杞﹂棿',
+ eapmai_code: "bybz004",
+ eapmai_name: "鏍囧噯4",
+ main_cycle: "M",
+ },
// {
// code: 'SB003',
// name: '榻胯疆绠辩粍涓�绾�',
@@ -247,9 +247,9 @@
</div>
<div class="head"
- :style="{marginTop:topContent.length===0?'100px':'0',minHeight:topContent.length===0?'0':'220px'}"
+
style="margin-bottom: 130px;padding-bottom: 10px;overflow-y: ;"
- :style="{marginTop:topContent.length===0?'78px':'0'}">
+ >
<div class="head_block" style="margin-bottom:10px;">
<div class="head_left">
<div class="head_bar"></div>
diff --git a/pages/sbgl/rcdj.html b/pages/sbgl/rcdj.html
index 9e4c59f..332c691 100644
--- a/pages/sbgl/rcdj.html
+++ b/pages/sbgl/rcdj.html
@@ -25,13 +25,13 @@
<script type="text/javascript">
var topContent = [
- // {
- // code: 'SB003',
- // name: '榻胯疆绠辩粍',
- // wksp_code: "CJ002",
- // wksp_name: '瑁呴厤杞﹂棿',
- // eqpchkmain_code: "djbz002"
- // },
+ {
+ code: 'SB003',
+ name: '榻胯疆绠辩粍',
+ wksp_code: "CJ002",
+ wksp_name: '瑁呴厤杞﹂棿',
+ eqpchkmain_code: "djbz002"
+ },
// {
// code: 'SB001',
// name: '榻胯疆绠辩粍',
diff --git a/pages/test/template.html b/pages/test/template.html
new file mode 100644
index 0000000..a96872a
--- /dev/null
+++ b/pages/test/template.html
@@ -0,0 +1,97 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
+ <meta name="HandheldFriendly" content="true" />
+ <meta name="MobileOptimized" content="320" />
+ <title>鏂板嚡杩埗閫犱簯骞冲彴</title>
+
+ <!-- 寮曞叆鏍峰紡鏂囦欢 -->
+ <link rel="stylesheet" href="../../css/vant.css" />
+ <!-- 寮曞叆 Vue 鍜� Vant 鐨� JS 鏂囦欢 -->
+ <script src="../../js/vue.min.js"></script>
+ <script src="../../js/vant.min.js"></script>
+
+ <script type="text/javascript" src="../../js/jquery-1.6.4.min.js"></script>
+ <script type="text/javascript" src="../../js/axios.min.js"></script>
+ <script type="text/javascript" src="../../js/http.js"></script>
+
+
+ <link rel="stylesheet" href="../css/global.css" type="text/css" charset="utf-8" />
+
+ </head>
+ <body>
+ <div id="app">
+
+ <div class="body">
+
+ <van-nav-bar title="" @click-right="onClickRight" left-arrow @click-left="onClickleft">
+ <template #right>
+ <van-popover style="" placement="bottom-end" :offset="[13,8]" v-model="showPopover"
+ trigger="click" :actions="actions" @select="onSelect">
+ <template #reference>
+ <van-icon name="bars" size='20' color='#fff' />
+ </template>
+ </van-popover>
+ </template>
+ </van-nav-bar>
+
+ </div>
+
+
+ <van-overlay :show="overlayShow" @click="overlayShow=false" />
+
+
+ </div>
+ </body>
+ <script>
+ var app = new Vue({
+ el: '#app',
+ data: function() {
+ return {
+ overlayShow: false,
+ showPopover: false,
+ actions: [{
+ icon: 'description',
+ text: '鎿嶄綔鎸囧'
+ }, {
+ icon: 'award-o',
+ text: '鎴愬搧杩芥函'
+ }, {
+ icon: 'revoke',
+ text: '閫�鍑虹櫥褰�'
+ }],
+
+ }
+ },
+ created() {
+
+ },
+ mounted() {
+
+ },
+ methods: {
+ onClickleft() {
+ history.back()
+ },
+ onClickRight() {
+ this.overlayShow = true
+ },
+ onSelect(action) {
+ if (action.text === '鎿嶄綔鎸囧') {
+ topPopoverClick('鎿嶄綔鎸囧')
+ } else if (action.text === '鎴愬搧杩芥函') {
+ topPopoverClick('鎴愬搧杩芥函')
+ } else if (action.text === '閫�鍑虹櫥褰�') {
+ topPopoverClick('閫�鍑虹櫥褰�')
+ }
+ this.overlayShow = false
+ },
+ }
+ })
+ </script>
+ <style type="text/css">
+ @import url('../../css/global.css');
+ </style>
+</html>
diff --git a/pages/xtsy/index.html b/pages/xtsy/index.html
index 305a9be..677e88d 100644
--- a/pages/xtsy/index.html
+++ b/pages/xtsy/index.html
@@ -21,22 +21,62 @@
<script type="text/javascript" src="../../js/global.js"></script>
+ <script type="text/javascript" src="../../js/global.css"></script>
+
</head>
<body>
<div id="app">
<div class="body">
- <van-nav-bar title="宸ヤ綔鍙�" @click-right="onClickRight">
+ <!-- <object data="../../components/my_van_nav_bar.html" title='鎴�' width="100%" height="44"></object> -->
+
+ <!-- <van-nav-bar title="宸ヤ綔鍙�" @click-right="onClickRight">
<template #right>
<van-popover placement="bottom-end" :offset="[13,8]" v-model="showPopover" trigger="click"
:actions="actions" @select="onSelect">
<template #reference>
- <van-icon name="bars" size='20' color='#fff' />
+ <van-badge :content="10" max='99'>
+ <van-icon name="bars" size='20' color='#fff' />
+ </van-badge>
+ </template>
+ </van-popover>
+ </template>
+ </van-nav-bar> -->
+
+
+ <van-nav-bar title="宸ヤ綔鍙�" @click-right="onClickRight">
+ <template #right>
+ <van-popover placement="bottom-end" :offset="[13,8]" v-model="showPopover" trigger="click">
+
+ <div class="topRight">
+ <div class="topRightItem" @click="myMessageClick">
+ <div>
+ <van-icon name="comment-o"
+ :badge="messageNumber!==0?(messageNumber>9?'9+':messageNumber):false"
+ size="1.28rem" style="margin-right: 8px;margin-top: 18px;" />
+ </div>
+ <div style="font-size: 14px;border-bottom: 1px solid #eee;">鎴戠殑娑堟伅</div>
+ </div>
+ <div class="topRightItem" @click="topPopoverClick('閫�鍑虹櫥褰�')">
+ <div>
+ <van-icon name="revoke" style="margin-right: 8px;" />
+ </div>
+ <div style="font-size: 14px;">閫�鍑虹櫥褰�</div>
+ </div>
+ </div>
+
+ <template #reference>
+ <van-badge :content="messageNumber" max='9' v-if='messageNumber!==0'>
+ <van-icon name="bars" size='20' color='#fff' />
+ </van-badge>
+ <van-icon v-else name="bars" size='20' color='#fff' />
</template>
</van-popover>
</template>
</van-nav-bar>
+
+
<van-swipe :autoplay="3000">
<van-swipe-item v-for="(image, index) in images" :key="index">
@@ -84,19 +124,24 @@
overlayShow: false,
showPopover: false,
actions: [{
- icon: 'description',
- text: '鎿嶄綔鎸囧'
- }, {
- icon: 'award-o',
- text: '鎴愬搧杩芥函'
- }, {
- icon: 'revoke',
- text: '閫�鍑虹櫥褰�'
- }],
+ icon: 'comment-o',
+ text: '瀹夌伅鍝嶅簲'
+ },
+ {
+ icon: 'description',
+ text: '鎿嶄綔鎸囧'
+ }, {
+ icon: 'award-o',
+ text: '鎴愬搧杩芥函'
+ }, {
+ icon: 'revoke',
+ text: '閫�鍑虹櫥褰�'
+ }
+ ],
firstMenu: [], //涓�绾ц彍鍗�
firstMenuName: '',
secondMenu: [], //浜岀骇鑿滃崟
-
+ messageNumber: 0, //鎴戠殑娑堟伅鏁板��
}
},
created() {
@@ -104,8 +149,23 @@
},
mounted() {
this.getfirstMenu()
+ this.getLoginAppAnDonMessage()
},
methods: {
+ // 鑾峰彇娑堟伅鎺ュ彛
+ async getLoginAppAnDonMessage(){
+ const data={
+ userid:localStorage.getItem('userid'),
+ usercode:localStorage.getItem('usercode'),
+ username:localStorage.getItem('username'),
+ usertype:localStorage.getItem('usertype'),
+ }
+
+ const res=await post('Login/LoginAppAnDonMessage'+formatParams(data))
+ this.messageNumber=res.data.length
+ // this.messageNumber=9
+ },
+
// 鑾峰彇涓�绾ц彍鍗�
async getfirstMenu() {
const data = {
@@ -143,6 +203,12 @@
case '2044':
url = '../sbgl/wxyz.html'
break;
+ case '2090':
+ url = '../adgl/adhj.html'
+ break;
+ case '2091':
+ url = '../adgl/adxy.html'
+ break;
}
window.location = url
},
@@ -151,16 +217,19 @@
this.overlayShow = true
},
// 椤堕儴鍙冲浘鏍囦笅鎷夐�夋嫨
- onSelect(action) {
- if (action.text === '鎿嶄綔鎸囧') {
- topPopoverClick('鎿嶄綔鎸囧')
- } else if (action.text === '鎴愬搧杩芥函') {
- topPopoverClick('鎴愬搧杩芥函')
- } else if (action.text === '閫�鍑虹櫥褰�') {
- topPopoverClick('閫�鍑虹櫥褰�')
- }
- this.overlayShow = false
- },
+ // onSelect(action) {
+ // if (action.text === '鎿嶄綔鎸囧') {
+ // topPopoverClick('鎿嶄綔鎸囧')
+ // } else if (action.text === '鎴愬搧杩芥函') {
+ // topPopoverClick('鎴愬搧杩芥函')
+ // } else if (action.text === '閫�鍑虹櫥褰�') {
+ // topPopoverClick('閫�鍑虹櫥褰�')
+ // }
+ // this.overlayShow = false
+ // },
+ myMessageClick() {
+ window.location = '../other/wdxx.html'
+ }
}
})
</script>
@@ -191,5 +260,22 @@
padding: 0;
margin-right: 16px;
}
+
+ .topRight {
+ width: 128px;
+ min-height: 40px;
+ display: flex;
+ flex-direction: column;
+ /* padding: 10px; */
+ }
+
+ .topRightItem {
+ display: flex;
+ height: 44px;
+ align-items: center;
+ line-height: 44px;
+ /* border-bottom: 1px dotted #000; */
+ padding: 0 16px;
+ }
</style>
</html>
diff --git a/unpackage/cache/wgt/H5EDA0853/components/my_van_nav_bar.html b/unpackage/cache/wgt/H5EDA0853/components/my_van_nav_bar.html
new file mode 100644
index 0000000..59f9ed8
--- /dev/null
+++ b/unpackage/cache/wgt/H5EDA0853/components/my_van_nav_bar.html
@@ -0,0 +1,138 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
+ <meta name="HandheldFriendly" content="true" />
+ <meta name="MobileOptimized" content="320" />
+ <title>鏂板嚡杩埗閫犱簯骞冲彴</title>
+
+ <!-- 寮曞叆鏍峰紡鏂囦欢 -->
+ <link rel="stylesheet" href="../css/vant.css" />
+ <!-- 寮曞叆 Vue 鍜� Vant 鐨� JS 鏂囦欢 -->
+ <script src="../js/vue.min.js"></script>
+ <script src="../js/vant.min.js"></script>
+
+ <script type="text/javascript" src="../js/jquery-1.6.4.min.js"></script>
+ <script type="text/javascript" src="../js/axios.min.js"></script>
+ <script type="text/javascript" src="../js/http.js"></script>
+
+ <script type="text/javascript" src="../js/global.js"></script>
+
+ </head>
+ <body>
+ <div id="app">
+
+ <div class="body">
+
+
+ <van-sticky>
+ <van-nav-bar style="z-index: 1000;" :left-arrow='isLeftArrow' :title="title" @click-right="onClickRight">
+ <template #right>
+ <van-popover placement="bottom-end" :offset="[13,8]" v-model="showPopover" trigger="click"
+ :actions="actions" @select="onSelect">
+ <template #reference>
+ <van-badge :content="10" max="99">
+ <van-icon name="bars" size='20' color='#fff' />
+ </van-badge>
+ </template>
+ </van-popover>
+ </template>
+ </van-nav-bar>
+ </van-sticky>
+
+
+ </div>
+
+
+ <van-overlay :show="overlayShow" @click="overlayShow=false" />
+
+
+ </div>
+ </body>
+ <script>
+ var app = new Vue({
+ el: '#app',
+ props: {
+ isLeftArrow: {
+ type: Boolean,
+ default: true,
+ },
+ title: {
+ type: String,
+ default: '鏍囬',
+ },
+ },
+ data: function() {
+ return {
+
+ sheetShow: false,
+ overlayShow: false,
+ showPopover: false,
+ actions: [{
+ icon: 'comment-o',
+ text: '瀹夌伅鍝嶅簲'
+ },
+ {
+ icon: 'description',
+ text: '鎿嶄綔鎸囧'
+ },
+ {
+ icon: 'award-o',
+ text: '鎴愬搧杩芥函'
+ }, {
+ icon: 'revoke',
+ text: '閫�鍑虹櫥褰�'
+ },
+ ],
+
+ }
+ },
+ created() {
+
+ },
+ mounted() {
+
+ },
+ methods: {
+ // 椤堕儴鍙冲浘鏍囩偣鍑�
+ onClickRight() {
+ this.overlayShow = true
+ },
+ // 椤堕儴鍙冲浘鏍囦笅鎷夐�夋嫨
+ onSelect(action) {
+ if (action.text === '鎿嶄綔鎸囧') {
+ topPopoverClick('鎿嶄綔鎸囧')
+ } else if (action.text === '鎴愬搧杩芥函') {
+ topPopoverClick('鎴愬搧杩芥函')
+ } else if (action.text === '閫�鍑虹櫥褰�') {
+ topPopoverClick('閫�鍑虹櫥褰�')
+ }
+ this.overlayShow = false
+ },
+ }
+ })
+ </script>
+ <style type="text/css">
+
+ .van-nav-bar__arrow {
+ color: #fff !important;
+ }
+
+ .van-nav-bar__content {
+ background-color: #2651d8;
+ height: 44px;
+ }
+
+ .van-nav-bar__title {
+ color: #fff;
+ letter-spacing: 2px;
+ }
+
+ .van-nav-bar__right {
+ padding: 0;
+ margin-right: 16px;
+ }
+ </style>
+
+</html>
diff --git a/unpackage/cache/wgt/H5EDA0853/css/global.css b/unpackage/cache/wgt/H5EDA0853/css/global.css
index 0f42896..afba783 100644
--- a/unpackage/cache/wgt/H5EDA0853/css/global.css
+++ b/unpackage/cache/wgt/H5EDA0853/css/global.css
@@ -26,6 +26,13 @@
}
+.topRight{
+ width:160px;min-height:60px;display: flex;flex-direction: column;padding: 10px;
+}
+.topRightItem{
+ display: flex;align-items: center;line-height: 20px;border-bottom: 1px solid #eee;
+}
+
.vanFieldInput {
height: 36px;
line-height: 36px;
@@ -90,10 +97,13 @@
}
.head_bar {
- width: 5px;
- height: 20px;
- background-color: red;
+/* width: 5px;
+ height: 20px; */
+ /* background-color: red; */
margin-left: 5px;
+ border-radius: 3px;
+ border:2px solid red;
+
}
.head_title {
diff --git a/unpackage/cache/wgt/H5EDA0853/pages/adgl/adhj.html b/unpackage/cache/wgt/H5EDA0853/pages/adgl/adhj.html
new file mode 100644
index 0000000..c0fdffe
--- /dev/null
+++ b/unpackage/cache/wgt/H5EDA0853/pages/adgl/adhj.html
@@ -0,0 +1,97 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
+ <meta name="HandheldFriendly" content="true" />
+ <meta name="MobileOptimized" content="320" />
+ <title>鏂板嚡杩埗閫犱簯骞冲彴</title>
+
+ <!-- 寮曞叆鏍峰紡鏂囦欢 -->
+ <link rel="stylesheet" href="../../css/vant.css" />
+ <!-- 寮曞叆 Vue 鍜� Vant 鐨� JS 鏂囦欢 -->
+ <script src="../../js/vue.min.js"></script>
+ <script src="../../js/vant.min.js"></script>
+
+ <script type="text/javascript" src="../../js/jquery-1.6.4.min.js"></script>
+ <script type="text/javascript" src="../../js/axios.min.js"></script>
+ <script type="text/javascript" src="../../js/http.js"></script>
+
+
+ <link rel="stylesheet" href="../css/global.css" type="text/css" charset="utf-8" />
+
+ </head>
+ <body>
+ <div id="app">
+
+ <div class="body">
+
+ <van-nav-bar title="瀹夌伅鍛煎彨" @click-right="onClickRight" left-arrow @click-left="onClickleft">
+ <template #right>
+ <van-popover style="" placement="bottom-end" :offset="[13,8]" v-model="showPopover"
+ trigger="click" :actions="actions" @select="onSelect">
+ <template #reference>
+ <van-icon name="bars" size='20' color='#fff' />
+ </template>
+ </van-popover>
+ </template>
+ </van-nav-bar>
+
+ </div>
+
+
+ <van-overlay :show="overlayShow" @click="overlayShow=false" />
+
+
+ </div>
+ </body>
+ <script>
+ var app = new Vue({
+ el: '#app',
+ data: function() {
+ return {
+ overlayShow: false,
+ showPopover: false,
+ actions: [{
+ icon: 'description',
+ text: '鎿嶄綔鎸囧'
+ }, {
+ icon: 'award-o',
+ text: '鎴愬搧杩芥函'
+ }, {
+ icon: 'revoke',
+ text: '閫�鍑虹櫥褰�'
+ }],
+
+ }
+ },
+ created() {
+
+ },
+ mounted() {
+
+ },
+ methods: {
+ onClickleft() {
+ history.back()
+ },
+ onClickRight() {
+ this.overlayShow = true
+ },
+ onSelect(action) {
+ if (action.text === '鎿嶄綔鎸囧') {
+ topPopoverClick('鎿嶄綔鎸囧')
+ } else if (action.text === '鎴愬搧杩芥函') {
+ topPopoverClick('鎴愬搧杩芥函')
+ } else if (action.text === '閫�鍑虹櫥褰�') {
+ topPopoverClick('閫�鍑虹櫥褰�')
+ }
+ this.overlayShow = false
+ },
+ }
+ })
+ </script>
+ <style type="text/css">
+ @import url('../../css/global.css');
+ </style>
+</html>
diff --git a/unpackage/cache/wgt/H5EDA0853/pages/adgl/adxy.html b/unpackage/cache/wgt/H5EDA0853/pages/adgl/adxy.html
new file mode 100644
index 0000000..c8f900d
--- /dev/null
+++ b/unpackage/cache/wgt/H5EDA0853/pages/adgl/adxy.html
@@ -0,0 +1,97 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
+ <meta name="HandheldFriendly" content="true" />
+ <meta name="MobileOptimized" content="320" />
+ <title>鏂板嚡杩埗閫犱簯骞冲彴</title>
+
+ <!-- 寮曞叆鏍峰紡鏂囦欢 -->
+ <link rel="stylesheet" href="../../css/vant.css" />
+ <!-- 寮曞叆 Vue 鍜� Vant 鐨� JS 鏂囦欢 -->
+ <script src="../../js/vue.min.js"></script>
+ <script src="../../js/vant.min.js"></script>
+
+ <script type="text/javascript" src="../../js/jquery-1.6.4.min.js"></script>
+ <script type="text/javascript" src="../../js/axios.min.js"></script>
+ <script type="text/javascript" src="../../js/http.js"></script>
+
+
+ <link rel="stylesheet" href="../css/global.css" type="text/css" charset="utf-8" />
+
+ </head>
+ <body>
+ <div id="app">
+
+ <div class="body">
+
+ <van-nav-bar title="瀹夌伅鍝嶅簲" @click-right="onClickRight" left-arrow @click-left="onClickleft">
+ <template #right>
+ <van-popover style="" placement="bottom-end" :offset="[13,8]" v-model="showPopover"
+ trigger="click" :actions="actions" @select="onSelect">
+ <template #reference>
+ <van-icon name="bars" size='20' color='#fff' />
+ </template>
+ </van-popover>
+ </template>
+ </van-nav-bar>
+
+ </div>
+
+
+ <van-overlay :show="overlayShow" @click="overlayShow=false" />
+
+
+ </div>
+ </body>
+ <script>
+ var app = new Vue({
+ el: '#app',
+ data: function() {
+ return {
+ overlayShow: false,
+ showPopover: false,
+ actions: [{
+ icon: 'description',
+ text: '鎿嶄綔鎸囧'
+ }, {
+ icon: 'award-o',
+ text: '鎴愬搧杩芥函'
+ }, {
+ icon: 'revoke',
+ text: '閫�鍑虹櫥褰�'
+ }],
+
+ }
+ },
+ created() {
+
+ },
+ mounted() {
+
+ },
+ methods: {
+ onClickleft() {
+ history.back()
+ },
+ onClickRight() {
+ this.overlayShow = true
+ },
+ onSelect(action) {
+ if (action.text === '鎿嶄綔鎸囧') {
+ topPopoverClick('鎿嶄綔鎸囧')
+ } else if (action.text === '鎴愬搧杩芥函') {
+ topPopoverClick('鎴愬搧杩芥函')
+ } else if (action.text === '閫�鍑虹櫥褰�') {
+ topPopoverClick('閫�鍑虹櫥褰�')
+ }
+ this.overlayShow = false
+ },
+ }
+ })
+ </script>
+ <style type="text/css">
+ @import url('../../css/global.css');
+ </style>
+</html>
diff --git a/unpackage/cache/wgt/H5EDA0853/pages/other/wdxx.html b/unpackage/cache/wgt/H5EDA0853/pages/other/wdxx.html
new file mode 100644
index 0000000..be7f653
--- /dev/null
+++ b/unpackage/cache/wgt/H5EDA0853/pages/other/wdxx.html
@@ -0,0 +1,206 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
+ <meta name="HandheldFriendly" content="true" />
+ <meta name="MobileOptimized" content="320" />
+ <title>鏂板嚡杩埗閫犱簯骞冲彴</title>
+
+ <!-- 寮曞叆鏍峰紡鏂囦欢 -->
+ <link rel="stylesheet" href="../../css/vant.css" />
+ <!-- 寮曞叆 Vue 鍜� Vant 鐨� JS 鏂囦欢 -->
+ <script src="../../js/vue.min.js"></script>
+ <script src="../../js/vant.min.js"></script>
+
+ <script type="text/javascript" src="../../js/jquery-1.6.4.min.js"></script>
+ <script type="text/javascript" src="../../js/axios.min.js"></script>
+ <script type="text/javascript" src="../../js/http.js"></script>
+
+ <script type="text/javascript" src="../../js/global.js"></script>
+ <link rel="stylesheet" href="../css/global.css" type="text/css" charset="utf-8" />
+
+ </head>
+ <body>
+ <div id="app">
+
+ <div class="body">
+
+ <van-sticky>
+ <van-nav-bar title="娑堟伅鍒楄〃" @click-right="onClickRight" left-arrow @click-left="onClickleft">
+ <template #right>
+ <van-popover style="" placement="bottom-end" :offset="[13,8]" v-model="showPopover"
+ trigger="click" :actions="actions" @select="onSelect">
+ <template #reference>
+ <van-icon name="bars" size='20' color='#fff' />
+ </template>
+ </van-popover>
+ </template>
+ </van-nav-bar>
+ </van-sticky>
+
+ <div class="head">
+ <div class="head_block">
+ <div class="head_left">
+ <div class="head_bar"></div>
+ <div class="head_title">
+ 娑堟伅鍒楄〃
+ </div>
+ </div>
+ </div>
+
+ <van-steps :active='messageArr.length' direction="vertical" center active-color='red'
+ style="margin-left: 5px;">
+ <van-step v-for='(item,index) in messageArr'>
+ <div slot="finish-icon">
+ <div class="messageIndex">{{index+1}}</div>
+ </div>
+ <div style="margin-left: 5px;">宸ヤ綅鍚嶇О锛歿{item.gwmc}}</div>
+ <div style="margin-left: 5px;">鐢熶骇杞﹂棿锛歿{item.sccj}}</div>
+ <div style="margin-left: 5px;">鍛煎彨绫诲瀷锛歿{item.hjlx}}</div>
+ <div style="margin-left: 5px;">鍙戣捣浜哄憳锛歿{item.fqry}}</div>
+ <div style="margin-left: 5px;">鍙戣捣鏃堕棿锛歿{item.fqsj}}</div>
+ </van-step>
+ </van-steps>
+ </div>
+
+
+ </div>
+
+
+ <van-overlay :show="overlayShow" @click="overlayShow=false" />
+
+
+ </div>
+ </body>
+ <script>
+ var app = new Vue({
+ el: '#app',
+ data: function() {
+ return {
+ overlayShow: false,
+ showPopover: false,
+ actions: [
+ // {
+ // icon: 'description',
+ // text: '鎿嶄綔鎸囧'
+ // }, {
+ // icon: 'award-o',
+ // text: '鎴愬搧杩芥函'
+ // },
+ {
+ icon: 'revoke',
+ text: '閫�鍑虹櫥褰�'
+ },
+ ],
+ messageArr: [{
+ gwmc: '鏈哄姞01宸ヤ綅',
+ sccj: '鏈哄姞杞﹂棿',
+ hjlx: '鍛煎彨璁惧',
+ fqry: '寮犱笁',
+ fqsj: '2022-10-10 11:12:12'
+ },
+ {
+ gwmc: '鏈哄姞01宸ヤ綅',
+ sccj: '鏈哄姞杞﹂棿',
+ hjlx: '鍛煎彨璁惧',
+ fqry: '寮犱笁',
+ fqsj: '2022-10-10 11:12:12'
+ },
+ {
+ gwmc: '鏈哄姞01宸ヤ綅',
+ sccj: '鏈哄姞杞﹂棿',
+ hjlx: '鍛煎彨璁惧',
+ fqry: '寮犱笁',
+ fqsj: '2022-10-10 11:12:12'
+ },
+ {
+ gwmc: '鏈哄姞01宸ヤ綅',
+ sccj: '鏈哄姞杞﹂棿',
+ hjlx: '鍛煎彨璁惧',
+ fqry: '寮犱笁',
+ fqsj: '2022-10-10 11:12:12'
+ },
+ {
+ gwmc: '鏈哄姞01宸ヤ綅',
+ sccj: '鏈哄姞杞﹂棿',
+ hjlx: '鍛煎彨璁惧',
+ fqry: '寮犱笁',
+ fqsj: '2022-10-10 11:12:12'
+ },
+ {
+ gwmc: '鏈哄姞01宸ヤ綅',
+ sccj: '鏈哄姞杞﹂棿',
+ hjlx: '鍛煎彨璁惧',
+ fqry: '寮犱笁',
+ fqsj: '2022-10-10 11:12:12'
+ },
+ {
+ gwmc: '鏈哄姞01宸ヤ綅',
+ sccj: '鏈哄姞杞﹂棿',
+ hjlx: '鍛煎彨璁惧',
+ fqry: '寮犱笁',
+ fqsj: '2022-10-10 11:12:12'
+ },
+ {
+ gwmc: '鏈哄姞01宸ヤ綅',
+ sccj: '鏈哄姞杞﹂棿',
+ hjlx: '鍛煎彨璁惧',
+ fqry: '寮犱笁',
+ fqsj: '2022-10-10 11:12:12'
+ },
+ {
+ gwmc: '鏈哄姞01宸ヤ綅',
+ sccj: '鏈哄姞杞﹂棿',
+ hjlx: '鍛煎彨璁惧',
+ fqry: '寮犱笁',
+ fqsj: '2022-10-10 11:12:12'
+ },
+
+ ]
+
+
+ }
+ },
+ created() {
+
+ },
+ mounted() {
+
+ },
+ methods: {
+ onClickleft() {
+ history.back()
+ },
+ onClickRight() {
+ this.overlayShow = true
+ },
+ onSelect(action) {
+ if (action.text === '鎿嶄綔鎸囧') {
+ topPopoverClick('鎿嶄綔鎸囧')
+ } else if (action.text === '鎴愬搧杩芥函') {
+ topPopoverClick('鎴愬搧杩芥函')
+ } else if (action.text === '閫�鍑虹櫥褰�') {
+ topPopoverClick('閫�鍑虹櫥褰�')
+ }
+ this.overlayShow = false
+ },
+ }
+ })
+ </script>
+ <style type="text/css">
+ @import url('../../css/global.css');
+
+ .messageIndex {
+ color: red;
+ width: 20px;
+ height: 20px;
+ border-radius: 50%;
+ background-color: #fff;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ border: 1px solid red;
+ }
+ </style>
+</html>
diff --git a/unpackage/cache/wgt/H5EDA0853/pages/test/template.html b/unpackage/cache/wgt/H5EDA0853/pages/test/template.html
new file mode 100644
index 0000000..a96872a
--- /dev/null
+++ b/unpackage/cache/wgt/H5EDA0853/pages/test/template.html
@@ -0,0 +1,97 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
+ <meta name="HandheldFriendly" content="true" />
+ <meta name="MobileOptimized" content="320" />
+ <title>鏂板嚡杩埗閫犱簯骞冲彴</title>
+
+ <!-- 寮曞叆鏍峰紡鏂囦欢 -->
+ <link rel="stylesheet" href="../../css/vant.css" />
+ <!-- 寮曞叆 Vue 鍜� Vant 鐨� JS 鏂囦欢 -->
+ <script src="../../js/vue.min.js"></script>
+ <script src="../../js/vant.min.js"></script>
+
+ <script type="text/javascript" src="../../js/jquery-1.6.4.min.js"></script>
+ <script type="text/javascript" src="../../js/axios.min.js"></script>
+ <script type="text/javascript" src="../../js/http.js"></script>
+
+
+ <link rel="stylesheet" href="../css/global.css" type="text/css" charset="utf-8" />
+
+ </head>
+ <body>
+ <div id="app">
+
+ <div class="body">
+
+ <van-nav-bar title="" @click-right="onClickRight" left-arrow @click-left="onClickleft">
+ <template #right>
+ <van-popover style="" placement="bottom-end" :offset="[13,8]" v-model="showPopover"
+ trigger="click" :actions="actions" @select="onSelect">
+ <template #reference>
+ <van-icon name="bars" size='20' color='#fff' />
+ </template>
+ </van-popover>
+ </template>
+ </van-nav-bar>
+
+ </div>
+
+
+ <van-overlay :show="overlayShow" @click="overlayShow=false" />
+
+
+ </div>
+ </body>
+ <script>
+ var app = new Vue({
+ el: '#app',
+ data: function() {
+ return {
+ overlayShow: false,
+ showPopover: false,
+ actions: [{
+ icon: 'description',
+ text: '鎿嶄綔鎸囧'
+ }, {
+ icon: 'award-o',
+ text: '鎴愬搧杩芥函'
+ }, {
+ icon: 'revoke',
+ text: '閫�鍑虹櫥褰�'
+ }],
+
+ }
+ },
+ created() {
+
+ },
+ mounted() {
+
+ },
+ methods: {
+ onClickleft() {
+ history.back()
+ },
+ onClickRight() {
+ this.overlayShow = true
+ },
+ onSelect(action) {
+ if (action.text === '鎿嶄綔鎸囧') {
+ topPopoverClick('鎿嶄綔鎸囧')
+ } else if (action.text === '鎴愬搧杩芥函') {
+ topPopoverClick('鎴愬搧杩芥函')
+ } else if (action.text === '閫�鍑虹櫥褰�') {
+ topPopoverClick('閫�鍑虹櫥褰�')
+ }
+ this.overlayShow = false
+ },
+ }
+ })
+ </script>
+ <style type="text/css">
+ @import url('../../css/global.css');
+ </style>
+</html>
diff --git a/unpackage/cache/wgt/H5EDA0853/pages/xtsy/index.html b/unpackage/cache/wgt/H5EDA0853/pages/xtsy/index.html
index 305a9be..677e88d 100644
--- a/unpackage/cache/wgt/H5EDA0853/pages/xtsy/index.html
+++ b/unpackage/cache/wgt/H5EDA0853/pages/xtsy/index.html
@@ -21,22 +21,62 @@
<script type="text/javascript" src="../../js/global.js"></script>
+ <script type="text/javascript" src="../../js/global.css"></script>
+
</head>
<body>
<div id="app">
<div class="body">
- <van-nav-bar title="宸ヤ綔鍙�" @click-right="onClickRight">
+ <!-- <object data="../../components/my_van_nav_bar.html" title='鎴�' width="100%" height="44"></object> -->
+
+ <!-- <van-nav-bar title="宸ヤ綔鍙�" @click-right="onClickRight">
<template #right>
<van-popover placement="bottom-end" :offset="[13,8]" v-model="showPopover" trigger="click"
:actions="actions" @select="onSelect">
<template #reference>
- <van-icon name="bars" size='20' color='#fff' />
+ <van-badge :content="10" max='99'>
+ <van-icon name="bars" size='20' color='#fff' />
+ </van-badge>
+ </template>
+ </van-popover>
+ </template>
+ </van-nav-bar> -->
+
+
+ <van-nav-bar title="宸ヤ綔鍙�" @click-right="onClickRight">
+ <template #right>
+ <van-popover placement="bottom-end" :offset="[13,8]" v-model="showPopover" trigger="click">
+
+ <div class="topRight">
+ <div class="topRightItem" @click="myMessageClick">
+ <div>
+ <van-icon name="comment-o"
+ :badge="messageNumber!==0?(messageNumber>9?'9+':messageNumber):false"
+ size="1.28rem" style="margin-right: 8px;margin-top: 18px;" />
+ </div>
+ <div style="font-size: 14px;border-bottom: 1px solid #eee;">鎴戠殑娑堟伅</div>
+ </div>
+ <div class="topRightItem" @click="topPopoverClick('閫�鍑虹櫥褰�')">
+ <div>
+ <van-icon name="revoke" style="margin-right: 8px;" />
+ </div>
+ <div style="font-size: 14px;">閫�鍑虹櫥褰�</div>
+ </div>
+ </div>
+
+ <template #reference>
+ <van-badge :content="messageNumber" max='9' v-if='messageNumber!==0'>
+ <van-icon name="bars" size='20' color='#fff' />
+ </van-badge>
+ <van-icon v-else name="bars" size='20' color='#fff' />
</template>
</van-popover>
</template>
</van-nav-bar>
+
+
<van-swipe :autoplay="3000">
<van-swipe-item v-for="(image, index) in images" :key="index">
@@ -84,19 +124,24 @@
overlayShow: false,
showPopover: false,
actions: [{
- icon: 'description',
- text: '鎿嶄綔鎸囧'
- }, {
- icon: 'award-o',
- text: '鎴愬搧杩芥函'
- }, {
- icon: 'revoke',
- text: '閫�鍑虹櫥褰�'
- }],
+ icon: 'comment-o',
+ text: '瀹夌伅鍝嶅簲'
+ },
+ {
+ icon: 'description',
+ text: '鎿嶄綔鎸囧'
+ }, {
+ icon: 'award-o',
+ text: '鎴愬搧杩芥函'
+ }, {
+ icon: 'revoke',
+ text: '閫�鍑虹櫥褰�'
+ }
+ ],
firstMenu: [], //涓�绾ц彍鍗�
firstMenuName: '',
secondMenu: [], //浜岀骇鑿滃崟
-
+ messageNumber: 0, //鎴戠殑娑堟伅鏁板��
}
},
created() {
@@ -104,8 +149,23 @@
},
mounted() {
this.getfirstMenu()
+ this.getLoginAppAnDonMessage()
},
methods: {
+ // 鑾峰彇娑堟伅鎺ュ彛
+ async getLoginAppAnDonMessage(){
+ const data={
+ userid:localStorage.getItem('userid'),
+ usercode:localStorage.getItem('usercode'),
+ username:localStorage.getItem('username'),
+ usertype:localStorage.getItem('usertype'),
+ }
+
+ const res=await post('Login/LoginAppAnDonMessage'+formatParams(data))
+ this.messageNumber=res.data.length
+ // this.messageNumber=9
+ },
+
// 鑾峰彇涓�绾ц彍鍗�
async getfirstMenu() {
const data = {
@@ -143,6 +203,12 @@
case '2044':
url = '../sbgl/wxyz.html'
break;
+ case '2090':
+ url = '../adgl/adhj.html'
+ break;
+ case '2091':
+ url = '../adgl/adxy.html'
+ break;
}
window.location = url
},
@@ -151,16 +217,19 @@
this.overlayShow = true
},
// 椤堕儴鍙冲浘鏍囦笅鎷夐�夋嫨
- onSelect(action) {
- if (action.text === '鎿嶄綔鎸囧') {
- topPopoverClick('鎿嶄綔鎸囧')
- } else if (action.text === '鎴愬搧杩芥函') {
- topPopoverClick('鎴愬搧杩芥函')
- } else if (action.text === '閫�鍑虹櫥褰�') {
- topPopoverClick('閫�鍑虹櫥褰�')
- }
- this.overlayShow = false
- },
+ // onSelect(action) {
+ // if (action.text === '鎿嶄綔鎸囧') {
+ // topPopoverClick('鎿嶄綔鎸囧')
+ // } else if (action.text === '鎴愬搧杩芥函') {
+ // topPopoverClick('鎴愬搧杩芥函')
+ // } else if (action.text === '閫�鍑虹櫥褰�') {
+ // topPopoverClick('閫�鍑虹櫥褰�')
+ // }
+ // this.overlayShow = false
+ // },
+ myMessageClick() {
+ window.location = '../other/wdxx.html'
+ }
}
})
</script>
@@ -191,5 +260,22 @@
padding: 0;
margin-right: 16px;
}
+
+ .topRight {
+ width: 128px;
+ min-height: 40px;
+ display: flex;
+ flex-direction: column;
+ /* padding: 10px; */
+ }
+
+ .topRightItem {
+ display: flex;
+ height: 44px;
+ align-items: center;
+ line-height: 44px;
+ /* border-bottom: 1px dotted #000; */
+ padding: 0 16px;
+ }
</style>
</html>
diff --git a/unpackage/release/apk/H5EDA0853__20221010164720.apk b/unpackage/release/apk/H5EDA0853__20221010164720.apk
deleted file mode 100644
index 680a5cf..0000000
--- a/unpackage/release/apk/H5EDA0853__20221010164720.apk
+++ /dev/null
Binary files differ
--
Gitblit v1.9.3