Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mallapp
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
viitto
mallapp
Commits
4d36f6fc
Commit
4d36f6fc
authored
Sep 25, 2020
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
f9cf0a49
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
6 deletions
+5
-6
cats.vue
pages/cats/cats.vue
+1
-1
goods.vue
pages/goods/goods.vue
+1
-1
list.vue
pages/goods/list.vue
+2
-2
search.vue
pages/search/search.vue
+1
-2
No files found.
pages/cats/cats.vue
View file @
4d36f6fc
...
...
@@ -162,7 +162,7 @@ export default {
uni
.
redirectTo
({
url
:
"/pages/index/main"
});
},
getStyle
(){
var
UserPageType
=
uni
.
getStorageSync
(
"mall_UserInfo"
)
.
UserPageType
;
var
UserPageType
=
uni
.
getStorageSync
(
"mall_UserInfo"
)
?
uni
.
getStorageSync
(
"mall_UserInfo"
).
UserPageType
:
0
;
this
.
request2
(
{
url
:
'/api/AppletGoods/GetProductCategoryTreeList'
,
...
...
pages/goods/goods.vue
View file @
4d36f6fc
...
...
@@ -669,7 +669,7 @@ export default {
);
},
initRecommend() {
var UserPageType = uni.getStorageSync("mall_UserInfo")
.UserPageType
;
var UserPageType = uni.getStorageSync("mall_UserInfo")
?uni.getStorageSync("mall_UserInfo").UserPageType:0
;
this.request2(
{
url: "/api/AppletGoods/GetAppletGoodsRecommendListForZY",
...
...
pages/goods/list.vue
View file @
4d36f6fc
...
...
@@ -161,8 +161,8 @@
init
()
{
this
.
isover
=
false
;
this
.
loading
=
true
;
this
.
showLoading
=
this
.
msg
.
pageIndex
!=
1
;
this
.
msg
.
GoodsPageType
=
uni
.
getStorageSync
(
"mall_UserInfo"
)
.
UserPageType
;
this
.
showLoading
=
this
.
msg
.
pageIndex
!=
1
;
this
.
msg
.
GoodsPageType
=
uni
.
getStorageSync
(
"mall_UserInfo"
)
?
uni
.
getStorageSync
(
"mall_UserInfo"
).
UserPageType
:
0
;
this
.
request2
({
url
:
'/api/AppletGoods/GetAppletGoodsPageListForZY'
,
data
:
this
.
msg
...
...
pages/search/search.vue
View file @
4d36f6fc
...
...
@@ -248,8 +248,7 @@ export default {
this
.
isover
=
false
;
this
.
loading
=
true
;
this
.
showLoading
=
this
.
page
!=
1
;
var
UserPageType
=
uni
.
getStorageSync
(
"mall_UserInfo"
).
UserPageType
;
var
UserPageType
=
uni
.
getStorageSync
(
"mall_UserInfo"
)?
uni
.
getStorageSync
(
"mall_UserInfo"
).
UserPageType
:
0
;
this
.
request2
(
{
url
:
"/api/AppletGoods/GetAppletGoodsPageListForZY"
,
...
...
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