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

bug fixes

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