Quellcode durchsuchen

布局初始化

fuwei vor 4 Jahren
Ursprung
Commit
93582a4bd9
2 geänderte Dateien mit 27 neuen und 5 gelöschten Zeilen
  1. 1 1
      ghsPad/.gitignore
  2. 26 4
      ghsPad/src/admin/home/workbench.vue

+ 1 - 1
ghsPad/.gitignore

@@ -4,7 +4,7 @@ node_modules/
 # local env files
 .env.local
 .env.*.local
-
+/dist
 # Log files
 npm-debug.log*
 yarn-debug.log*

+ 26 - 4
ghsPad/src/admin/home/workbench.vue

@@ -1,8 +1,18 @@
 <template>
-	<view>
-
-		<NotLogin></NotLogin>
-
+	<view class="app-workbench_box">
+		<view class="nav-left">
+			收银
+		</view>
+		<view class="shouList-box">
+			2121212
+		</view>
+		<view class="open-box">
+			2121
+		</view>
+		<view class="shop-list">
+			212121
+		</view>
+		<!-- <NotLogin></NotLogin> -->
 	</view>
 </template>
 <script>
@@ -37,4 +47,16 @@ export default {
 };
 </script>
 <style lang="scss" scoped>
+	.app-workbench_box {
+		display: flex;
+		height: 100%;
+		& .shop-list {
+			flex: 1;
+		}
+		& .nav-left {
+			height: 100%;
+			width: 55upx;
+			background-color: rgba(72, 91, 107, 1);
+		}
+	}
 </style>