|
@@ -1,5 +1,5 @@
|
|
|
<template>
|
|
|
- <div class="writeTable">
|
|
|
+ <div class="writeTable" v-if="data">
|
|
|
<div class="writeTop">
|
|
|
<div class="writeTop-row" v-for="(itemR,indexR) in data" :key="indexR" :style="{marginBottom:dataConfig.marginBottom}">
|
|
|
<div class="writeTop-item" :class="[indexI!==0?'writeTop-item-noLeft':'']" v-for="(itemI,indexI) in itemR" :key="indexI" :style="{width:dataConfig.width,height:dataConfig.width,borderColor:dataConfig.borderColor}">
|
|
@@ -26,10 +26,10 @@
|
|
|
:BoxbgType="dataConfig.BoxbgType"
|
|
|
:targetDiv="
|
|
|
'write-item-miaohong-' +
|
|
|
- pageNumber + '-' + indexR + '-' + indexI
|
|
|
+ pageNumber + '-' + indexR + '-' + indexI + Math.random().toString(36).substr(2)
|
|
|
"
|
|
|
:targetDivGray="'write-item-miaohong-gray-'+
|
|
|
- pageNumber + '-' + indexR + '-' + indexI"
|
|
|
+ pageNumber + '-' + indexR + '-' + indexI + Math.random().toString(36).substr(2)"
|
|
|
/>
|
|
|
</template>
|
|
|
<template v-else-if="itemI&&itemI.miaoRed">
|
|
@@ -41,7 +41,7 @@
|
|
|
:hanzicolor="dataConfig.miaoRedBgcolor"
|
|
|
:drawingColor="dataConfig.writeColor"
|
|
|
:BoxbgType="dataConfig.BoxbgType"
|
|
|
- :targetDiv="'write-item-' + pageNumber + '-' + indexR + '-' + indexI"
|
|
|
+ :targetDiv="'write-item-' + pageNumber + '-' + indexR + '-' + indexI + Math.random().toString(36).substr(2)"
|
|
|
/>
|
|
|
</template>
|
|
|
<div v-else class="tian-div" @click="freeWrite(itemI,indexR,indexI)">
|