Commit 9ed181ec authored by yaqizhang's avatar yaqizhang

设备信息维护详情布局优化

parent f8bfeac2
<template> <template>
<div class="app-container detail" style="background-color: rgb(238, 241, 245);"> <div class="app-container detail" style="background-color: rgb(238, 241, 245);">
<div style="padding-top: 10px;background: #fff;height: 100%;"> <div style="padding-top: 10px;background: #fff;height: 100%;">
<div style="width: 5%;height: 45px;margin-left: 20px;" @click="$router.go(-1)"> <el-row>
<el-button <el-col :span="24" style="padding-left: 15px;">
size="medium" <div style="height: 45px;" @click="$router.go(-1)">
type="text" <el-button size="medium" type="text" style="font-size: 18px; color: rgb(7, 63, 112);float: left;">返回
style="font-size: 18px; color: rgb(7, 63, 112);float: left;" </el-button>
>返回</el-button> <div style="float: left;margin-top: 8px;margin-left: 5px;"><img src="../../../assets/logo/fanhui.png" style="width: 25px;" alt=""></div>
<div style="float: left;margin-top: 8px;margin-left: 5px;"><img src="../../../assets/logo/fanhui.png" style="width: 25px;" alt=""></div> </div>
</div> </el-col>
</el-row>
<div style="width: 100%;height: 440px;"> <el-divider></el-divider>
<el-divider></el-divider> <el-row style="width: 100%;">
<div style="color: #31EAEA;width: 30%;height: 30px;"> <el-col :span="24">
<ul><li>详细信息</li></ul> <div style="color: #31EAEA;height: 25px;">
</div> <ul><li>详细信息</li></ul>
<div style="float: left;width: 50%;"> </div>
<el-form ref="form" v-model="form" :rules="rules" label-width="100px" style="float: left;margin-left: 50px;width: 50%;margin-bottom: 25px;"> </el-col>
</el-row>
<el-row style="width: 100%;padding: 10px;padding-left: 40px;">
<el-col :span="5">
<el-form ref="form" v-model="form" :rules="rules" label-width="100px" style="width: 100%;">
<el-form-item label="设备名称:" prop="deviceName"> <el-form-item label="设备名称:" prop="deviceName">
<font>{{form.deviceName}}</font> <font>{{form.deviceName}}</font>
</el-form-item> </el-form-item>
...@@ -45,7 +51,9 @@ ...@@ -45,7 +51,9 @@
<font>{{form.remarks}}</font> <font>{{form.remarks}}</font>
</el-form-item> </el-form-item>
</el-form> </el-form>
<el-form ref="form" v-model="form" :rules="rules" label-width="100px" style="float: left;width: 40%;"> </el-col>
<el-col :span="6">
<el-form ref="form" v-model="form" :rules="rules" label-width="100px" style="width: 100%;">
<el-form-item label="所属管道:" prop="pipeName"> <el-form-item label="所属管道:" prop="pipeName">
<font>{{form.pipeName}}</font> <font>{{form.pipeName}}</font>
</el-form-item> </el-form-item>
...@@ -68,12 +76,22 @@ ...@@ -68,12 +76,22 @@
<el-image :src="form.iconUrl" :preview-src-list="[form.iconUrl]" style="width: 90px;"></el-image> <el-image :src="form.iconUrl" :preview-src-list="[form.iconUrl]" style="width: 90px;"></el-image>
</el-form-item> </el-form-item>
</el-form> </el-form>
</el-col>
<el-col :span="11">
<div id="marbox" style="width: 100%;height: 390px;margin-top: -35px; border: 1px solid rgb(218, 213, 213);margin-bottom: 10px;">
<div style="width: 100%;height: 100%" id="container"></div>
</div>
</el-col>
</el-row>
<!-- <div style="width: 100%;height: 440px;">
<div style="float: left;width: 50%;">
</div> </div>
<div id="marbox" style="width: 700px;height: 390px;float: left;margin-top: -25px; border: 1px solid rgb(218, 213, 213);">
<div style="width: 100%;height: 100%" id="container"></div> </div> -->
</div>
</div>
</div> </div>
</div> </div>
</template> </template>
......
<template> <template>
<div class="app-container detail" style="background-color: rgb(238, 241, 245);"> <div class="app-container detail" style="background-color: rgb(238, 241, 245);">
<div style="padding-top: 10px;background: #fff;height: 100%;"> <div style="padding-top: 10px;background: #fff;height: 100%;">
<div style="width: 5%;height: 45px;margin-left: 20px;" @click="$router.go(-1)"> <el-row>
<el-button <el-col :span="24" style="padding-left: 15px;">
size="medium" <div style="height: 45px;" @click="$router.go(-1)">
type="text" <el-button size="medium" type="text" style="font-size: 18px; color: rgb(7, 63, 112);float: left;">返回
style="font-size: 18px; color: rgb(7, 63, 112);float: left;" </el-button>
>返回</el-button> <div style="float: left;margin-top: 8px;margin-left: 5px;"><img src="../../../assets/logo/fanhui.png" style="width: 25px;" alt=""></div>
<div style="float: left;margin-top: 8px;margin-left: 5px;"><img src="../../../assets/logo/fanhui.png" style="width: 25px;" alt=""></div> </div>
</div> </el-col>
</el-row>
<div style="width: 100%;height: 440px;"> <el-divider></el-divider>
<el-divider></el-divider>
<div style="color: #31EAEA;width: 30%;height: 30px;"> <el-row style="width: 100%;">
<ul><li>详细信息</li></ul> <el-col :span="24">
</div> <div style="color: #31EAEA;height: 25px;">
<div style="float: left;width: 50%;"> <ul><li>详细信息</li></ul>
<el-form ref="form" v-model="form" :rules="rules" label-width="100px" style="float: left;margin-left: 50px;width: 50%;margin-bottom: 25px;"> </div>
</el-col>
</el-row>
<el-row style="width: 100%;padding: 10px;padding-left: 40px;">
<el-col :span="5">
<el-form ref="form" v-model="form" :rules="rules" label-width="100px" style="width: 100%;">
<el-form-item label="管道名称:" prop="pipeName"> <el-form-item label="管道名称:" prop="pipeName">
<font>{{form.pipeName}}</font> <font>{{form.pipeName}}</font>
</el-form-item> </el-form-item>
...@@ -40,7 +46,9 @@ ...@@ -40,7 +46,9 @@
<font>{{form.remarks}}</font> <font>{{form.remarks}}</font>
</el-form-item> </el-form-item>
</el-form> </el-form>
<el-form ref="form" v-model="form" :rules="rules" label-width="100px" style="float: left;width: 40%;"> </el-col>
<el-col :span="6">
<el-form ref="form" v-model="form" :rules="rules" label-width="100px" style="width: 100%;">
<el-form-item label="管道地址:" prop="pipeAddr"> <el-form-item label="管道地址:" prop="pipeAddr">
<font>{{form.pipeAddr}}</font> <font>{{form.pipeAddr}}</font>
</el-form-item> </el-form-item>
...@@ -54,12 +62,22 @@ ...@@ -54,12 +62,22 @@
<el-image :src="form.iconUrl" :preview-src-list="[form.iconUrl]" style="width: 90px;"></el-image> <el-image :src="form.iconUrl" :preview-src-list="[form.iconUrl]" style="width: 90px;"></el-image>
</el-form-item> </el-form-item>
</el-form> </el-form>
</div> </el-col>
<el-col :span="11">
<div id="marbox" style="width: 100%;height: 390px;margin-top: -35px; border: 1px solid rgb(218, 213, 213);margin-bottom: 10px;">
<div style="width: 100%;height: 100%" id="container"></div>
</div>
</el-col>
</el-row>
<div id="marbox" style="width: 700px;height: 390px;float: left;margin-top: -25px; border: 1px solid rgb(218, 213, 213);"> <!-- <div style="width: 100%;height: 440px;">
<div style="width: 100%;height: 100%" id="container"></div> <div style="float: left;width: 50%;">
</div> </div>
</div>
</div> -->
</div> </div>
</div> </div>
</template> </template>
......
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