guhongwei 5 years ago
parent
commit
6ce2c867be
1 changed files with 19 additions and 15 deletions
  1. 19 15
      src/views/dynamic/index.vue

+ 19 - 15
src/views/dynamic/index.vue

@@ -9,10 +9,6 @@
             </el-col>
             <el-col :span="24" class="dataShowInfo">
               <el-col :span="8" class="left">
-                <!-- <el-col :span="1" class="leftTit">
-                  <p>数据展示</p>
-                  <p></p>
-                </el-col> -->
                 <el-col :span="24" class="leftInfo">
                   <userTwo></userTwo>
                 </el-col>
@@ -24,15 +20,8 @@
                 <el-col :span="24" class="rightInfo">
                   <top-right></top-right>
                 </el-col>
-                <!-- <el-col :span="1" class="rightTit">
-                  <p></p>
-                  <p>数据展示</p>
-                </el-col> -->
               </el-col>
             </el-col>
-            <!-- <el-col :span="24" class="top down">
-              <span></span>
-            </el-col> -->
           </el-col>
           <el-col :span="24" class="dataImage">
             <el-image :src="centerImage"></el-image>
@@ -129,11 +118,26 @@ export default {
 }
 .dataShow .dataShowInfo .left .leftInfo {
   width: 93%;
-  border-radius: 5px;
-  border: 3px transparent solid;
-  border-image: linear-gradient(to bottom right, #cdeeff, #0370af) 1 10;
-  padding: 10px;
+  height: 670px;
+  background: #fff;
+  border: 1px transparent solid;
+  border-radius: 10px;
+  position: relative;
+  left: 5px;
+  top: 2px;
+}
+.dataShow .dataShowInfo .left .leftInfo:after {
+  position: absolute;
+  top: -3px;
+  bottom: -3px;
+  left: -3px;
+  right: -3px;
+  background: linear-gradient(135deg, #cdeeff, #0370af);
+  border-radius: 10px;
+  content: '';
+  z-index: -1;
 }
+
 .dataShow .dataShowInfo .left p:first-child {
   float: left;
   width: 100%;