cmj-animation.vue 651 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. <template>
  2. <view class="animation-wrap">
  3. <image class="jt-1" src="@/static/cmj-jt.jpg"/>
  4. <image class="jt-2" src="@/static/cmj-jt.jpg"/>
  5. <image class="main" src="@/static/cmj-main.jpg"/>
  6. </view>
  7. </template>
  8. <script>
  9. </script>
  10. <style scoped lang="scss">
  11. .animation-wrap {
  12. height: 272rpx;
  13. position: relative;
  14. .main {
  15. position: absolute;
  16. left: 14rpx;
  17. top: 30rpx;
  18. width: 520rpx;
  19. height: 210rpx;
  20. z-index: 1;
  21. }
  22. .jt-1 {
  23. width: 130rpx;
  24. height: 130rpx;
  25. position: absolute;
  26. top: 0;
  27. left: 0;
  28. }
  29. .jt-2 {
  30. width: 130rpx;
  31. height: 130rpx;
  32. position: absolute;
  33. right: 0;
  34. bottom: 0;
  35. }
  36. }
  37. </style>