Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ElectricitySheep
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
黄媛媛
ElectricitySheep
Commits
fdaf046f
Commit
fdaf046f
authored
Jun 04, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面优化
parent
89a250ae
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
25 additions
and
14 deletions
+25
-14
Fsetting.vue
src/components/Fsetting.vue
+2
-2
Ftemplate.vue
src/components/Ftemplate.vue
+2
-2
Index.vue
src/components/Index.vue
+7
-4
mall.vue
src/components/mall.vue
+14
-6
No files found.
src/components/Fsetting.vue
View file @
fdaf046f
...
...
@@ -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>
...
...
src/components/Ftemplate.vue
View file @
fdaf046f
...
...
@@ -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>
...
...
src/components/Index.vue
View file @
fdaf046f
...
...
@@ -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
=>
{
...
...
src/components/mall.vue
View file @
fdaf046f
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment