Commit 68b81e77 authored by liwenhong's avatar liwenhong

style:适配自提点

parent 96fe0e52
...@@ -34,15 +34,15 @@ ...@@ -34,15 +34,15 @@
> >
<el-card class="card-block"> <el-card class="card-block">
<p>自提点设置</p> <p>自提点设置</p>
<el-form ref="form" label-width="80px"> <el-form ref="form">
<el-form-item> <el-form-item>
<el-input <el-input
class="set" class="set"
v-model="selfLiftingPoint" v-model="selfLiftingPoint"
placeholder="自提点名称/自提点联系人" placeholder="自提点名称/自提点联系人"
></el-input> ></el-input>
<el-button type="primary" @click="getPlaceList">搜索</el-button> <el-button type="primary" size="small" @click="getPlaceList">搜索</el-button>
<el-button type="primary" @click="dialogFormVisible = true" <el-button type="primary" size="small" @click="dialogFormVisible = true"
>添加自提点</el-button >添加自提点</el-button
> >
</el-form-item> </el-form-item>
...@@ -93,7 +93,7 @@ ...@@ -93,7 +93,7 @@
prop="name" prop="name"
align="center" align="center"
label="操作" label="操作"
width="width" fixed="right"
> >
<template #default="scope"> <template #default="scope">
<el-popconfirm <el-popconfirm
...@@ -103,7 +103,7 @@ ...@@ -103,7 +103,7 @@
<template #reference> <template #reference>
<el-button <el-button
type="primary" type="primary"
size="small" size="mini"
@click="handleDelete(scope.row)" @click="handleDelete(scope.row)"
>删除</el-button >删除</el-button
> >
...@@ -134,9 +134,9 @@ ...@@ -134,9 +134,9 @@
title="添加自提点" title="添加自提点"
v-model="dialogFormVisible" v-model="dialogFormVisible"
:show-close="false" :show-close="false"
:width="isPc?'50%': '70%'"
> >
<el-form <el-form
style="margin-left: 70px"
:model="form" :model="form"
:rules="rules" :rules="rules"
ref="ruleForm" ref="ruleForm"
...@@ -165,7 +165,7 @@ ...@@ -165,7 +165,7 @@
placeholder="" placeholder=""
:disabled="true" :disabled="true"
></el-input> ></el-input>
<el-button type="primary" @click="mapDialogVisible = true" <el-button type="primary" @click="mapDialogVisible = true" size="mini"
>从高德获取坐标</el-button >从高德获取坐标</el-button
> >
</el-form-item> </el-form-item>
...@@ -290,7 +290,8 @@ export default { ...@@ -290,7 +290,8 @@ export default {
province: "", province: "",
city: "", city: "",
area: "" area: ""
} // 添加自提点 详细信息 }, // 添加自提点 详细信息
isPc: document.documentElement.clientWidth > 600,
}; };
}, },
computed: { computed: {
...@@ -566,17 +567,17 @@ export default { ...@@ -566,17 +567,17 @@ export default {
} }
.set { .set {
width: 50%; width: 50%;
margin-top: 40px; margin: 40px 20px 0 0;
}
.el-button {
margin-left: 30px;
} }
// .el-button {
// margin-left: 30px;
// }
.tabList { .tabList {
margin-top: 10px; margin-top: 10px;
} }
.dialog-input { // .dialog-input {
width: 50%; // width: 50%;
} // }
.location { .location {
margin-bottom: 10px; margin-bottom: 10px;
margin-left: 14%; margin-left: 14%;
......
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