From fd13b0017518273406ee1a9906c07d079e4a9ac4 Mon Sep 17 00:00:00 2001
From: houzhongjian <houzhongyi@126.com>
Date: 星期三, 27 十一月 2024 17:54:52 +0800
Subject: [PATCH] 租户列表 套餐宽度固定180

---
 src/views/Home/Index.vue |   92 ++++++++++++++++++++++++++++++++++-----------
 1 files changed, 69 insertions(+), 23 deletions(-)

diff --git a/src/views/Home/Index.vue b/src/views/Home/Index.vue
index 822f800..0993b39 100644
--- a/src/views/Home/Index.vue
+++ b/src/views/Home/Index.vue
@@ -1,13 +1,20 @@
 <template>
-  <div>
-    <h1>IAILAB 平台主页</h1>
+  <div id="title">
+    <span>工业互联网平台</span>
   </div>
   <el-skeleton :loading="loading" animated>
-    <div id="app" v-for="(item, index) in appList" :key="`dynamics-${index}`">
-      <div class="card" @click="gotoApp(item)">
-        <img :src="item.icon" style="width: 100px; height: 100px"/>
+    <div id="app">
+      <div class="card" v-for="(item, index) in appList" :key="`dynamics-${index}`">
         <div>
-          {{ item.appName }}
+          <img class="card-left" :src="item.icon"/>
+          <div class="card-right">
+            <div class="app-title">
+              {{ item.appName }}
+            </div>
+            <div class="goto-app" @click="gotoApp(item)">
+              <div>进入应用</div>
+            </div>
+          </div>
         </div>
       </div>
     </div>
@@ -78,24 +85,63 @@
 </script>
 
 <style lang="scss" scoped>
-#app {
-  width: 300px;
-  height: 200px;
-  display: inline-block;
-  background: transparent;
+#title {
+  width: 280px;
+  height: 51px;
+  margin: 30px auto;
+  font-family: Microsoft YaHei UI, Microsoft YaHei UI;
+  font-weight: bold;
+  font-size: 40px;
+  color: #282F3D;
 }
-
+#app {
+  margin: 0 96px;
+  width: 100%;
+}
 .card {
-  border: thin dashed gainsboro;
-  width: 150px;
-  height: 120px;
-  padding: 30px;
-  text-align: center;
-  justify-content: center;
-  font-size: 15px;
-  font-weight: bolder;
-  color: blue;
-  background: aliceblue;
-  border-radius: 10px;
+  width: 354px;
+  height: 200px;
+  margin: 0 24px 24px 0;
+  background: linear-gradient( 180deg, #E9F0FA 0%, #FFFFFF 100%);
+  border-radius: 12px 12px 12px 12px;
+  border: 2px solid;
+  border-image: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 1)) 2 2;
+  display: inline-block;
+}
+.card > div{
+  display: inline-block;
+}
+.card-left{
+  height: 100px;
+  width: 100px;
+  float: left;
+  margin: 50px 30px;
+}
+.card-right {
+  float: right;
+  margin: 61px 10px;
+}
+.app-title {
+  width: 162px;
+  font-family: Microsoft YaHei, Microsoft YaHei;
+  font-weight: bold;
+  font-size: 24px;
+  color: #282F3D;
+}
+.goto-app {
+  width: 96px;
+  height: 35px;
+  margin-top: 5px;
+  background: #3A99FD;
+  border-radius: 80px 80px 80px 80px;
+  cursor: pointer;
+}
+.goto-app > div {
+  padding: 6px;
+  margin-left: 5px;
+  font-family: Microsoft YaHei UI, Microsoft YaHei UI;
+  font-weight: 400;
+  font-size: 18px;
+  color: #FFFFFF;
 }
 </style>

--
Gitblit v1.9.3