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
Hide 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
* @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
* @Description: In User Settings Edit
-->
...
...
@@ -158,212 +158,212 @@
</
template
>
<
script
>
import
Check1
from
'@/assets/constractSigning/business.png'
import
Check2
from
'@/assets/constractSigning/constract.png'
import
unCheck1
from
'@/assets/constractSigning/unbusiness.png'
import
unCheck2
from
'@/assets/constractSigning/unconstract.png'
export
default
{
name
:
'ContractDetail'
,
components
:
{
},
data
()
{
return
{
isshow
:
false
,
// 提示框的显示与隐藏
num
:
1
,
conditionInfo
:
{},
check1
:
Check1
,
check2
:
Check2
,
uncheck1
:
unCheck1
,
uncheck2
:
unCheck2
,
}
},
computed
:
{},
watch
:
{},
beforeRouteEnter
(
to
,
from
,
next
)
{
if
(
from
.
name
===
'ContractSigning'
)
{
next
(
vm
=>
{
vm
.
conditionQuery
()
})
}
next
()
},
methods
:
{
// 合同商务条件查询
conditionQuery
()
{
let
vm
=
this
let
url
=
$config
.
basePath
+
'con_business_query'
let
param
=
{
project_id
:
this
.
$route
.
params
.
project_id
,
}
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
console
.
log
(
'商务条件'
,
res
)
if
(
res
.
result
===
'S'
)
{
vm
.
conditionInfo
=
res
.
info
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
}
})
import
Check1
from
'@/assets/constractSigning/business.png'
import
Check2
from
'@/assets/constractSigning/constract.png'
import
unCheck1
from
'@/assets/constractSigning/unbusiness.png'
import
unCheck2
from
'@/assets/constractSigning/unconstract.png'
export
default
{
name
:
'ContractDetail'
,
components
:
{
},
// 跳转合同详情
goContractContent
(
name
)
{
this
.
$router
.
push
({
name
:
'ContractContent'
,
params
:
{
name
,
},
})
data
()
{
return
{
isshow
:
false
,
// 提示框的显示与隐藏
num
:
1
,
conditionInfo
:
{},
check1
:
Check1
,
check2
:
Check2
,
uncheck1
:
unCheck1
,
uncheck2
:
unCheck2
,
}
},
// 跳转银行信息录入
entryInfo
()
{
this
.
$router
.
push
({
name
:
'EntryInfo'
,
})
computed
:
{},
watch
:
{},
beforeRouteEnter
(
to
,
from
,
next
)
{
if
(
from
.
name
===
'ContractSigning'
)
{
next
(
vm
=>
{
vm
.
conditionQuery
()
})
}
next
()
},
inSure
()
{
this
.
isshow
=
true
methods
:
{
// 合同商务条件查询
conditionQuery
()
{
let
vm
=
this
let
url
=
$config
.
basePath
+
'con_business_query'
let
param
=
{
project_id
:
this
.
$route
.
params
.
project_id
,
}
vm
.
hlsHttp
.
post
(
url
,
param
).
then
(
function
(
res
)
{
console
.
log
(
'商务条件'
,
res
)
if
(
res
.
result
===
'S'
)
{
vm
.
conditionInfo
=
res
.
info
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
}
})
},
// 跳转合同详情
goContractContent
(
name
)
{
this
.
$router
.
push
({
name
:
'ContractContent'
,
params
:
{
name
,
},
})
},
// 跳转银行信息录入
entryInfo
()
{
this
.
$router
.
push
({
name
:
'EntryInfo'
,
})
},
inSure
()
{
this
.
isshow
=
true
},
},
},
}
}
</
script
>
<
style
lang=
'less'
type=
"text/less"
>
#contract-details {
.all{
position: absolute;
background-color: transparent;
width: 100%;
height: 100%;
top: 0;
left: 0;
z-index:2;
.prompt{
#contract-details {
.all{
position: absolute;
top: 50%;
left:50%;
margin-top:-75px;
margin-left: -121px;
background-color: #fff;
box-shadow: 0 1px 2px 1px rgba(128,128,128,0.10);
border-radius: 4px;
width: 242px;
height: 150px;
.top{
height: 105px;
border-bottom:1px solid #F1F0F5;
div:first-child{
font-family: PingFangSC-Semibold;
font-size: 14px;
color: #E50020;
letter-spacing: 0.5px;
font-weight: 700;
margin-top:13px;
background-color: transparent;
width: 100%;
height: 100%;
top: 0;
left: 0;
z-index:2;
.prompt{
position: absolute;
top: 50%;
left:50%;
margin-top:-75px;
margin-left: -121px;
background-color: #fff;
box-shadow: 0 1px 2px 1px rgba(128,128,128,0.10);
border-radius: 4px;
width: 242px;
height: 150px;
.top{
height: 105px;
border-bottom:1px solid #F1F0F5;
div:first-child{
font-family: PingFangSC-Semibold;
font-size: 14px;
color: #E50020;
letter-spacing: 0.5px;
font-weight: 700;
margin-top:13px;
img{
width: 18px;
line-height: 12px;
display: block;
margin: -3px 5px 0 40%;
float: left;
}
}
img{
width: 18px;
line-height: 12px;
display: block;
margin: -3px 5px 0 40%;
float: left;
div:nth-child(2){
margin-top:22px;
font-family: PingFangSC-Regular;
font-size: 13px;
color: #383F45;
letter-spacing: 0.4px;
padding: 0 22px;
line-height: 20px;
}
}
div:nth-child(2)
{
margin-top:22px
;
.bottom
{
text-align: center
;
font-family: PingFangSC-Regular;
font-size: 13px;
color: #383F45;
letter-spacing: 0.4px;
padding: 0 22px;
line-height: 20px;
font-size: 14px;
color: #00469C;
line-height: 32px;
}
}
.bottom{
text-align: center;
font-family: PingFangSC-Regular;
font-size: 14px;
color: #00469C;
line-height: 32px;
}
}
}
.h-header-btn {
img {
width: 16px;
height: 16px;
margin-left: 4px;
}
.h-header-btn {
img {
width: 16px;
height: 16px;
margin-left: 4px;
}
span {
font-family: PingFangSC-Semibold;
margin-left: 16px;
font-size: 17px;
letter-spacing: 0.61px;
line-height: 24px;
span {
font-family: PingFangSC-Semibold;
margin-left: 16px;
font-size: 17px;
letter-spacing: 0.61px;
line-height: 24px;
}
}
}
.tab-style{
display:flex;
justify-content: center;
padding-top:12px;
padding-bottom: 8px;
align-items: center;
background-color: #fff;
box-shadow:0 2px 3px 0 rgba(220,220,221,0.50);
div{
display: block;
height: 32px;
width: 172px;
border-radius:16px;
border-radius: 16px;
font-family: PingFangSC-Semibold;
font-size: 14px;
letter-spacing: 0.43px;
margin: 0 4px;
line-height: 32px;
}
.undone{
background: rgba(220,220,221,0.26);
color: #383F45;
}
.done{
background: rgba(0,70,156,0.10);
color: #00469C;
}
.tab-style{
display:flex;
justify-content: center;
padding-top:12px;
padding-bottom: 8px;
align-items: center;
background-color: #fff;
box-shadow:0 2px 3px 0 rgba(220,220,221,0.50);
div{
display: block;
height: 32px;
width: 172px;
border-radius:16px;
border-radius: 16px;
font-family: PingFangSC-Semibold;
font-size: 14px;
letter-spacing: 0.43px;
margin: 0 4px;
line-height: 32px;
}
.undone{
background: rgba(220,220,221,0.26);
color: #383F45;
}
.done{
background: rgba(0,70,156,0.10);
color: #00469C;
}
img{
width: 20px;
display: block;
float: left;
margin: 6px 5px 0 43px;
}
img{
width: 20px;
display: block;
float: left;
margin: 6px 5px 0 43px;
}
span:nth-of-type(2){
margin-left: 7px;
span:nth-of-type(2){
margin-left: 7px;
}
}
}
.content{
height: 87%;
.content{
height: 87%;
.contract-text{
.border-red{
.contract-text{
.border-red{
border: 2px solid rgba(255,0,0,0.40);
}
}
.hls-item{
.hls-item{
margin-top:8px;
background-color: #fff;
}
}
.contents{
padding: 0;
}
.contents{
padding: 0;
}
.in-detail{
background-color: rgba(0,70,156,0.08);
...
...
@@ -373,96 +373,96 @@ export default {
line-height: 65px;
img{
width: 16px;
width: 16px;
}
}
}
.in-all{
width: 96px;
display: flex;
.in-all{
width: 96px;
display: flex;
img{
width: 16px;
}
img{
width: 16px;
}
div{
width: 48px;
height: 56px;
text-align: center;
line-height: 65px;
}
div{
width: 48px;
height: 56px;
text-align: center;
line-height: 65px;
}
div:first-child{
background-color: rgba(252,200,0,0.10);
}
div:first-child{
background-color: rgba(252,200,0,0.10);
}
div:nth-child(2){
background-color: rgba(0,70,156,0.08);
div:nth-child(2){
background-color: rgba(0,70,156,0.08);
}
}
}
}
}
.business-condition{
.equipment-list {
height: 40px;
line-height: 40px;
background-color: #fafafa;
color: #00469c;
font-size: 15px;
margin-left: 16px;
position: relative;
}
.business-condition{
.equipment-list {
height: 40px;
line-height: 40px;
background-color: #fafafa;
color: #00469c;
font-size: 15px;
margin-left: 16px;
position: relative;
}
.equipment-list::before {
content: "";
display: block;
width: 4px;
height: 20px;
background-color: #00469c;
position: absolute;
left: -15px;
top: 10px;
}
.equipment-list::before {
content: "";
display: block;
width: 4px;
height: 20px;
background-color: #00469c;
position: absolute;
left: -15px;
top: 10px;
}
div{
font-family: PingFangSC-Regular;
color: #656464;
letter-spacing: 0;
}
div{
font-family: PingFangSC-Regular;
color: #656464;
letter-spacing: 0;
}
section{
font-family: PingFangSC-Regular;
color: rgba(56,63,69,0.60);
letter-spacing: 0;
section{
font-family: PingFangSC-Regular;
color: rgba(56,63,69,0.60);
letter-spacing: 0;
}
}
}
.repay-plan {
height: 44px;
width: 100%;
background: rgba(0,70,156,0.03);
p {
font-family: PingFangSC-Semibold;
font-size: 14px;
color: #00469C;
letter-spacing: 0;
.repay-plan {
height: 44px;
width: 84px;
line-height: 44px;
font-weight: bold;
text-decoration: underline;
margin-left: 16px;
width: 100%;
background: rgba(0,70,156,0.03);
p {
font-family: PingFangSC-Semibold;
font-size: 14px;
color: #00469C;
letter-spacing: 0;
height: 44px;
width: 84px;
line-height: 44px;
font-weight: bold;
text-decoration: underline;
margin-left: 16px;
}
}
}
.bottom-call {
width: 100%;
height: 60px;
display: flex;
flex-direction: row;
margin-bottom: 30px;
.bottom-call {
width: 100%;
height: 60px;
display: flex;
flex-direction: row;
margin-bottom: 30px;
.left {
width: 16%;
...
...
@@ -498,48 +498,48 @@ export default {
justify-content: center;
align-items: center
}
}
}
.aguremrnt-list {
display: flex;
flex-direction: row;
.aguremrnt-list {
display: flex;
flex-direction: row;
.pic {
margin-left: -3px;
}
.pic {
margin-left: -3px;
}
.pics {
// width: 21px;
height: 30px;
}
.pics {
// width: 21px;
height: 30px;
}
.read {
height: 16px;
margin-top: 8px;
margin-left: 12.5px;
}
.read {
height: 16px;
margin-top: 8px;
margin-left: 12.5px;
}
.second {
height: 32px;
line-height: 32px;
font-family: PingFangSC-Regular;
font-size: 14px;
margin-left: 21px;
color: #383F45;
letter-spacing: 0.43px;
}
.second {
height: 32px;
line-height: 32px;
font-family: PingFangSC-Regular;
font-size: 14px;
margin-left: 21px;
color: #383F45;
letter-spacing: 0.43px;
.first {
margin-left: 13px;
}
}
.first {
margin-left: 13px;
.bottom-tab-button{
background: #00469C;
border-radius: 4px;
color:white;
height: 40px;
margin: 4px 2% 0 2%;
}
}
.bottom-tab-button{
background: #00469C;
border-radius: 4px;
color:white;
height: 40px;
margin: 4px 2% 0 2%;
}
}
</
style
>
src/pages/productQuery/product-detailed.vue
View file @
e1cca68a
...
...
@@ -2,7 +2,7 @@
* @Descrip: 产品明细
* @Author: your name
* @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
-->
<
template
>
...
...
@@ -118,8 +118,6 @@ export default {
confgInfo
:
{},
bgc_flag
:
true
,
collect_flag
:
false
,
src
:
require
(
'@/assets/productQuery/collect.png'
),
// collect_status: window.sessionStorage.getItem('collect_status'),
}
},
computed
:
{},
...
...
@@ -129,16 +127,15 @@ export default {
if
(
from
.
name
===
'ProductList'
)
{
next
(
vm
=>
{
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
.
detailMsg
()
vm
.
confgMsg
()
})
}
next
()
},
created
()
{
},
activated
()
{
console
.
log
(
'collect........'
,
window
.
sessionStorage
.
getItem
(
'collect_status'
))
...
...
src/pages/productQuery/product-list.vue
View file @
e1cca68a
...
...
@@ -81,7 +81,7 @@ export default {
}
})
},
// val:产品id
// val:产品id
, status: 收藏状态
goDetailed
(
val
,
status
)
{
window
.
sessionStorage
.
setItem
(
'collect_status'
,
status
)
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