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
bee3d4c0
Commit
bee3d4c0
authored
Oct 31, 2019
by
李晓兵
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'全局样式'
parent
e6169e0a
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
176 additions
and
17 deletions
+176
-17
arrow.png
src/assets/infoCenter/arrow.png
+0
-0
info.png
src/assets/infoCenter/info.png
+0
-0
messageIcon.png
src/assets/messageCenter/messageIcon.png
+0
-0
overIcon.png
src/assets/messageCenter/overIcon.png
+0
-0
message-list.vue
src/pages/messageCenter/message-list.vue
+162
-0
tab.vue
src/pages/tab.vue
+1
-1
enterprise.vue
src/pages/userBind/org/enterprise.vue
+8
-11
index.js
src/router/index.js
+2
-2
variables.less
src/styles/variables.less
+3
-3
No files found.
src/assets/infoCenter/arrow.png
deleted
100644 → 0
View file @
e6169e0a
428 Bytes
src/assets/infoCenter/info.png
deleted
100644 → 0
View file @
e6169e0a
799 Bytes
src/assets/messageCenter/messageIcon.png
0 → 100644
View file @
bee3d4c0
695 Bytes
src/assets/messageCenter/overIcon.png
0 → 100644
View file @
bee3d4c0
1.06 KB
src/pages/
infoCenter/info
-list.vue
→
src/pages/
messageCenter/message
-list.vue
View file @
bee3d4c0
<
template
>
<h-view
id=
"
info
-center"
>
<h-header
class=
"
header
"
>
<h-view
id=
"
message
-center"
>
<h-header
class=
"
bar-custom
"
>
<div
slot=
"center"
class=
"top-word"
>
消息通知
</div>
</h-header>
<h-content
class=
"content"
>
<div
v-for=
"(item,index) in list"
:key=
"index"
class=
"card-info"
>
<div
v-for=
"(item,index) in list"
:key=
"index"
class=
"card-info"
>
<div
class=
"card-position"
>
<div
class=
"card-top"
>
<img
src=
"@/assets/
infoCenter/info
.png"
class=
"icon"
>
<img
src=
"@/assets/
messageCenter/messageIcon
.png"
class=
"icon"
>
<span
class=
"title"
>
{{
item
.
notice_title
}}
</span>
<span
class=
"time"
>
{{
item
.
notice_time
}}
</span>
</div>
<img
src=
"@/assets/
infoCenter/arrow
.png"
class=
"arrow"
>
<img
src=
"@/assets/
messageCenter/messageIcon
.png"
class=
"arrow"
>
<div
class=
"message"
>
{{
item
.
notice_body
}}
</div>
</div>
</div>
<!--下面代码不要删****************************************************************-->
<!--
<section
v-for=
"(item,index) in list"
:key=
"index"
class=
"msg-wrap"
>
<list-item>
<item>
<img
slot=
"left-icon"
src=
"@/assets/messageCenter/messageIcon.png"
class=
"left-icon"
>
<div
slot=
"name"
>
{{
item
.
msg_title
}}
</div>
<div
slot=
"content"
>
{{
item
.
msg_time
}}
</div>
</item>
<div
class=
"msg-content"
:class=
"
{ 'nowrap': isFold}">
{{
item
.
msg_content
}}
<span>
展开
</span>
</div>
</list-item>
</section>
-->
</h-content>
</h-view>
</
template
>
...
...
@@ -22,12 +35,37 @@
export
default
{
data
()
{
return
{
list
:
[],
isFold
:
true
,
list
:[],
/* list: [
{
msg_title: '视频面签',
msg_content: '**************************************************进件号:2001于2019-08-29进行视频面签,届时请注意接收视频消息!',
msg_time: '2019-10-20',
},
{
msg_title: '保证金确认',
msg_content: '您有一条保证缴纳确认信息待您确认,请确认!',
msg_time: '2019-10-20',
},
{
msg_title: '进件确认',
msg_content: '进件号:201903022201待您确认,请确认!',
msg_time: '2019-10-20',
},
],
overList: [
{
msg_title: '逾期提醒',
msg_content: '您好,您的合同CON20190802001已逾期1期,请及时还款,谢谢!',
msg_time: '2019-10-20',
},
],*/
}
},
beforeRouteEnter
(
to
,
from
,
next
)
{
next
(
vm
=>
{
vm
.
getInfo
()
vm
.
getInfo
()
})
},
methods
:
{
...
...
@@ -51,13 +89,8 @@ export default {
}
</
script
>
<
style
lang=
"less"
scoped
>
#info-center {
.header {
background: #00469c;
.top-word {
color: #fff;
}
}
@import "../../styles/mixin";
#message-center {
.card-info {
width: 100%;
height: 78px;
...
...
@@ -107,5 +140,23 @@ export default {
.card-info:not(:first-child) {
margin-top:8px;
}
/* .msg-content{
margin-left: 11%;
//padding-bottom: 10px;
line-height: 20px;
font-family: PingFangSC-Regular;
font-size: 14px;
// .border-bottom;
color: #4B4A4B;
}
.nowrap{
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical
}*/
}
</
style
>
src/pages/tab.vue
View file @
bee3d4c0
...
...
@@ -21,7 +21,7 @@
<img
slot=
"icon"
src=
"../assets/image/tab/n_home@2x.png"
>
<span
slot=
"label"
>
主页
</span>
</tabbar-item>
<tabbar-item
:link=
"
{path:'/tab/
info-center'}" :selected="$route.path === '/tab/info
-center'">
<tabbar-item
:link=
"
{path:'/tab/
message-center'}" :selected="$route.path === '/tab/message
-center'">
<img
slot=
"icon-active"
src=
"../assets/image/tab/all@2x.png"
>
<img
slot=
"icon"
src=
"../assets/image/tab/n_all@2x.png"
>
<span
slot=
"label"
>
消息
</span>
...
...
src/pages/userBind/org/enterprise.vue
View file @
bee3d4c0
...
...
@@ -337,9 +337,9 @@
</div>
</div>
<!--
<BankInfo
v-show=
"tabNum==1"
:bp_id=
"bp_id"
@
getInfo=
"getInfo"
/>
-->
<BankInfo
v-show=
"tabNum==1"
:from=
"from"
:getBankList=
"getBankList"
@
getInfo=
"getInfo"
@
getList=
"getList"
/>
<BankInfo
v-show=
"tabNum==1"
:from=
"from"
:getBankList=
"getBankList"
@
getInfo=
"getInfo"
@
getList=
"getList"
/>
<InvoiceInfo
v-show=
"tabNum==2"
:tabNum=
"tabNum"
...
...
@@ -679,14 +679,11 @@ export default {
content
:
'您确认添加吗?'
,
onConfirm
:
data
=>
{
if
(
data
===
1
)
{
for
(
var
key
in
this
.
bank_lists
)
{
if
(
!
this
.
bank_lists
[
key
])
{
this
.
bank_card_flag
=
false
this
.
hlsPopup
.
showLongCenter
(
'银行信息不完整!'
)
return
}
else
{
this
.
bank_card_flag
=
true
}
if
(
!
this
.
bank_lists
.
bank_account_num
||
!
this
.
bank_lists
.
bank_account_name
||
!
this
.
bank_lists
.
bank_full_name
)
{
this
.
bank_card_flag
=
false
this
.
hlsPopup
.
showLongCenter
(
'银行信息不完整!'
)
}
else
{
this
.
bank_card_flag
=
true
}
// 银行卡验证this.hlsUtil.isBankAccount(this.bank.bank_account_num)
if
(
this
.
hlsUtil
.
isBankAccount
(
this
.
bank_lists
.
bank_account_num
))
{
...
...
src/router/index.js
View file @
bee3d4c0
...
...
@@ -63,7 +63,7 @@ import MarginPayEntry from '@/pages/pay/marginPay/pay-entry'
import
QueryHome
from
'@/pages/productQuery/query-home'
import
ProDetailed
from
'@/pages/productQuery/product-detailed'
// 消息中心
import
InfoCenter
from
'@/pages/infoCenter/info
-list'
import
MessageCenter
from
'@/pages/messageCenter/message
-list'
import
ProductList
from
'@/pages/productQuery/product-list'
// 帮助与反馈
import
HelpList
from
'@/pages/help/help-list'
...
...
@@ -116,7 +116,7 @@ export default new Router({
children
:
[
{
path
:
'/tab/home-page'
,
component
:
HomePage
,
name
:
'HomePage'
,
meta
:
{
keepAlive
:
false
}},
{
path
:
'/tab/my-info'
,
component
:
MyInfo
,
name
:
'MyInfo'
,
meta
:
{
keepAlive
:
true
}},
{
path
:
'/tab/
info-center'
,
component
:
InfoCenter
,
name
:
'Info
Center'
,
meta
:
{
keepAlive
:
true
}},
{
path
:
'/tab/
message-center'
,
component
:
MessageCenter
,
name
:
'Message
Center'
,
meta
:
{
keepAlive
:
true
}},
],
},
...
...
src/styles/variables.less
View file @
bee3d4c0
...
...
@@ -15,14 +15,14 @@
/**
* 颜色
*/
@theme-color:#
0041C4
;
@theme-color:#
1D3FFF
;
@font-color:#666666;
@mainColor: #000;
@baseColor: white;
@hintColor:rgb(181,181,181);
@headerColor: #
0041C4
;
@headerColor: #
1D3FFF
;
@background-color-gray: #fafafa;
@activated-color: #
0041C4
;
@activated-color: #
1D3FFF
;
@divider-color:#fafafa;
@check-box-bg:#48D2A0;
...
...
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