派生自 wuyushui/SewerAndRainNetwork

chenzeping
2021-03-29 cf3885ebe41f432073f4ef0ce06428c67e6ea6ed
弹出框修改
3个文件已修改
114 ■■■■■ 已修改文件
src/components/BaseNav/PublicBounced/PublicBounced.vue 67 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/BaseNav/SolidWaste/SolidWaste.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/BaseNav/WireSurface/index.js 45 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/BaseNav/PublicBounced/PublicBounced.vue
@@ -1,8 +1,11 @@
<template>
  <div class="public-bounced" v-show="flag">
    <div class="popup_title">{{ displayContent.Name }}</div>
    <div class="popup_bottom">
      <button @click="closePopup">确定</button>
    <div class="public-bounced-title">
      <span>{{ displayContent.Name }}</span>
      <i class="el-icon-circle-close" @click="closePopup"></i>
    </div>
    <div class="public-bounced-content">
      <span>内容</span>
    </div>
  </div>
</template>
@@ -29,52 +32,38 @@
}
</script>
<style scoped>
<style lang="less" scoped>
.public-bounced {
  width: 80%;
  z-index: 499;
  height: 450px;
  z-index: 999;
  position: absolute;
  top: 15%;
  top: 25%;
  left: 10%;
  background-color: rgba(128, 128, 128, 0.507);
  padding: 1%;
  border-radius: 20px;
  margin: 10% auto;
}
  background-color: #002432;
  margin: 1% auto;
  border: 1px #a5bfd8 solid;
.popup_title {
  text-align: center;
  font-weight: 600;
  font-size: 30px;
}
.popup_center {
  padding: 10%;
  font-size: 20px;
}
.popup_bottom {
  .public-bounced-title {
    width: 100%;
    border: 1px #a4c0d8 solid;
  display: flex;
  justify-content: space-around;
    align-items: center;
    justify-content: space-between;
    padding: 5px 0;
    span {
      color: #f4f7ff;
      margin: 0 15px;
      font-size: 14px;
}
button {
  width: 25%;
  height: 20%;
  padding: 2%;
  border: 1px solid gray;
  border-radius: 10px;
}
button:nth-child(1) {
  background-color: orangered;
    i {
  color: white;
  font-size: 20px;
      margin: 0 15px;
      font-size: 22px;
    }
}
button:nth-child(2) {
  background-color: gray;
  color: black;
  font-size: 20px;
}
</style>
src/components/BaseNav/SolidWaste/SolidWaste.js
@@ -18,7 +18,7 @@
  // 请求数据 data 为参数, 请求后台数据时 携带data参数
  requestData (data) {
    QueryStoragePlaceListByCompanyAndName(data).then(res => {
      console.log(res)
      // console.log(res)
      this.DrawTheSolidWasteContent(res.Result.DataInfo)
    }).catch(err => {
      console.log(err)
src/components/BaseNav/WireSurface/index.js
@@ -1,23 +1,22 @@
// 引入用于处理接口数据获取的方法
import { getDataInitWireSurface } from '@src/api/request'
class initWireSurface {
  constructor (options) {
    this.map = options.map
    this.L = window.L
    this.initWireSurfaceMap = new Map()
    this.initWireSurfacePopup = this.L.layerGroup().addTo(this.map)
  }
  // 获取页面线/面数据
  getDataInitWireSurface () {
    getDataInitWireSurface().then(res => {
      console.log(res)
    }).catch(error => {
      console.log(error)
    })
  }
}
export default initWireSurface
// // 引入用于处理接口数据获取的方法
// import {} from '@src/api/request'
//
// class initWireSurface {
//   constructor (options) {
//     this.map = options.map
//     this.L = window.L
//     this.initWireSurfaceMap = new Map()
//     this.initWireSurfacePopup = this.L.layerGroup().addTo(this.map)
//   }
//
//   // 获取页面线/面数据
//   getDataInitWireSurface () {
//     ().then(res => {
//       console.log(res)
//     }).catch(error => {
//       console.log(error)
//     })
//   }
// }
//
// export default initWireSurface