jufubao-forms 1.0.0-beta6 → 1.0.0-beta7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/components/JfbFormsDynamicForm/JfbFormsDynamicForm.vue +11 -9
- package/src/components/JfbFormsDynamicForm/JfbFormsDynamicFormLess.less +5 -4
- package/src/components/JfbFormsList/JfbFormsList.vue +3 -1
- package/src/components/JfbFormsList/JfbFormsListLess.less +5 -4
- package/src/components/JfbFormsQaResult/JfbFormsQaResult.vue +5 -3
- package/src/components/JfbFormsQaResult/JfbFormsQaResultLess.less +5 -4
- package/src/components/JfbFormsQuestionAndAnswer/JfbFormsQuestionAndAnswer.vue +4 -2
- package/src/components/JfbFormsQuestionAndAnswer/JfbFormsQuestionAndAnswerLess.less +5 -4
package/package.json
CHANGED
|
@@ -10,7 +10,9 @@
|
|
|
10
10
|
:class="{ editx : isEditx && active }"
|
|
11
11
|
v-if="isEditx && active"
|
|
12
12
|
>
|
|
13
|
-
<view class="jfb-forms-dynamic-form__edit-icon" @click="delEdit"
|
|
13
|
+
<view class="jfb-forms-dynamic-form__edit-icon" @click.stop="delEdit">
|
|
14
|
+
<xd-font-icon icon="iconshanchu-01" color="#fff" size="30"></xd-font-icon>
|
|
15
|
+
</view>
|
|
14
16
|
</view>
|
|
15
17
|
<!-- #endif -->
|
|
16
18
|
<view class="jfb-forms-dynamic-form__body">
|
|
@@ -108,8 +110,8 @@
|
|
|
108
110
|
<view class="status_name">{{ formName }}</view>
|
|
109
111
|
</view>
|
|
110
112
|
</view>
|
|
111
|
-
|
|
112
|
-
|
|
113
|
+
|
|
114
|
+
|
|
113
115
|
<xd-dialog :show.sync="isShowDialog" title="请输入验证码" :showCloseIcon="false">
|
|
114
116
|
<xd-form
|
|
115
117
|
label-align="left"
|
|
@@ -129,7 +131,7 @@
|
|
|
129
131
|
</view>
|
|
130
132
|
</xd-form-item>
|
|
131
133
|
</xd-form>
|
|
132
|
-
|
|
134
|
+
|
|
133
135
|
<view slot="btn">
|
|
134
136
|
<xd-button type="primary" width="400rpx" @click="doCheckValidCode">提交</xd-button>
|
|
135
137
|
</view>
|
|
@@ -253,7 +255,7 @@
|
|
|
253
255
|
}
|
|
254
256
|
this.dynamicFormList = res.list.map((item, i) => {
|
|
255
257
|
item.error = "";
|
|
256
|
-
|
|
258
|
+
|
|
257
259
|
if(item.is_show_explain !== 'Y'){
|
|
258
260
|
item.explain = "";
|
|
259
261
|
}
|
|
@@ -569,7 +571,7 @@
|
|
|
569
571
|
return this.getDecimalTip(item);
|
|
570
572
|
}
|
|
571
573
|
}
|
|
572
|
-
|
|
574
|
+
|
|
573
575
|
//开始验证限制范围
|
|
574
576
|
if(fieldValue && !showRange) return errTip;
|
|
575
577
|
max = Number(max);
|
|
@@ -665,7 +667,7 @@
|
|
|
665
667
|
text-align: center;
|
|
666
668
|
}
|
|
667
669
|
}
|
|
668
|
-
|
|
670
|
+
|
|
669
671
|
.align-center{
|
|
670
672
|
display: flex;
|
|
671
673
|
align-items: center;
|
|
@@ -740,7 +742,7 @@
|
|
|
740
742
|
}
|
|
741
743
|
.uni-easyinput__content-input{
|
|
742
744
|
font-size: 24rpx;
|
|
743
|
-
|
|
745
|
+
|
|
744
746
|
.uni-easyinput__placeholder-class{
|
|
745
747
|
font-size: 24rpx;
|
|
746
748
|
}
|
|
@@ -752,7 +754,7 @@
|
|
|
752
754
|
font-size: 24rpx !important;
|
|
753
755
|
border: none !important;
|
|
754
756
|
}
|
|
755
|
-
|
|
757
|
+
|
|
756
758
|
}
|
|
757
759
|
.description{
|
|
758
760
|
color: #666666;
|
|
@@ -44,17 +44,18 @@
|
|
|
44
44
|
cursor: pointer;
|
|
45
45
|
position: absolute;
|
|
46
46
|
right: unit(0, rpx);
|
|
47
|
-
top: unit(
|
|
47
|
+
top: unit(0, rpx);
|
|
48
48
|
height: unit(50, rpx);
|
|
49
|
-
|
|
49
|
+
z-index: 100;
|
|
50
50
|
display: flex;
|
|
51
51
|
justify-content: center;
|
|
52
52
|
align-items: center;
|
|
53
|
-
background: rgba(0, 0, 0, .
|
|
54
|
-
border-radius:
|
|
53
|
+
background: rgba(0, 0, 0, .4);
|
|
54
|
+
border-radius: 0 0 0 20rpx;
|
|
55
55
|
box-shadow: 0 0 10px rbga(0, 0, 0, 0.3);
|
|
56
56
|
color: #fff;
|
|
57
57
|
font-size: unit(22, rpx);
|
|
58
|
+
padding: 0 6rpx 0 6px;
|
|
58
59
|
|
|
59
60
|
&-icon{
|
|
60
61
|
padding: 0 unit(20, rpx);
|
|
@@ -10,7 +10,9 @@
|
|
|
10
10
|
:class="{ editx : isEditx && active }"
|
|
11
11
|
v-if="isEditx && active"
|
|
12
12
|
>
|
|
13
|
-
<view class="jfb-forms-list__edit-icon" @click="delEdit"
|
|
13
|
+
<view class="jfb-forms-list__edit-icon" @click.stop="delEdit">
|
|
14
|
+
<xd-font-icon icon="iconshanchu-01" color="#fff" size="30"></xd-font-icon>
|
|
15
|
+
</view>
|
|
14
16
|
</view>
|
|
15
17
|
<!-- #endif -->
|
|
16
18
|
<view class="jfb-forms-list__body">
|
|
@@ -44,17 +44,18 @@
|
|
|
44
44
|
cursor: pointer;
|
|
45
45
|
position: absolute;
|
|
46
46
|
right: unit(0, rpx);
|
|
47
|
-
top: unit(
|
|
47
|
+
top: unit(0, rpx);
|
|
48
48
|
height: unit(50, rpx);
|
|
49
|
-
|
|
49
|
+
z-index: 100;
|
|
50
50
|
display: flex;
|
|
51
51
|
justify-content: center;
|
|
52
52
|
align-items: center;
|
|
53
|
-
background: rgba(0, 0, 0, .
|
|
54
|
-
border-radius:
|
|
53
|
+
background: rgba(0, 0, 0, .4);
|
|
54
|
+
border-radius: 0 0 0 20rpx;
|
|
55
55
|
box-shadow: 0 0 10px rbga(0, 0, 0, 0.3);
|
|
56
56
|
color: #fff;
|
|
57
57
|
font-size: unit(22, rpx);
|
|
58
|
+
padding: 0 6rpx 0 6px;
|
|
58
59
|
|
|
59
60
|
&-icon{
|
|
60
61
|
padding: 0 unit(20, rpx);
|
|
@@ -10,7 +10,9 @@
|
|
|
10
10
|
:class="{ editx : isEditx && active }"
|
|
11
11
|
v-if="isEditx && active"
|
|
12
12
|
>
|
|
13
|
-
<view class="jfb-forms-qa-result__edit-icon" @click="delEdit"
|
|
13
|
+
<view class="jfb-forms-qa-result__edit-icon" @click.stop="delEdit">
|
|
14
|
+
<xd-font-icon icon="iconshanchu-01" color="#fff" size="30"></xd-font-icon>
|
|
15
|
+
</view>
|
|
14
16
|
</view>
|
|
15
17
|
<!-- #endif -->
|
|
16
18
|
<view class="jfb-forms-qa-result__body" :style="{
|
|
@@ -26,7 +28,7 @@
|
|
|
26
28
|
<view v-if="is_show_error_answer_analysis==='Y'" class="btn primary" @click="isShowAnalysis=true">答案解析</view>
|
|
27
29
|
</view>
|
|
28
30
|
</view>
|
|
29
|
-
|
|
31
|
+
|
|
30
32
|
<template v-if="isShowAnalysis">
|
|
31
33
|
<view class="analysis_head">
|
|
32
34
|
<view class="_left">答案解析</view>
|
|
@@ -390,7 +392,7 @@
|
|
|
390
392
|
&.a_right{
|
|
391
393
|
color: #FFFFFF;
|
|
392
394
|
background: var(--main-color);
|
|
393
|
-
}
|
|
395
|
+
}
|
|
394
396
|
// &.a_error{
|
|
395
397
|
// color: #FF7063;
|
|
396
398
|
// background: #FFE3E0;
|
|
@@ -44,17 +44,18 @@
|
|
|
44
44
|
cursor: pointer;
|
|
45
45
|
position: absolute;
|
|
46
46
|
right: unit(0, rpx);
|
|
47
|
-
top: unit(
|
|
47
|
+
top: unit(0, rpx);
|
|
48
48
|
height: unit(50, rpx);
|
|
49
|
-
|
|
49
|
+
z-index: 100;
|
|
50
50
|
display: flex;
|
|
51
51
|
justify-content: center;
|
|
52
52
|
align-items: center;
|
|
53
|
-
background: rgba(0, 0, 0, .
|
|
54
|
-
border-radius:
|
|
53
|
+
background: rgba(0, 0, 0, .4);
|
|
54
|
+
border-radius: 0 0 0 20rpx;
|
|
55
55
|
box-shadow: 0 0 10px rbga(0, 0, 0, 0.3);
|
|
56
56
|
color: #fff;
|
|
57
57
|
font-size: unit(22, rpx);
|
|
58
|
+
padding: 0 6rpx 0 6px;
|
|
58
59
|
|
|
59
60
|
&-icon{
|
|
60
61
|
padding: 0 unit(20, rpx);
|
|
@@ -10,7 +10,9 @@
|
|
|
10
10
|
:class="{ editx : isEditx && active }"
|
|
11
11
|
v-if="isEditx && active"
|
|
12
12
|
>
|
|
13
|
-
<view class="jfb-forms-question-and-answer__edit-icon" @click="delEdit"
|
|
13
|
+
<view class="jfb-forms-question-and-answer__edit-icon" @click.stop="delEdit">
|
|
14
|
+
<xd-font-icon icon="iconshanchu-01" color="#fff" size="30"></xd-font-icon>
|
|
15
|
+
</view>
|
|
14
16
|
</view>
|
|
15
17
|
<!-- #endif -->
|
|
16
18
|
<view class="jfb-forms-question-and-answer__body" :style="{
|
|
@@ -122,7 +124,7 @@
|
|
|
122
124
|
marketing_tool: "",
|
|
123
125
|
activity_page_url: "",
|
|
124
126
|
activity_id: "",
|
|
125
|
-
|
|
127
|
+
|
|
126
128
|
value: [],
|
|
127
129
|
qaValue: "",
|
|
128
130
|
|
|
@@ -44,17 +44,18 @@
|
|
|
44
44
|
cursor: pointer;
|
|
45
45
|
position: absolute;
|
|
46
46
|
right: unit(0, rpx);
|
|
47
|
-
top: unit(
|
|
47
|
+
top: unit(0, rpx);
|
|
48
48
|
height: unit(50, rpx);
|
|
49
|
-
|
|
49
|
+
z-index: 100;
|
|
50
50
|
display: flex;
|
|
51
51
|
justify-content: center;
|
|
52
52
|
align-items: center;
|
|
53
|
-
background: rgba(0, 0, 0, .
|
|
54
|
-
border-radius:
|
|
53
|
+
background: rgba(0, 0, 0, .4);
|
|
54
|
+
border-radius: 0 0 0 20rpx;
|
|
55
55
|
box-shadow: 0 0 10px rbga(0, 0, 0, 0.3);
|
|
56
56
|
color: #fff;
|
|
57
57
|
font-size: unit(22, rpx);
|
|
58
|
+
padding: 0 6rpx 0 6px;
|
|
58
59
|
|
|
59
60
|
&-icon{
|
|
60
61
|
padding: 0 unit(20, rpx);
|