123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104 |
- <!-- 园区资讯问答 -->
- <template>
- <div class="information">
- <section class="nav_box">
- <Nav></Nav>
- <div class="second_nv">
- <div>
- <div class="position">
- <img src="" alt="" />
- <span>
- 当前位置:
- <span class="pointer">园区资讯问答</span>
- <span style="margin:0 4px;">></span>
- <span class="current pointer">详情</span>
- </span>
- </div>
- <div class="head_title">
- <span class="text">园区资讯问答</span>
- <span class="english">Questions and Answers</span>
- </div>
- </div>
- </div>
- </section>
- <section class="content_box">
- <router-view></router-view>
- </section>
- <Footer></Footer>
- </div>
- </template>
-
- <script>
- //这里可以导入其他文件(比如:组件,工具js,第三方插件js,json文件,图片文件等等)
- //例如:import 《组件名称》 from '《组件路径》';
- import Nav from "@components/Header.vue";
- import Footer from "@components/Footer.vue";
- export default {
- //import引入的组件需要注入到对象中才能使用
- components: { Nav, Footer },
- data() {
- //这里存放数据
- return {
- input2: "",
- };
- },
- //监听属性 类似于data概念
- computed: {},
- //监控data中的数据变化
- watch: {},
- //方法集合
- methods: {},
- //生命周期 - 创建完成(可以访问当前this实例)
- created() {},
- //生命周期 - 挂载完成(可以访问DOM元素)
- mounted() {},
- };
- </script>
- <style lang="scss" scoped>
- //@import url(); 引入公共css类
- .nav_box {
- background-image: linear-gradient(135deg, #42a6fe 0%, #0070d2 100%);
- .second_nv {
- @include size(100%, 140px);
- > div {
- @include size(1200px, 100%);
- margin: 0 auto;
- @include flex(column, flex-start, flex-start, null);
- position: relative;
- }
- .head_title {
- width: 100%;
- @include flex(column, center, center, null);
- .text {
- @include font(36px, #ffffff);
- font-weight: 600;
- }
- .english {
- @include font(14px, #ffffff);
- margin-top: 4px;
- }
- }
- .position {
- @include flex(row, flex-start, center, null);
- img {
- @include size(16px, 16px);
- background: #ffffff;
- margin-right: 6px;
- }
- padding-top: 10px;
- @include border-box;
- @include font(16px, #ffffff);
- .current {
- font-weight: 600;
- }
- }
- }
- }
- .content_box {
- width: 1200px;
- min-height: 400px;
- margin: 0 auto;
- padding: 30px 0;
- @include border-box;
- }
- </style>
|