Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mongo-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ui
mongo-ui
Commits
44cb5ca1
Commit
44cb5ca1
authored
Aug 28, 2020
by
郝聪敏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 待支付添加弹窗
parent
bb4ff64f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
37 additions
and
3 deletions
+37
-3
cherry-ui.js
src/service/cherry-ui.js
+2
-1
index.less
src/style/index.less
+17
-0
index.vue
src/views/Policy/Detail/index.vue
+18
-2
No files found.
src/service/cherry-ui.js
View file @
44cb5ca1
...
@@ -20,7 +20,7 @@ const {
...
@@ -20,7 +20,7 @@ const {
Notify
,
Notify
,
Picker
,
Picker
,
Area
,
Area
,
//
Dialog,
Dialog
,
Field
,
Field
,
Checkbox
,
Checkbox
,
// CheckboxGroup,
// CheckboxGroup,
...
@@ -79,3 +79,4 @@ Vue.use(Notify);
...
@@ -79,3 +79,4 @@ Vue.use(Notify);
Vue
.
use
(
Loading
);
Vue
.
use
(
Loading
);
Vue
.
use
(
Swipe
);
Vue
.
use
(
Swipe
);
Vue
.
use
(
SwipeItem
);
Vue
.
use
(
SwipeItem
);
Vue
.
use
(
Dialog
);
src/style/index.less
View file @
44cb5ca1
...
@@ -126,6 +126,23 @@ strong {
...
@@ -126,6 +126,23 @@ strong {
font-size: 14px;
font-size: 14px;
}
}
.cr-dialog {
.cr-button {
background-color: #fff !important;
border: 0 !important;
border-radius: 16px !important;
}
.cr-dialog--message {
color: #666666 !important;
}
.cr-button--default {
color: #888888 !important;
}
.cr-dialog--confirm {
color: #5599FF !important;
}
}
.table {
.table {
margin: 0;
margin: 0;
width: 100%;
width: 100%;
...
...
src/views/Policy/Detail/index.vue
View file @
44cb5ca1
...
@@ -11,6 +11,8 @@ import Refund from "./Types/Refund";
...
@@ -11,6 +11,8 @@ import Refund from "./Types/Refund";
import
policyStatusMixin
from
"
../mixin/policyStatus.mixin
"
;
import
policyStatusMixin
from
"
../mixin/policyStatus.mixin
"
;
import
{
getPolicyDetail
}
from
"
@/api/policy
"
;
import
{
getPolicyDetail
}
from
"
@/api/policy
"
;
let
timer
=
null
;
export
default
{
export
default
{
name
:
"
PolicyList
"
,
name
:
"
PolicyList
"
,
mixins
:
[
policyStatusMixin
],
mixins
:
[
policyStatusMixin
],
...
@@ -32,14 +34,28 @@ export default {
...
@@ -32,14 +34,28 @@ export default {
}
}
};
};
},
},
created
()
{
async
created
()
{
this
.
getPolicy
();
await
this
.
getPolicy
();
if
(
this
.
policy
?.
cardConfig
?.
key
===
"
4
"
)
{
this
.
$dialog
({
message
:
"
请确认是否已经完成了微信免密支付签约
"
,
onCancel
:
()
=>
{
timer
=
setInterval
(
this
.
getPolicy
,
3000
);
},
onConfirm
:
()
=>
{
timer
=
setInterval
(
this
.
getPolicy
,
3000
);
}
});
}
},
},
methods
:
{
methods
:
{
async
getPolicy
()
{
async
getPolicy
()
{
const
detail
=
await
getPolicyDetail
(
this
.
$route
.
params
.
orderNo
);
const
detail
=
await
getPolicyDetail
(
this
.
$route
.
params
.
orderNo
);
this
.
policy
=
this
.
getData
(
detail
);
this
.
policy
=
this
.
getData
(
detail
);
}
}
},
beforeDestroy
()
{
clearTimeout
(
timer
);
}
}
};
};
</
script
>
</
script
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment