liucheng.vue 606 B

12345678910111213141516171819202122232425262728293031323334353637
  1. <template>
  2. <u-popup v-model="view" mode="center" border-radius="16" height="50%">
  3. <view class="content">
  4. <image :src="liucheng"></image>
  5. </view>
  6. </u-popup>
  7. </template>
  8. <script>
  9. export default {
  10. name: 'liucheng',
  11. props: {
  12. liucheng: {
  13. type: String,
  14. }
  15. },
  16. data() {
  17. return {
  18. view: false,
  19. // liucheng: require('@/static/images/form/liucheng.jpg')
  20. }
  21. },
  22. methods: {
  23. show() {
  24. this.view = true
  25. }
  26. }
  27. }
  28. </script>
  29. <style lang="scss" scoped>
  30. .content {
  31. width: 100%;
  32. height: 100%;
  33. display: flex;
  34. align-items: center;
  35. justify-content: center;
  36. }
  37. </style>