Browse Source

sub menu

master
maochaoying 2 years ago
parent
commit
e3a0443581
  1. 30
      src/components/SubNavigation.vue
  2. 1
      src/pages/Company.vue

30
src/components/SubNavigation.vue

@ -1,5 +1,9 @@
<template>
<div class="sub_navigation_container">sub</div>
<div class="sub_navigation_container">
<div class="back_icon"></div>
<p class="title">公司简介</p>
<p class="menu"></p>
</div>
</template>
<script setup></script>
@ -7,9 +11,31 @@
<style lang="scss" scoped>
.sub_navigation_container {
height: $sub-header-height;
background: #efefef;
display: flex;
align-items: center;
justify-content: space-between;
padding: 16px 18px;
box-sizing: border-box;
background: #efefef;
position: fixed;
top: 0;
left: 0;
right: 0;
.back_icon {
width: 8px;
height: 15px;
background: #000;
}
.title {
font-size: 10px;
font-family: Alibaba PuHuiTi;
font-weight: 500;
color: #262626;
}
.menu {
width: 18px;
height: 12px;
background: #262626;
}
}
</style>

1
src/pages/Company.vue

@ -45,6 +45,7 @@ const stopVideo = () => {
<style lang="scss" scoped>
.company_container {
padding-top: $sub-header-height;
.video_container {
position: relative;
.mask {

Loading…
Cancel
Save