|
@@ -14,7 +14,10 @@
|
|
|
<img src="~@/assets/img/icons/fullsreen.png" alt="">
|
|
|
</div>
|
|
|
<div class="radio-fix">
|
|
|
- <el-radio size="medium" v-model="momentChooseId" @change="changeRadio"
|
|
|
+ <el-radio v-if="imgType != 3" size="medium" v-model="momentChooseId"
|
|
|
+ @change="changeRadio" :label="item.ImageConfId"></el-radio>
|
|
|
+ <el-radio class="backcover-radio" v-else size="medium" v-model="momentChooseId"
|
|
|
+ @click.native.prevent="clickRadio(item.ImageConfId)"
|
|
|
:label="item.ImageConfId"></el-radio>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -24,8 +27,8 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div style="margin-top: 20px;display: flex;justify-content:flex-end;padding-right: 40px;">
|
|
|
- <el-pagination @current-change="handleCurrentChange"
|
|
|
- :current-page="page" :page-size="pageSize" layout="total, prev, pager, next, jumper" :total="total">
|
|
|
+ <el-pagination @current-change="handleCurrentChange" :current-page="page" :page-size="pageSize"
|
|
|
+ layout="total, prev, pager, next, jumper" :total="total">
|
|
|
</el-pagination>
|
|
|
</div>
|
|
|
<div style="text-align:center;padding: 30px 0;margin-top: 60px;">
|
|
@@ -99,6 +102,19 @@ export default {
|
|
|
this.momentChooseUrl = this.list[index].Url
|
|
|
}
|
|
|
},
|
|
|
+ // 封底图片选择
|
|
|
+ clickRadio(val) {
|
|
|
+ if (val === this.momentChooseId) {
|
|
|
+ this.momentChooseId = 0
|
|
|
+ this.momentChooseUrl = ''
|
|
|
+ } else {
|
|
|
+ this.momentChooseId = val
|
|
|
+ const index = this.list.findIndex(el => el.ImageConfId == val)
|
|
|
+ if (index > -1) {
|
|
|
+ this.momentChooseUrl = this.list[index].Url
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
//资源库列表
|
|
|
getImgList() {
|
|
|
apiSmartReport.pptMaterialList({
|
|
@@ -238,5 +254,10 @@ export default {
|
|
|
display: none;
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+ .backcover-radio.el-radio:focus:not(.is-focus):not(:active):not(.is-disabled) .el-radio__inner {
|
|
|
+ -webkit-box-shadow: none !important;
|
|
|
+ box-shadow: none !important;
|
|
|
+ }
|
|
|
}
|
|
|
</style>
|