Commit 1f6c88db by 胡悦

添加付款方式弹窗

1 parent 6051d3d1
......@@ -3,7 +3,7 @@
* @Author: huyue
* @Date: 2024-04-08 11:30:30
* @LastEditors: huyue
* @LastEditTime: 2024-04-09 14:48:03
* @LastEditTime: 2024-04-09 16:51:00
-->
<template>
<view class="detail-box">
......@@ -45,6 +45,15 @@
<view class="pen-box">
<glsx-image src="media" />
</view>
<!-- 完成接待弹窗 -->
<MessageBox
v-if="messageBoxVisible"
@cancel="done"
@confirm="toPay"
content="若客户成交,请点击付款方式协助客户完成后续流程。"
confirmBtnText="选择付款方式"
cancelBtnText="完成接待"
></MessageBox>
</view>
</template>
<script>
......@@ -66,7 +75,8 @@ export default {
type: 'preview',
id: '',
mediaList: [],
drawStatus:false
drawStatus: false,
messageBoxVisible: false
};
},
onLoad (options) {
......@@ -76,7 +86,8 @@ export default {
},
methods: {
open () {
this.$refs.pay.show()
// this.$refs.pay.show()
this.messageBoxVisible = true
},
/**切换素材 */
choose (e) {
......@@ -92,6 +103,14 @@ export default {
},
back () {
uni.navigateBack()
},
// 完成接待
done() {
uni.navigateBack()
},
// 选择付款方式
toPay() {
this.$refs.pay.show()
}
},
};
......
......@@ -66,7 +66,7 @@
@cancel="cancel"
@confirm="preview"
content="直接点击素材可进行预览,若面向车辆主展示,请点击页面下方的「开始接待」"
confirmBtnText="预览"
confirmBtnText="预览素材"
></MessageBox>
</view>
</view>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!