Browse Source

智能水温控制系统

zswxt
lzp 4 months ago
parent
commit
bdc8dae729
  1. 4
      .env.development
  2. 2
      .env.production
  3. 2
      .env.staging
  4. 2
      package.json
  5. 8
      src/views/index.vue
  6. 2
      src/views/login.vue
  7. 2
      src/views/register.vue
  8. 2
      vue.config.js

4
.env.development

@ -1,10 +1,10 @@
# 页面标题
VUE_APP_TITLE = 智能居家数据监护
VUE_APP_TITLE = 智能水温控制系统
# 开发环境配置
ENV = 'development'
# 智能居家数据监护/开发环境
# 智能水温控制系统/开发环境
VUE_APP_BASE_API = '/dev-api'
VUE_APP_IMG_URL = 'https://test.tall.wiki/commen/'
VUE_APP_API_QZURL = 'https://test.tall.wiki/commen/'

2
.env.production

@ -1,5 +1,5 @@
# 页面标题
VUE_APP_TITLE = 智能居家数据监护
VUE_APP_TITLE = 智能水温控制系统
# 生产环境配置
NODE_ENV = 'production'

2
.env.staging

@ -1,5 +1,5 @@
# 页面标题
VUE_APP_TITLE = 智能居家数据监护
VUE_APP_TITLE = 智能水温控制系统
# 生产环境配置
NODE_ENV = 'production'

2
package.json

@ -1,7 +1,7 @@
{
"name": "ruoyi",
"version": "3.8.9",
"description": "智能居家数据监护",
"description": "智能水温控制系统",
"author": "若依",
"license": "MIT",
"scripts": {

8
src/views/index.vue

@ -1,7 +1,7 @@
<template>
<div style="padding: 16px;min-height: calc(100vh - 84px);display: flex; justify-content: center;align-items: center;">
<div class="div-box">
<div class="div-box-title"> 智能居家数据监护 </div>
<div class="div-box-title"> 智能水温控制系统 </div>
<div class="div-ul">
<div class="div-li">
<div>
@ -13,10 +13,12 @@
<!-- ON开启 OFF关闭 -->
<div class="div-li">
<div>
<span>CO</span>5PPM
<span>报警器</span>
<el-switch v-model="value2" active-color="#13ce66" inactive-color="#ff4949">
</el-switch>
</div>
<div>
<span>预警</span>
<span>加热器</span>
<el-switch v-model="value2" active-color="#13ce66" inactive-color="#ff4949">
</el-switch>
</div>

2
src/views/login.vue

@ -8,7 +8,7 @@
>
<h3 class="title" style="margin-bottom: 0">
</h3>
<h3 class="title">智能居家数据监护</h3>
<h3 class="title">智能水温控制系统</h3>
<el-form-item prop="username">
<el-input
v-model="loginForm.username"

2
src/views/register.vue

@ -6,7 +6,7 @@
:rules="registerRules"
class="register-form"
>
<h3 class="title">智能居家数据监护</h3>
<h3 class="title">智能水温控制系统</h3>
<el-form-item prop="username">
<el-input
v-model="registerForm.username"

2
vue.config.js

@ -8,7 +8,7 @@ function resolve(dir) {
const CompressionPlugin = require("compression-webpack-plugin");
const name =
process.env.VUE_APP_TITLE || "智能居家数据监护"; // 网页标题
process.env.VUE_APP_TITLE || "智能水温控制系统"; // 网页标题
const port = process.env.port || process.env.npm_config_port || 80; // 端口

Loading…
Cancel
Save