杨磊
4 天以前 ef37c59e055a990ce247b265b27d3fcef430a243
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
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
<template>
  <div class="pageFooter">
    <div class="footerContent contentBox flex">
      <div class="infoBox flex1">
        <ul class="linkBox">
          <li
            class="link"
            @click="toAboutus(index)"
            v-for="(item, index) in linkList"
            :key="index"
          >
            {{ item.name }}
          </li>
        </ul>
        <ul class="linkBox">
          <li
            class="link"
            @click="toAboutus(index)"
            v-for="(item, index) in newList"
            :key="index"
          >
            {{ item.name }}
          </li>
        </ul>
        <ul class="linkBox">
          <li
            class="link"
            @click="toAboutus(index)"
            v-for="(item, index) in serviceList"
            :key="index"
          >
            {{ item.name }}
          </li>
        </ul>
        <ul class="linkBox">
          <li class="link" @click="toAboutus(index)">天猫旗舰店</li>
          <li class="link" style="opacity: 1;font-size: 20px;" @click="toAboutus(index)">京东旗舰店</li>
        </ul>
      </div>
      <div class="QRCodeBox">
        <div class="codeItem">
          <img src="@/assets/images/pageFooter/wechatCode.png" />
        </div>
        <div class="codeItem">
          <img src="@/assets/images/pageFooter/weiboCode.png" />
        </div>
      </div>
    </div>
    <div class="copyrightBox">
      <span
        >中国协和医科大学出版社有限公司 丨 备案序号:<span
          class="beian"
          @click="toLink"
          >京ICP备 05029104号-4互联网出版许可证 新出网证 (京 )</span
        >
        丨 增值电信业务经营许可证:京B2-20224426</span
      >
      <span style="display: block"
        >Copyright©2013 中国协和医科大学出版社有限公司 版权所有!</span
      >
    </div>
  </div>
</template>
<script>
export default {
  data() {
    return {
      linkList: [
        {
          name: "关于我们",
          url: "",
        },
        {
          name: "关于我们",
          url: "",
        },
        {
          name: "联系我们",
          url: "",
        },
        {
          name: "意见反馈",
          url: "",
        },
      ],
      newList: [
        {
          name: "新手上路",
          url: "",
        },
        {
          name: "操作指南",
          url: "",
        },
        {
          name: "教师认证",
          url: "",
        },
      ],
      serviceList: [
        {
          name: "友情链接",
          url: "",
        },
        {
          name: "国家科学技术部",
          url: "",
        },
        {
          name: "国家卫生健康委",
          url: "",
        },
        {
          name: "国家教育部",
          url: "",
        },
        {
          name: "北京市卫健委",
          url: "",
        },
      ],
    };
  },
  methods: {
    // 备案
    toLink() {
      const url = "https://beian.miit.gov.cn/";
      window.open(url, "_blank");
    },
    toAboutus(index) {
      switch (index) {
        case 0:
          window.open("http://xy.caupress.cn", "_blank");
          break;
        case 1:
          window.open(
            "https://zndts.tmall.com/?spm=a1z10.1-b.1997427721.d4918089.561b7c19JR8QxF",
            "_blank"
          );
          break;
        case 2:
          this.$router.push({
            name: "authorServices",
          });
          break;
        case 3:
          this.$router.push({
            name: "aboutUs",
            query: {
              aboutUs: 5,
            },
          });
          break;
        case 4:
          if (this.$route.name == "aboutUs-index") {
            this.$router.replace({
              name: "aboutUs",
              query: {
                aboutUs: 4,
              },
            });
          } else {
            this.$router.push({
              name: "aboutUs",
              query: {
                aboutUs: 4,
              },
            });
          }
 
          break;
        default:
          this.$message("正在建设中...");
          break;
      }
    },
  },
};
</script>
 
<style lang="less" scoped>
.pageFooter {
  background: #444444;
  background-image: url("@/assets/images/xiehe/home/footer-bg.png");
  .footerContent {
    padding: 30px 0;
    .infoBox {
      display: flex;
      .linkBox {
        font-size: 16px;
        margin-left: 50px;
        .link {
          padding-right: 15px;
          cursor: pointer;
          color: #fff;
          margin-top: 20px;
          opacity: 0.7;
          &::after {
            margin-left: 15px;
          }
          &:last-child::after {
            display: none;
          }
          &:first-child {
            color: #fff;
            opacity: 1;
            font-size: 20px;
            margin-bottom: 10px;
          }
        }
      }
      .address {
        margin-top: 30px;
        font-size: 14px;
        color: #ccc;
        span {
          margin-right: 30px;
        }
      }
      .logo {
        height: 50px;
        margin-top: 30px;
        img {
          height: 100%;
        }
      }
    }
    .QRCodeBox {
      .codeItem {
        display: inline-block;
        text-align: center;
        margin-left: 40px;
        p {
          font-size: 16px;
        }
        img {
          width: 100px;
          height: 100px;
          margin-top: 20px;
        }
      }
    }
  }
  .copyrightBox {
    text-align: center;
    color: #fff;
 
    height: 80px;
    line-height: 40px;
    font-size: 12px;
    border-top: 1px solid #e6e6e6;
    .beian {
      cursor: pointer;
    }
    .beian:hover {
      color: blue;
    }
  }
}
</style>