From 7fe52aa7897c041dd6b930ce663c68af8ca0736b Mon Sep 17 00:00:00 2001
From: chenyc <501753378@qq.com>
Date: 星期一, 18 七月 2022 10:28:32 +0800
Subject: [PATCH] upsockteconnectState
---
src/views/home/index.vue | 26 +++++++++++++++++---------
1 files changed, 17 insertions(+), 9 deletions(-)
diff --git a/src/views/home/index.vue b/src/views/home/index.vue
index e15298d..145cc96 100644
--- a/src/views/home/index.vue
+++ b/src/views/home/index.vue
@@ -6,8 +6,10 @@
import { reactive, computed, toRefs, onMounted, ref, watch } from "vue"
import { sendPationCode, sendPationSet } from '../../samples/sockteStomp'
import { formatDate } from '@/utils/formatTime'
+import logo from '@/assets/LOGO.png'
import state1 from '@/assets/state1.png'
-import { number } from 'yargs'
+import state2 from '@/assets/state2.png'
+import state3 from '@/assets/state3.png'
export default {
setup() {
@@ -86,6 +88,9 @@
}
const state = reactive({
state1:state1,
+ state2:state2,
+ state3:state3,
+ logo:logo,
dialogVisible: false,
isActive: false,
inputCode: "",
@@ -228,7 +233,9 @@
<div>
<el-row>
<el-col :span="6">
- <div class="imglogo"></div>
+ <div class="imglogo">
+ <el-image :src="logo" />
+ </div>
</el-col>
<el-col :span="2">
@@ -453,19 +460,20 @@
box-shadow: 1px 3px 5px 0px #E9E9E9;
}
.imglogo{
+ padding-top: 10px;
width: 102px;
height: 40px;
- background: #769AFF;
+// background: #769AFF;
}
.titleText{
text-align: center;
height: 38px;
-font-size: 27px;
-font-family: PingFangSC-Medium, PingFang SC;
-font-weight: 500;
-color: #333333;
-line-height: 38px;
-letter-spacing: 1px;
+ font-size: 27px;
+ font-family: PingFangSC-Medium, PingFang SC;
+ font-weight: 500;
+ color: #333333;
+ line-height: 38px;
+ letter-spacing: 1px;
}
.clockNum{
width: 100%;
--
Gitblit v1.8.0