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 29a57c7a
authored
Apr 10, 2024
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改弹窗
1 parent
bce76ad6
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
22 deletions
pages/detail/components/Media_6.vue
pages/detail/detail.vue
pages/home/home.vue
pages/informationEntry/informationEntry.vue
pages/detail/components/Media_6.vue
View file @
29a57c7
...
@@ -55,7 +55,7 @@ export default {
...
@@ -55,7 +55,7 @@ export default {
1
:
'icon-weixin'
,
1
:
'icon-weixin'
,
2
:
'icon-shop'
2
:
'icon-shop'
},
},
goodsName
:
''
,
goodsName
:
'
M5
'
,
shopMerchantId
:
''
,
shopMerchantId
:
''
,
currentPage
:
1
,
currentPage
:
1
,
isEnd
:
false
isEnd
:
false
...
...
pages/detail/detail.vue
View file @
29a57c7
...
@@ -2,8 +2,8 @@
...
@@ -2,8 +2,8 @@
* @Description:
* @Description:
* @Author: huyue
* @Author: huyue
* @Date: 2024-04-08 11:30:30
* @Date: 2024-04-08 11:30:30
* @LastEditors:
前端 qianduan01@didihu.com.cn
* @LastEditors:
huyue
* @LastEditTime: 2024-04-10 09:
33:01
* @LastEditTime: 2024-04-10 09:
41:08
-->
-->
<
template
>
<
template
>
<view
class=
"detail-box"
@
click=
"handleTouchStart()"
>
<view
class=
"detail-box"
@
click=
"handleTouchStart()"
>
...
@@ -57,7 +57,6 @@
...
@@ -57,7 +57,6 @@
></MessageBox>
></MessageBox>
<MessageBox
<MessageBox
ref=
"payRef"
ref=
"payRef"
v-if=
"messageBoxVisible"
@
cancel=
"done"
@
cancel=
"done"
@
confirm=
"toPay"
@
confirm=
"toPay"
@
close=
"close"
@
close=
"close"
...
@@ -101,7 +100,6 @@ export default {
...
@@ -101,7 +100,6 @@ export default {
5
:
[],
5
:
[],
},
},
drawStatus
:
false
,
drawStatus
:
false
,
messageBoxVisible
:
false
,
finishVisible
:
false
,
finishVisible
:
false
,
};
};
},
},
...
@@ -116,11 +114,10 @@ export default {
...
@@ -116,11 +114,10 @@ export default {
},
},
methods
:
{
methods
:
{
open
()
{
open
()
{
// this.$refs.payRef.open();
this
.
$refs
.
payRef
.
open
();
this
.
messageBoxVisible
=
true
;
},
},
close
()
{
close
()
{
this
.
messageBoxVisible
=
false
;
this
.
$refs
.
payRef
.
close
()
;
},
},
/**切换素材 */
/**切换素材 */
choose
(
e
)
{
choose
(
e
)
{
...
...
pages/home/home.vue
View file @
29a57c7
...
@@ -2,8 +2,8 @@
...
@@ -2,8 +2,8 @@
* @Description: 首页
* @Description: 首页
* @Author: huyue
* @Author: huyue
* @Date: 2024-04-07 14:39:40
* @Date: 2024-04-07 14:39:40
* @LastEditors:
前端 qianduan01@didihu.com.cn
* @LastEditors:
huyue
* @LastEditTime: 2024-04-
09 17:48:55
* @LastEditTime: 2024-04-
10 09:38:27
-->
-->
<
template
>
<
template
>
<view
class=
"container"
@
click=
"handleTouchStart()"
>
<view
class=
"container"
@
click=
"handleTouchStart()"
>
...
@@ -62,7 +62,7 @@
...
@@ -62,7 +62,7 @@
</view>
</view>
<!-- 未点击开始接待,弹窗 -->
<!-- 未点击开始接待,弹窗 -->
<MessageBox
<MessageBox
v-if=
"messageBoxVisible
"
ref=
"previewRef
"
@
cancel=
"cancel"
@
cancel=
"cancel"
@
confirm=
"preview"
@
confirm=
"preview"
content=
"直接点击素材可进行预览,若面向车辆主展示,请点击页面下方的「开始接待」"
content=
"直接点击素材可进行预览,若面向车辆主展示,请点击页面下方的「开始接待」"
...
@@ -85,7 +85,6 @@ export default {
...
@@ -85,7 +85,6 @@ export default {
mixins
:
[
myClick
],
mixins
:
[
myClick
],
data
()
{
data
()
{
return
{
return
{
messageBoxVisible
:
false
,
moduleList
:
[
moduleList
:
[
// {
// {
// id: 1,
// id: 1,
...
@@ -131,18 +130,18 @@ export default {
...
@@ -131,18 +130,18 @@ export default {
});
});
}
else
{
}
else
{
this
.
id
=
item
.
id
;
this
.
id
=
item
.
id
;
this
.
messageBoxVisible
=
true
;
this
.
$refs
.
previewRef
.
open
()
;
}
}
},
},
cancel
()
{
cancel
()
{
this
.
messageBoxVisible
=
false
;
this
.
$refs
.
previewRef
.
close
()
;
},
},
preview
()
{
preview
()
{
let
{
id
}
=
this
;
let
{
id
}
=
this
;
uni
.
navigateTo
({
uni
.
navigateTo
({
url
:
`../detail/detail?type=preview&id=
${
id
}
`
,
url
:
`../detail/detail?type=preview&id=
${
id
}
`
,
});
});
this
.
messageBoxVisible
=
false
;
this
.
$refs
.
previewRef
.
close
()
},
},
},
},
};
};
...
...
pages/informationEntry/informationEntry.vue
View file @
29a57c7
...
@@ -2,8 +2,8 @@
...
@@ -2,8 +2,8 @@
* @Description:
* @Description:
* @Author: huyue
* @Author: huyue
* @Date: 2024-04-07 14:54:28
* @Date: 2024-04-07 14:54:28
* @LastEditors:
前端 qianduan01@didihu.com.cn
* @LastEditors:
huyue
* @LastEditTime: 2024-04-10 09:
32:49
* @LastEditTime: 2024-04-10 09:
43:41
-->
-->
<
template
>
<
template
>
<view
class=
"information-entry"
>
<view
class=
"information-entry"
>
...
@@ -45,7 +45,7 @@
...
@@ -45,7 +45,7 @@
<image
class=
"preview-img"
:src=
"previewImg"
mode=
"aspectFit"
/>
<image
class=
"preview-img"
:src=
"previewImg"
mode=
"aspectFit"
/>
</uni-popup>
</uni-popup>
<MessageBox
<MessageBox
v-if=
"messageBoxVisible
"
ref=
"formRef
"
@
cancel=
"cancel"
@
cancel=
"cancel"
@
confirm=
"submit"
@
confirm=
"submit"
confirmBtnText=
"保存"
confirmBtnText=
"保存"
...
@@ -161,7 +161,6 @@ export default {
...
@@ -161,7 +161,6 @@ export default {
data
()
{
data
()
{
return
{
return
{
infoList
:
INFO_LIST
,
infoList
:
INFO_LIST
,
messageBoxVisible
:
false
,
formObject
:
[
formObject
:
[
{
{
label
:
"车主姓名"
,
label
:
"车主姓名"
,
...
@@ -263,7 +262,7 @@ export default {
...
@@ -263,7 +262,7 @@ export default {
.
then
((
res
)
=>
{
.
then
((
res
)
=>
{
this
.
employeeList
=
res
;
this
.
employeeList
=
res
;
});
});
this
.
messageBoxVisible
=
true
;
// 打开完善用户信息弹窗
this
.
$refs
.
formRef
.
open
()
;
// 打开完善用户信息弹窗
}
}
},
},
// 保存
// 保存
...
@@ -274,7 +273,7 @@ export default {
...
@@ -274,7 +273,7 @@ export default {
if
(
!
this
.
formData
[
i
]
&&
i
!=
"salesUuid"
)
throw
i
;
if
(
!
this
.
formData
[
i
]
&&
i
!=
"salesUuid"
)
throw
i
;
}
}
if
(
Object
.
values
(
this
.
formData
).
every
((
value
)
=>
!!
value
))
{
if
(
Object
.
values
(
this
.
formData
).
every
((
value
)
=>
!!
value
))
{
this
.
messageBoxVisible
=
false
;
this
.
$refs
.
formRef
.
close
()
this
.
setBooks
(
this
.
infoList
);
this
.
setBooks
(
this
.
infoList
);
this
.
stopAudio
();
this
.
stopAudio
();
uni
.
reLaunch
({
uni
.
reLaunch
({
...
@@ -291,7 +290,7 @@ export default {
...
@@ -291,7 +290,7 @@ export default {
},
},
// 取消
// 取消
cancel
()
{
cancel
()
{
this
.
messageBoxVisible
=
false
;
this
.
$refs
.
formRef
.
close
()
},
},
// 预览图片
// 预览图片
preview
(
index
)
{
preview
(
index
)
{
...
...
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