Commit 5ccc06cc authored by zhengke's avatar zhengke

修改

parent ca87b25d
......@@ -108,7 +108,7 @@
</div>
</div>
<div class="add-img">
<button class="save-Btn" @click="isShowImg=true">新增图片</button>
<button class="save-Btn" @click="isShowHotelImg=true">新增图片</button>
</div>
</div>
</div>
......@@ -205,7 +205,7 @@
<el-dialog :title="$t('hotel.hotel_mapLocation')" center :visible.sync="isShowMap">
<tencentMap @map-submit="mapEvent" :address="addMsg.Address"></tencentMap>
</el-dialog>
<el-dialog title="酒店图片" :visible.sync="isShowImg" width="1240px">
<el-dialog title="酒店图片" :visible.sync="isShowHotelImg" width="1240px">
<comHotelImg :saveObj="HotelImgArr"></comHotelImg>
</el-dialog>
<div class="btn-list">
......@@ -365,7 +365,7 @@
inputVisible: false,
inputValue: '',
serviceCked: [],
isShowImg: false,
isShowHotelImg: false,
};
},
components: {
......
......@@ -20,7 +20,7 @@
</el-col>
<el-col class="blue" :span="6">
<span @click="editGroup(index)">编辑</span>
| <span>删除</span>
| <span @click="delGroup(index)">删除</span>
</el-col>
</div>
</li>
......@@ -127,6 +127,10 @@
this.GroupName = this.saveObj[index].label;
this.addGroupMsgDig = true;
},
//删除
delGroup(index){
this.saveObj.splice(index,1);
},
//点击获取图片arr
getImgList(index,obj){
this.commonIndex = index;
......
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