Authored by 鲁尚清

大屏首页添加按钮跳转到电子税务局大屏

@@ -18,8 +18,9 @@ @@ -18,8 +18,9 @@
18 background-image: url("/vue3/src/assets/images/zjdp/declare-title.png"); 18 background-image: url("/vue3/src/assets/images/zjdp/declare-title.png");
19 background-position: center; 19 background-position: center;
20 background-repeat: no-repeat; 20 background-repeat: no-repeat;
21 - margin-top:15px;  
22 height: 53px; 21 height: 53px;
  22 + background-size: 100%;
  23 + flex:1;
23 } 24 }
24 .total-title{ 25 .total-title{
25 margin-right: 10px; 26 margin-right: 10px;
@@ -108,4 +109,16 @@ @@ -108,4 +109,16 @@
108 } 109 }
109 .num-net{ 110 .num-net{
110 color:#e5abd1; 111 color:#e5abd1;
  112 +}
  113 +.jump{
  114 + display: flex;
  115 + justify-content: space-around;
  116 + align-items: center;
  117 + margin-top: 15px;
  118 +}
  119 +.img-link{
  120 + /*width: 42px;*/
  121 + height: 47px;
  122 + margin-right:2px;
  123 + cursor: pointer;
111 } 124 }
1 <div class="declare-container" id="declare"> 1 <div class="declare-container" id="declare">
2 <!--今日申报--> 2 <!--今日申报-->
3 <div class="declare-left"> 3 <div class="declare-left">
4 - <div class="declare-total">  
5 - <span class="total-title">本月应申报</span>  
6 - <span class="total-num">{{reportable}}</span> 4 + <div class="jump">
  5 + <img @click="goJump" src="/vue3/src/assets/images/zjdp/icon-link.png" class="img-link">
  6 + <div class="declare-total">
  7 + <span class="total-title">本月应申报</span>
  8 + <span class="total-num">{{reportable}}</span>
  9 + </div>
7 </div> 10 </div>
  11 +
8 <div class="declaration-rate"> 12 <div class="declaration-rate">
9 <span class="rate-title">本月申报率</span> 13 <span class="rate-title">本月申报率</span>
10 <span class="proportion-bar"> 14 <span class="proportion-bar">
@@ -180,12 +180,16 @@ export default { @@ -180,12 +180,16 @@ export default {
180 return intPartFormat 180 return intPartFormat
181 } 181 }
182 } 182 }
  183 + const goJump=()=>{
  184 + proxy.$router.push({path:'/zj/dp',query: {access_token:localStorage.getItem('access_token')}})
  185 + }
183 186
184 return{ 187 return{
185 numberFilter, 188 numberFilter,
186 eleWidthNum, 189 eleWidthNum,
187 getDeclareData, 190 getDeclareData,
188 - startInterval 191 + startInterval,
  192 + goJump
189 } 193 }
190 }, 194 },
191 unmounted () { 195 unmounted () {