|
@@ -70,6 +70,7 @@
|
|
|
</el-upload>
|
|
|
<div class="ri-deal">
|
|
|
<input class="ri-input" v-model="area.area" type="text" placeholder="输面积">
|
|
|
+ <input class="ri-input" v-model="area.vr_key" type="text" placeholder="VR地址">
|
|
|
<span class="ri-del" @click="roomAreaDel(one, two, three)">删除</span>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -202,7 +203,7 @@ export default {
|
|
|
let cObj = {
|
|
|
house_type_name: arrToObj(this.$dictData.house_type)[v],
|
|
|
house_type_val: v,
|
|
|
- area_list: [{img_url: '', area: '0'}]
|
|
|
+ area_list: [{img_url: '', area: '0', vr_key: ''}]
|
|
|
}
|
|
|
houseTypeList.forEach((h, hIndex) =>{
|
|
|
if (v === String(h.house_type_val)) {
|
|
@@ -221,7 +222,7 @@ export default {
|
|
|
},
|
|
|
roomAreaAdd (one, two) {
|
|
|
let productData = [...this.productData]
|
|
|
- productData[one].house_type_list[two].area_list.push({img_url: '', area: '0'})
|
|
|
+ productData[one].house_type_list[two].area_list.push({img_url: '', area: '0', vr_key: ''})
|
|
|
this.productData = [...productData]
|
|
|
},
|
|
|
roomAreaUploadImg (one, two, three) {
|
|
@@ -578,7 +579,6 @@ export default {
|
|
|
outline: none;
|
|
|
color: #666;
|
|
|
font-size: 12px;
|
|
|
- margin-top: -5px;
|
|
|
}
|
|
|
.ri-del {
|
|
|
font-size: 12px;
|
|
@@ -587,7 +587,6 @@ export default {
|
|
|
width: 100%;
|
|
|
height: 26px;
|
|
|
line-height: 26px;
|
|
|
- margin-top: 10px;
|
|
|
cursor: pointer;
|
|
|
display: inline-block;
|
|
|
}
|