Commit 919856e1 authored by 罗超's avatar 罗超

1

parent 6fbc7937
...@@ -668,7 +668,7 @@ ...@@ -668,7 +668,7 @@
.restaurantInfo .mapList { .restaurantInfo .mapList {
width: 850px !important; width: 850px !important;
height: 510px !important; /* height: 510px !important; */
} }
.restaurantInfo .addAddress .el-input__inner { .restaurantInfo .addAddress .el-input__inner {
...@@ -843,6 +843,19 @@ ...@@ -843,6 +843,19 @@
></el-button> ></el-button>
</el-input> </el-input>
</el-form-item> </el-form-item>
<div class="toolOne">
<span class="fanbili">地理位置</span>
<div class="RabateDiv clearfix">
<div class="RebateCount reOne">
<div class="leftPnum">经度</div>
<input type="text" class="toolInput inpuOne" v-model="addMsg.Lng" maxlength="20">
</div>
<div class="RebateCount reTwo">
<div class="fanNum">纬度</div>
<input type="text" class="toolInput inpuTwo" v-model="addMsg.Lat" maxlength="20">
</div>
</div>
</div>
<!-- 营业时间 --> <!-- 营业时间 -->
<el-form-item <el-form-item
:label="$t('restaurant.res_BusinessHours') + (index + 1)" :label="$t('restaurant.res_BusinessHours') + (index + 1)"
...@@ -1413,11 +1426,12 @@ ...@@ -1413,11 +1426,12 @@
center center
:visible.sync="selectAddress" :visible.sync="selectAddress"
> >
<googleMap <!-- <googleMap
@refList="googleMap" @refList="googleMap"
v-on:headCallBack="headCall" v-on:headCallBack="headCall"
v-bind:address="addMsg.Address" v-bind:address="addMsg.Address"
></googleMap> ></googleMap> -->
<tencentMap @map-submit="mapEvent" :address="addMsg.Address"></tencentMap>
</el-dialog> </el-dialog>
<div class="btn-list"> <div class="btn-list">
...@@ -1455,8 +1469,9 @@ ...@@ -1455,8 +1469,9 @@
</template> </template>
<script> <script>
import DMCchooseImg from "../commonPage/DMCchooseImg.vue"; import DMCchooseImg from "../commonPage/DMCchooseImg.vue";
import googleMap from "../commonPage/googleMap.vue"; // import googleMap from "../commonPage/googleMap.vue";
// import comImgList from "../commonPage/comImgList.vue"; // import comImgList from "../commonPage/comImgList.vue";
import tencentMap from "../commonPage/tencentMap.vue";
export default { export default {
data() { data() {
return { return {
...@@ -1648,11 +1663,18 @@ export default { ...@@ -1648,11 +1663,18 @@ export default {
}; };
}, },
components: { components: {
googleMap: googleMap, // googleMap: googleMap,
DMCchooseImg: DMCchooseImg, DMCchooseImg: DMCchooseImg,
// comImgList // comImgList,
tencentMap
}, },
methods: { methods: {
//得到地图信息
mapEvent(e) {
this.addMsg.Lat = e.lat;
this.addMsg.Lng = e.long;
this.selectAddress = false;
},
//上传餐厅图片 //上传餐厅图片
UploadImage(file) { UploadImage(file) {
let newArr = []; let newArr = [];
......
...@@ -34,7 +34,12 @@ ...@@ -34,7 +34,12 @@
width: 510px; width: 510px;
margin-top: 35px; margin-top: 35px;
} }
/* .scenicSpotInfoManage .open-time {
float: left;
min-height: 100vh;
background-color: #000;
margin-top: 35px;
} */
.scenicSpotInfoManage .resource-lititle { .scenicSpotInfoManage .resource-lititle {
display: block; display: block;
border-left: 4px solid #e95252; border-left: 4px solid #e95252;
...@@ -1116,6 +1121,7 @@ ...@@ -1116,6 +1121,7 @@
</div> </div>
</div> </div>
</div> </div>
<!-- <div class="open-time"></div> -->
</el-form> </el-form>
</div> </div>
<el-dialog custom-class="resourceImgAdd" title="添加图片" center :visible.sync="addimg"> <el-dialog custom-class="resourceImgAdd" title="添加图片" center :visible.sync="addimg">
...@@ -1142,7 +1148,7 @@ ...@@ -1142,7 +1148,7 @@
// import googleMap from "../commonPage/googleMap.vue"; // import googleMap from "../commonPage/googleMap.vue";
import DMCchooseImg from "../commonPage/DMCchooseImg.vue"; import DMCchooseImg from "../commonPage/DMCchooseImg.vue";
import MyEdit from "@/components/EditTemplate.vue"; import MyEdit from "@/components/EditTemplate.vue";
import tencentMap from "../commonPage/tencentMap.vue"; import tencentMap from "../commonPage/tencentMap.vue";
export default { export default {
data() { data() {
return { return {
......
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