peng
8 小时以前 b2ab3de804425caf06d49f0eeb743b2e703bf311
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
261
262
263
264
<template>
  <div>
    <footer class="footer">
      <div class="clearfix"></div>
      <div class="icon-row">
        <div class="footer-icon flex flex-a-c">
          <h5 class="footer-icon-child">多</h5>
          <span class="footer-icon-text">品类齐全,轻松购物</span>
        </div>
        <div class="footer-icon flex flex-a-c">
          <h5 class="footer-icon-child footer-icon-child-2">快</h5>
          <span class="footer-icon-text">多仓直发,极速配送</span>
        </div>
        <div class="footer-icon flex flex-a-c">
          <h5 class="footer-icon-child footer-icon-child-3">好</h5>
          <span class="footer-icon-text">正品行货,精致服务</span>
        </div>
        <div class="footer-icon flex flex-a-c">
          <h5 class="footer-icon-child footer-icon-child-4">省</h5>
          <span class="footer-icon-text">天天低价,畅选无忧</span>
        </div>
      </div>
      <div class="service-intro">
        <div class="servece-type">
          <div class="servece-type-info" v-for="(guide, index) in guideArr" :key="index">
            <ul>
              <li v-for="(item, index) in guide" :key="index" @click="goArticle">{{item}}</li>
            </ul>
          </div>
        </div>
        <div class="clearfix"></div>
        <div class="friend-link flex">
          <div class="friend-link-item">
            <ul>
              <li v-for="(link, index) in moreLink" :key="index" @click="goArticle">
                <span class="link-item" :class="{'link-last-item': index === 4}">{{link}}</span>
              </li>
 
            </ul>
 
          </div>
 
          </div>
        <div class="information footer-bottmom">
          <div class="icp">
            <li v-if="config.icpCard">
              <a :href='"https://tsm.miit.gov.cn/dxxzsp/xkz/xkzgl/resource/qiyesearch.jsp?num="+config.icpCard+"&type=xuke"' target="_blank">
                {{config.icpCard}}
              </a>
            </li>
            <li v-if="config.icpMessage" class="footer-bottmom">
              <a href="https://beian.miit.gov.cn/" target="_blank">
                {{config.icpMessage}}
              </a>
            </li>
          </div>
          <a class="flex " :href="config.company.href">
            <img class="zhizhao" src="@/assets/images/zhizhao.jpg" mode="" />{{config.company.name}}
          </a>
        </div>
 
        <div class="clearfix"></div>
        <div class="copyright">
          <p>Copyright © {{year}} {{config.title}}</p>
        </div>
      </div>
    </footer>
  </div>
</template>
 
<script>
 
export default {
  name: "Footer",
  data() {
    return {
      config:require('@/config'),
      guideArr: [
        // 导航链接
        ["购物指南", "购物流程", "会员介绍", "生活旅行", "常见问题"],
        ["配送方式", "上门自提", "配送查询", "收取标准", "物流规则"],
        ["支付方式", "在线支付", "公司转账", "余额支付", "积分支付"],
        ["售后服务", "售后政策", "退款说明", "返修/退货", "取消订单"],
      ],
      moreLink: ["关于我们", "联系我们", "联系客服", "商家帮助", "隐私政策"], // 更多链接
      year: new Date().getFullYear(), // 当前年份
    };
  },
  methods: {
    goArticle() {
      // 跳转文章页
      let routeUrl = this.$router.resolve({
        path: "/article",
      });
      window.open(routeUrl.href, "_blank");
    },
  },
};
</script>
 
<style scoped lang="scss">
/*****************************底 部 开 始*****************************/
.footer {
  width: 100%;
  height: 370px;
  background: #FFFFFF;
}
.icon-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 1056px;
  height: 71px;
  margin: 0 auto;
}
.footer-icon {
  float: left;
}
.footer-icon-child {
  overflow: hidden;
  width: 36.4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18.2px;
  font-weight: normal;
  color: #333;
  height: 36.4px;
  border: 1.4px solid #CECECE;
  border-radius: 50%;
}
 
.icp {
  margin-right: 30px !important;
  >*{
    margin: 0 4px;
  }
  flex-direction: column;
}
.flex{
  display: flex;
  align-items: center;
  >img{
    margin-right: 4px;
  }
}
.footer-icon-text {
  margin-left: 11px;
  font-size: 16px;
 
  font-weight: normal;
 
  text-align: center;
}
.service-intro {
  width: 100%;
  border-top: 1px solid $border_color;
}
.servece-type {
  width: 952px;
  margin: 22px auto 10px auto;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
 
}
.servece-type-info{
 
}
.servece-type-info ul {
  list-style: none;
}
.servece-type-info li {
  font-size: 12px;
  cursor: pointer;
  font-weight: normal;
  line-height: 15px;
  text-align: center;
  margin-bottom: 13px;
  color: #333;
}
 
.servece-type-info li:first-child {
  font-size: 14.82px;
  font-weight: normal;
  line-height: 18px;
 
  letter-spacing: 0px;
  margin-bottom: 17px;
  color: #333333;
}
 
.friend-link {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 908px;
  padding: 10px 0;
  margin: 0px auto;
  border-top: 1px solid $border_color;
}
.information {
  margin-top: 23px;
  margin-bottom: 21px;
  display: flex;
  justify-content: center;
 
}
a{
  color: #3457FF;
}
.zhizhao {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}
.friend-link-item ul {
  list-style: none;
}
.friend-link-item li {
  padding: 5px 0px;
  float: left;
  margin-right: 59px;
  font-weight: normal;
  line-height: 13px;
  color: #333333;
}
 
 
 
.link-item {
  padding: 0px 8px;
  cursor: pointer;
 
}
.link-last-item {
  border: none;
}
.copyright {
  width: 100%;
  cursor: pointer;
  text-align: center;
  height:25px;
  opacity: 1;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: normal;
  line-height: 13px;
 
  letter-spacing: 0px;
 
  color: #959595;
}
 
.footer-icon-text {
  @include title_color($light_title_color);
}
.copyright,
.friend-link,
.servece-type-info {
  @include sub_color($light_sub_color);
}
/*****************************底 部 结 束*****************************/
</style>