jufubao-forms 1.0.2-beta1 → 1.0.2-beta3
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
CHANGED
|
@@ -122,25 +122,15 @@
|
|
|
122
122
|
|
|
123
123
|
|
|
124
124
|
<xd-dialog :show.sync="isShowDialog" title="请输入验证码" :showCloseIcon="false">
|
|
125
|
-
<
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
<view class="capture" @click="switchValidToken">
|
|
135
|
-
<image
|
|
136
|
-
style="width: 100%;height:100%"
|
|
137
|
-
:src="validImageAPIUrl + '?image_width=180&image_height=80&token='+ valid_token"
|
|
138
|
-
/>
|
|
139
|
-
</view>
|
|
140
|
-
</view>
|
|
141
|
-
</xd-form-item>
|
|
142
|
-
</xd-form>
|
|
143
|
-
|
|
125
|
+
<view class="valid_wrap">
|
|
126
|
+
<input v-model="valid_code" placeholder="请输入验证码" class="valid_input"></input>
|
|
127
|
+
<view class="capture" @click="switchValidToken">
|
|
128
|
+
<image
|
|
129
|
+
style="width: 100%;height:100%"
|
|
130
|
+
:src="validImageAPIUrl + '?image_width=180&image_height=80&token='+ valid_token"
|
|
131
|
+
/>
|
|
132
|
+
</view>
|
|
133
|
+
</view>
|
|
144
134
|
<view slot="btn">
|
|
145
135
|
<xd-button type="primary" width="400rpx" @click="doCheckValidCode">提交</xd-button>
|
|
146
136
|
</view>
|
|
@@ -757,6 +747,12 @@
|
|
|
757
747
|
display: flex;
|
|
758
748
|
align-items: center;
|
|
759
749
|
border: 1px solid #DDD;
|
|
750
|
+
.valid_input{
|
|
751
|
+
width: 300rpx;
|
|
752
|
+
text-align: left;
|
|
753
|
+
padding-left: 20rpx;
|
|
754
|
+
flex: 1;
|
|
755
|
+
}
|
|
760
756
|
}
|
|
761
757
|
.capture{
|
|
762
758
|
width: 180rpx;
|
|
@@ -64,7 +64,9 @@
|
|
|
64
64
|
<view class="bottom_fixed" :style="fixedBottom">
|
|
65
65
|
<xd-button type="primary" :disabled="curIndex === 0"
|
|
66
66
|
:style="[fixedButtonStyle]" @click="handlePrev">上一题</xd-button>
|
|
67
|
-
<xd-button
|
|
67
|
+
<xd-button v-if="curQA.required && (!qaValue || qaValue.length === 0)" type="primary" :disabled="true"
|
|
68
|
+
:style="[fixedButtonStyle]" @click="handleNext">{{isLastQA ? '确认提交':'下一题'}}</xd-button>
|
|
69
|
+
<xd-button type="primary" :disabled="false" v-else
|
|
68
70
|
:style="[fixedButtonStyle]" @click="handleNext">{{isLastQA ? '确认提交':'下一题'}}</xd-button>
|
|
69
71
|
</view>
|
|
70
72
|
</view>
|