Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
gl_tape
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
3
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 1f6c88db
authored
Apr 09, 2024
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
添加付款方式弹窗
1 parent
6051d3d1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
4 deletions
pages/detail/detail.vue
pages/home/home.vue
pages/detail/detail.vue
View file @
1f6c88d
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
* @Author: huyue
* @Author: huyue
* @Date: 2024-04-08 11:30:30
* @Date: 2024-04-08 11:30:30
* @LastEditors: huyue
* @LastEditors: huyue
* @LastEditTime: 2024-04-09 1
4:48:03
* @LastEditTime: 2024-04-09 1
6:51:00
-->
-->
<
template
>
<
template
>
<view
class=
"detail-box"
>
<view
class=
"detail-box"
>
...
@@ -45,6 +45,15 @@
...
@@ -45,6 +45,15 @@
<view
class=
"pen-box"
>
<view
class=
"pen-box"
>
<glsx-image
src=
"media"
/>
<glsx-image
src=
"media"
/>
</view>
</view>
<!-- 完成接待弹窗 -->
<MessageBox
v-if=
"messageBoxVisible"
@
cancel=
"done"
@
confirm=
"toPay"
content=
"若客户成交,请点击付款方式协助客户完成后续流程。"
confirmBtnText=
"选择付款方式"
cancelBtnText=
"完成接待"
></MessageBox>
</view>
</view>
</
template
>
</
template
>
<
script
>
<
script
>
...
@@ -66,7 +75,8 @@ export default {
...
@@ -66,7 +75,8 @@ export default {
type
:
'preview'
,
type
:
'preview'
,
id
:
''
,
id
:
''
,
mediaList
:
[],
mediaList
:
[],
drawStatus
:
false
drawStatus
:
false
,
messageBoxVisible
:
false
};
};
},
},
onLoad
(
options
)
{
onLoad
(
options
)
{
...
@@ -76,7 +86,8 @@ export default {
...
@@ -76,7 +86,8 @@ export default {
},
},
methods
:
{
methods
:
{
open
()
{
open
()
{
this
.
$refs
.
pay
.
show
()
// this.$refs.pay.show()
this
.
messageBoxVisible
=
true
},
},
/**切换素材 */
/**切换素材 */
choose
(
e
)
{
choose
(
e
)
{
...
@@ -92,6 +103,14 @@ export default {
...
@@ -92,6 +103,14 @@ export default {
},
},
back
()
{
back
()
{
uni
.
navigateBack
()
uni
.
navigateBack
()
},
// 完成接待
done
()
{
uni
.
navigateBack
()
},
// 选择付款方式
toPay
()
{
this
.
$refs
.
pay
.
show
()
}
}
},
},
};
};
...
...
pages/home/home.vue
View file @
1f6c88d
...
@@ -66,7 +66,7 @@
...
@@ -66,7 +66,7 @@
@
cancel=
"cancel"
@
cancel=
"cancel"
@
confirm=
"preview"
@
confirm=
"preview"
content=
"直接点击素材可进行预览,若面向车辆主展示,请点击页面下方的「开始接待」"
content=
"直接点击素材可进行预览,若面向车辆主展示,请点击页面下方的「开始接待」"
confirmBtnText=
"预览"
confirmBtnText=
"预览
素材
"
></MessageBox>
></MessageBox>
</view>
</view>
</view>
</view>
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment