Commit aabc99bf authored by zhengke's avatar zhengke

修改

parent 0ea27c66
......@@ -166,13 +166,13 @@
</div>
</div>
<ul class="FsettingUU">
<li class="menu_item" :class="{'Fchecked':isChecked==1}" @click="isChecked=1,CommonJump('wexinappconfig')">
<li class="menu_item" :class="{'Fchecked':isChecked=='/wexinappconfig'}" @click="isChecked='/wexinappconfig',CommonJump('wexinappconfig')">
<i class="el-icon-menu"></i><span>基础配置</span>
</li>
<li class="menu_item" :class="{'Fchecked':isChecked==2}" @click="isChecked=2,CommonJump('wexinappmsg')">
<li class="menu_item" :class="{'Fchecked':isChecked=='/wexinappmsg'}" @click="isChecked='/wexinappmsg',CommonJump('wexinappmsg')">
<i class="el-icon-menu"></i><span>消息通知</span>
</li>
<li class="menu_item" :class="{'Fchecked':isChecked==3}" @click="isChecked=3,CommonJump('AppletPublishing')">
<li class="menu_item" :class="{'Fchecked':isChecked=='/AppletPublishing'}" @click="isChecked='/AppletPublishing',CommonJump('AppletPublishing')">
<i class="el-icon-menu"></i><span>小程序发布</span>
</li>
<li style="display:none;" class="menu_item" :class="{'Fchecked':isChecked==4}" @click="isChecked=4">
......@@ -223,17 +223,21 @@
data() {
return {
currentUser: {},
isChecked:1,
isChecked:'',
Height:0
};
},
created() {
this.currentUser = this.getLocalStorage();
this.isChecked=this.$route.path;
if(this.$route.query.FIndex){
this.CommonJump('wexinappconfig');
this.isChecked='/wexinappconfig'
}
},
methods: {
},
mounted() {
this.CommonJump('wexinappconfig');
this.Height = document.documentElement.clientHeight - 60;
//监听浏览器窗口变化 
window.onresize = () => {
......
......@@ -174,16 +174,16 @@
</div>
</div>
<ul class="FsettingUU">
<li class="menu_item" :class="{'Fchecked':isChecked==1}" @click="isChecked=1,CommonJump('templateManage')">
<li class="menu_item" :class="{'Fchecked':isChecked=='/templateManage'}" @click="isChecked='/templateManage',CommonJump('templateManage')">
<i class="el-icon-menu"></i><span>模板管理</span>
</li>
<li class="menu_item" :class="{'Fchecked':isChecked==2}" @click="isChecked=2">
<li class="menu_item" :class="{'Fchecked':isChecked==''}">
<i class="el-icon-menu"></i><span>模板市场</span>
</li>
<li class="menu_item" :class="{'Fchecked':isChecked==3}" @click="isChecked=3,CommonJump('CustomPage')">
<li class="menu_item" :class="{'Fchecked':isChecked=='/CustomPage'}" @click="isChecked='/CustomPage',CommonJump('CustomPage')">
<i class="el-icon-menu"></i><span>自定义页面</span>
</li>
<li class="menu_item" :class="{'Fchecked':isChecked==4}" @click="isChecked=4,CommonJump('authorization')">
<li class="menu_item" :class="{'Fchecked':isChecked=='/authorization'}" @click="isChecked='/authorization',CommonJump('authorization')">
<i class="el-icon-menu"></i><span>授权页面</span>
</li>
<li style="display:none;" class="menu_item" :class="{'Fchecked':isChecked==5}" @click="isChecked=5">
......@@ -234,16 +234,23 @@
data() {
return {
currentUser: {},
isChecked: 1,
isChecked: '',
Height: 0
};
},
created() {
this.currentUser = this.getLocalStorage();
this.isChecked=this.$route.path;
if(this.$route.query.FIndex){
this.CommonJump('templateManage');
this.isChecked='/templateManage'
}
if(this.$route.path=='/templateEdit'){
this.isChecked='/templateManage'
}
},
methods: {},
mounted() {
this.CommonJump('templateManage');
this.Height = document.documentElement.clientHeight - 60;
//监听浏览器窗口变化 
window.onresize = () => {
......
......@@ -77,7 +77,9 @@
goDiyCenter(path){
let routeData = this.$router.resolve({
name: path,
query: {}
query: {
FIndex:1
}
});
window.open(routeData.href, "_blank");
}
......
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