Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
U
user
Overview
Overview
Details
Activity
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
hooloo
mp
user
Commits
b4b69624
Commit
b4b69624
authored
May 15, 2022
by
zhangcheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整首页登录授权和遮罩点击没反应
parent
9a8becb7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
components/shopCar/shopCar.vue
+5
-1
pages/menu/menu.vue
+1
-1
No files found.
components/shopCar/shopCar.vue
View file @
b4b69624
<
template
>
<
template
>
<view>
<view>
<u-popup
:show=
"showShopCar && goods.length"
mode=
"bottom"
:round=
"10"
:overlay=
"true"
:closeOnClickOverlay=
"true"
>
<u-popup
:show=
"showShopCar && goods.length"
mode=
"bottom"
:round=
"10"
:overlay=
"true"
:closeOnClickOverlay=
"true"
@
close=
"closeT"
>
<view
class=
"shop-car"
>
<view
class=
"shop-car"
>
<view
class=
"header"
>
<view
class=
"header"
>
<text
class=
"left"
>
购物袋
</text>
<text
class=
"left"
>
购物袋
</text>
...
@@ -97,6 +97,10 @@
...
@@ -97,6 +97,10 @@
})
})
},
},
closeT
(
e
)
{
console
.
log
(
e
,
11111
)
this
.
showShopCar
=
false
;
},
// 清空购物车
// 清空购物车
clearCar
()
{
clearCar
()
{
uni
.
removeStorageSync
(
'shopCarInfo'
);
uni
.
removeStorageSync
(
'shopCarInfo'
);
...
...
pages/menu/menu.vue
View file @
b4b69624
...
@@ -111,7 +111,7 @@ import { $EventBus } from '@/utils/EventBus';
...
@@ -111,7 +111,7 @@ import { $EventBus } from '@/utils/EventBus';
},
},
computed
:
{
computed
:
{
userms
()
{
userms
()
{
let
res
=
uni
.
getStorageSync
(
"Authorization"
)
;
let
res
=
this
.
$store
.
getters
.
Authorization
;
return
res
;
return
res
;
}
}
},
},
...
...
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