Commit d1a542cd authored by youjie's avatar youjie

no message

parent 4ca22c56
...@@ -2,7 +2,9 @@ ...@@ -2,7 +2,9 @@
<!-- @input="changeText" --> <!-- @input="changeText" -->
<div :data-name="isLocked" class="edit_div" :contenteditable="canEdit" v-html="innerText" @focus="isLocked = true" <div :data-name="isLocked" class="edit_div" :contenteditable="canEdit" v-html="innerText" @focus="isLocked = true"
@blur="isLocked = false,changeText()" @blur="isLocked = false,changeText()"
:style="{'font-size':fontSize?fontSize+'px':''}"> :style="{'font-size':fontSize?fontSize+'px':'',
'width':fontSize?'auto':'',
'min-width':fontSize?'auto':''}">
</div> </div>
</template> </template>
<script> <script>
......
...@@ -77,7 +77,7 @@ ...@@ -77,7 +77,7 @@
</div> </div>
<div <div
:class="[FeatureItem.dataObj.ShadowFontSize>0||FeatureItem.dataObj.ShadowFontSize2>0?'row':'']" :class="[FeatureItem.dataObj.ShadowFontSize>0||FeatureItem.dataObj.ShadowFontSize2>0?'row':'']"
:style="{'padding':FeatureItem.dataObj.ShadowFontSize2>0?'0 17px':'',}"> :style="{'padding':FeatureItem.dataObj.ShadowFontSize2>0?'0':'',}">
<div class="featureHome-three-text featureHome-three-textOne" <div class="featureHome-three-text featureHome-three-textOne"
:class="[FeatureItem.dataObj.ShadowFontSize>0||FeatureItem.dataObj.ShadowFontSize2>0?'active row-ajc':'absolute']" :class="[FeatureItem.dataObj.ShadowFontSize>0||FeatureItem.dataObj.ShadowFontSize2>0?'active row-ajc':'absolute']"
:style="{'margin-left':FeatureItem.dataObj.ShadowFontSize2>0?'0':'', :style="{'margin-left':FeatureItem.dataObj.ShadowFontSize2>0?'0':'',
......
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