Commit 1685415d authored by 杨立坤(移动组_外包)'s avatar 杨立坤(移动组_外包)
parents 563ad021 076a4d68
# just a flag # just a flag
ENV = 'development' ENV = 'development'
port= 8080
# base api # base api
VUE_APP_BASE_API = '/dev-api' VUE_APP_BASE_API = '/dev-api'
VUE_CLI_BABEL_TRANSPILE_MODULES = true VUE_CLI_BABEL_TRANSPILE_MODULES = true
......
...@@ -4,4 +4,4 @@ ENV = 'production' ...@@ -4,4 +4,4 @@ ENV = 'production'
# 生产环境 # 生产环境
# base api # base api
VUE_APP_BASE_API = 'http://zt.cebitic.com:10184' VUE_APP_BASE_API = 'http://106.3.97.198:20162'
This diff is collapsed.
This diff is collapsed.
<template>
<div class="container">
<div v-if="title">
<h1>{{ title }}</h1>
<div><solt name="left-btn"></solt></div>
</div>
<div>
<solt name="right-btn"></solt>
</div>
<!-- 这里可以添加变压器运行状态的具体内容 -->
<!-- 例如:电压、电流、温度等监测数据 -->
</div>
</template>
<script>
export default {
name: 'TransformerStatus',
props: {
title: {
type: String,
default: ''
}
},
methods: {
getType(e) {
console.log(e)
}
}
}
</script>
<style>
body {
font-family: Arial, sans-serif;
margin: 20px;
line-height: 1.6;
}
h1 {
color: #333;
border-bottom: 1px solid #eee;
padding-bottom: 10px;
}
.container {
max-width: 800px;
background: #EBF1FF;
margin: 0 auto;
}
</style>
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment