Browse Source

第一版css样式结束

yjf_v3
超级管理员 2 years ago
parent
commit
5115e1fe41
  1. 4
      src/components/DesignForm/layoutPage/index.vue
  2. 2
      src/components/DesignForm/public/form/formGroup.vue
  3. 3
      src/widget/videoupload/videoUploadPlay.vue

4
src/components/DesignForm/layoutPage/index.vue

@ -60,7 +60,7 @@ const inputUnitTitle = (val:string) => {
case "treeSelect","colorPicker","signaturemap":
unitIsShow.value = false;
break;
case "txt","table":
case "txt","table","videoUpAndPlay","lowcodeCarsusel","grid","tabs":
unitIsShow.value = false;
labelIsShow.value = false;
break;
@ -74,6 +74,8 @@ const inputUnitTitle = (val:string) => {
break;
default:
unitIsShow.value = true;
labelIsShow.value = true;
return "Input布局"
break;
}

2
src/components/DesignForm/public/form/formGroup.vue

@ -314,7 +314,7 @@ const getFormItemLableStyle = (ele: any) => {
v-show="linksShow(element, index)"
v-if="linksIf(element)"
>
{{element}}
<!-- {{element}} -->
<!--选项卡组件-->
<template v-if="element.type === 'tabs'">
<div class="form-tabs">

3
src/widget/videoupload/videoUploadPlay.vue

@ -1,12 +1,11 @@
<template>
<!-- <p>{{ videoHeight }}</p>
<p>{{ videoWidth }}</p> -->
{{data}}
<video
:src="data?.control.videoMsg[0].url"
:loop="data?.control.videoMsg[0].loop"
:autoplay="data?.control.videoMsg[0].videoAutoPlay"
:style="{height:videoHeight,width:'100%'}"
:style="{height:videoHeight,width:videoWidth}"
controls
>
</video>

Loading…
Cancel
Save