Commit 9ce01984 authored by zhangyanni's avatar zhangyanni

会员页面

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