diff --git a/src/assets/styles/resources/element-variables.scss b/src/assets/styles/resources/element-variables.scss
index e114288..a123c0d 100644
--- a/src/assets/styles/resources/element-variables.scss
+++ b/src/assets/styles/resources/element-variables.scss
@@ -19,6 +19,8 @@ $--border-color-lighter: #e6ebf5;
$--table-border: 1px solid #dfe6ec;
+$--box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
+
/* icon font path, required */
$--font-path: "~element-ui/lib/theme-chalk/fonts";
@import "../../../../node_modules/element-ui/packages/theme-chalk/src/index";
diff --git a/src/assets/styles/resources/variables.scss b/src/assets/styles/resources/variables.scss
index eff6f98..decb04a 100644
--- a/src/assets/styles/resources/variables.scss
+++ b/src/assets/styles/resources/variables.scss
@@ -1,23 +1,23 @@
// base color
-$blue:#324157;
-$light-blue:#3a71a8;
-$red:#c03639;
+$blue: #324157;
+$light-blue: #3a71a8;
+$red: #c03639;
$pink: #e65d6e;
$green: #30b08f;
$tiffany: #4ab7bd;
-$yellow:#fec171;
+$yellow: #fec171;
$panGreen: #30b08f;
-
+$backgroundColor: rgba(247, 247, 247, 90);
// sidebar
-$menuText:#bfcbd9;
-$menuActiveText:#409eff;
-$subMenuActiveText:#f4f4f5; // https://github.com/ElemeFE/element/issues/12951
+$menuText: #bfcbd9;
+$menuActiveText: #409eff;
+$subMenuActiveText: #f4f4f5; // https://github.com/ElemeFE/element/issues/12951
-$menuBg:#304156;
-$menuHover:#263445;
+$menuBg: #304156;
+$menuHover: #263445;
-$subMenuBg:#1f2d3d;
-$subMenuHover:#001528;
+$subMenuBg: #1f2d3d;
+$subMenuHover: #001528;
$sideBarWidth: 210px;
diff --git a/src/components/generator/config.js b/src/components/generator/config.js
index 56a03f8..9a20785 100644
--- a/src/components/generator/config.js
+++ b/src/components/generator/config.js
@@ -496,6 +496,7 @@ export const imageComponents = [
__config__: {
label: '图片展示',
showLabel: false,
+ displayType: true,
labelWidth: null,
showDefaultValue: false,
showRequired: false,
@@ -505,7 +506,7 @@ export const imageComponents = [
tagIcon: 'image',
layout: 'colFormItem',
span: 24,
- required: true,
+ required: false,
regList: [],
changeTag: true
},
@@ -522,6 +523,7 @@ export const imageComponents = [
__config__: {
label: '图片轮播',
showLabel: false,
+ displayType: true,
labelWidth: null,
defaultValue: null,
showDefaultValue: false,
@@ -579,6 +581,7 @@ export const assistComponents = [
__config__: {
label: '文字描述',
defaultValue: '描述文字',
+ displayType: true,
showDefaultValue: true,
showRequired: false,
showClearable: false,
@@ -600,6 +603,7 @@ export const assistComponents = [
__config__: {
label: '分割线',
defaultValue: '分割线',
+ displayType: true,
showLabel: false,
showDefaultValue: false,
showRequired: false,
@@ -644,6 +648,7 @@ export const assistComponents = [
__config__: {
label: '分页',
defaultValue: '分页',
+ displayType: true,
showLabel: false,
showDefaultValue: false,
showRequired: false,
@@ -667,7 +672,7 @@ export const assistComponents = [
]
// 个人信息组件
-export const personalInfoComponents = [
+export const personalInfoComponents = [
{
typeId: 'INPUT',
__config__: {
diff --git a/src/components/parser/Parser.vue b/src/components/parser/Parser.vue
index 32f2bf4..fd8af7c 100644
--- a/src/components/parser/Parser.vue
+++ b/src/components/parser/Parser.vue
@@ -150,9 +150,9 @@ function setUpload(config, scheme, response, file, fileList) {
newValue = []
}
newValue.push({fileName: file.name, url: response.data})
- this.$set(config, 'defaultValue', JSON.stringify(newValue))
- this.$set(this[this.formConf.formModel], scheme.__vModel__, JSON.stringify(newValue))
- setValueLabel.call(this, {type: 'file', files: JSON.stringify(newValue)}, config, scheme)
+ this.$set(config, 'defaultValue', newValue)
+ this.$set(this[this.formConf.formModel], scheme.__vModel__, newValue)
+ setValueLabel.call(this, {type: 'file', files: newValue}, config, scheme)
}
function deleteUpload(config, scheme, file, fileList) {
@@ -160,9 +160,9 @@ function deleteUpload(config, scheme, file, fileList) {
fileList.forEach(element => {
newValue.push({fileName: element.name, url: element.url})
})
- this.$set(config, 'defaultValue', JSON.stringify(newValue))
- this.$set(this[this.formConf.formModel], scheme.__vModel__, JSON.stringify(newValue))
- setValueLabel.call(this, {type: 'file', files: JSON.stringify(newValue)}, config, scheme)
+ this.$set(config, 'defaultValue', newValue)
+ this.$set(this[this.formConf.formModel], scheme.__vModel__, newValue)
+ setValueLabel.call(this, {type: 'file', files: newValue}, config, scheme)
}
function setValue(event, config, scheme) {
diff --git a/src/components/render/slots/el-carousel.js b/src/components/render/slots/el-carousel.js
index 54ba8ae..ca65f03 100644
--- a/src/components/render/slots/el-carousel.js
+++ b/src/components/render/slots/el-carousel.js
@@ -4,7 +4,7 @@ export default {
let style = 'height: 100%;'
conf.__slot__.options.forEach(item => {
list.push( {item.label}
提交设置
-提交后
显示提示图片
@@ -87,8 +86,21 @@ />公开反馈结果
+回收设置
@@ -572,6 +584,7 @@ export default { submitPromptText: '提交成功 !', submitJumpUrl: '', wxWrite: false, + publicResult: false, timedNotEnabledPromptText: '填写尚未启用', timedDeactivatePromptText: '填写尚已经停用', timedQuantitativeQuantity: null, diff --git a/src/views/form/statistics/index.vue b/src/views/form/statistics/index.vue index 7c1df23..6730d28 100644 --- a/src/views/form/statistics/index.vue +++ b/src/views/form/statistics/index.vue @@ -65,6 +65,7 @@