caner 1 year ago
parent
commit
9ca385f21c
6 changed files with 3 additions and 11 deletions
  1. BIN
      .DS_Store
  2. 1 1
      index.html
  3. BIN
      public/favicon.ico
  4. 2 2
      src/main.ts
  5. 0 4
      src/pages/room/room-create.vue
  6. 0 4
      src/pages/room/room-device-detail.vue

BIN
.DS_Store


+ 1 - 1
index.html

@@ -3,7 +3,7 @@
   <head>
   <head>
     <meta charset="UTF-8" />
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <title>home</title>
+    <title>并联</title>
   </head>
   </head>
   <body>
   <body>
     <div id="app"></div>
     <div id="app"></div>

BIN
public/favicon.ico


+ 2 - 2
src/main.ts

@@ -2,7 +2,7 @@ import { createApp } from 'vue'
 import App from './App.vue'
 import App from './App.vue'
 import { createPinia } from 'pinia'
 import { createPinia } from 'pinia'
 import naive from '@/assets/native-plugin'
 import naive from '@/assets/native-plugin'
-import { createRouter, createWebHistory, RouteRecordRaw } from 'vue-router'
+import { createRouter, RouteRecordRaw, createWebHashHistory } from 'vue-router'
 import Icon from '@/components/icon.vue'
 import Icon from '@/components/icon.vue'
 import 'virtual:svg-icons-register'
 import 'virtual:svg-icons-register'
 import piniaPersist from 'pinia-plugin-persist'
 import piniaPersist from 'pinia-plugin-persist'
@@ -16,7 +16,7 @@ routes.push({ path: '/:path(.*)', redirect: '/' })
 
 
 const app = createApp(App)
 const app = createApp(App)
 const router = createRouter({
 const router = createRouter({
-  history: createWebHistory(),
+  history: createWebHashHistory(),
   routes
   routes
 })
 })
 app.component('Icon', Icon)
 app.component('Icon', Icon)

+ 0 - 4
src/pages/room/room-create.vue

@@ -72,10 +72,6 @@ function change() {
       }
       }
     }
     }
 
 
-    :deep(.n-form) {
-      max-width: 80%;
-      margin: 0 auto;
-    }
   }
   }
 
 
   &-bar {
   &-bar {

+ 0 - 4
src/pages/room/room-device-detail.vue

@@ -92,10 +92,6 @@ const device = reactive({ check: false, url: new URL('./img/3.png', import.meta.
         margin: 0 auto;
         margin: 0 auto;
       }
       }
 
 
-      :deep(.n-form) {
-        max-width: 70%;
-        margin: 0 auto;
-      }
     }
     }
 
 
   }
   }