提交 bcb89b2a authored 作者: matian's avatar matian

bug fixes

上级 7a4755d3
......@@ -93,12 +93,16 @@ export default {
},
handleSubmit() {
const params = { ...this.ruleForm }
api.submit(params).then((response) => {
api.postNes(params).then((response) => {
// this.$notify({ type: 'success', message: response.message })
this.$dialog.alert({ message: response.message }).then(() => {
this.$emit('success')
})
// this.$dialog.alert({ message: response.message }).then(() => {
// this.$emit('success')
// })
this.$message.success(response.message)
this.$emit('success')
this.ruleForm.name = ''
this.ruleForm.phone = ''
this.phoneCode = ''
})
},
// 校验短信验证码
......
......@@ -45,20 +45,26 @@ const handleCancel = () => {
.buy_alert {
display: flex;
align-items: center;
flex-direction: column;
justify-content: center;
.alert_con {
margin-left: 10px;
text-align: center;
display: flex;
align-items: center;
flex-direction: column;
justify-content: center;
margin-top: 10px;
.con_tit {
font-size: 16px;
font-weight: 400;
line-height: 34px;
color: #333333;
text-align: left;
}
.con_desc {
font-size: 14px;
font-weight: 400;
line-height: 34px;
color: #666666;
margin-top: 20px;
}
}
}
......@@ -66,7 +72,7 @@ const handleCancel = () => {
width: 315px;
box-shadow: 0px 0px 16px rgba(0, 0, 0, 0.16);
border-radius: 10px;
margin-left: 50%;
// margin-left: 50%;
.el-dialog__header {
padding-bottom: 0;
......
......@@ -87,8 +87,8 @@ const onExecCommand = (val: any) => {
}
const handleCancel = () => {
isShowShare.value = '1'
show.value = false
isShowShare.value = '1'
}
// 复制链接控制显示
const handleCopyLink = () => {
......@@ -188,7 +188,7 @@ const handleCopyLink = () => {
<van-action-sheet
v-model:show="show"
:title="shareTit"
@cancel="handleCancel"
@close="handleCancel"
@click-overlay="handleCancel"
>
<div class="content" v-if="isShowShare === '1'">
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论