Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hls-xcmg-vue-app
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
xugong
hls-xcmg-vue-app
Commits
89569712
Commit
89569712
authored
Oct 18, 2019
by
786817560
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'提交代码'
parent
655f53c9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
9 deletions
+25
-9
financing-details.vue
src/pages/financingTrial/financing-details.vue
+4
-4
product-detailed.vue
src/pages/productQuery/product-detailed.vue
+21
-5
No files found.
src/pages/financingTrial/financing-details.vue
View file @
89569712
...
...
@@ -2,7 +2,7 @@
* @Descrip""/>User Settings Edit
* @Author: your name
* @Date: 2019-09-29 20:31:00
* @LastEditTime: 2019-10-18 1
0:57:30
* @LastEditTime: 2019-10-18 1
6:40:49
* @LastEditors: Please set LastEditors
-->
<
template
>
...
...
@@ -38,7 +38,7 @@
</item>
<item>
<div
slot=
"name"
class=
"font-color"
>
首付款
</div>
<input
slot=
"content"
placeholder=
"首付款金额自动填充"
>
<input
slot=
"content"
placeholder=
"首付款金额自动填充"
readonly
>
</item>
<item>
<div
slot=
"name"
class=
"font-color"
>
保证金比例
</div>
...
...
@@ -46,7 +46,7 @@
</item>
<item>
<div
slot=
"name"
class=
"font-color"
>
保证金
</div>
<input
slot=
"content"
placeholder=
"保证金金额自动填充"
>
<input
slot=
"content"
placeholder=
"保证金金额自动填充"
readonly
>
</item>
<item>
<div
slot=
"name"
class=
"font-color"
>
手续费比例
</div>
...
...
@@ -54,7 +54,7 @@
</item>
<item>
<div
slot=
"name"
class=
"font-color"
>
手续费
</div>
<input
slot=
"content"
placeholder=
"手续费金额自动填充"
>
<input
slot=
"content"
placeholder=
"手续费金额自动填充"
readonly
>
</item>
<item>
<div
slot=
"name"
class=
"font-color"
>
预计付款日
</div>
...
...
src/pages/productQuery/product-detailed.vue
View file @
89569712
...
...
@@ -2,7 +2,7 @@
* @Descrip: 产品明细
* @Author: your name
* @Date: 2019-10-15 14:30:00
* @LastEditTime: 2019-10-18 1
0:06:48
* @LastEditTime: 2019-10-18 1
5:35:42
* @LastEditors: Please set LastEditors
-->
<
template
>
...
...
@@ -125,6 +125,7 @@ export default {
beforeRouteEnter
(
to
,
from
,
next
)
{
if
(
from
.
name
===
'ProductList'
)
{
next
(
vm
=>
{
vm
.
product_id
=
vm
.
$route
.
params
.
product_id
vm
.
baseMsg
()
vm
.
detailMsg
()
vm
.
confgMsg
()
...
...
@@ -145,10 +146,25 @@ export default {
collect
()
{
this
.
collect_flag
=
true
console
.
log
(
this
.
collect_flag
)
setTimeout
(()
=>
{
this
.
collect_flag
=
false
this
.
src
=
require
(
'@/assets/productQuery/coll-success.png'
)
},
1500
)
let
vm
=
this
let
url
=
$config
.
basePath
+
'save_collection'
let
param
=
{
master
:
{
product_id
:
vm
.
product_id
,
user_phone
:
window
.
localStorage
.
user_phone
,
},
}
vm
.
$post
(
url
,
param
).
then
(
function
(
res
)
{
console
.
log
(
'收藏'
,
res
)
if
(
res
.
result
===
'S'
)
{
vm
.
src
=
require
(
'@/assets/productQuery/coll-success.png'
)
setTimeout
(()
=>
{
vm
.
collect_flag
=
false
},
1500
)
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
}
})
},
// 基本信息查询
baseMsg
()
{
...
...
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