|
|
@@ -28,8 +28,10 @@
|
|
|
<template v-if="lookMoney == 1">
|
|
|
|
|
|
<div class="user-wrap">
|
|
|
- <div class="user-top">
|
|
|
+ <div class="user-top" style="position: relative;">
|
|
|
<div class="app-size-28">今日概况</div>
|
|
|
+ <image :src="`${constant.imgUrl}/icon/notice_icon.png`" @click="toNotify()" class="mind-item"></image>
|
|
|
+ <view class="red-mind" @click="toNotify()">1</view>
|
|
|
</div>
|
|
|
<div class="income-amount" @click="pageTo({url:'/admin/stat/kdIncome'})">
|
|
|
<div>收入</div>
|
|
|
@@ -268,6 +270,9 @@ export default {
|
|
|
showErrorPriceFn(){
|
|
|
this.$refs.errorPriceRef.open('top')
|
|
|
},
|
|
|
+ toNotify(){
|
|
|
+ this.$util.pageTo({url: "/admin/notice/index"})
|
|
|
+ },
|
|
|
goLjh(){
|
|
|
let that = this
|
|
|
// #ifdef MP-WEIXIN
|
|
|
@@ -423,6 +428,28 @@ export default {
|
|
|
background-repeat: no-repeat;
|
|
|
.user-top {
|
|
|
@include disFlex(center, space-between);
|
|
|
+ .mind-item{
|
|
|
+ width:35upx;
|
|
|
+ height:35upx;
|
|
|
+ position:absolute;
|
|
|
+ right:29upx;
|
|
|
+ top:6upx;
|
|
|
+ }
|
|
|
+ .red-mind{
|
|
|
+ width:42upx;
|
|
|
+ height:42upx;
|
|
|
+ line-height:34upx;
|
|
|
+ font-size:26upx;
|
|
|
+ text-align:center;
|
|
|
+ position:absolute;
|
|
|
+ right:-14upx;
|
|
|
+ top:1upx;
|
|
|
+ background-color: red;
|
|
|
+ color:white;
|
|
|
+ border:1upx solid red;
|
|
|
+ border-radius: 26upx;
|
|
|
+ display: inline-block;
|
|
|
+ }
|
|
|
.open-bt_bx {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
@@ -441,7 +468,7 @@ export default {
|
|
|
& > .iconfont {
|
|
|
font-size: 25upx;
|
|
|
padding-right: 10upx;
|
|
|
- margin-top: -3upx;
|
|
|
+ margin-top: -3upx;
|
|
|
}
|
|
|
}
|
|
|
}
|