Browse Source

情报板模板接口

wangqin
lau572 11 months ago
parent
commit
7a0aa7152d
  1. 9
      ruoyi-ui/src/views/index.vue

9
ruoyi-ui/src/views/index.vue

@ -15,7 +15,7 @@
</div>
<div class="dialog_info_left_show">
<div v-if="dialogInfoList.length > 0" class="dialog_info_left_show_box" style="height: 100%;">
<div class="dialog_info_left_show_box_item" v-for="i in dialogInfoList" :key="i.id">
<div class="dialog_info_left_show_box_item" v-for="(item,i) in dialogInfoList" :key="i.id">
<div class="dialog_info_left_show_l">
<div class="dialog_info_left_show_l_xsq" :style="{'width':processString(i.screenSize,'w') / getScrollSz(processString(i.screenSize,'w'))+'px','height':processString(i.screenSize,'h') / getScrollSz(processString(i.screenSize,'w'))+'px','justify-content':getTextAlign(i.tcontents[0].formatStyle)}">
<div class="dialog_info_left_show_l_xsq_txt" :style="{'font-size':i.tcontents[0].fontSize / getScrollSz(processString(i.screenSize,'w'))+'px','color':'#'+i.tcontents[0].fontColor,'font-family':i.tcontents[0].fontType,}" v-html="i.tcontents[0].content.replace(/\n|\r\n/g, '<br>').replace(
@ -659,10 +659,11 @@ export default {
this.$forceUpdate()
},
delMoFn(item) {
console.log(item)
delMoFn(index) {
console.log(index)
// deleteTemplate(item.tcontents[0].templateId)
this.removeItemById(this.dialogInfoList, item.id)
this.dialogInfoList.splice(index,1)
// this.removeItemById(this.dialogInfoList, item.id)
},
putLeftFn(item) {
console.log('点击事件', item)

Loading…
Cancel
Save