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
36e7fb20
Commit
36e7fb20
authored
Oct 22, 2020
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
e74166bc
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
24 additions
and
8 deletions
+24
-8
style1.vue
components/cats/style1.vue
+3
-1
style10.vue
components/cats/style10.vue
+3
-1
style2.vue
components/cats/style2.vue
+3
-1
style5.vue
components/cats/style5.vue
+3
-1
style6.vue
components/cats/style6.vue
+3
-1
style9.vue
components/cats/style9.vue
+3
-1
cart.vue
pages/cart/cart.vue
+3
-1
user-center.vue
pages/user-center/user-center.vue
+3
-1
No files found.
components/cats/style1.vue
View file @
36e7fb20
...
@@ -26,7 +26,9 @@ export default {
...
@@ -26,7 +26,9 @@ export default {
},
},
methods
:
{
methods
:
{
clickHandler
(
item
)
{
clickHandler
(
item
)
{
let
IsEducation
=
uni
.
getStorageSync
(
'basedata'
)
?
uni
.
getStorageSync
(
'basedata'
).
mall
.
setting
.
mallStyle
.
IsEducation
:
0
;
let
IsEducation
=
uni
.
getStorageSync
(
'basedata'
)
?
(
uni
.
getStorageSync
(
'basedata'
).
mall
.
setting
.
mallStyle
.
IsEducation
?
uni
.
getStorageSync
(
'basedata'
).
mall
.
setting
.
mallStyle
.
IsEducation
:
0
)
:
0
;
if
(
IsEducation
==
1
){
if
(
IsEducation
==
1
){
uni
.
navigateTo
({
url
:
'/pages/school/courseList?CategoryIds='
+
item
.
Id
});
uni
.
navigateTo
({
url
:
'/pages/school/courseList?CategoryIds='
+
item
.
Id
});
}
else
{
}
else
{
...
...
components/cats/style10.vue
View file @
36e7fb20
...
@@ -85,7 +85,9 @@ export default {
...
@@ -85,7 +85,9 @@ export default {
let
Id2
=
item
.
Id
;
let
Id2
=
item
.
Id
;
// let CategoryIds=Id1+','+Id2;
// let CategoryIds=Id1+','+Id2;
let
CategoryIds
=
Id2
;
let
CategoryIds
=
Id2
;
let
IsEducation
=
uni
.
getStorageSync
(
'basedata'
)
?
uni
.
getStorageSync
(
'basedata'
).
mall
.
setting
.
mallStyle
.
IsEducation
:
0
;
let
IsEducation
=
uni
.
getStorageSync
(
'basedata'
)
?
(
uni
.
getStorageSync
(
'basedata'
).
mall
.
setting
.
mallStyle
.
IsEducation
?
uni
.
getStorageSync
(
'basedata'
).
mall
.
setting
.
mallStyle
.
IsEducation
:
0
)
:
0
;
if
(
IsEducation
==
1
){
if
(
IsEducation
==
1
){
uni
.
navigateTo
({
url
:
'/pages/school/courseList?CategoryIds='
+
CategoryIds
});
uni
.
navigateTo
({
url
:
'/pages/school/courseList?CategoryIds='
+
CategoryIds
});
}
else
{
}
else
{
...
...
components/cats/style2.vue
View file @
36e7fb20
...
@@ -17,7 +17,9 @@ export default {
...
@@ -17,7 +17,9 @@ export default {
uni
.
navigateTo
({
url
:
e
.
mp
.
currentTarget
.
dataset
.
url
})
uni
.
navigateTo
({
url
:
e
.
mp
.
currentTarget
.
dataset
.
url
})
},
},
clickHandler
(
item
)
{
clickHandler
(
item
)
{
let
IsEducation
=
uni
.
getStorageSync
(
'basedata'
)
?
uni
.
getStorageSync
(
'basedata'
).
mall
.
setting
.
mallStyle
.
IsEducation
:
0
;
let
IsEducation
=
uni
.
getStorageSync
(
'basedata'
)
?
(
uni
.
getStorageSync
(
'basedata'
).
mall
.
setting
.
mallStyle
.
IsEducation
?
uni
.
getStorageSync
(
'basedata'
).
mall
.
setting
.
mallStyle
.
IsEducation
:
0
)
:
0
;
if
(
IsEducation
==
1
){
if
(
IsEducation
==
1
){
uni
.
navigateTo
({
url
:
'/pages/school/courseList?CategoryIds='
+
item
.
Id
});
uni
.
navigateTo
({
url
:
'/pages/school/courseList?CategoryIds='
+
item
.
Id
});
}
else
{
}
else
{
...
...
components/cats/style5.vue
View file @
36e7fb20
...
@@ -75,7 +75,9 @@ export default {
...
@@ -75,7 +75,9 @@ export default {
let
Id2
=
item
.
Id
;
let
Id2
=
item
.
Id
;
// let CategoryIds=Id1+','+Id2;
// let CategoryIds=Id1+','+Id2;
let
CategoryIds
=
Id2
;
let
CategoryIds
=
Id2
;
let
IsEducation
=
uni
.
getStorageSync
(
'basedata'
)
?
uni
.
getStorageSync
(
'basedata'
).
mall
.
setting
.
mallStyle
.
IsEducation
:
0
;
let
IsEducation
=
uni
.
getStorageSync
(
'basedata'
)
?
(
uni
.
getStorageSync
(
'basedata'
).
mall
.
setting
.
mallStyle
.
IsEducation
?
uni
.
getStorageSync
(
'basedata'
).
mall
.
setting
.
mallStyle
.
IsEducation
:
0
)
:
0
;
if
(
IsEducation
==
1
){
if
(
IsEducation
==
1
){
uni
.
navigateTo
({
url
:
'/pages/school/courseList?CategoryIds='
+
CategoryIds
});
uni
.
navigateTo
({
url
:
'/pages/school/courseList?CategoryIds='
+
CategoryIds
});
}
else
{
}
else
{
...
...
components/cats/style6.vue
View file @
36e7fb20
...
@@ -75,7 +75,9 @@ export default {
...
@@ -75,7 +75,9 @@ export default {
let
Id2
=
item
.
Id
;
let
Id2
=
item
.
Id
;
// let CategoryIds=Id1+','+Id2;
// let CategoryIds=Id1+','+Id2;
let
CategoryIds
=
Id2
;
let
CategoryIds
=
Id2
;
let
IsEducation
=
uni
.
getStorageSync
(
'basedata'
)
?
uni
.
getStorageSync
(
'basedata'
).
mall
.
setting
.
mallStyle
.
IsEducation
:
0
;
let
IsEducation
=
uni
.
getStorageSync
(
'basedata'
)
?
(
uni
.
getStorageSync
(
'basedata'
).
mall
.
setting
.
mallStyle
.
IsEducation
?
uni
.
getStorageSync
(
'basedata'
).
mall
.
setting
.
mallStyle
.
IsEducation
:
0
)
:
0
;
if
(
IsEducation
==
1
){
if
(
IsEducation
==
1
){
uni
.
navigateTo
({
url
:
'/pages/school/courseList?CategoryIds='
+
CategoryIds
});
uni
.
navigateTo
({
url
:
'/pages/school/courseList?CategoryIds='
+
CategoryIds
});
}
else
{
}
else
{
...
...
components/cats/style9.vue
View file @
36e7fb20
...
@@ -88,7 +88,9 @@ export default {
...
@@ -88,7 +88,9 @@ export default {
// let CategoryIds=Id1+','+Id2;
// let CategoryIds=Id1+','+Id2;
let
CategoryIds
=
Id2
;
let
CategoryIds
=
Id2
;
let
IsEducation
=
uni
.
getStorageSync
(
'basedata'
)
?
uni
.
getStorageSync
(
'basedata'
).
mall
.
setting
.
mallStyle
.
IsEducation
:
0
;
let
IsEducation
=
uni
.
getStorageSync
(
'basedata'
)
?
(
uni
.
getStorageSync
(
'basedata'
).
mall
.
setting
.
mallStyle
.
IsEducation
?
uni
.
getStorageSync
(
'basedata'
).
mall
.
setting
.
mallStyle
.
IsEducation
:
0
)
:
0
;
if
(
IsEducation
==
1
){
if
(
IsEducation
==
1
){
uni
.
navigateTo
({
url
:
'/pages/school/courseList?CategoryIds='
+
CategoryIds
});
uni
.
navigateTo
({
url
:
'/pages/school/courseList?CategoryIds='
+
CategoryIds
});
}
else
{
}
else
{
...
...
pages/cart/cart.vue
View file @
36e7fb20
...
@@ -206,7 +206,9 @@ export default {
...
@@ -206,7 +206,9 @@ export default {
this
.
secondary
=
this
.
$uiConfig
.
secondary
;
this
.
secondary
=
this
.
$uiConfig
.
secondary
;
this
.
pricecolor
=
this
.
$uiConfig
.
pricecolor
;
this
.
pricecolor
=
this
.
$uiConfig
.
pricecolor
;
this
.
cstyle
=
uni
.
getStorageSync
(
'basedata'
)
?
uni
.
getStorageSync
(
'basedata'
).
cat_style
:
[];
this
.
cstyle
=
uni
.
getStorageSync
(
'basedata'
)
?
uni
.
getStorageSync
(
'basedata'
).
cat_style
:
[];
this
.
IsEducation
=
uni
.
getStorageSync
(
'basedata'
)
?
uni
.
getStorageSync
(
'basedata'
).
mall
.
setting
.
mallStyle
.
IsEducation
:
0
;
this
.
IsEducation
=
uni
.
getStorageSync
(
'basedata'
)
?
(
uni
.
getStorageSync
(
'basedata'
).
mall
.
setting
.
mallStyle
.
IsEducation
?
uni
.
getStorageSync
(
'basedata'
).
mall
.
setting
.
mallStyle
.
IsEducation
:
0
)
:
0
;
let
windowWidth
=
this
.
$utils
.
SystemInfo
().
windowWidth
;
let
windowWidth
=
this
.
$utils
.
SystemInfo
().
windowWidth
;
this
.
item_r
=
(
windowWidth
-
5
-
40
-
116
-
15
-
10
)
+
'px'
this
.
item_r
=
(
windowWidth
-
5
-
40
-
116
-
15
-
10
)
+
'px'
if
(
this
.
cstyle
.
cat_style
==
'4'
)
{
if
(
this
.
cstyle
.
cat_style
==
'4'
)
{
...
...
pages/user-center/user-center.vue
View file @
36e7fb20
...
@@ -244,7 +244,9 @@ export default {
...
@@ -244,7 +244,9 @@ export default {
created
()
{
created
()
{
this
.
mainColor
=
this
.
$uiConfig
.
mainColor
;
this
.
mainColor
=
this
.
$uiConfig
.
mainColor
;
this
.
secondary
=
this
.
$uiConfig
.
secondary
;
this
.
secondary
=
this
.
$uiConfig
.
secondary
;
this
.
IsEducation
=
uni
.
getStorageSync
(
'basedata'
)
?
uni
.
getStorageSync
(
'basedata'
).
mall
.
setting
.
mallStyle
.
IsEducation
:
0
;
this
.
IsEducation
=
uni
.
getStorageSync
(
'basedata'
)
?
(
uni
.
getStorageSync
(
'basedata'
).
mall
.
setting
.
mallStyle
.
IsEducation
?
uni
.
getStorageSync
(
'basedata'
).
mall
.
setting
.
mallStyle
.
IsEducation
:
0
)
:
0
;
this
.
userinfo
();
this
.
userinfo
();
},
},
onLoad
()
{
onLoad
()
{
...
...
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