Commit 1766903a by 展昭

修改链接

parent c0f93234
<template>
<div id="showheader" class="header">
<div id="showheader" class="header-warp">
<van-nav-bar id="nav" :title="title" left-text left-arrow>
<template #title>
<a class="header-title" :class="isActive?'title-active':''" href="/">人事服务</a>
<a class="header-title" :class="isActive?'':'title-active'" href="./more">更多服务</a>
</template>
</van-nav-bar>
......@@ -49,7 +48,7 @@ export default {
width: 100%;
z-index: 1100;
}
.header /deep/ .van-nav-bar .van-icon {
.header-warp /deep/ .van-nav-bar .van-icon {
color: #fff !important;
font-size: 16px !important;
}
......
<template>
<div>
<div class="container">
<div class="header">
<tab-header :title="title" />
</div>
......@@ -167,6 +167,7 @@ export default {
</script>
<style lang="less" scoped>
.contener {
.header {
height: 136px;
......
......@@ -87,7 +87,7 @@ export default {
</script>
<style lang="less" scoped>
@import url('../../assets/css/index.css');
.container-wrap {
padding: 0 16px;
.list {
......
<template>
<div>
<div class="container">
<div class="header">
<tab-header :title="title" />
</div>
......@@ -22,7 +22,7 @@
<img src alt />
<span>充值</span>
</div>
<div class="right">
<div class="right" @click="toPage(2)">
<img src alt />
<span>资金记录</span>
</div>
......@@ -65,17 +65,30 @@ export default {
methods: {
onClickLeft() {
console.log(1);
},
toPage(flag){
if (flag === 2) {
this.$router.push({ name: "morerecord" });
}
},
navLeftArrowClick() {
this.$router.go(-1);
}
},
mounted() {
this.globalNavLeftArrowClick(this.navLeftArrowClick);
}
};
</script>
<style lang="less" scoped>
.contener {
.header {
height: 136px;
padding: 0 16px;
background: #0978e7;
border-top: 1px solid #0978e7;
.header_box {
height: 174px;
background: rgba(255, 255, 255, 1);
......
<template>
<div>
<div class="container">
<div class="header">
<van-nav-bar :title="title" left-arrow @click-left="onClickLeft" />
<HeaderW :title="title" />
</div>
<div class="container">
<div class="container-wrap">
<div class="list">
<div class="title">
<div class="title_info">吴天逸工商代理工本费</div>
<i>-160.00</i>
</div>
<p>
<span>11-20 12:20</span>
<span>11-20 12:20</span>
</p>
</div>
</div>
......@@ -18,11 +18,12 @@
</template>
<script>
import { NavBar, Icon } from "vant";
import { Icon } from "vant";
import { HeaderW } from "@/components";
export default {
components: {
[NavBar.name]: NavBar,
[Icon.name]: Icon
[Icon.name]: Icon,
HeaderW
},
data() {
return {
......@@ -32,19 +33,24 @@ export default {
methods: {
onClickLeft() {
console.log(1);
},
navLeftArrowClick() {
this.$router.go(-1);
}
},
mounted() {
this.globalNavLeftArrowClick(this.navLeftArrowClick);
}
};
</script>
<style lang="less" scoped>
.container {
.container-wrap {
padding: 0 16px;
.list {
padding: 16px 0;
border-bottom: 1px solid #ECECEE;
&:last-child{
border: 0;
border-bottom: 1px solid #ececee;
&:last-child {
border: 0;
}
.title {
display: flex;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment