From e60e5c67969ded98bc88129ab2a8a3faad436eb7 Mon Sep 17 00:00:00 2001
From: whycq <913841844@qq.com>
Date: 星期日, 08 十月 2023 00:31:47 +0800
Subject: [PATCH] # home

---
 pages/home/home.vue           |   11 +++++
 pages.json                    |   13 +++++-
 pages/LoginDemo/LoginDemo.vue |   39 ++++++++++++++++++-
 3 files changed, 59 insertions(+), 4 deletions(-)

diff --git a/pages.json b/pages.json
index ed91521..2760c6b 100644
--- a/pages.json
+++ b/pages.json
@@ -1,5 +1,12 @@
 {
 	"pages": [ //pages鏁扮粍涓涓�椤硅〃绀哄簲鐢ㄥ惎鍔ㄩ〉锛屽弬鑰冿細https://uniapp.dcloud.io/collocation/pages
+		
+		{
+			"path": "pages/component/demo",
+			"style": {
+				"navigationBarTitleText": "娴嬭瘯"
+			}
+		},
 		{
 			"path": "pages/LoginDemo/LoginDemo",
 			"style": {
@@ -7,11 +14,13 @@
 			}
 		},
 		{
-			"path": "pages/component/demo",
+			"path": "pages/home/home",
 			"style": {
-				"navigationBarTitleText": "娴嬭瘯"
+				"navigationBarTitleText": "Home"
 			}
 		},
+		
+		
 		{
 			"path": "pages/common/data-list/dataDetail",
 			"style": {
diff --git a/pages/LoginDemo/LoginDemo.vue b/pages/LoginDemo/LoginDemo.vue
index 7058a42..662e52c 100644
--- a/pages/LoginDemo/LoginDemo.vue
+++ b/pages/LoginDemo/LoginDemo.vue
@@ -1,7 +1,7 @@
 <template>
 	<view class="main">
 		<!-- 璁剧疆鎸夐挳 -->
-		<uni-icons type="gear" size="30" color="#b1b3b8" class="setting"></uni-icons>
+		<uni-icons type="gear" size="30" color="#b1b3b8" class="setting" @click="settings"></uni-icons>
 		<view class="left">
 			<!-- logo -->
 			<view class="logo-box">
@@ -21,6 +21,28 @@
 				鐧诲綍
 			</view>
 		</view>
+		
+		
+		<!-- 璁剧疆寮圭獥鍖哄煙 -->
+		<uni-popup ref="settings" type="dialog" style="height: 100%;width: 100%;background-color: aqua;">
+			<view class="popup">
+				<!-- 鏍囬 -->
+				<view class="title">閰嶇疆</view>
+				<view class="popup-item">
+					<view class="popup-item-left">IP:</view>
+					<view class="popup-item-right"><input type="text" v-model="url.ip"></view>
+				</view>
+				<view class="popup-item">
+					<view class="popup-item-left">绔彛:</view>
+					<view class="popup-item-right"><input type="text" v-model="url.port"></view>
+				</view>
+				<view class="popup-item">
+					<view class="popup-item-left">椤圭洰:</view>
+					<view class="popup-item-right"><input type="text" v-model="url.project"></view>
+				</view>
+			</view>
+		</uni-popup>
+		
 		<!-- 鐗堟湰鍙� -->
 		<!-- #ifdef APP-PLUS -->
 		<view class="version">
@@ -35,7 +57,12 @@
 		data() {
 			return {
 				version: '',
-				remberPassword: true
+				remberPassword: true,
+				url: {
+					ip: '',
+					port: '',
+					project: ''
+				},
 			}
 		},
 		mounted() {
@@ -55,6 +82,9 @@
 		methods: {
 			remberChange() {
 				
+			},
+			settings() {
+				this.$refs.settings.open()
 			}
 		}
 	}
@@ -174,4 +204,9 @@
 		font-size: 10px;
 		color: #909399;
 	}
+	
+	.popup {
+		background-color: #fff;
+		width: 100%;
+	}
 </style>
\ No newline at end of file
diff --git a/pages/home/home.vue b/pages/home/home.vue
new file mode 100644
index 0000000..10cdc78
--- /dev/null
+++ b/pages/home/home.vue
@@ -0,0 +1,11 @@
+<template>
+	<view class="">
+		Home
+	</view>
+</template>
+
+<script>
+</script>
+
+<style>
+</style>
\ No newline at end of file

--
Gitblit v1.9.1