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

1

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