Your Name 2 years ago
parent
commit
374732d9cc

BIN
public/images/iframe_goback.png View File


BIN
public/images/iframe_header_bg.png View File


BIN
public/images/pg3/1.png View File


BIN
public/images/pg3/2.png View File


BIN
public/images/pg3/3.png View File


BIN
public/images/pg3/4.png View File


BIN
public/images/pg3/5.png View File


BIN
public/images/pg3/6.png View File


+ 18
- 5
src/components/IFrame.vue View File

1
 <template>
1
 <template>
2
   <div class="iframe-wrapper">
2
   <div class="iframe-wrapper">
3
-    <img class="goback abs" src="/images/goback.png" alt="" @click="emit('cancel')">
3
+    <div class="iframe-header">
4
+      <img src="/images/iframe_goback.png" alt="" @click="emit('cancel')">
5
+    </div>
4
     <iframe :src="link" frameborder="0" v-if="link"></iframe>
6
     <iframe :src="link" frameborder="0" v-if="link"></iframe>
5
   </div>
7
   </div>
6
 </template>
8
 </template>
23
   left: 0;
25
   left: 0;
24
   z-index: 1200;
26
   z-index: 1200;
25
 
27
 
26
-  .goback {
28
+  .iframe-header {
27
     position: absolute;
29
     position: absolute;
28
     z-index: 10;
30
     z-index: 10;
29
-    width: 40px;
30
-    top: 12px;
31
-    left: 12px;
31
+    width: 100%;
32
+    height: 60px;
33
+    left: 0;
34
+    top: 0;
35
+
36
+    background-image: url(/images/iframe_header_bg.png);
37
+    background-size: 100% 100%;
38
+    background-repeat: no-repeat;
39
+
40
+    img {
41
+      width: auto;
42
+      height: 30px;
43
+      padding: 15px 30px;
44
+    }
32
   }
45
   }
33
 
46
 
34
   iframe {
47
   iframe {

+ 2
- 0
src/utils/resources.js View File

31
   { image: './images/share.jpg' },
31
   { image: './images/share.jpg' },
32
   { image: './images/广电logo.png' },
32
   { image: './images/广电logo.png' },
33
   { image: './images/电视台二维码.png' },
33
   { image: './images/电视台二维码.png' },
34
+  { image: './images/iframe_header_bg.png' },
35
+  { image: './images/iframe_goback.png' },
34
 
36
 
35
   { image: './images/pg1/2014.png' },
37
   { image: './images/pg1/2014.png' },
36
   { image: './images/pg1/bell.png' },
38
   { image: './images/pg1/bell.png' },

+ 564
- 454
yarn.lock
File diff suppressed because it is too large
View File