Browse Source

图片

qin_26
liwenxuan 3 months ago
parent
commit
c5811f3d00
  1. 12
      src/components/DesignForm/assembly/index.ts
  2. 6
      src/components/DesignForm/public/expand/lowcodeImage.vue

12
src/components/DesignForm/assembly/index.ts

@ -574,7 +574,17 @@ export default [
floatFlag: false, floatFlag: false,
floatValue: 'left', floatValue: 'left',
}, },
config: {} config: {},
styles: {
labelStyle:{
divbox: "all",
transparency: 100,
textAlign: "left",
border: 5,
marginTop: "5",
marginLeft: "7"
}
}
}, },
{ {
type: 'videoUpAndPlay', type: 'videoUpAndPlay',

6
src/components/DesignForm/public/expand/lowcodeImage.vue

@ -231,12 +231,14 @@ function selectFile(){
> >
<el-icon><Plus /></el-icon> <el-icon><Plus /></el-icon>
</el-upload> --> </el-upload> -->
<div v-if="!props.data.control.useDefaultImg&&attrs.type!=4&&props.data.control.onSiteShot&&props.data.control.onSiteShot==''" style="width: 100%; "> <div v-if="!props.data.control.useDefaultImg&&attrs.type!=4&&props.data.control.onSiteShot==''" style="width: 100%; ">
<el-button @click="selectFile" style="color:grey;font-weight: bolder;"><el-icon style="margin-right: 7px;font-weight: bolder;"><Plus /></el-icon></el-button> <el-button @click="selectFile" style="color:grey;font-weight: bolder;"><el-icon style="margin-right: 7px;font-weight: bolder;"><Plus /></el-icon></el-button>
</div> </div>
<div v-if="!props.data.control.useDefaultImg&&attrs.type!=4&&props.data.control.onSiteShot&&props.data.control.onSiteShot=='1'" style="width: 100%; color:orangered"> <div v-if="!props.data.control.useDefaultImg&&attrs.type!=4&&props.data.control.onSiteShot&&props.data.control.onSiteShot=='1'" style="width: 100%; color:orangered">
仅允许现场手机拍照上传
<div v-if="attrs.type==5">仅允许现场手机拍照上传</div>
<div v-else ><el-button @click="selectFile" style="color:grey;font-weight: bolder;"><el-icon style="margin-right: 7px;font-weight: bolder;"><Plus /></el-icon></el-button></div>
</div> </div>

Loading…
Cancel
Save