|
@@ -1,5 +1,8 @@
|
|
<template>
|
|
<template>
|
|
- <div class="elem-text" :style="elemStyles">
|
|
|
|
|
|
+ <div
|
|
|
|
+ :class="['elem-text', { 'is-side': data.mode === 'side' }]"
|
|
|
|
+ :style="elemStyles"
|
|
|
|
+ >
|
|
<div class="text-body" :style="styles">
|
|
<div class="text-body" :style="styles">
|
|
<span
|
|
<span
|
|
v-for="(cont, index) in data.content"
|
|
v-for="(cont, index) in data.content"
|
|
@@ -41,8 +44,6 @@ export default {
|
|
position: "absolute",
|
|
position: "absolute",
|
|
width: this.data.h + "px",
|
|
width: this.data.h + "px",
|
|
height: this.data.w + "px",
|
|
height: this.data.w + "px",
|
|
- transform: "rotate(-90deg)",
|
|
|
|
- "transform-origin": "0 100%",
|
|
|
|
bottom: 0,
|
|
bottom: 0,
|
|
left: this.data.w + "px",
|
|
left: this.data.w + "px",
|
|
};
|
|
};
|