Browse Source

背景图

master
lucky 5 years ago
parent
commit
839292581c
  1. 2
      .env
  2. 6
      .env.production
  3. 4
      rest/project.http
  4. 8
      src/common/index.styl
  5. 68
      src/components/RFID/RFID.styl
  6. 7
      src/components/RFID/RFID.vue

2
.env

@ -1,3 +1,3 @@
VUE_APP_MODE=production
VUE_APP_PREVIEW=false
VUE_APP_URL=http://test.tall.wiki/
VUE_APP_URL=http://www.tall.wiki/

6
.env.production

@ -1,10 +1,10 @@
VUE_APP_MODE=production
VUE_APP_NODE_ENV=production
VUE_APP_SCENE=wisdomcar
VUE_APP_BASE_URL=http://test.tall.wiki/
VUE_APP_API_URL=http://test.tall.wiki/wisdomcar
VUE_APP_BASE_URL=http://www.tall.wiki/
VUE_APP_API_URL=http://www.tall.wiki/wisdomcar
VUE_APP_PROXY_URL=/gateway
VUE_APP_PUBLIC_PATH=/wisdomcar
VUE_APP_MSG_URL=wss://test.tall.wiki/websocket/message/v4.0/ws
VUE_APP_MSG_URL=wss://www.tall.wiki/websocket/message/v4.0/ws
VUE_APP_TITLE=盐湖区人民医院数字看板
VUE_APP_DESCRIPTION=盐湖区人民医院数字看板

4
rest/project.http

@ -1,7 +1,7 @@
# @tall = {{url}}/tall/v1.0
@tall = http://test.tall.wiki/gateway/tall/v1.0
@tall = http://www.tall.wiki/gateway/tall/v1.0
@greenvalley = http://www.sxwikionline.com/gateway/greenvalley
@record = https://test.tall.wiki/gateway/wisdomcar
@record = https://www.tall.wiki/gateway/wisdomcar
@type = content-type: application/json;charset=utf-8
### login

8
src/common/index.styl

@ -1,8 +1,10 @@
.wrap{
width: 100vw;
height: 100vh;
position: absolute;
width: 100%;
height: 100%;
color: #fff;
background: url('assets/bg.jpg') no-repeat fixed top;
background: url('assets/bg.jpg') no-repeat top;
background-size: 100% 100%;
}
.wrap .bg-left{

68
src/components/RFID/RFID.styl

@ -3,7 +3,7 @@
}
.list {
width: 4.4rem;
width: 18%;
height: 4.4rem;
font-size: 12px;
color: #C8CED5;
@ -17,6 +17,10 @@
flex-direction: column;
}
.list span{
width: 80%;
}
.active {
width: 5.4rem;
height: 5.4rem;
@ -29,53 +33,53 @@
}
.list1 {
top: 0.5rem;
left: 4rem;
top: 5%;
left: 16%;
}
.list2 {
top: 0.5rem;
left: 11.5rem;
top: 5%;
left: 41%;
}
.list3 {
top: 0.5rem;
left: 19rem;
top: 5%;
right: 16%;
}
.list4 {
top: 5rem;
left: 0.5rem;
top: 35%;
left: 3.5%;
}
.list5 {
top: 5rem;
left: 8rem;
top: 35%;
left: 28.5%;
}
.list6 {
top: 5rem;
left: 15.5rem;
top: 35%;
right: 28.5%;
}
.list7 {
top: 5rem;
left: 23rem;
top: 35%;
right: 3.5%;
}
.list8 {
top: 10rem;
left: 4rem;
top: 65%;
left: 16%;
}
.list9 {
top: 10rem;
left: 11.5rem;
top: 65%;
left: 41%;
}
.list10 {
top: 10rem;
left: 19rem;
top: 65%;
right: 16%;
}
@ -83,7 +87,7 @@
@media (max-width: 1500px){
.list {
width: 4rem;
height: 3.4rem;
height: 3rem;
}
.list span {
@ -96,52 +100,52 @@
}
.list1 {
top: 0.5rem;
// top: 0.5rem;
left: 3rem;
}
.list2 {
top: 0.5rem;
// top: 0.5rem;
left: 8rem;
}
.list3 {
top: 0.5rem;
// top: 0.5rem;
left: 13rem;
}
.list4 {
top: 3.5rem;
// top: 3.5rem;
left: 0.5rem;
}
.list5 {
top: 3.5rem;
// top: 3.5rem;
left: 5.5rem;
}
.list6 {
top: 3.5rem;
// top: 3.5rem;
left: 10.5rem;
}
.list7 {
top: 3.5rem;
// top: 3.5rem;
left: 15.5rem;
}
.list8 {
top: 6.5rem;
// top: 6.5rem;
left: 3rem;
}
.list9 {
top: 6.5rem;
// top: 6.5rem;
left: 8rem;
}
.list10 {
top: 6.5rem;
// top: 6.5rem;
left: 13rem;
}
}

7
src/components/RFID/RFID.vue

@ -1,7 +1,12 @@
<template>
<div class="flex-1 flex-column rfid">
<div :key="i + 1" v-for="(arr, i) in newArr" v-show="i === num">
<div :class="`list${index + 1} ${item.active ? 'active' : ''}`" :key="index" class="list" v-for="(item, index) in arr">
<div
:class="`list${index + 1} ${item.active ? 'active' : ''}`"
:key="index"
class="list"
v-for="(item, index) in arr"
>
<span>{{ item.name }}</span>
</div>
</div>

Loading…
Cancel
Save