333
schangxiang@126.com
2025-09-19 18966e02fb573c7e2bb0c6426ed792b38b910940
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
<template>
  <div class="container header-section">
    <router-link tag="img" to="/index" src="/static/user/logo.png" alt="logo" class="logo" active-class="active">首页</router-link>
    <ul class="nav">
      <router-link tag="li" to="/index" class="item" active-class="active">首页</router-link>
      <router-link tag="li" to="/store-search" class="item" active-class="active">门店查询</router-link>
      <router-link tag="li" to="/business" class="item" active-class="active">产品与业务</router-link>
      <router-link tag="li" to="/upload-card-id" class="item" active-class="active">身份证上传</router-link>
      <router-link tag="li" to="/contact-us" class="item" active-class="active">关于我们</router-link>
    </ul>
    <div class="nav-right">
      <el-button type="primary" icon="el-icon-yrt-wo" @click="login">会员登录</el-button>
      <el-button type="text">中文版</el-button>
      <el-button type="text">English</el-button>
    </div>
  </div>
</template>
 
<script>
export default {
  methods: {
    login() {
      location.href = "/user.html#/login";
    }
  }
};
</script>
 
<style lang="scss" scoped>
.header-section {
  .logo {
    height: 50px;
    vertical-align: -webkit-baseline-middle;
    cursor: pointer;
  }
  .nav {
    display: inline-block;
    margin-left: 50px;
    li {
      display: inline-block;
      margin: 0px 15px;
      &.item {
        cursor: pointer;
      }
      &:hover {
        color: #409eff;
        border-bottom: 1px solid #409eff;
      }
      &.active {
        color: #409eff;
      }
    }
  }
  .nav-right {
    float: right;
    padding-top: 10px;
  }
}
/* 手机屏 */
@media screen and (max-width: 480px) {
 .header-section{
   padding-left: 0;
   padding-right: 0;
  .logo {
    height: 30px;
    vertical-align: -webkit-baseline-middle;
    cursor: pointer;
  }
  .nav {
    display: inline-block;
    position: absolute;
    line-height: 2;
    left: 70px;
    margin-left: 5px;
  }
  .nav-right{
    display: none;
  }
 }
}
</style>