Browse Source

新增跳转

zhbyyy 2 years ago
parent
commit
e8b429c09f

BIN
cokingCoal/images/gold.png


File diff suppressed because it is too large
+ 64 - 1
cokingCoal/js/cokingCoalB.js


+ 1 - 1
cokingCoal/styles/cokingCoalB.css

@@ -156,7 +156,7 @@ a {
   height: calc(100% - 50px);
 }
 .loopBack {
-  background: url('../images/loop.png') no-repeat center;
+  background: url('../images/gold.png') no-repeat center;
   background-size: 60% auto;
 }
 .center {

BIN
investment/images3/back.png


+ 10 - 12
investment/investHomeChild.html

@@ -8,7 +8,7 @@
   <!-- 引入样式 -->
   <link rel="stylesheet" href="./styles/element-ui@2.15.9.css" />
   <link rel="stylesheet" href="./styles/normalize.css" />
-  <link rel="stylesheet" href="./styles/investHome.css" />
+  <link rel="stylesheet" href="./styles/investHomeChild.css" />
   <!-- 引入js -->
   <script src="./libs/vue@2.7.10.js"></script>
   <script src="./libs/datav.min.js"></script>
@@ -22,18 +22,16 @@
 
 <body>
   <div id="app">
-    <!-- <dv-full-screen-container> -->
-    <header class="my-header">
-      <span>投资管理数智中心</span>
-      <span class="right">{{time}}</span>
-    </header>
-    <div class="main"></div>
-    <!-- <div class="footer">
-          <a class="item" v-for="(item,index) in companyList" :key="index">{{item.name}}</a>
-        </div> -->
-    <!-- </dv-full-screen-container> -->
+    <dv-full-screen-container>
+      <img src="./images3/back.png" alt="" class="goBack" @click="handleGoBack()">
+      <header class="my-header">
+        <span>投资管理数智中心</span>
+        <span class="right">{{time}}</span>
+      </header>
+      <dv-scroll-board :config="config5" style="width:100%;height:100%" />
+    </dv-full-screen-container>
   </div>
-  <script src="./js/investHome.js"></script>
+  <script src="./js/investHomeChild.js"></script>
 </body>
 
 </html>

+ 2 - 2
investment/js/investHome3.js

@@ -197,9 +197,9 @@ let app = new Vue({
         },
         tooltip: {
           trigger: 'item',
-          position: [10, 10]
+          position: [10, 10],
+          extraCssText: 'width:130px;height:30px;',
         },
-        extraCssText: 'width:160px;height:40px;background:red;',
         color: ['#6682f5', '#40A9FF'],
         legend: {
           // icon: 'circle',

+ 64 - 0
investment/js/investHomeChild.js

@@ -0,0 +1,64 @@
+let app = new Vue({
+  el: '#app',
+  data () {
+    return {
+      time: '',
+      timer: '',
+      config5: {
+        rowNum: 9,
+        waitTime: 2000,
+        header: ["项目名称", "所属组织", '实施主体', '建设性质(新建/续建)', '产业类别', '建设地点', '2022年投资完成额(亿)'],
+        data: [
+          ["青银二广高速公路太原联络线建设PPP项目", "交控集团", "山西路桥建设集团有限公司", "新建", "交通运输业", "山西省太原市、晋中市", "14.81"],
+          ["国道241、省道岚马线汾河水库段改线工程", "交控集团", "太原国省道汾河水库段建设管理有限公司", "续建", "交通运输业", "山西省 太原市、吕梁市", "16.53"],
+          ["路桥科技中心", "交控集团", "山西路桥集团多经营有限公司", "续建", "建筑房地产", "山西省太原市", "0.81"],
+          ["路桥科研基地", "交控集团", "山西路桥集团多经有限公司", "续建", "建筑房地产", "山西省太原市", "0.66"],
+          ["武宿高速充电站建设", "交控集团", "山西交通运输投融资集团有限责任公司", "新建", "新能源产业", "山西省太原市", "0.01"],
+          ["山西交通研创商务基地项目", "交控集团", "山西交通物流集团有限公司", "续建", "建筑房地产", "山西省太原市", "0.41"],
+          ["山西省交通科学研究院产业化基地", "交控集团", "山西省交通科技研发有限公司", "续建", "建筑房地产", "山西省太原市武洛街27号", "0.32"],
+          ["太长高速公路太原南收费站(二期工程暨龙城服务区)项目", "交控集团", "山西省交通开发投资集团有限公司龙城服务区发展分公司", "续建", "建筑房地产", "山西省太原市", "0.36"],
+          ["山西转型综改示范区中小企业产业园项目", "交控集团", "山西交投综改园区开发有限公司", "续建", "建筑房地产", "山西省太原市", "1.44"]
+        ],
+        align: ["center", "center", "center", "center", "center", "center", "center"],
+        headerBGC: "#153A62",
+        oddRowBGC: "#061F42",
+        evenRowBGC: "#0C284A",
+      },
+    }
+  },
+  created () {
+    this.time = formatDate()
+    this.timer = setInterval(() => {
+      this.time = formatDate()
+    }, 1000)
+  },
+  beforeDestroy () {
+    if (this.timer) {
+      clearInterval(this.timer);
+    }
+  },
+  mounted () {
+    this.getUrlParams()
+  },
+  methods: {
+    handleGoBack () {
+      window.history.go(-1)
+    },
+    getUrlParams () {
+      console.log(window.location.href)
+      let url = 'http://www.baidu.com?name=张三&age=25&sex=男&wife=小红'
+      // 通过 ? 分割获取后面的参数字符串
+      let urlStr = url.split('?')[1]
+      // 创建空对象存储参数
+      let obj = {};
+      // 再通过 & 将每一个参数单独分割出来
+      let paramsArr = urlStr.split('&')
+      for (let i = 0, len = paramsArr.length; i < len; i++) {
+        // 再通过 = 将每一个参数分割为 key:value 的形式
+        let arr = paramsArr[i].split('=')
+        obj[arr[0]] = arr[1];
+      }
+      console.log(obj)
+    }
+  },
+})

+ 496 - 0
investment/styles/investHomeChild.css

@@ -0,0 +1,496 @@
+*,
+*:before,
+*:after {
+  padding: 0;
+  margin: 0;
+  box-sizing: border-box;
+}
+html,
+body {
+  height: 100%;
+  font-size: 14px;
+  background-color: #ecffff;
+  font-family: 'Microsoft YaHei', 'Helvetica Neue', Helvetica, 'PingFang SC',
+    'Hiragino Sans GB', Arial, sans-serif;
+}
+
+.flex {
+  display: flex;
+}
+.flex1 {
+  flex: 1;
+}
+.flex2 {
+  flex: 2;
+}
+.flex-around {
+  display: flex;
+  justify-content: space-around;
+}
+.flex-between {
+  display: flex;
+  justify-content: space-between;
+  align-items: center;
+}
+.flex-end {
+  display: flex;
+  justify-content: flex-end;
+}
+.flex-align-center {
+  display: flex;
+  align-items: center;
+}
+.text-center {
+  text-align: center;
+}
+.font12 {
+  font-size: 12px;
+}
+.main-color {
+  color: #40a9ff;
+}
+.danger-color {
+  color: #f15450 !important;
+}
+.error-color {
+  color: #ffc704 !important;
+}
+.btm10 {
+  margin-bottom: 10px;
+}
+.btm20 {
+  margin-bottom: 20px;
+}
+a {
+  text-decoration: none;
+  cursor: pointer;
+}
+
+[v-cloak] {
+  display: none;
+}
+#app {
+  background: url('../images/page-bg.png') center center no-repeat;
+  background-size: 100% 100%;
+  padding-top: 10px;
+  height: 100vh;
+  overflow: hidden;
+  color: #fff;
+}
+.my-header {
+  position: relative;
+  height: 70px;
+  line-height: 70px;
+  background: url('../images/header-bg.png') center center no-repeat;
+  background-size: 100% 100%;
+  text-align: center;
+  font-weight: bold;
+  font-size: 32px;
+  font-weight: 600;
+}
+.my-header span {
+  background: linear-gradient(-3deg, #99eeff 0%, #99eeff 30%, #ffffff 91%);
+  -webkit-background-clip: text;
+  -webkit-text-fill-color: transparent;
+}
+.my-header span.right {
+  position: absolute;
+  right: 60px;
+  top: 0px;
+  font-size: 16px;
+}
+.main {
+  padding: 15px;
+  display: flex;
+  height: calc(100vh - 25px);
+  background: url('../images/content-bg.png') no-repeat center bottom;
+  background-size: 100% 100%;
+  display: flex;
+  padding-bottom: 65px;
+  position: relative;
+}
+.left,
+.right {
+  flex: 3;
+  display: flex;
+  flex-direction: column;
+}
+.left .my-panel,
+.right .my-panel {
+  background-color: #0050943f;
+  height: 100%;
+  overflow: hidden;
+}
+.dv-border-box-8 {
+  margin-bottom: 10px;
+}
+.center {
+  flex: 4;
+}
+.center .top {
+  display: flex;
+  justify-content: space-between;
+}
+.center .top .box {
+  flex: 1;
+  margin: 0 10px;
+  display: flex;
+  flex-direction: column;
+  align-items: center;
+  color: #40a9ff;
+}
+.t {
+  padding: 15px 0;
+  display: flex;
+  align-items: center;
+  font-size: 20px;
+  font-weight: 600;
+  background-color: rgba(59, 211, 255, 0.05);
+}
+.t {
+  padding: 15px 0;
+  display: flex;
+  align-items: center;
+  justify-content: center;
+  background-color: rgba(59, 211, 255, 0.26);
+}
+.b {
+  padding: 15px 0;
+  display: flex;
+  align-items: center;
+  justify-content: space-around;
+  background-color: rgba(59, 211, 255, 0.16);
+  padding: 15px 0;
+}
+.b span {
+  color: #40a9ff;
+  font-size: 34px;
+  font-weight: 900;
+}
+.t img {
+  margin-right: 10px;
+}
+.box > div {
+  width: 100%;
+}
+.box > img {
+  width: 40px;
+}
+.box > div p {
+  font-size: 16px;
+  color: #e1e3ef;
+}
+.box > div span {
+  display: inline-block;
+  font-size: 28px;
+  margin-right: 5px;
+  font-weight: 600;
+  margin-top: 5px;
+}
+.footer {
+  position: fixed;
+  bottom: 0;
+  padding: 10px;
+  display: flex;
+  background-color: rgba(0, 0, 0, 0.5);
+  width: 100%;
+}
+.footer a {
+  flex: 1;
+  height: 40px;
+  line-height: 40px;
+  text-align: center;
+  color: #fff;
+  background: url('../images/footer-item.png') no-repeat;
+  background-size: 100% 100%;
+}
+.footer a:hover {
+  background: url('../images/footer-item-checked.png') no-repeat;
+  background-size: 100% 100%;
+}
+.my-panel .content {
+  height: calc(28vh - 60px);
+}
+.panel-title {
+  position: relative;
+  text-align: center;
+  height: 50px;
+  line-height: 50px;
+}
+.panel-title .text {
+  font-size: 20px;
+  font-weight: 600;
+  color: #05fbfe;
+  text-shadow: 0px 2px 10px rgba(10, 30, 52, 0.48);
+  background: linear-gradient(0deg, #ffffff 0%, #63dcff 0%, #e0f3ff 100%);
+  -webkit-background-clip: text;
+  -webkit-text-fill-color: transparent;
+  position: relative;
+}
+.panel-title .text::before {
+  position: absolute;
+  content: ' ';
+  top: 10px;
+  left: -40px;
+  width: 30px;
+  height: 10px;
+  background: url('../images/title-left.png') no-repeat;
+}
+.panel-title .text::after {
+  position: absolute;
+  content: ' ';
+  top: 10px;
+  right: -40px;
+  width: 30px;
+  height: 10px;
+  background: url('../images/title-right.png') no-repeat;
+}
+.panel-title .right-opr {
+  position: absolute;
+  right: 0;
+  width: 80px;
+}
+.boxs {
+  display: flex;
+  flex-wrap: wrap;
+  padding: 10px;
+  color: #40a9ff;
+}
+.boxs > div {
+  flex: 0 0 50%;
+  background: url('../images/left1-bg.png') no-repeat center;
+  background-size: 106% 124%;
+  padding: 20px 30px;
+}
+.boxs > div > p {
+  display: flex;
+  justify-content: space-between;
+  align-items: flex-end;
+}
+.boxs > div > p:nth-child(2) {
+  margin-top: 10px;
+}
+.boxs .name {
+  color: #f3f3f3;
+}
+.boxs .change {
+  color: #32edaa;
+}
+.boxs .change.up {
+  color: #ed3248;
+}
+.boxs .num {
+  font-size: 24px;
+  font-weight: 600;
+  margin-right: 5px;
+}
+.boxs .el-icon-more {
+  font-size: 25px;
+}
+
+.list {
+  padding: 15px;
+}
+.list .list-item {
+  display: flex;
+  margin-bottom: 15px;
+}
+.list .list-item i {
+  padding: 8px 10px;
+  color: #40a9ff;
+  border: 1px solid #40a9ff;
+  border-radius: 8px;
+  margin-right: 15px;
+}
+.list-item .value {
+  align-self: end;
+  margin-left: 10px;
+}
+.list-item .flex1 p {
+  margin-bottom: 10px;
+}
+.el-progress-bar__outer {
+  background-color: #005094;
+}
+.tooltip-cont {
+  margin: -15px;
+  border: 1px solid #3699ff;
+  border-radius: 8px;
+  padding: 15px;
+  background-color: rgb(39 122 145 / 0.36);
+}
+.tooltip-cont p {
+  line-height: 1.8;
+  color: #f3f3f3;
+  position: relative;
+  padding-left: 12px;
+}
+.tooltip-cont p::before {
+  position: absolute;
+  display: inline-block;
+  content: '';
+  left: 0px;
+  top: 10px;
+  width: 5px;
+  height: 5px;
+  border-radius: 50%;
+  background-color: #40a9ff;
+}
+.tooltip-cont span {
+  color: #69c0ff;
+}
+.right-date {
+  position: absolute;
+  right: 15px;
+  width: 85px;
+}
+.date-popper {
+  background-color: #20414b;
+  border: 1px solid #3699ff;
+  border-radius: 8px;
+}
+.el-popper[x-placement^='bottom'] .popper__arrow {
+  border-bottom-color: #3699ff;
+}
+.el-popper[x-placement^='bottom'] .popper__arrow::after {
+  border-bottom-color: #20414b;
+}
+.date-popper .el-date-picker__header-label {
+  color: #d6cfcf;
+}
+.el-picker-panel__icon-btn {
+  color: #fff;
+}
+.date-popper .el-year-table td {
+  padding: 10px 3px;
+}
+.date-popper .el-year-table td .cell {
+  color: #d6cfcf;
+}
+.right-date .el-date-editor--year {
+  width: 100%;
+}
+.right-date .el-date-editor--year .el-input__inner {
+  background: rgba(0, 80, 148, 0.3);
+  border: 1px solid #21c1ff;
+  border-radius: 4px 12px 4px 4px;
+  color: #fff;
+  padding: 0 15px;
+}
+.right-date .el-date-editor--year .el-input__prefix {
+  left: auto;
+  right: 5px;
+  color: #40a9ff;
+}
+.el-progress__text {
+  color: #fff;
+}
+.map-box {
+  height: 100%;
+  position: relative;
+  padding: 30px 0;
+}
+.status {
+  position: absolute;
+  bottom: 20px;
+  left: 15px;
+  background-color: rgba(3, 10, 12, 0.46);
+  border: 1px solid #afadad;
+}
+.status p {
+  background-color: rgb(39 122 145 / 0.56);
+  line-height: 35px;
+  text-align: center;
+  font-size: 16px;
+  color: #40a9ff;
+}
+.status li {
+  line-height: 25px;
+  padding-right: 15px;
+}
+.status i {
+  font-size: 16px;
+  font-weight: 600;
+  color: #40a9ff;
+}
+.dv-scroll-board .header {
+  font-weight: 600 !important;
+  color: #2abbff;
+}
+.warp {
+  height: 190px;
+  overflow: hidden;
+}
+
+.tip-window {
+  margin-right: 50px;
+  margin-top: 10px;
+  color: #69c0ff;
+  display: inline-block;
+  width: 142px;
+  height: 50px;
+  line-height: 50px;
+  text-align: center;
+  background-color: rgba(64, 169, 255, 0.12);
+  border: 2px solid #40a9ff;
+  border-radius: 8px;
+  cursor: pointer;
+}
+.tip {
+  /* position: fixed;
+  background-color: rgba(0, 0, 0, 0.5);
+  width: 100%;
+  height: 100%;
+  top: 0;
+  left: 0; */
+}
+.tip-box {
+  z-index: 9;
+  position: fixed;
+  /* top: 35%;
+  left: 32.5%; */
+  /* width: 35%;
+  height: 30%; */
+  width: 900px;
+  height: 56vh;
+  top: calc(50% - 26vh);
+  left: calc(50% - 450px);
+  background: url('../images/alert.png') no-repeat center;
+  /* background-color: #133b65; */
+  background-size: 100% 100%;
+  padding: 100px 60px 50px;
+}
+.tip-box > div {
+  font-size: 42px;
+  line-height: 70px;
+}
+.tip-content {
+  height: 56vh;
+  overflow: auto;
+  padding-right: 15px;
+  margin-top: 2%;
+}
+.tip-content .content {
+  height: calc(56vh - 60px);
+  width: 400px;
+}
+div::-webkit-scrollbar {
+  width: 4px;
+}
+div::-webkit-scrollbar-thumb {
+  border-radius: 10px;
+  background: rgba(64, 169, 255, 0.6);
+}
+div::-webkit-scrollbar-track {
+  border-radius: 0;
+  background: rgba(64, 169, 255, 0.3);
+}
+.goBack {
+  width: 40px;
+  height: 40px;
+  position: absolute;
+  top: 10px;
+  left: 70px;
+  z-index: 999;
+  cursor: pointer;
+}

+ 3 - 0
manpower/.vscode/settings.json

@@ -0,0 +1,3 @@
+{
+  "liveServer.settings.port": 5501
+}

Some files were not shown because too many files changed in this diff