|
|
@@ -45,10 +45,10 @@
|
|
|
<el-link> 忘记密码?</el-link>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="sub-btn">
|
|
|
- <el-button :disabled="btn" @click="Login" class="btn1">确定</el-button>
|
|
|
+ <span slot="footer" class="sub-btn">
|
|
|
+ <el-button :disabled="btn" type="primary" @click="submit">立即支付</el-button>
|
|
|
<div class="btn2" @click="isShow = false">返回</div>
|
|
|
- </div>
|
|
|
+ </span>
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
</template>
|
|
|
@@ -84,9 +84,9 @@ export default {
|
|
|
computed: {
|
|
|
btn() {
|
|
|
if (this.form.price && this.form.password) {
|
|
|
- return true;
|
|
|
- } else {
|
|
|
return false;
|
|
|
+ } else {
|
|
|
+ return true;
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
@@ -97,7 +97,7 @@ export default {
|
|
|
init() {
|
|
|
this.$emit('getDetail');
|
|
|
},
|
|
|
- Login() {
|
|
|
+ submit() {
|
|
|
if (this.form.price != '') {
|
|
|
this.$http
|
|
|
.post('/user/verifyTradeCode', {
|
|
|
@@ -175,6 +175,14 @@ input::-webkit-inner-spin-button {
|
|
|
/deep/ .el-form-item__error {
|
|
|
left: 102px;
|
|
|
}
|
|
|
+/deep/ .el-button {
|
|
|
+ width: 130px;
|
|
|
+ height: 36px;
|
|
|
+ background: linear-gradient(135deg, @prim 0%, @warn 100%);
|
|
|
+ border-radius: 4px;
|
|
|
+ font-size: 13px;
|
|
|
+ margin-right: 20px;
|
|
|
+}
|
|
|
.content {
|
|
|
.title {
|
|
|
font-size: 16px;
|
|
|
@@ -211,19 +219,6 @@ input::-webkit-inner-spin-button {
|
|
|
padding-top: 62px;
|
|
|
display: flex;
|
|
|
justify-content: center;
|
|
|
- .btn1 {
|
|
|
- width: 130px;
|
|
|
- height: 36px;
|
|
|
- background: linear-gradient(135deg, @prim 0%, @warn 100%);
|
|
|
- border-radius: 4px;
|
|
|
- font-size: 13px;
|
|
|
- // line-height: 36px;
|
|
|
- color: #1a1a1a;
|
|
|
- cursor: pointer;
|
|
|
- border: 0;
|
|
|
- text-align: center;
|
|
|
- margin-right: 20px;
|
|
|
- }
|
|
|
.btn2 {
|
|
|
width: 130px;
|
|
|
height: 36px;
|