Commit bee3d4c0 authored by 李晓兵's avatar 李晓兵

'全局样式'

parent e6169e0a
<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>
......@@ -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>
......
......@@ -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)) {
......
......@@ -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: 'InfoCenter', meta: {keepAlive: true}},
{path: '/tab/message-center', component: MessageCenter, name: 'MessageCenter', meta: {keepAlive: true}},
],
},
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment