Browse Source

土地收储和报建项目下拉位置

maxiaoxiao 11 months ago
parent
commit
25e086abda
2 changed files with 14 additions and 11 deletions
  1. 7 6
      src/views/cockpit/bjxm.vue
  2. 7 5
      src/views/cockpit/tdsc.vue

+ 7 - 6
src/views/cockpit/bjxm.vue

@@ -3,13 +3,13 @@
     <div class="title">
     <div class="title">
       <div class="icon"></div>
       <div class="icon"></div>
       <span>报建项目</span>
       <span>报建项目</span>
-    </div>
-    <div class="selectTab">
+      <div class="selectTab">
           <el-select v-model="left_value" placeholder="请选择" :popper-append-to-body="false" @change="changeChartsLeft">
           <el-select v-model="left_value" placeholder="请选择" :popper-append-to-body="false" @change="changeChartsLeft">
             <el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value">
             <el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value">
             </el-option>
             </el-option>
           </el-select>
           </el-select>
         </div>
         </div>
+    </div>
     <div class="content">
     <div class="content">
       <div class="item">
       <div class="item">
         <div class="icon">
         <div class="icon">
@@ -405,7 +405,7 @@ export default {
 
 
 .title {
 .title {
   border-width: 0px;
   border-width: 0px;
-  width: 111%;
+  width: 100%;
   height: 40px;
   height: 40px;
   // font-family: 'Arial Negreta', 'Arial Normal', 'Arial';
   // font-family: 'Arial Negreta', 'Arial Normal', 'Arial';
   // font-weight: 700;
   // font-weight: 700;
@@ -414,6 +414,7 @@ export default {
   // padding: 2%;
   // padding: 2%;
   background: no-repeat;
   background: no-repeat;
   background-image: url("/static/images/overview/titlebox.gif");
   background-image: url("/static/images/overview/titlebox.gif");
+  position: relative;
 
 
   // .icon {
   // .icon {
   //   background: no-repeat;
   //   background: no-repeat;
@@ -436,9 +437,9 @@ export default {
 }
 }
 
 
 .selectTab {
 .selectTab {
-  position: fixed;
-  left: 48rem;
-  bottom: 16rem;
+  position: absolute;
+    right: 0;
+    bottom: 6px;
   z-index: 100;
   z-index: 100;
       /deep/ .el-input__inner {
       /deep/ .el-input__inner {
         // padding-right: 30px;
         // padding-right: 30px;

+ 7 - 5
src/views/cockpit/tdsc.vue

@@ -3,13 +3,14 @@
     <div class="title">
     <div class="title">
       <div class="icon"></div>
       <div class="icon"></div>
       <span>土地收储</span>
       <span>土地收储</span>
-    </div>
-    <div class="selectTab">
+      <div class="selectTab">
       <el-select v-model="tab" placeholder="请选择" :popper-append-to-body="false" @change="change_model">
       <el-select v-model="tab" placeholder="请选择" :popper-append-to-body="false" @change="change_model">
         <el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value">
         <el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value">
         </el-option>
         </el-option>
       </el-select>
       </el-select>
     </div>
     </div>
+    </div>
+   
 
 
     <div v-show="tab == options[1].value">
     <div v-show="tab == options[1].value">
       <div id="scje_echart"></div>
       <div id="scje_echart"></div>
@@ -473,6 +474,7 @@ export default {
   // padding: 2%;
   // padding: 2%;
   background: no-repeat;
   background: no-repeat;
   background-image: url("/static/images/overview/titlebox.gif");
   background-image: url("/static/images/overview/titlebox.gif");
+  position: relative;
 
 
 
 
   span {
   span {
@@ -487,9 +489,9 @@ export default {
 
 
 
 
 .selectTab {
 .selectTab {
-  position: fixed;
-  left: 19rem;
-  bottom: 28rem;
+  position: absolute;
+    right: 0;
+    bottom: 6px;
 
 
   /deep/ .el-input__inner {
   /deep/ .el-input__inner {
     // padding-right: 30px;
     // padding-right: 30px;