13693261870
2023-06-21 cdf12fc9e88b1af69f5c85165eb9fef4e23bf57a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
<!DOCTYPE html>
<html>
 
<head>
  <meta charset="utf-8" />
  <title>园区弹窗</title>
 
  <link rel="stylesheet" href="UE/element-ui/lib/theme-chalk/index.css" />
  <script src="UE/jquery.min.js"></script>
  <script src="UE/element/vue.min.js"></script>
 
  <script src="UE/element-ui/lib/index.js"></script>
  <script src="https://unpkg.com/axios/dist/axios.min.js"></script>
 
 
  <!-- <link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
 
<script src="https://unpkg.com/element-ui/lib/index.js"></script> -->
 
  <style>
    @font-face {
      font-family: Font1;
      src: url(./Font/SourceHanSansCN-Normal.otf);
    }
 
    .box {
      width: 310px;
      height: 173px;
      background: url('./UE/img/frameBackground.png') no-repeat center;
      background-size: 100% 100%;
      padding: 1%;
      overflow-y: auto;
      font-family: 'Font1';
    }
 
    .box1 {
      font-family: 'Font1';
      font-weight: 500;
      font-size: 22px;
      line-height: 32px;
      color: #FFFFFF;
    }
 
    .box2 {
      font-weight: 400;
      font-size: 18px;
      line-height: 18px;
      color: #FFFFFF;
    }
 
    .label1 {
      font-family: 'Font1';
      font-size: 12px;
      line-height: 12px;
      color: #FFFFFF;
      opacity: 0.8;
    }
 
    .label2 {
      font-family: 'Font1';
      font-weight: 400;
      font-size: 14px;
      line-height: 18px;
      color: #FFFFFF;
 
    }
 
    .box3 {
      font-family: 'Font1';
      font-weight: 400;
      font-size: 24px;
      line-height: 35px;
      color: #FFFFFF;
    }
 
    .box4 {
      font-family: 'Font1';
      font-weight: 400;
      font-size: 32px;
      line-height: 32px;
 
      color: #00FFCB;
 
    }
  </style>
</head>
 
<body>
  <div id="app" class="box">
    <!-- <div class="box1">{{ message1 }}</div>
    <div class="box2">
      面积:{{message2}}万<label class="label1">平方米</label>
    </div>
    <div class="box3">{{ message4 }}</div> -->
    <table style="width: 100%; height:100%">
      <tr>
        <td colspan="2" class="box1">{{ message1 }}</td>
      </tr>
      <tr>
        <td colspan="2" class="box2">面积:{{message2}}万<label class="label1">平方米</label></td>
      </tr>
      <tr>
        <td colspan="2"></td>
      </tr>
      <tr>
        <td class="box3">产值</td>
        <td class="box3">税收</td>
      </tr>
      <tr>
        <td class="box4">{{message3}}<label class="label2">万元</label></td>
        <td class="box4">{{message4}}<label class="label2">万元</label></td>
      </tr>
    </table>
  </div>
 
  <script>
      new Vue({
        el: '#app',
        data: function(){
         return{
          message1:
            ' ',
          message2: ' ',
          message3: 0,
          message4: 0,
          num:3,
        
         }
        },
         methods: {
            showmessage(){
           
              var arr = ['v']
              var id  =  this.getQueryString(arr[0])
              var value = JSON.parse(id)
              this.message1 = value.name
              this.message2 = value.area
              this.message3 = value.industrial_value  
              this.message4 = value.tax_value 
        
            },
 
 
 
            getQueryString(name){
              var reg = new RegExp('(^|&)' + name + '=([^&]*)(&|$)', 'i')
              var r = window.location.search.substr(1).match(reg)
              if (r != null) {
               return decodeURI(r[2])
              }
 
              return ''
            }
        },
        created () {
         
            this.showmessage()
           
       
 
      }
      })
    </script>
</body>
 
</html>