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

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

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

3
src/widget/videoupload/videoUploadPlay.vue

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

Loading…
Cancel
Save