Commit 9ce01984 authored by zhangyanni's avatar zhangyanni

会员页面

parent 31276e05
......@@ -1037,7 +1037,7 @@ module.exports = {
usermanagement:{
registereduser:'User Registration Manag',
accountstatus:'Account Status',
registrationtime:'Registration Time',
registrationtime:'Registration Time',
normal:'Normal',
Frozen:'Frozen',
freeze:'Freeze',
......
......@@ -57,7 +57,7 @@
handleAboutUs(){
this.$router.push("/aboutus");
this.$emit('aboutwebtn','-1');
this.$emit('aboutwebtn','-2');
},
termservice(){
var url = this.$router.resolve({path:"/termservice"});
......@@ -69,7 +69,7 @@
},
handleContactUs(){
this.$router.push("/contactus");
this.$emit("itemBtn",-1);
this.$emit("itemBtn",-2);
},
useHelp(){
this.$router.push("/useHelp");
......
<template>
<div :class="[initStyle?'boxWrapper initBoxWrapper':'boxWrapper noinitBoxWrapper',isOtherVisible?'whiteWrapper':'',isShow?'':'loginedTopWrapper']">
<div :class="[initStyle&&currentIndex>-2?'boxWrapper initBoxWrapper':'boxWrapper noinitBoxWrapper',isOtherVisible?'whiteWrapper':'',isShow?'':'loginedTopWrapper']">
<div class="header-left">
<img src="../../assets/img/index/techbook-LOGO-02@2x.png" alt="" v-if="initStyle&&isShow" @click="$router.push('/')">
<img src="../../assets/img/index/techbook-LOGO-01@2x.png" alt="" v-if="(!initStyle&&isShow)||!isShow" @click="$router.push('/')">
<img src="../../assets/img/index/techbook-LOGO-02@2x.png" alt="" v-if="initStyle&&isShow&&currentIndex>-2" @click="$router.push('/')">
<img src="../../assets/img/index/techbook-LOGO-01@2x.png" alt="" v-if="(!initStyle&&isShow)||!isShow||currentIndex==-2" @click="$router.push('/')">
<span>|</span>
<span>{{$t("topNav.logoTitle")}}</span>
</div>
......
......@@ -48,7 +48,7 @@ import notServer from './views/error/notServer';
import messageSend from './views/sendMessage/pages/msgIndex';//发送消息/消息记录
import messageList from './views/sendMessage/pages/msgIndex';//消息记录
import messageDetail from './views/sendMessage/pages/detailMsg';//消息详情
import vipList from './views/vip/client/list';//会员权益
//手机端
......@@ -69,7 +69,7 @@ import mobileSearchResult from './views/mobile/searchRecord';//搜索结果页
import mobileSearchScreen from './views/mobile/selectScreen';//筛选香
import mobileLogined from './views/mobile/logined';//登录之后
import mobileAddAuth from './views/mobile/auth/addAuth';//个人认证
import vip from './views/vip/phone/list';
import vip from './views/vip/phone/list';//会员权益
import knowledgeList from './views/knowledge/mobile/list';//知识资源列表
import knowledgeDetail from './views/knowledge/mobile/detail';//知识资源详情
......@@ -132,6 +132,11 @@ export default new Router({
component: resolve => require(['./views/knowledge/computer/computerdetails.vue'], resolve),
meta: {title: '知识资源详情'}
},
{
path:'/vipList',
name:"vipList",
component:vipList
},
]
},
{
......
......@@ -56,7 +56,7 @@
},
},
created(){
if(this.indexwe==0||this.indexwe>2) {
if(this.indexwe==0||this.indexwe>2||this.indexwe==-2) {
this.isShow = true;
if(this.indexwe>2){
this.isInit = false;
......@@ -73,7 +73,7 @@
})
},
activated(){
if(this.indexwe==0||this.indexwe>2) {
if(this.indexwe==0||this.indexwe>2||this.indexwe==-2) {
this.isShow = true;
if(this.indexwe>2){
this.isInit = false;
......@@ -88,7 +88,7 @@
},
mounted() {
window.addEventListener('scroll', this.handleScroll);
if(this.indexwe==0||this.indexwe>2) {
if(this.indexwe==0||this.indexwe>2||this.indexwe==-2) {
this.isShow = true;
if(this.indexwe>2){
this.isInit = false;
......
......@@ -353,6 +353,9 @@
}, {
id: 2,
image: require('../../../assets/img/bannerImgChZn.jpg')
}, {
id: 3,
image: require('../../../assets/img/bannerImgChZn.jpg')
}];
}else{
this.list = [{
......@@ -361,6 +364,9 @@
}, {
id: 2,
image: require('../../../assets/img/bannerImgEn.jpg')
}, {
id: 3,
image: require('../../../assets/img/bannerImgChZn.jpg')
}];
}
......@@ -506,6 +512,10 @@
globalMsg.$emit('sendIndex',3);
this.$router.push("/lndustryfocus")
}
if(this.realSwiperIndex==2){
globalMsg.$emit('sendIndex',-2);
this.$router.push("/vipList")
}
},
//查看更多
......
This diff is collapsed.
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 to comment