Commit fdaf046f authored by 黄奎's avatar 黄奎

页面优化

parent 89a250ae
......@@ -186,8 +186,8 @@
<div class="mainRightLeft">微信小程序</div>
<div class="marinRightList">
<ul>
<li>缓存</li>
<li title="教程管理">
<li style="display:none">缓存</li>
<li style="display:none"> title="教程管理">
<el-dropdown trigger="click">
<span class="el-dropdown-link">
教程管理<i class="el-icon-arrow-down el-icon--right"></i>
......
......@@ -198,8 +198,8 @@
<div class="mainRightLeft">微信小程序</div>
<div class="marinRightList">
<ul>
<li>缓存</li>
<li title="教程管理">
<li style="display:none">>缓存</li>
<li style="display:none"> title="教程管理">
<el-dropdown trigger="click">
<span class="el-dropdown-link">
教程管理<i class="el-icon-arrow-down el-icon--right"></i>
......
......@@ -89,8 +89,8 @@
</el-table-column>
<el-table-column prop="name" label="商城名称" width="155">
<template slot-scope="scope">
<p style="color:#409EFF;cursor:pointer;"
@click="setMallBaseId(scope.row.MallBaseId,scope.row.MallName),goHomePage()">
<p style="color:#409EFF;cursor:pointer;text-decoration:underline;"
@click="setMallBaseId(scope.row.MallBaseId,scope.row.MallName),goHomePage()" title="点击进入商城">
{{scope.row.MallName}}</p>
<p>账号:{{scope.row.Account}}</p>
<p>
......@@ -496,8 +496,11 @@
methods: {
//退出登录
loginOut() {
localStorage.removeItem("mall_userInfo");
location.href = '/';
let that = this;
that.Confirm("确认要退出系统吗?", function () {
localStorage.removeItem("mall_userInfo");
location.href = '/';
});
},
init() {
this.apipost("/api/Tenant/GetTenant", {}, res => {
......
......@@ -227,7 +227,6 @@
width: 110px;
height: 60px;
line-height: 62px;
/* border-bottom:2px solid #409EFF; */
text-align: center;
margin-left: 30px;
cursor: pointer;
......@@ -339,8 +338,8 @@
<div class="mainRightLeft" @click="goLittlePrograme">微信小程序</div>
<div class="marinRightList">
<ul>
<li>缓存</li>
<li title="教程管理">
<li style="display:none;">缓存</li>
<li style="display:none;" title="教程管理">
<el-dropdown trigger="click">
<span class="el-dropdown-link">
教程管理<i class="el-icon-arrow-down el-icon--right"></i>
......@@ -359,6 +358,7 @@
<el-dropdown-item disabled>{{currentUser.MallName}}</el-dropdown-item>
<el-dropdown-item disabled>{{currentUser.Account}}({{currentUser.MobilePhone}})</el-dropdown-item>
<el-dropdown-item @click.native="CommonJump('index')">返回系统</el-dropdown-item>
<el-dropdown-item @click.native="loginOut">退出</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</li>
......@@ -390,6 +390,14 @@
this.currentUser = this.getLocalStorage();
},
methods: {
//退出登录
loginOut() {
let that = this;
that.Confirm("确认要退出系统吗?", function () {
localStorage.removeItem("mall_userInfo");
location.href = '/';
});
},
//获取菜单列表
getMenuList() {
this.apipost("/api/Tenant/GetMenuList", {}, res => {
......@@ -459,11 +467,11 @@
}
},
//跳转微信小程序
goLittlePrograme(){
goLittlePrograme() {
let routeData = this.$router.resolve({
name: 'Fsetting',
query: {
FIndex:1
FIndex: 1
}
});
window.open(routeData.href, "_blank");
......@@ -471,7 +479,7 @@
},
mounted() {
this.getMenuList();
if(this.$route.query.FIndex){
if (this.$route.query.FIndex) {
this.CommonJump('mallIndex');
}
this.Height = document.documentElement.clientHeight - 60;
......
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