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
e1cca68a
Commit
e1cca68a
authored
Oct 21, 2019
by
李晓兵
Browse files
Options
Browse Files
Download
Plain Diff
'map'
parents
cddb2351
c62f7048
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
291 additions
and
294 deletions
+291
-294
contract-detail.vue
src/pages/contractSigning/contract-detail.vue
+286
-286
product-detailed.vue
src/pages/productQuery/product-detailed.vue
+4
-7
product-list.vue
src/pages/productQuery/product-list.vue
+1
-1
No files found.
src/pages/contractSigning/contract-detail.vue
View file @
e1cca68a
<!--
<!--
* @Author: your name
* @Author: your name
* @Date: 2019-09-29 10:02:11
* @Date: 2019-09-29 10:02:11
* @LastEditTime: 2019-10-21 1
4:00:54
* @LastEditTime: 2019-10-21 1
8:03:21
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @Description: In User Settings Edit
-->
-->
...
@@ -158,12 +158,12 @@
...
@@ -158,12 +158,12 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
Check1
from
'@/assets/constractSigning/business.png'
import
Check1
from
'@/assets/constractSigning/business.png'
import
Check2
from
'@/assets/constractSigning/constract.png'
import
Check2
from
'@/assets/constractSigning/constract.png'
import
unCheck1
from
'@/assets/constractSigning/unbusiness.png'
import
unCheck1
from
'@/assets/constractSigning/unbusiness.png'
import
unCheck2
from
'@/assets/constractSigning/unconstract.png'
import
unCheck2
from
'@/assets/constractSigning/unconstract.png'
export
default
{
export
default
{
name
:
'ContractDetail'
,
name
:
'ContractDetail'
,
components
:
{
components
:
{
},
},
...
@@ -224,10 +224,10 @@ export default {
...
@@ -224,10 +224,10 @@ export default {
this
.
isshow
=
true
this
.
isshow
=
true
},
},
},
},
}
}
</
script
>
</
script
>
<
style
lang=
'less'
type=
"text/less"
>
<
style
lang=
'less'
type=
"text/less"
>
#contract-details {
#contract-details {
.all{
.all{
position: absolute;
position: absolute;
background-color: transparent;
background-color: transparent;
...
@@ -289,7 +289,7 @@ export default {
...
@@ -289,7 +289,7 @@ export default {
line-height: 32px;
line-height: 32px;
}
}
}
}
}
}
.h-header-btn {
.h-header-btn {
img {
img {
width: 16px;
width: 16px;
...
@@ -541,5 +541,5 @@ export default {
...
@@ -541,5 +541,5 @@ export default {
height: 40px;
height: 40px;
margin: 4px 2% 0 2%;
margin: 4px 2% 0 2%;
}
}
}
}
</
style
>
</
style
>
src/pages/productQuery/product-detailed.vue
View file @
e1cca68a
...
@@ -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-21 1
6:46:55
* @LastEditTime: 2019-10-21 1
8:30:14
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
-->
-->
<
template
>
<
template
>
...
@@ -118,8 +118,6 @@ export default {
...
@@ -118,8 +118,6 @@ export default {
confgInfo
:
{},
confgInfo
:
{},
bgc_flag
:
true
,
bgc_flag
:
true
,
collect_flag
:
false
,
collect_flag
:
false
,
src
:
require
(
'@/assets/productQuery/collect.png'
),
// collect_status: window.sessionStorage.getItem('collect_status'),
}
}
},
},
computed
:
{},
computed
:
{},
...
@@ -129,16 +127,15 @@ export default {
...
@@ -129,16 +127,15 @@ export default {
if
(
from
.
name
===
'ProductList'
)
{
if
(
from
.
name
===
'ProductList'
)
{
next
(
vm
=>
{
next
(
vm
=>
{
vm
.
product_id
=
vm
.
$route
.
params
.
product_id
vm
.
product_id
=
vm
.
$route
.
params
.
product_id
// vm.collect_status = vm.$route.params.collect_status
// if (vm.$route.params.collect_status === 'Y') {
// vm.src = require('@/assets/productQuery/coll-success.png')
// }
vm
.
baseMsg
()
vm
.
baseMsg
()
vm
.
detailMsg
()
vm
.
detailMsg
()
vm
.
confgMsg
()
vm
.
confgMsg
()
})
})
}
}
next
()
next
()
},
created
()
{
},
},
activated
()
{
activated
()
{
console
.
log
(
'collect........'
,
window
.
sessionStorage
.
getItem
(
'collect_status'
))
console
.
log
(
'collect........'
,
window
.
sessionStorage
.
getItem
(
'collect_status'
))
...
...
src/pages/productQuery/product-list.vue
View file @
e1cca68a
...
@@ -81,7 +81,7 @@ export default {
...
@@ -81,7 +81,7 @@ export default {
}
}
})
})
},
},
// val:产品id
// val:产品id
, status: 收藏状态
goDetailed
(
val
,
status
)
{
goDetailed
(
val
,
status
)
{
window
.
sessionStorage
.
setItem
(
'collect_status'
,
status
)
window
.
sessionStorage
.
setItem
(
'collect_status'
,
status
)
this
.
$router
.
push
({
this
.
$router
.
push
({
...
...
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