Model17.vue 668 B

12345678910111213141516171819202122232425262728293031323334
  1. <template>
  2. <view class="model-17">
  3. <view class="video" :style="{backgroundColor:editablePageConfig.editable_page_config_content.back_color}">
  4. <video :src="editablePageConfig.editable_page_config_content.video" controls></video>
  5. </view>
  6. </view>
  7. </template>
  8. <script>
  9. export default {
  10. name: 'Model17',
  11. data () {
  12. return {
  13. }
  14. },
  15. props: ['editablePageConfig','editablePage'],
  16. methods: {
  17. productClick(goods_id) {
  18. uni.navigateTo({url: '/pages/home/goodsdetail/Goodsdetail?goods_id='+goods_id })
  19. }
  20. }
  21. }
  22. </script>
  23. <style lang="scss" scoped>
  24. .model-17 .video{
  25. border-radius: 5px;
  26. }
  27. .model-17 video{
  28. width: 100%;
  29. }
  30. </style>