|
@@ -31,16 +31,18 @@
|
|
|
muted
|
|
|
@ended="workState = 'done'"
|
|
|
/>
|
|
|
- <img
|
|
|
- v-show="workState === 'working'"
|
|
|
- class="tool"
|
|
|
- :style="{
|
|
|
- animationPlayState: workState === 'working' ? 'running' : 'paused',
|
|
|
- }"
|
|
|
- :src="toolList[0].url"
|
|
|
- alt=""
|
|
|
- draggable="false"
|
|
|
- >
|
|
|
+ <Transition name="tool-fade-in-out">
|
|
|
+ <img
|
|
|
+ v-show="workState === 'working'"
|
|
|
+ class="tool"
|
|
|
+ :style="{
|
|
|
+ animationPlayState: workState === 'working' ? 'running' : 'paused',
|
|
|
+ }"
|
|
|
+ :src="toolList[0].url"
|
|
|
+ alt=""
|
|
|
+ draggable="false"
|
|
|
+ >
|
|
|
+ </Transition>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -92,6 +94,7 @@ watch(workState, (vNew) => {
|
|
|
width: 100%;
|
|
|
height: 100%;
|
|
|
object-fit: contain;
|
|
|
+ box-shadow: 0px 4px 7px 0px rgba(0,0,0,0.25);
|
|
|
}
|
|
|
>.copying-paper-bottom{
|
|
|
position: absolute;
|
|
@@ -101,6 +104,7 @@ watch(workState, (vNew) => {
|
|
|
height: 70%;
|
|
|
background-color: rgba(31, 74, 114, 1);
|
|
|
object-fit: contain;
|
|
|
+ box-shadow: 0px 4px 7px 0px rgba(0,0,0,0.25);
|
|
|
}
|
|
|
>img.original-paint{
|
|
|
position: absolute;
|
|
@@ -109,6 +113,7 @@ watch(workState, (vNew) => {
|
|
|
width: 70%;
|
|
|
height: 70%;
|
|
|
object-fit: contain;
|
|
|
+ box-shadow: 0px 4px 7px 0px rgba(0,0,0,0.25);
|
|
|
}
|
|
|
>.copying-paper-top{
|
|
|
position: absolute;
|