Commit 21d55240 authored by qipeng's avatar qipeng

修改

parent ae912603
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
:data-tailorx="item.left" :data-tailory="item.top" :data-id="item.id" :data-tailorx="item.left" :data-tailory="item.top" :data-id="item.id"
:data-primitiveWidth="item.primitiveWidth" :data-primitiveHeight="item.primitiveHeight" :data-primitiveWidth="item.primitiveWidth" :data-primitiveHeight="item.primitiveHeight"
:class="item.id" :class="item.id"
:style="{width:item.realTimeWidth+'px',height:item.realTimeHeight+'px'}" :style="{width:item.realTimeWidth+'px',height:item.realTimeHeight+'px',transform:rotate(item.transform+'deg')}"
@touchstart="handleTouchStart($event,index)" @touchmove="handleTouchMove($event,index)" @touchend="handleTouchEnd($event,index)"></image> @touchstart="handleTouchStart($event,index)" @touchmove="handleTouchMove($event,index)" @touchend="handleTouchEnd($event,index)"></image>
</movable-view> </movable-view>
</movable-area> </movable-area>
...@@ -137,6 +137,7 @@ export default { ...@@ -137,6 +137,7 @@ export default {
top:'151', top:'151',
left:'61', left:'61',
radius:'0', radius:'0',
transform:0,
}, },
{ {
id:'img2', id:'img2',
...@@ -150,6 +151,7 @@ export default { ...@@ -150,6 +151,7 @@ export default {
top:'151', top:'151',
left:'312', left:'312',
radius:'0', radius:'0',
transform:0,
}, },
{ {
id:'img3', id:'img3',
...@@ -163,6 +165,7 @@ export default { ...@@ -163,6 +165,7 @@ export default {
top:'530', top:'530',
left:'61', left:'61',
radius:'0', radius:'0',
transform: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