From 71c6da58b85da3cd436644d3f9a654eeece279a9 Mon Sep 17 00:00:00 2001 From: 鲁尚清 <lushangqing@honggroup.com.cn> Date: Mon, 29 Nov 2021 10:34:10 +0800 Subject: [PATCH] 大屏首页添加按钮跳转到电子税务局大屏 --- hg-monitor-web-zj/src/main/resources/static/vue3/public/css/declare.css | 15 ++++++++++++++- hg-monitor-web-zj/src/main/resources/static/vue3/src/assets/images/zjdp/icon-link.png | Bin 0 -> 1406 bytes hg-monitor-web-zj/src/main/resources/static/vue3/src/views/zjdaping/components/declare/index.html | 10 +++++++--- hg-monitor-web-zj/src/main/resources/static/vue3/src/views/zjdaping/components/declare/index.js | 6 +++++- 4 files changed, 26 insertions(+), 5 deletions(-) create mode 100644 hg-monitor-web-zj/src/main/resources/static/vue3/src/assets/images/zjdp/icon-link.png diff --git a/hg-monitor-web-zj/src/main/resources/static/vue3/public/css/declare.css b/hg-monitor-web-zj/src/main/resources/static/vue3/public/css/declare.css index bd7a87a..9e40f57 100644 --- a/hg-monitor-web-zj/src/main/resources/static/vue3/public/css/declare.css +++ b/hg-monitor-web-zj/src/main/resources/static/vue3/public/css/declare.css @@ -18,8 +18,9 @@ background-image: url("/vue3/src/assets/images/zjdp/declare-title.png"); background-position: center; background-repeat: no-repeat; - margin-top:15px; height: 53px; + background-size: 100%; + flex:1; } .total-title{ margin-right: 10px; @@ -108,4 +109,16 @@ } .num-net{ color:#e5abd1; +} +.jump{ + display: flex; + justify-content: space-around; + align-items: center; + margin-top: 15px; +} +.img-link{ + /*width: 42px;*/ + height: 47px; + margin-right:2px; + cursor: pointer; } \ No newline at end of file diff --git a/hg-monitor-web-zj/src/main/resources/static/vue3/src/assets/images/zjdp/icon-link.png b/hg-monitor-web-zj/src/main/resources/static/vue3/src/assets/images/zjdp/icon-link.png new file mode 100644 index 0000000..e42b7bd Binary files /dev/null and b/hg-monitor-web-zj/src/main/resources/static/vue3/src/assets/images/zjdp/icon-link.png differ diff --git a/hg-monitor-web-zj/src/main/resources/static/vue3/src/views/zjdaping/components/declare/index.html b/hg-monitor-web-zj/src/main/resources/static/vue3/src/views/zjdaping/components/declare/index.html index cd330c5..644094f 100644 --- a/hg-monitor-web-zj/src/main/resources/static/vue3/src/views/zjdaping/components/declare/index.html +++ b/hg-monitor-web-zj/src/main/resources/static/vue3/src/views/zjdaping/components/declare/index.html @@ -1,10 +1,14 @@ <div class="declare-container" id="declare"> <!--今日申报--> <div class="declare-left"> - <div class="declare-total"> - <span class="total-title">本月应申报</span> - <span class="total-num">{{reportable}}</span> + <div class="jump"> + <img @click="goJump" src="/vue3/src/assets/images/zjdp/icon-link.png" class="img-link"> + <div class="declare-total"> + <span class="total-title">本月应申报</span> + <span class="total-num">{{reportable}}</span> + </div> </div> + <div class="declaration-rate"> <span class="rate-title">本月申报率</span> <span class="proportion-bar"> diff --git a/hg-monitor-web-zj/src/main/resources/static/vue3/src/views/zjdaping/components/declare/index.js b/hg-monitor-web-zj/src/main/resources/static/vue3/src/views/zjdaping/components/declare/index.js index 956132d..0ed2780 100644 --- a/hg-monitor-web-zj/src/main/resources/static/vue3/src/views/zjdaping/components/declare/index.js +++ b/hg-monitor-web-zj/src/main/resources/static/vue3/src/views/zjdaping/components/declare/index.js @@ -180,12 +180,16 @@ export default { return intPartFormat } } + const goJump=()=>{ + proxy.$router.push({path:'/zj/dp',query: {access_token:localStorage.getItem('access_token')}}) + } return{ numberFilter, eleWidthNum, getDeclareData, - startInterval + startInterval, + goJump } }, unmounted () { -- libgit2 0.24.0