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
10d4dbfa
Commit
10d4dbfa
authored
Oct 18, 2019
by
786817560
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'ren' into develop
parents
c7ded466
89569712
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 @
10d4dbfa
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Descrip""/>User Settings Edit
* @Descrip""/>User Settings Edit
* @Author: your name
* @Author: your name
* @Date: 2019-09-29 20:31:00
* @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
* @LastEditors: Please set LastEditors
-->
-->
<
template
>
<
template
>
...
@@ -38,7 +38,7 @@
...
@@ -38,7 +38,7 @@
</item>
</item>
<item>
<item>
<div
slot=
"name"
class=
"font-color"
>
首付款
</div>
<div
slot=
"name"
class=
"font-color"
>
首付款
</div>
<input
slot=
"content"
placeholder=
"首付款金额自动填充"
>
<input
slot=
"content"
placeholder=
"首付款金额自动填充"
readonly
>
</item>
</item>
<item>
<item>
<div
slot=
"name"
class=
"font-color"
>
保证金比例
</div>
<div
slot=
"name"
class=
"font-color"
>
保证金比例
</div>
...
@@ -46,7 +46,7 @@
...
@@ -46,7 +46,7 @@
</item>
</item>
<item>
<item>
<div
slot=
"name"
class=
"font-color"
>
保证金
</div>
<div
slot=
"name"
class=
"font-color"
>
保证金
</div>
<input
slot=
"content"
placeholder=
"保证金金额自动填充"
>
<input
slot=
"content"
placeholder=
"保证金金额自动填充"
readonly
>
</item>
</item>
<item>
<item>
<div
slot=
"name"
class=
"font-color"
>
手续费比例
</div>
<div
slot=
"name"
class=
"font-color"
>
手续费比例
</div>
...
@@ -54,7 +54,7 @@
...
@@ -54,7 +54,7 @@
</item>
</item>
<item>
<item>
<div
slot=
"name"
class=
"font-color"
>
手续费
</div>
<div
slot=
"name"
class=
"font-color"
>
手续费
</div>
<input
slot=
"content"
placeholder=
"手续费金额自动填充"
>
<input
slot=
"content"
placeholder=
"手续费金额自动填充"
readonly
>
</item>
</item>
<item>
<item>
<div
slot=
"name"
class=
"font-color"
>
预计付款日
</div>
<div
slot=
"name"
class=
"font-color"
>
预计付款日
</div>
...
...
src/pages/productQuery/product-detailed.vue
View file @
10d4dbfa
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Descrip: 产品明细
* @Descrip: 产品明细
* @Author: your name
* @Author: your name
* @Date: 2019-10-15 14:30:00
* @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
* @LastEditors: Please set LastEditors
-->
-->
<
template
>
<
template
>
...
@@ -125,6 +125,7 @@ export default {
...
@@ -125,6 +125,7 @@ export default {
beforeRouteEnter
(
to
,
from
,
next
)
{
beforeRouteEnter
(
to
,
from
,
next
)
{
if
(
from
.
name
===
'ProductList'
)
{
if
(
from
.
name
===
'ProductList'
)
{
next
(
vm
=>
{
next
(
vm
=>
{
vm
.
product_id
=
vm
.
$route
.
params
.
product_id
vm
.
baseMsg
()
vm
.
baseMsg
()
vm
.
detailMsg
()
vm
.
detailMsg
()
vm
.
confgMsg
()
vm
.
confgMsg
()
...
@@ -145,10 +146,25 @@ export default {
...
@@ -145,10 +146,25 @@ export default {
collect
()
{
collect
()
{
this
.
collect_flag
=
true
this
.
collect_flag
=
true
console
.
log
(
this
.
collect_flag
)
console
.
log
(
this
.
collect_flag
)
setTimeout
(()
=>
{
let
vm
=
this
this
.
collect_flag
=
false
let
url
=
$config
.
basePath
+
'save_collection'
this
.
src
=
require
(
'@/assets/productQuery/coll-success.png'
)
let
param
=
{
},
1500
)
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
()
{
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