Commit 0005f78a authored by youjie's avatar youjie

添加页面及img操作位置

parent d03de5db
......@@ -531,7 +531,8 @@ img {
}
.UpgradedVersionDetails-formBox1 {
top: 12px;
top: 139px;
left: -31px;
}
.UpgradedVersionDetails-imgbox {}
......@@ -916,7 +917,7 @@ img {
.subIdeImgForm2Box3 {
left: 0px;
top: 0;
top: 1px;
}
.UpgradedVersion-intTitle {
......
......@@ -3,7 +3,7 @@
<div class="UpgradedVersionDetails-form absolute row-sb z-index1" :style="{'background':backgroundColor}">
<div class="UpgradedVersionDetails-form-Box absolute UpgradedVersion-Hover">
<div class="UpgradedVersionDetails-formBox1 absolute">
<FeatureControls :index="index" :FeatureData="FeatureData" :ControlsType="'row'"
<FeatureControls :index="index" :FeatureData="FeatureData" :ControlsType="'column'"
:isDeletePage="FeatureData.isDeletePage" :pagesType="3" @toAddPages="toAddPages"
@toDeletePages="toDeletePages">
</FeatureControls>
......@@ -14,7 +14,7 @@
<div class="UpgradedVersionDetails-imgbox row-aic UpgradedVersion-Hover">
<div class="UpgradedVersionDetails-img relative">
<div class="UpgradedVersionDetails1 absolute z-index1">
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :isUploadImg="true"
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :ControlsType="'column'" isImg="1" :isUploadImg="true"
:isSelectImg="true" @toUploadImg="UploadImg(i)" @toSelectImg="SelectImg(i)" @toAddImg="AddImg"
@toDeleteImg="DeleteImg(i)" />
</div>
......
......@@ -3,7 +3,7 @@
<div class="MasterMapList-box">
<div v-if="FeatureData.ImgList&&FeatureData.ImgList.length==1" class="MasterMapList-1 relative bjF6 UpgradedVersion-Hover">
<div class="MasterMapList1 absolute z-index1">
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData"
<FeatureControls v-if="FeatureData&&pageType!=2" :index="index" :FeatureData="FeatureData" :ControlsType="'row'" :isImg="1"
:isUploadImg="pageType==2?false:true" :isSelectImg="pageType==2?false:true"
:isDeleteImg="pageType==2?false:true" @toUploadImg="toUploadImg(0)" @toSelectImg="toSelectImg(0)"
@toAddImg="toAddImg" @toDeleteImg="toDeleteImg(0)" />
......@@ -14,7 +14,7 @@
<div v-if="FeatureData.ImgList&&FeatureData.ImgList.length==2" class="MasterMapList-2 row-sb">
<div class="MasterMapList-1 relative bjF6 UpgradedVersion-Hover">
<div class="MasterMapList1 absolute z-index1">
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :isUploadImg="true"
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :ControlsType="'row'" :isImg="1" :isUploadImg="true"
:isSelectImg="true" :isDeleteImg="true" @toUploadImg="toUploadImg(0)" @toSelectImg="toSelectImg(0)"
@toAddImg="toAddImg" @toDeleteImg="toDeleteImg(0)" />
</div>
......@@ -22,7 +22,7 @@
</div>
<div class="MasterMapList-1 relative bjF6 marginL20 UpgradedVersion-Hover">
<div class="MasterMapList1 absolute z-index1">
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :isUploadImg="true"
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :ControlsType="'row'" :isImg="1" :isUploadImg="true"
:isSelectImg="true" :isDeleteImg="true" @toUploadImg="toUploadImg(1)" @toSelectImg="toSelectImg(1)"
@toAddImg="toAddImg" @toDeleteImg="toDeleteImg(1)" />
</div>
......@@ -33,7 +33,7 @@
<div v-if="FeatureData.ImgList&&FeatureData.ImgList.length==3" class="MasterMapList-3 row-sb-nowrap">
<div class="MasterMapList-1 relative bjF6 UpgradedVersion-Hover">
<div class="MasterMapList1 absolute z-index1">
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :isUploadImg="true"
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :ControlsType="'row'" :isImg="1" :isUploadImg="true"
:isSelectImg="true" :isDeleteImg="true" @toUploadImg="toUploadImg(0)" @toSelectImg="toSelectImg(0)"
@toAddImg="toAddImg" @toDeleteImg="toDeleteImg(0)" />
</div>
......@@ -42,7 +42,7 @@
<div class="MasterMapList-2 column marginL20">
<div class="MasterMapList-1 relative bjF6 UpgradedVersion-Hover">
<div class="MasterMapList1 absolute z-index1">
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :isUploadImg="true"
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :ControlsType="'row'" :isImg="1" :isUploadImg="true"
:isSelectImg="true" :isDeleteImg="true" @toUploadImg="toUploadImg(1)" @toSelectImg="toSelectImg(1)"
@toAddImg="toAddImg" @toDeleteImg="toDeleteImg(1)" />
</div>
......@@ -50,7 +50,7 @@
</div>
<div class="MasterMapList-1 relative marginT20 bjF6 UpgradedVersion-Hover">
<div class="MasterMapList1 absolute z-index1">
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :isUploadImg="true"
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :ControlsType="'row'" :isImg="1" :isUploadImg="true"
:isSelectImg="true" :isDeleteImg="true" @toUploadImg="toUploadImg(2)" @toSelectImg="toSelectImg(2)"
@toAddImg="toAddImg" @toDeleteImg="toDeleteImg(2)" />
</div>
......@@ -63,7 +63,7 @@
<div class="MasterMapList-2 row-sb">
<div class="MasterMapList-1 relative bjF6 UpgradedVersion-Hover">
<div class="MasterMapList1 absolute z-index1">
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :isUploadImg="true"
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :ControlsType="'row'" :isImg="1" :isUploadImg="true"
:isSelectImg="true" :isDeleteImg="true" @toUploadImg="toUploadImg(0)" @toSelectImg="toSelectImg(0)"
@toAddImg="toAddImg" @toDeleteImg="toDeleteImg(0)" />
</div>
......@@ -71,7 +71,7 @@
</div>
<div class="MasterMapList-1 relative marginL20 bjF6 UpgradedVersion-Hover">
<div class="MasterMapList1 absolute z-index1">
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :isUploadImg="true"
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :ControlsType="'row'" :isImg="1" :isUploadImg="true"
:isSelectImg="true" :isDeleteImg="true" @toUploadImg="toUploadImg(1)" @toSelectImg="toSelectImg(1)"
@toAddImg="toAddImg" @toDeleteImg="toDeleteImg(1)" />
</div>
......@@ -81,7 +81,7 @@
<div class="MasterMapList-2 row-sb marginT20">
<div class="MasterMapList-1 relative bjF6 UpgradedVersion-Hover">
<div class="MasterMapList1 absolute z-index1">
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :isUploadImg="true"
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :ControlsType="'row'" :isImg="1" :isUploadImg="true"
:isSelectImg="true" :isDeleteImg="true" @toUploadImg="toUploadImg(2)" @toSelectImg="toSelectImg(2)"
@toAddImg="toAddImg" @toDeleteImg="toDeleteImg(2)" />
</div>
......@@ -89,7 +89,7 @@
</div>
<div class="MasterMapList-1 relative marginL20 bjF6 UpgradedVersion-Hover">
<div class="MasterMapList1 absolute z-index1">
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :isUploadImg="true"
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :ControlsType="'row'" :isImg="1" :isUploadImg="true"
:isSelectImg="true" :isDeleteImg="true" @toUploadImg="toUploadImg(3)" @toSelectImg="toSelectImg(3)"
@toAddImg="toAddImg" @toDeleteImg="toDeleteImg(3)" />
</div>
......@@ -104,7 +104,7 @@
<div class="MasterMapList-8-oneL column">
<div class="MasterMapList-1 relative bjF6 UpgradedVersion-Hover">
<div class="MasterMapList1 absolute z-index1">
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :isUploadImg="true"
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :ControlsType="'row'" :isImg="1" :isUploadImg="true"
:isSelectImg="true" :isDeleteImg="true" @toUploadImg="toUploadImg(0)" @toSelectImg="toSelectImg(0)"
@toAddImg="toAddImg" @toDeleteImg="toDeleteImg(0)" />
</div>
......@@ -112,7 +112,7 @@
</div>
<div class="MasterMapList-1 relative marginT14 bjF6 UpgradedVersion-Hover">
<div class="MasterMapList1 absolute z-index1">
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :isUploadImg="true"
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :ControlsType="'row'" :isImg="1" :isUploadImg="true"
:isSelectImg="true" :isDeleteImg="true" @toUploadImg="toUploadImg(1)" @toSelectImg="toSelectImg(1)"
@toAddImg="toAddImg" @toDeleteImg="toDeleteImg(1)" />
</div>
......@@ -122,7 +122,7 @@
<div class="MasterMapList-8-oneR column marginL11">
<div class="MasterMapList-1 relative bjF6 UpgradedVersion-Hover">
<div class="MasterMapList1 absolute z-index1">
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :isUploadImg="true"
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :ControlsType="'row'" :isImg="1" :isUploadImg="true"
:isSelectImg="true" :isDeleteImg="true" @toUploadImg="toUploadImg(2)" @toSelectImg="toSelectImg(2)"
@toAddImg="toAddImg" @toDeleteImg="toDeleteImg(2)" />
</div>
......@@ -130,7 +130,7 @@
</div>
<div class="MasterMapList-1 relative marginT14 bjF6 UpgradedVersion-Hover">
<div class="MasterMapList1 absolute z-index1">
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :isUploadImg="true"
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :ControlsType="'row'" :isImg="1" :isUploadImg="true"
:isSelectImg="true" :isDeleteImg="true" @toUploadImg="toUploadImg(3)" @toSelectImg="toSelectImg(3)"
@toAddImg="toAddImg" @toDeleteImg="toDeleteImg(3)" />
</div>
......@@ -138,7 +138,7 @@
</div>
<div class="MasterMapList-1 relative marginT14 bjF6 UpgradedVersion-Hover">
<div class="MasterMapList1 absolute z-index1">
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :isUploadImg="true"
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :ControlsType="'row'" :isImg="1" :isUploadImg="true"
:isSelectImg="true" :isDeleteImg="true" @toUploadImg="toUploadImg(4)" @toSelectImg="toSelectImg(4)"
@toAddImg="toAddImg" @toDeleteImg="toDeleteImg(4)" />
</div>
......@@ -155,7 +155,7 @@
<div class="MasterMapList-8-oneL column">
<div class="MasterMapList-1 relative bjF6 UpgradedVersion-Hover">
<div class="MasterMapList1 absolute z-index1">
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :isUploadImg="true"
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :ControlsType="'row'" :isImg="1" :isUploadImg="true"
:isSelectImg="true" :isDeleteImg="true" @toUploadImg="toUploadImg(0)" @toSelectImg="toSelectImg(0)"
@toAddImg="toAddImg" @toDeleteImg="toDeleteImg(0)" />
</div>
......@@ -163,7 +163,7 @@
</div>
<div class="MasterMapList-1 relative marginT14 bjF6 UpgradedVersion-Hover">
<div class="MasterMapList1 absolute z-index1">
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :isUploadImg="true"
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :ControlsType="'row'" :isImg="1" :isUploadImg="true"
:isSelectImg="true" :isDeleteImg="true" @toUploadImg="toUploadImg(1)" @toSelectImg="toSelectImg(1)"
@toAddImg="toAddImg" @toDeleteImg="toDeleteImg(1)" />
</div>
......@@ -174,7 +174,7 @@
<div class="MasterMapList-2 row-sb-nowrap">
<div class="MasterMapList-1 relative bjF6 UpgradedVersion-Hover">
<div class="MasterMapList1 absolute z-index1">
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :isUploadImg="true"
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :ControlsType="'row'" :isImg="1" :isUploadImg="true"
:isSelectImg="true" :isDeleteImg="true" @toUploadImg="toUploadImg(2)" @toSelectImg="toSelectImg(2)"
@toAddImg="toAddImg" @toDeleteImg="toDeleteImg(2)" />
</div>
......@@ -182,7 +182,7 @@
</div>
<div class="MasterMapList-1 relative marginL11 bjF6 UpgradedVersion-Hover">
<div class="MasterMapList1 absolute z-index1">
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :isUploadImg="true"
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :ControlsType="'row'" :isImg="1" :isUploadImg="true"
:isSelectImg="true" :isDeleteImg="true" @toUploadImg="toUploadImg(3)" @toSelectImg="toSelectImg(3)"
@toAddImg="toAddImg" @toDeleteImg="toDeleteImg(3)" />
</div>
......@@ -192,7 +192,7 @@
<div class="MasterMapList-2 row-sb-nowrap marginT14">
<div class="MasterMapList-1 relative bjF6 UpgradedVersion-Hover">
<div class="MasterMapList1 absolute z-index1">
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :isUploadImg="true"
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :ControlsType="'row'" :isImg="1" :isUploadImg="true"
:isSelectImg="true" :isDeleteImg="true" @toUploadImg="toUploadImg(4)" @toSelectImg="toSelectImg(4)"
@toAddImg="toAddImg" @toDeleteImg="toDeleteImg(4)" />
</div>
......@@ -200,7 +200,7 @@
</div>
<div class="MasterMapList-1 relative marginL11 bjF6 UpgradedVersion-Hover">
<div class="MasterMapList1 absolute z-index1">
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :isUploadImg="true"
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :ControlsType="'row'" :isImg="1" :isUploadImg="true"
:isSelectImg="true" :isDeleteImg="true" @toUploadImg="toUploadImg(5)" @toSelectImg="toSelectImg(5)"
@toAddImg="toAddImg" @toDeleteImg="toDeleteImg(5)" />
</div>
......@@ -219,7 +219,7 @@
<div class="MasterMapList-2 row-sb-nowrap">
<div class="MasterMapList-1 relative bjF6 UpgradedVersion-Hover">
<div class="MasterMapList1 absolute z-index1">
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :isUploadImg="true"
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :ControlsType="'row'" :isImg="1" :isUploadImg="true"
:isSelectImg="true" :isDeleteImg="true" @toUploadImg="toUploadImg(0)" @toSelectImg="toSelectImg(0)"
@toAddImg="toAddImg" @toDeleteImg="toDeleteImg(0)" />
</div>
......@@ -227,7 +227,7 @@
</div>
<div class="MasterMapList-1 relative marginL11 bjF6 UpgradedVersion-Hover">
<div class="MasterMapList1 absolute z-index1">
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :isUploadImg="true"
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :ControlsType="'row'" :isImg="1" :isUploadImg="true"
:isSelectImg="true" :isDeleteImg="true" @toUploadImg="toUploadImg(1)" @toSelectImg="toSelectImg(1)"
@toAddImg="toAddImg" @toDeleteImg="toDeleteImg(1)" />
</div>
......@@ -237,7 +237,7 @@
<div class="MasterMapList-2 row-sb-nowrap marginT14">
<div class="MasterMapList-1 relative bjF6 UpgradedVersion-Hover">
<div class="MasterMapList1 absolute z-index1">
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :isUploadImg="true"
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :ControlsType="'row'" :isImg="1" :isUploadImg="true"
:isSelectImg="true" :isDeleteImg="true" @toUploadImg="toUploadImg(2)" @toSelectImg="toSelectImg(2)"
@toAddImg="toAddImg" @toDeleteImg="toDeleteImg(2)" />
</div>
......@@ -245,7 +245,7 @@
</div>
<div class="MasterMapList-1 relative marginL11 bjF6 UpgradedVersion-Hover">
<div class="MasterMapList1 absolute z-index1">
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :isUploadImg="true"
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :ControlsType="'row'" :isImg="1" :isUploadImg="true"
:isSelectImg="true" :isDeleteImg="true" @toUploadImg="toUploadImg(3)" @toSelectImg="toSelectImg(3)"
@toAddImg="toAddImg" @toDeleteImg="toDeleteImg(3)" />
</div>
......@@ -256,7 +256,7 @@
<div class="MasterMapList-8-oneR column marginL11">
<div class="MasterMapList-1 relative bjF6 UpgradedVersion-Hover">
<div class="MasterMapList1 absolute z-index1">
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :isUploadImg="true"
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :ControlsType="'row'" :isImg="1" :isUploadImg="true"
:isSelectImg="true" :isDeleteImg="true" @toUploadImg="toUploadImg(4)" @toSelectImg="toSelectImg(4)"
@toAddImg="toAddImg" @toDeleteImg="toDeleteImg(4)" />
</div>
......@@ -264,7 +264,7 @@
</div>
<div class="MasterMapList-1 relative marginT14 bjF6 UpgradedVersion-Hover">
<div class="MasterMapList1 absolute z-index1">
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :isUploadImg="true"
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :ControlsType="'row'" :isImg="1" :isUploadImg="true"
:isSelectImg="true" :isDeleteImg="true" @toUploadImg="toUploadImg(5)" @toSelectImg="toSelectImg(5)"
@toAddImg="toAddImg" @toDeleteImg="toDeleteImg(5)" />
</div>
......@@ -272,7 +272,7 @@
</div>
<div class="MasterMapList-1 relative marginT14 bjF6 UpgradedVersion-Hover">
<div class="MasterMapList1 absolute z-index1">
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :isUploadImg="true"
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :ControlsType="'row'" :isImg="1" :isUploadImg="true"
:isSelectImg="true" :isDeleteImg="true" @toUploadImg="toUploadImg(6)" @toSelectImg="toSelectImg(6)"
@toAddImg="toAddImg" @toDeleteImg="toDeleteImg(6)" />
</div>
......@@ -288,7 +288,7 @@
<div class="MasterMapList-8-oneL">
<div class="MasterMapList-1 relative bjF6 UpgradedVersion-Hover">
<div class="MasterMapList1 absolute z-index1">
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :isUploadImg="true"
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :ControlsType="'row'" :isImg="1" :isUploadImg="true"
:isSelectImg="true" :isDeleteImg="true" @toUploadImg="toUploadImg(0)" @toSelectImg="toSelectImg(0)"
@toAddImg="toAddImg" @toDeleteImg="toDeleteImg(0)" />
</div>
......@@ -298,7 +298,7 @@
<div class="MasterMapList-8-oneR column marginL11">
<div class="MasterMapList-1 relative bjF6 UpgradedVersion-Hover">
<div class="MasterMapList1 absolute z-index1">
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :isUploadImg="true"
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :ControlsType="'row'" :isImg="1" :isUploadImg="true"
:isSelectImg="true" :isDeleteImg="true" @toUploadImg="toUploadImg(1)" @toSelectImg="toSelectImg(1)"
@toAddImg="toAddImg" @toDeleteImg="toDeleteImg(1)" />
</div>
......@@ -306,7 +306,7 @@
</div>
<div class="MasterMapList-1 relative marginT14 bjF6 UpgradedVersion-Hover">
<div class="MasterMapList1 absolute z-index1">
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :isUploadImg="true"
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :ControlsType="'row'" :isImg="1" :isUploadImg="true"
:isSelectImg="true" :isDeleteImg="true" @toUploadImg="toUploadImg(2)" @toSelectImg="toSelectImg(2)"
@toAddImg="toAddImg" @toDeleteImg="toDeleteImg(2)" />
</div>
......@@ -314,7 +314,7 @@
</div>
<div class="MasterMapList-1 relative marginT14 bjF6 UpgradedVersion-Hover">
<div class="MasterMapList1 absolute z-index1">
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :isUploadImg="true"
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :ControlsType="'row'" :isImg="1" :isUploadImg="true"
:isSelectImg="true" :isDeleteImg="true" @toUploadImg="toUploadImg(3)" @toSelectImg="toSelectImg(3)"
@toAddImg="toAddImg" @toDeleteImg="toDeleteImg(3)" />
</div>
......@@ -326,7 +326,7 @@
<div class="MasterMapList-8-oneR row-sb">
<div class="MasterMapList-1 relative bjF6 UpgradedVersion-Hover">
<div class="MasterMapList1 absolute z-index1">
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :isUploadImg="true"
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :ControlsType="'row'" :isImg="1" :isUploadImg="true"
:isSelectImg="true" :isDeleteImg="true" @toUploadImg="toUploadImg(4)" @toSelectImg="toSelectImg(4)"
@toAddImg="toAddImg" @toDeleteImg="toDeleteImg(4)" />
</div>
......@@ -334,7 +334,7 @@
</div>
<div class="MasterMapList-1 relative marginL15 bjF6 UpgradedVersion-Hover">
<div class="MasterMapList1 absolute z-index1">
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :isUploadImg="true"
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :ControlsType="'row'" :isImg="1" :isUploadImg="true"
:isSelectImg="true" :isDeleteImg="true" @toUploadImg="toUploadImg(5)" @toSelectImg="toSelectImg(5)"
@toAddImg="toAddImg" @toDeleteImg="toDeleteImg(5)" />
</div>
......@@ -342,7 +342,7 @@
</div>
<div class="MasterMapList-1 relative marginL15 bjF6 UpgradedVersion-Hover">
<div class="MasterMapList1 absolute z-index1">
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :isUploadImg="true"
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :ControlsType="'row'" :isImg="1" :isUploadImg="true"
:isSelectImg="true" :isDeleteImg="true" @toUploadImg="toUploadImg(6)" @toSelectImg="toSelectImg(6)"
@toAddImg="toAddImg" @toDeleteImg="toDeleteImg(6)" />
</div>
......@@ -350,7 +350,7 @@
</div>
<div class="MasterMapList-1 relative marginL15 bjF6 UpgradedVersion-Hover">
<div class="MasterMapList1 absolute z-index1">
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :isUploadImg="true"
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :ControlsType="'row'" :isImg="1" :isUploadImg="true"
:isSelectImg="true" :isDeleteImg="true" @toUploadImg="toUploadImg(7)" @toSelectImg="toSelectImg(7)"
@toAddImg="toAddImg" @toDeleteImg="toDeleteImg(7)" />
</div>
......@@ -366,7 +366,7 @@
<div class="MasterMapList-8-oneL row-sb">
<div class="MasterMapList-1 relative bjF6 UpgradedVersion-Hover">
<div class="MasterMapList1 absolute z-index1">
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :isUploadImg="true"
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :ControlsType="'row'" :isImg="1" :isUploadImg="true"
:isSelectImg="true" :isDeleteImg="true" @toUploadImg="toUploadImg(0)" @toSelectImg="toSelectImg(0)"
@toAddImg="toAddImg" @toDeleteImg="toDeleteImg(0)" />
</div>
......@@ -374,7 +374,7 @@
</div>
<div class="MasterMapList-1 relative marginL11 bjF6 UpgradedVersion-Hover">
<div class="MasterMapList1 absolute z-index1">
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :isUploadImg="true"
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :ControlsType="'row'" :isImg="1" :isUploadImg="true"
:isSelectImg="true" :isDeleteImg="true" @toUploadImg="toUploadImg(1)" @toSelectImg="toSelectImg(1)"
@toAddImg="toAddImg" @toDeleteImg="toDeleteImg(1)" />
</div>
......@@ -384,7 +384,7 @@
<div class="MasterMapList-8-oneR column marginL11">
<div class="MasterMapList-1 relative bjF6 UpgradedVersion-Hover">
<div class="MasterMapList1 absolute z-index1">
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :isUploadImg="true"
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :ControlsType="'row'" :isImg="1" :isUploadImg="true"
:isSelectImg="true" :isDeleteImg="true" @toUploadImg="toUploadImg(2)" @toSelectImg="toSelectImg(2)"
@toAddImg="toAddImg" @toDeleteImg="toDeleteImg(2)" />
</div>
......@@ -392,7 +392,7 @@
</div>
<div class="MasterMapList-1 relative marginT14 bjF6 UpgradedVersion-Hover">
<div class="MasterMapList1 absolute z-index1">
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :isUploadImg="true"
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :ControlsType="'row'" :isImg="1" :isUploadImg="true"
:isSelectImg="true" :isDeleteImg="true" @toUploadImg="toUploadImg(3)" @toSelectImg="toSelectImg(3)"
@toAddImg="toAddImg" @toDeleteImg="toDeleteImg(3)" />
</div>
......@@ -400,7 +400,7 @@
</div>
<div class="MasterMapList-1 relative marginT14 bjF6 UpgradedVersion-Hover">
<div class="MasterMapList1 absolute z-index1">
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :isUploadImg="true"
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :ControlsType="'row'" :isImg="1" :isUploadImg="true"
:isSelectImg="true" :isDeleteImg="true" @toUploadImg="toUploadImg(4)" @toSelectImg="toSelectImg(4)"
@toAddImg="toAddImg" @toDeleteImg="toDeleteImg(4)" />
</div>
......@@ -412,7 +412,7 @@
<div class="MasterMapList-8-oneR row-sb">
<div class="MasterMapList-1 relative bjF6 UpgradedVersion-Hover">
<div class="MasterMapList1 absolute z-index1">
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :isUploadImg="true"
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :ControlsType="'row'" :isImg="1" :isUploadImg="true"
:isSelectImg="true" :isDeleteImg="true" @toUploadImg="toUploadImg(5)" @toSelectImg="toSelectImg(5)"
@toAddImg="toAddImg" @toDeleteImg="toDeleteImg(5)" />
</div>
......@@ -420,7 +420,7 @@
</div>
<div class="MasterMapList-1 relative marginL15 bjF6 UpgradedVersion-Hover">
<div class="MasterMapList1 absolute z-index1">
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :isUploadImg="true"
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :ControlsType="'row'" :isImg="1" :isUploadImg="true"
:isSelectImg="true" :isDeleteImg="true" @toUploadImg="toUploadImg(6)" @toSelectImg="toSelectImg(6)"
@toAddImg="toAddImg" @toDeleteImg="toDeleteImg(6)" />
</div>
......@@ -428,7 +428,7 @@
</div>
<div class="MasterMapList-1 relative marginL15 bjF6 UpgradedVersion-Hover">
<div class="MasterMapList1 absolute z-index1">
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :isUploadImg="true"
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :ControlsType="'row'" :isImg="1" :isUploadImg="true"
:isSelectImg="true" :isDeleteImg="true" @toUploadImg="toUploadImg(7)" @toSelectImg="toSelectImg(7)"
@toAddImg="toAddImg" @toDeleteImg="toDeleteImg(7)" />
</div>
......@@ -436,7 +436,7 @@
</div>
<div class="MasterMapList-1 relative marginL15 bjF6 UpgradedVersion-Hover">
<div class="MasterMapList1 absolute z-index1">
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :isUploadImg="true"
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :ControlsType="'row'" :isImg="1" :isUploadImg="true"
:isSelectImg="true" :isDeleteImg="true" @toUploadImg="toUploadImg(8)" @toSelectImg="toSelectImg(8)"
@toAddImg="toAddImg" @toDeleteImg="toDeleteImg(8)" />
</div>
......
<template>
<div class="featureControls">
<div class="row-aic featureControls-bottom featureControls-bottomOne" v-if="ControlsType=='row'">
<el-tooltip class="item" effect="dark" content="上传图" placement="top">
<div @click="toUploadImg" v-if="isUploadImg">
<i class="el-icon-upload2"></i>
</div>
</el-tooltip>
<el-tooltip class="item" effect="dark" content="选图" placement="top">
<div @click="toSelectImg" v-if="isSelectImg">
<i class="el-icon-search"></i>
</div>
</el-tooltip>
<el-tooltip class="item" effect="dark" content="添加图" placement="top">
<div @click="toAddImg" v-if="isAddImg">
<i class="el-icon-plus"></i>
</div>
</el-tooltip>
<el-tooltip class="item" effect="dark" content="删除图" placement="top">
<div @click="toDeleteImg" v-if="isDeleteImg">
<i class="el-icon-delete"></i>
</div>
</el-tooltip>
</div>
<div class="column featureControls-bottom featureControls-bottomTwo" v-else>
<template v-if="!isImg&&!isTemplate">
<el-tooltip class="item" effect="dark" content="添加页面" placement="top">
<div @click="toAddPages">
<i class="el-icon-plus"></i>
......@@ -11,8 +35,19 @@
<i class="el-icon-delete"></i>
</div>
</el-tooltip>
</div>
<div class="column featureControls-bottom featureControls-bottomTwo" v-else>
</template>
<template v-else>
<el-tooltip class="item" effect="dark" content="上传图" placement="top">
<div @click="toUploadImg" v-if="isUploadImg">
<i class="el-icon-upload2"></i>
</div>
</el-tooltip>
<el-tooltip class="item" effect="dark" content="选图" placement="top">
<div @click="toSelectImg" v-if="isSelectImg">
<i class="el-icon-search"></i>
</div>
</el-tooltip>
</template>
<div v-if="isTemplate">
<el-tooltip class="item" effect="dark" content="选模版" placement="top">
<el-popover trigger="hover" placement="right">
......@@ -28,26 +63,6 @@
</el-popover>
</el-tooltip>
</div>
<el-tooltip class="item" effect="dark" content="上传图" placement="top">
<div @click="toUploadImg" v-if="isUploadImg">
<i class="el-icon-upload2"></i>
</div>
</el-tooltip>
<el-tooltip class="item" effect="dark" content="选图" placement="top">
<div @click="toSelectImg" v-if="isSelectImg">
<i class="el-icon-search"></i>
</div>
</el-tooltip>
<el-tooltip class="item" effect="dark" content="添加图" placement="top">
<div @click="toAddImg" v-if="isAddImg">
<i class="el-icon-plus"></i>
</div>
</el-tooltip>
<el-tooltip class="item" effect="dark" content="删除图" placement="top">
<div @click="toDeleteImg" v-if="isDeleteImg">
<i class="el-icon-delete"></i>
</div>
</el-tooltip>
</div>
</div>
</template>
......@@ -57,7 +72,7 @@
components: {
},
props: ['index', 'FeatureData', 'ControlsType', 'pagesType', 'isDeletePage',
props: ['index', 'FeatureData', 'ControlsType','isImg', 'pagesType', 'isDeletePage',
'isUploadImg', 'isSelectImg', 'isAddImg', 'isDeleteImg', 'isTemplate', 'Template'
],
data() {
......
......@@ -61,7 +61,7 @@
<div class="subIdeImg1 bjE6 UpgradedVersion-Hover">
<div class="subIdeImg1relative relative UpgradedVersion-Hover">
<div class="subIdeImgForm1Box absolute">
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :isUploadImg="true"
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :isImg="1" :isUploadImg="true"
:isSelectImg="true" :isDeleteImg="false" @toUploadImg="toUploadImg(0)" @toSelectImg="toSelectImg(0)"
@toAddImg="toAddImg" @toDeleteImg="toDeleteImg(0)" />
</div>
......@@ -77,7 +77,7 @@
<div class="subIdeImg1 bjE6 UpgradedVersion-Hover">
<div class="subIdeImg1relative relative">
<div class="subIdeImgForm1Box absolute">
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :isUploadImg="true"
<FeatureControls v-if="FeatureData" :index="index" :FeatureData="FeatureData" :isImg="1" :isUploadImg="true"
:isSelectImg="true" :isDeleteImg="false" @toUploadImg="toUploadImg(1)" @toSelectImg="toSelectImg(1)"
@toAddImg="toAddImg" @toDeleteImg="toDeleteImg(1)" />
</div>
......@@ -118,7 +118,7 @@
],
data() {
return {
};
},
methods: {
......
......@@ -15,16 +15,17 @@
</div>
<div class="featureHome-left UpgradedVersion-Hover">
<div class="featureHome-vToolBar-one absolute z-index3">
<FeatureControls :index="index" :FeatureData="FeatureItem" :ControlsType="'row'"
:isDeletePage="FeatureItem.isDeletePage" :pagesType="1" @toAddPages="toAddPages"
@toDeletePages="toDeletePages">
</FeatureControls>
<FeatureControls :index="index" :FeatureData="FeatureItem" :ControlsType="'row'" :isTemplate="false"
:isUploadImg="true" :isSelectImg="true" :isAddImg="false" :isDeleteImg="false" @toUploadImg="UploadImg"
@toSelectImg="SelectImg" @toAddImg="AddImg" @toDeleteImg="DeleteImg"></FeatureControls>
<input type="file" style="display:none" :id="'homefile_'+(FeatureItem * 2 + 1) + '_'+index" @change="uploadpic">
</div>
<div class="featureHome-vToolBar-two absolute z-index3">
<FeatureControls :index="index" :FeatureData="FeatureItem" :ControlsType="'column'" :isTemplate="false"
:isUploadImg="true" :isSelectImg="true" :isAddImg="false" :isDeleteImg="false" @toUploadImg="UploadImg"
@toSelectImg="SelectImg" @toAddImg="AddImg" @toDeleteImg="DeleteImg"></FeatureControls>
<FeatureControls :index="index" :FeatureData="FeatureItem" :ControlsType="'column'"
:isDeletePage="FeatureItem.isDeletePage" :pagesType="1" @toAddPages="toAddPages"
@toDeletePages="toDeletePages">
</FeatureControls>
</div>
<div class="featureHome-left-one bjF6 absolute z-index2">
<template v-if="FeatureItem.dataObj.ImgList&&FeatureItem.dataObj.ImgList.length>0">
......
......@@ -6,17 +6,18 @@
:class="[FeatureItem.pageType==2?'':'UpgradedVersion-Hover']">
<div class="MasterMapList-box-one absolute">
<FeatureControls :index="index" :FeatureData="FeatureItem" :ControlsType="'row'"
:isDeletePage="FeatureItem.isDeletePage" :pagesType="1" @toAddPages="toAddPages"
@toDeletePages="toDeletePages">
</FeatureControls>
<input type="file" style="display:none" :id="'introducefile_'+(FeatureItem * 2 + 1) + '_'+index" @change="uploadpic">
</div>
<div class="MasterMapList-box-two absolute z-index3">
<FeatureControls :index="index" :FeatureData="FeatureItem" :ControlsType="'column'"
:isUploadImg="FeatureItem.pageType==2?true:false" :isSelectImg="FeatureItem.pageType==2?true:false" :isAddImg="FeatureItem.pageType==2?false:
FeatureItem.pageType!=2&&FeatureItem.dataObj.ImgList
&&FeatureItem.dataObj.ImgList.length!=9?true:false" :isDeleteImg="false" @toUploadImg="UploadImg"
@toSelectImg="SelectImg" @toAddImg="AddImg" @toDeleteImg="DeleteImg"></FeatureControls>
<input type="file" style="display:none" :id="'introducefile_'+(FeatureItem * 2 + 1) + '_'+index" @change="uploadpic">
</div>
<div class="MasterMapList-box-two absolute z-index3">
<FeatureControls :index="index" :FeatureData="FeatureItem" :ControlsType="'column'"
:isDeletePage="FeatureItem.isDeletePage" :pagesType="1" @toAddPages="toAddPages"
@toDeletePages="toDeletePages">
</FeatureControls>
</div>
</div>
<!-- 上传主图文件 -->
......
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