20260110:
1、logo更换 2、用0A作为换行符,解决ASCII+注册包的问题
This commit is contained in:
parent
52925ad284
commit
753d859665
3
.vscode/settings.json
vendored
3
.vscode/settings.json
vendored
@ -1,3 +0,0 @@
|
|||||||
{
|
|
||||||
"java.compile.nullAnalysis.mode": "automatic"
|
|
||||||
}
|
|
||||||
@ -356,7 +356,7 @@ public class PowerOnTriggerTaskExecutor {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return messageManager.requestR(serialNumber, msg, Message.class)
|
return messageManager.requestR(serialNumber, msg, Message.class)
|
||||||
.timeout(Duration.ofMillis(20000))
|
.timeout(Duration.ofMillis(200))
|
||||||
.map(result -> {
|
.map(result -> {
|
||||||
Integer code = result == null ? null : (Integer) result.get(AjaxResult.CODE_TAG);
|
Integer code = result == null ? null : (Integer) result.get(AjaxResult.CODE_TAG);
|
||||||
Object data = result == null ? null : result.get(AjaxResult.DATA_TAG);
|
Object data = result == null ? null : result.get(AjaxResult.DATA_TAG);
|
||||||
|
|||||||
@ -50,7 +50,9 @@ public class TCPBootStrap {
|
|||||||
.setPort(port)
|
.setPort(port)
|
||||||
//设置报文最大长度 modbus-rtu
|
//设置报文最大长度 modbus-rtu
|
||||||
.setMaxFrameLength(2048)
|
.setMaxFrameLength(2048)
|
||||||
.setDelimiters(new Delimiter(new byte[]{0x7e}, true))
|
// 注意:0x7E 是注册/心跳帧(7E...7E)的帧头/帧尾,不能作为“分隔符”strip 掉,否则会导致吞掉帧头形成 0x80...7E 的残帧。
|
||||||
|
// 分隔符仅作为兜底(当既不是7E帧也不是Modbus RTU帧时),这里使用 '\n' 方便切分设备可能上报的ASCII日志行。
|
||||||
|
.setDelimiters(new Delimiter(new byte[]{0x0A}, true))
|
||||||
.setDecoder(messageAdapter)
|
.setDecoder(messageAdapter)
|
||||||
.setEncoder(messageAdapter)
|
.setEncoder(messageAdapter)
|
||||||
.setHandlerMapping(handlerMapping)
|
.setHandlerMapping(handlerMapping)
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 512 KiB |
BIN
vue/src/assets/logo/yack.png
Normal file
BIN
vue/src/assets/logo/yack.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 512 KiB |
@ -32,7 +32,6 @@
|
|||||||
"login.989807-30": "Get in seconds",
|
"login.989807-30": "Get in seconds",
|
||||||
"login.989807-31": "Are you sure to log out and exit the system?",
|
"login.989807-31": "Are you sure to log out and exit the system?",
|
||||||
"login.989807-32": "prompt",
|
"login.989807-32": "prompt",
|
||||||
"login.989807-33": "Demo Account:fastbee Password:123456",
|
|
||||||
"login.989807-34": "WeChat login",
|
"login.989807-34": "WeChat login",
|
||||||
"login.989807-35": "Register an account",
|
"login.989807-35": "Register an account",
|
||||||
"login.989807-36": "Register and bind account",
|
"login.989807-36": "Register and bind account",
|
||||||
|
|||||||
@ -32,7 +32,6 @@
|
|||||||
"login.989807-30": "秒后获取",
|
"login.989807-30": "秒后获取",
|
||||||
"login.989807-31": "确定注销并退出系统吗?",
|
"login.989807-31": "确定注销并退出系统吗?",
|
||||||
"login.989807-32": "提示",
|
"login.989807-32": "提示",
|
||||||
"login.989807-33": "演示账号:fastbee 密码:123456",
|
|
||||||
"login.989807-34": "微信登录",
|
"login.989807-34": "微信登录",
|
||||||
"login.989807-35": "注册账号",
|
"login.989807-35": "注册账号",
|
||||||
"login.989807-36": "注册绑定账号",
|
"login.989807-36": "注册绑定账号",
|
||||||
|
|||||||
@ -14,7 +14,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import logoImg from '@/assets/logo/logo.gif';
|
import logoImg from '@/assets/logo/yack.png';
|
||||||
import variables from '@/assets/styles/variables.scss';
|
import variables from '@/assets/styles/variables.scss';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div style="padding-left: 20px">
|
<div class="running-status">
|
||||||
<el-row :gutter="120">
|
<el-row :gutter="120">
|
||||||
<el-col :xs="24" :sm="24" :md="24" :lg="14" :xl="10" style="margin-bottom: 50px">
|
<el-col :xs="24" :sm="24" :md="24" :lg="14" :xl="10" style="margin-bottom: 50px">
|
||||||
<el-descriptions :column="1" border style="margin-bottom: 50px">
|
<el-descriptions :column="1" border style="margin-bottom: 50px">
|
||||||
@ -471,18 +471,16 @@
|
|||||||
</el-descriptions-item>
|
</el-descriptions-item>
|
||||||
</el-descriptions>
|
</el-descriptions>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
</el-row>
|
||||||
|
|
||||||
<el-col :xs="24" :sm="24" :md="24" :lg="10" :xl="14">
|
<!-- 设备监测图表(全宽响应式矩阵布局,尽量一屏看完,减少长滚动)-->
|
||||||
<!-- 设备监测图表-->
|
<div class="monitor-grid-wrap" v-if="deviceInfo.chartList.length > 0">
|
||||||
<el-row :gutter="20" style="background-color: #f5f7fa; padding: 20px 10px 20px 10px; border-radius: 15px; margin-right: 5px" v-if="deviceInfo.chartList.length > 0">
|
<div class="monitor-grid">
|
||||||
<el-col :xs="24" :sm="12" :md="12" :lg="24" :xl="8" v-for="(item, index) in deviceInfo.chartList" :key="index">
|
<el-card v-for="(item, index) in deviceInfo.chartList" :key="index" shadow="hover" class="monitor-card">
|
||||||
<el-card shadow="hover" style="border-radius: 30px; margin-bottom: 20px">
|
<div ref="map" class="monitor-chart"></div>
|
||||||
<div ref="map" style="height: 230px; width: 185px; margin: 0 auto"></div>
|
|
||||||
</el-card>
|
</el-card>
|
||||||
</el-col>
|
</div>
|
||||||
</el-row>
|
</div>
|
||||||
</el-col>
|
|
||||||
</el-row>
|
|
||||||
|
|
||||||
<!-- 添加或修改产品固件对话框 -->
|
<!-- 添加或修改产品固件对话框 -->
|
||||||
<el-dialog :title="$t('device.running-status.866086-10')" :visible.sync="openFirmware" width="600px" append-to-body>
|
<el-dialog :title="$t('device.running-status.866086-10')" :visible.sync="openFirmware" width="600px" append-to-body>
|
||||||
@ -581,6 +579,7 @@ export default {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
resizeObserver: null,
|
||||||
remoteCommand: {},
|
remoteCommand: {},
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
@ -590,9 +589,46 @@ export default {
|
|||||||
this.initDataStatus();
|
this.initDataStatus();
|
||||||
this.initData();
|
this.initData();
|
||||||
}
|
}
|
||||||
|
window.addEventListener('resize', this.handleResize);
|
||||||
|
},
|
||||||
|
beforeDestroy() {
|
||||||
|
window.removeEventListener('resize', this.handleResize);
|
||||||
|
if (this.resizeObserver) {
|
||||||
|
this.resizeObserver.disconnect();
|
||||||
|
this.resizeObserver = null;
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
|
initResizeObserver() {
|
||||||
|
if (this.resizeObserver) return;
|
||||||
|
if (typeof window.ResizeObserver !== 'function') return;
|
||||||
|
|
||||||
|
const el = this.$el && this.$el.querySelector ? this.$el.querySelector('.monitor-grid-wrap') : null;
|
||||||
|
if (!el) return;
|
||||||
|
|
||||||
|
this.resizeObserver = new ResizeObserver(() => {
|
||||||
|
this.handleResize();
|
||||||
|
});
|
||||||
|
this.resizeObserver.observe(el);
|
||||||
|
},
|
||||||
|
handleResize() {
|
||||||
|
this.$nextTick(() => {
|
||||||
|
if (!this.monitorChart || !this.monitorChart.length) return;
|
||||||
|
this.monitorChart.forEach((item) => {
|
||||||
|
if (item && item.chart && typeof item.chart.resize === 'function') {
|
||||||
|
item.chart.resize();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
});
|
||||||
|
},
|
||||||
|
scheduleChartResize() {
|
||||||
|
// grid / card 可能会在首次渲染后继续“撑开”,多次兜底 resize,确保不缩在左上角
|
||||||
|
this.handleResize();
|
||||||
|
setTimeout(() => this.handleResize(), 50);
|
||||||
|
setTimeout(() => this.handleResize(), 200);
|
||||||
|
setTimeout(() => this.handleResize(), 500);
|
||||||
|
},
|
||||||
initData() {
|
initData() {
|
||||||
// 监听值的实时更新
|
// 监听值的实时更新
|
||||||
this.$busEvent.$on('updateData', (params) => {
|
this.$busEvent.$on('updateData', (params) => {
|
||||||
@ -943,6 +979,14 @@ export default {
|
|||||||
},
|
},
|
||||||
/**图表展示*/
|
/**图表展示*/
|
||||||
MonitorChart() {
|
MonitorChart() {
|
||||||
|
// 释放旧图表实例,避免重复 init 导致内存泄漏
|
||||||
|
if (this.monitorChart && this.monitorChart.length) {
|
||||||
|
this.monitorChart.forEach((item) => {
|
||||||
|
if (item && item.chart && typeof item.chart.dispose === 'function') {
|
||||||
|
item.chart.dispose();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
for (let i = 0; i < this.deviceInfo.chartList.length; i++) {
|
for (let i = 0; i < this.deviceInfo.chartList.length; i++) {
|
||||||
this.monitorChart[i] = {
|
this.monitorChart[i] = {
|
||||||
chart: this.$echarts.init(this.$refs.map[i]),
|
chart: this.$echarts.init(this.$refs.map[i]),
|
||||||
@ -965,7 +1009,9 @@ export default {
|
|||||||
max: this.deviceInfo.chartList[i].datatype.max,
|
max: this.deviceInfo.chartList[i].datatype.max,
|
||||||
colorBy: 'data',
|
colorBy: 'data',
|
||||||
splitNumber: 10,
|
splitNumber: 10,
|
||||||
radius: '100%',
|
// 留一点空间给数值和标题,视觉上更“占满”
|
||||||
|
radius: '95%',
|
||||||
|
center: ['50%', '55%'],
|
||||||
// 分割线
|
// 分割线
|
||||||
splitLine: {
|
splitLine: {
|
||||||
distance: 4,
|
distance: 4,
|
||||||
@ -1002,8 +1048,8 @@ export default {
|
|||||||
detail: {
|
detail: {
|
||||||
valueAnimation: true,
|
valueAnimation: true,
|
||||||
formatter: '{value}' + ' ' + this.deviceInfo.chartList[i].datatype.unit,
|
formatter: '{value}' + ' ' + this.deviceInfo.chartList[i].datatype.unit,
|
||||||
offsetCenter: [0, '80%'],
|
offsetCenter: [0, '68%'],
|
||||||
fontSize: 20,
|
fontSize: 22,
|
||||||
},
|
},
|
||||||
data: [
|
data: [
|
||||||
{
|
{
|
||||||
@ -1012,20 +1058,83 @@ export default {
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
title: {
|
title: {
|
||||||
offsetCenter: [0, '115%'],
|
offsetCenter: [0, '88%'],
|
||||||
fontSize: 16,
|
fontSize: 16,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
option && this.monitorChart[i].chart.setOption(option);
|
option && this.monitorChart[i].chart.setOption(option);
|
||||||
|
// grid/card 尺寸变化时,强制适配容器尺寸,避免表盘“缩在左上角”
|
||||||
|
this.monitorChart[i].chart.resize();
|
||||||
}
|
}
|
||||||
|
// 监听容器尺寸变化 + 多次兜底 resize:确保布局稳定后都 resize 到位
|
||||||
|
this.$nextTick(() => {
|
||||||
|
this.initResizeObserver();
|
||||||
|
this.scheduleChartResize();
|
||||||
|
});
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
.running-status {
|
||||||
|
padding-left: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.monitor-grid-wrap {
|
||||||
|
background-color: #f5f7fa;
|
||||||
|
padding: 20px 10px;
|
||||||
|
border-radius: 15px;
|
||||||
|
margin-right: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.monitor-grid {
|
||||||
|
display: grid;
|
||||||
|
/* 默认:中等屏幕 3 列(避免媒体查询未命中时“没效果”) */
|
||||||
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||||
|
gap: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 让宽屏更“和谐”:优先 4 列(内容区一般达不到 1600px,这里下调阈值) */
|
||||||
|
@media (min-width: 1400px) {
|
||||||
|
.monitor-grid {
|
||||||
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (min-width: 1100px) and (max-width: 1399px) {
|
||||||
|
.monitor-grid {
|
||||||
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (min-width: 800px) and (max-width: 1099px) {
|
||||||
|
.monitor-grid {
|
||||||
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 799px) {
|
||||||
|
.monitor-grid {
|
||||||
|
grid-template-columns: repeat(1, minmax(0, 1fr));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.monitor-card {
|
||||||
|
border-radius: 18px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.monitor-card .el-card__body {
|
||||||
|
padding: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.monitor-chart {
|
||||||
|
height: 320px;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
/* 重写滑动块样式 */
|
/* 重写滑动块样式 */
|
||||||
.el-slider__bar {
|
.el-slider__bar {
|
||||||
height: 18px;
|
height: 18px;
|
||||||
|
|||||||
@ -4,7 +4,6 @@
|
|||||||
<div v-if="acountLogin" class="container a-container" :class="{ 'is-txl': isATxl }">
|
<div v-if="acountLogin" class="container a-container" :class="{ 'is-txl': isATxl }">
|
||||||
<el-form ref="loginForm" :model="loginForm" :rules="loginRules" class="form" id="a-form">
|
<el-form ref="loginForm" :model="loginForm" :rules="loginRules" class="form" id="a-form">
|
||||||
<h2 class="form_title title">{{ $t('login.989807-1') }}</h2>
|
<h2 class="form_title title">{{ $t('login.989807-1') }}</h2>
|
||||||
<span class="form__span">{{ $t('login.989807-33') }}</span>
|
|
||||||
|
|
||||||
<el-form-item v-if="loginForm.bindId != null">
|
<el-form-item v-if="loginForm.bindId != null">
|
||||||
<div class="alert-box-wrap">
|
<div class="alert-box-wrap">
|
||||||
@ -143,18 +142,18 @@
|
|||||||
<div class="switch" id="switch-cnt" :class="{ 'is-gx': isGx, 'is-txr': isTxr }">
|
<div class="switch" id="switch-cnt" :class="{ 'is-gx': isGx, 'is-txr': isTxr }">
|
||||||
<div :class="{ switch__circle: true, 'is-txr': isTxr }"></div>
|
<div :class="{ switch__circle: true, 'is-txr': isTxr }"></div>
|
||||||
<div class="switch__container" id="switch-c1" :class="{ 'is-hidden': isC1Hidden }">
|
<div class="switch__container" id="switch-c1" :class="{ 'is-hidden': isC1Hidden }">
|
||||||
<div style="display: flex; align-items: center">
|
<div class="brand-header">
|
||||||
<img src="../assets/logo/fastbee.png" alt="logo" style="width: 60px" />
|
<img class="brand-logo" src="../assets/logo/yack.png" alt="logo" />
|
||||||
<h2 class="switch__title title" style="margin-left: 10px">{{ $t('login.989807-37') }}</h2>
|
<h2 class="switch__title">{{ $t('login.989807-37') }}</h2>
|
||||||
</div>
|
</div>
|
||||||
<p class="switch__description description">{{ $t('login.989807-38') }}</p>
|
<p class="switch__description description">{{ $t('login.989807-38') }}</p>
|
||||||
<img src="../assets/images/login3.jpeg" alt="logo" style="width: 220px; height: 220px" />
|
<img src="../assets/images/login3.jpeg" alt="logo" style="width: 220px; height: 220px" />
|
||||||
<button class="switch__button button switch-btn" @click="changeForm">{{ $t('login.989807-2') }}</button>
|
<button class="switch__button button switch-btn" @click="changeForm">{{ $t('login.989807-2') }}</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="switch__container" id="switch-c2" :class="{ 'is-hidden': isC2Hidden }">
|
<div class="switch__container" id="switch-c2" :class="{ 'is-hidden': isC2Hidden }">
|
||||||
<div style="display: flex; align-items: center">
|
<div class="brand-header">
|
||||||
<img src="../assets/logo/fastbee.png" alt="logo" style="width: 60px" />
|
<img class="brand-logo" src="../assets/logo/yack.png" alt="logo" />
|
||||||
<h2 class="switch__title title" style="margin-left: 10px">岩安测控</h2>
|
<h2 class="switch__title">岩安测控</h2>
|
||||||
</div>
|
</div>
|
||||||
<p class="switch__description description">{{ $t('login.989807-39') }}</p>
|
<p class="switch__description description">{{ $t('login.989807-39') }}</p>
|
||||||
<img src="../assets/images/login7.jpeg" alt="logo" style="width: 220px; height: 220px" />
|
<img src="../assets/images/login7.jpeg" alt="logo" style="width: 220px; height: 220px" />
|
||||||
@ -176,7 +175,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import 'element-ui/lib/theme-chalk/display.css';
|
import 'element-ui/lib/theme-chalk/display.css';
|
||||||
import logo from '@/assets/logo/logo.gif';
|
import logo from '@/assets/logo/yack.png';
|
||||||
import { getCodeImg, checkBindId, getErrorMsg, socialLogin, bindLogin, getSmsLoginCaptcha, smsLogin } from '@/api/login';
|
import { getCodeImg, checkBindId, getErrorMsg, socialLogin, bindLogin, getSmsLoginCaptcha, smsLogin } from '@/api/login';
|
||||||
import Cookies from 'js-cookie';
|
import Cookies from 'js-cookie';
|
||||||
import { encrypt, decrypt } from '@/utils/jsencrypt';
|
import { encrypt, decrypt } from '@/utils/jsencrypt';
|
||||||
@ -862,7 +861,7 @@ export default {
|
|||||||
.title {
|
.title {
|
||||||
font-size: 34px;
|
font-size: 34px;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
line-height: 3;
|
line-height: 1.2;
|
||||||
color: #181818;
|
color: #181818;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -908,7 +907,7 @@ export default {
|
|||||||
left: 0;
|
left: 0;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
width: 500px;
|
width: 500px;
|
||||||
padding: 50px;
|
padding: 32px;
|
||||||
z-index: 200;
|
z-index: 200;
|
||||||
transition: 1.25s;
|
transition: 1.25s;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
@ -940,11 +939,45 @@ export default {
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: 400px;
|
width: 100%;
|
||||||
padding: 50px 55px;
|
padding: 0;
|
||||||
transition: 1.25s;
|
transition: 1.25s;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.brand-header {
|
||||||
|
width: 100%;
|
||||||
|
max-width: 420px;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
gap: 10px;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.brand-logo {
|
||||||
|
width: 72px;
|
||||||
|
height: 72px;
|
||||||
|
object-fit: contain;
|
||||||
|
flex: 0 0 auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.switch__title {
|
||||||
|
margin: 0;
|
||||||
|
font-size: 36px;
|
||||||
|
line-height: 1.2;
|
||||||
|
color: #181818;
|
||||||
|
letter-spacing: 0.5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.switch__description {
|
||||||
|
width: 100%;
|
||||||
|
max-width: 420px;
|
||||||
|
text-align: center;
|
||||||
|
margin: 0 0 14px 0;
|
||||||
|
}
|
||||||
|
|
||||||
.switch__button {
|
.switch__button {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -53,7 +53,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import 'element-ui/lib/theme-chalk/display.css';
|
import 'element-ui/lib/theme-chalk/display.css';
|
||||||
import logo from '@/assets/logo/logo.gif';
|
import logo from '@/assets/logo/yack.png';
|
||||||
import { oauthLogin } from '@/api/login';
|
import { oauthLogin } from '@/api/login';
|
||||||
import { setToken } from '@/utils/auth';
|
import { setToken } from '@/utils/auth';
|
||||||
|
|
||||||
|
|||||||
@ -61,7 +61,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { authorize, getAuthorize } from "@/api/login";
|
import { authorize, getAuthorize } from "@/api/login";
|
||||||
import logo from '@/assets/logo/logo.gif';
|
import logo from '@/assets/logo/yack.png';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "Login",
|
name: "Login",
|
||||||
|
|||||||
@ -68,7 +68,7 @@
|
|||||||
<div :class="{ switch__circle: true }"></div>
|
<div :class="{ switch__circle: true }"></div>
|
||||||
<div class="switch__container" id="switch-c1">
|
<div class="switch__container" id="switch-c1">
|
||||||
<div style="display: flex; align-items: center">
|
<div style="display: flex; align-items: center">
|
||||||
<img src="../assets/logo/fastbee.png" alt="logo" style="width: 60px" />
|
<img src="../assets/logo/yack.png" alt="logo" style="width: 60px" />
|
||||||
<h2 class="switch__title title" style="margin-left: 10px">{{ $t('register.974236-1') }}</h2>
|
<h2 class="switch__title title" style="margin-left: 10px">{{ $t('register.974236-1') }}</h2>
|
||||||
</div>
|
</div>
|
||||||
<p class="switch__description description">{{ $t('register.974236-11') }}</p>
|
<p class="switch__description description">{{ $t('register.974236-11') }}</p>
|
||||||
@ -89,7 +89,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import 'element-ui/lib/theme-chalk/display.css';
|
import 'element-ui/lib/theme-chalk/display.css';
|
||||||
import logo from '@/assets/logo/logo.gif';
|
import logo from '@/assets/logo/yack.png';
|
||||||
import { getCodeImg, checkBindId, bindRegister } from '@/api/login';
|
import { getCodeImg, checkBindId, bindRegister } from '@/api/login';
|
||||||
import { register } from '@/api/iot/tool';
|
import { register } from '@/api/iot/tool';
|
||||||
|
|
||||||
|
|||||||
@ -129,7 +129,7 @@ import { makeUpHtml, vueTemplate, vueScript, cssStyle } from '@/utils/generator/
|
|||||||
import { makeUpJs } from '@/utils/generator/js';
|
import { makeUpJs } from '@/utils/generator/js';
|
||||||
import { makeUpCss } from '@/utils/generator/css';
|
import { makeUpCss } from '@/utils/generator/css';
|
||||||
import drawingDefault from '@/utils/generator/drawingDefault';
|
import drawingDefault from '@/utils/generator/drawingDefault';
|
||||||
import logo from '@/assets/logo/fastbee.png';
|
import logo from '@/assets/logo/yack.png';
|
||||||
import CodeTypeDialog from './CodeTypeDialog';
|
import CodeTypeDialog from './CodeTypeDialog';
|
||||||
import DraggableItem from './DraggableItem';
|
import DraggableItem from './DraggableItem';
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user