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
c62d67bf
Commit
c62d67bf
authored
Jun 04, 2020
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
7393afe0
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
16 additions
and
20 deletions
+16
-20
list.vue
components/goods/list.vue
+1
-1
style1.vue
components/goods/style1.vue
+3
-5
style2.vue
components/goods/style2.vue
+3
-3
style3.vue
components/goods/style3.vue
+3
-5
style5.vue
components/goods/style5.vue
+3
-3
style6.vue
components/goods/style6.vue
+3
-3
No files found.
components/goods/list.vue
View file @
c62d67bf
...
@@ -69,7 +69,7 @@ export default {
...
@@ -69,7 +69,7 @@ export default {
},
},
clickHandler
(
item
)
{
clickHandler
(
item
)
{
console
.
log
(
"GoodsId"
,
item
)
console
.
log
(
"GoodsId"
,
item
)
uni
.
navigateTo
({
url
:
'/pages/goods/goods?GoodsId='
+
item
.
I
d
});
uni
.
navigateTo
({
url
:
'/pages/goods/goods?GoodsId='
+
item
.
i
d
});
},
},
showSkuHandler
(
g
)
{
showSkuHandler
(
g
)
{
this
.
sku
=
g
;
this
.
sku
=
g
;
...
...
components/goods/style1.vue
View file @
c62d67bf
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
v-for=
"(item, gli) in goodList"
v-for=
"(item, gli) in goodList"
:key=
"gli"
:key=
"gli"
class=
"good-one"
class=
"good-one"
@
click=
"openGood(item
.page_url
)"
@
click=
"openGood(item)"
:style=
"
{
:style=
"
{
border: goodsInfo.goodsStyle == 2 ? '1px solid rgb(226, 226, 226)' : '',
border: goodsInfo.goodsStyle == 2 ? '1px solid rgb(226, 226, 226)' : '',
background:
background:
...
@@ -107,10 +107,8 @@ export default {
...
@@ -107,10 +107,8 @@ export default {
this
.
mainColor
=
this
.
$uiConfig
.
mainColor
;
this
.
mainColor
=
this
.
$uiConfig
.
mainColor
;
},
},
methods
:
{
methods
:
{
openGood
(
url
)
{
openGood
(
item
)
{
uni
.
navigateTo
({
uni
.
navigateTo
({
url
:
'/pages/goods/goods?GoodsId='
+
item
.
id
});
url
:
url
});
},
},
showSkuHandler
(
g
){
showSkuHandler
(
g
){
this
.
sku
=
g
this
.
sku
=
g
...
...
components/goods/style2.vue
View file @
c62d67bf
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
<u-col
span=
"6"
v-for=
"(item, gli) in goodList"
:key=
"gli"
>
<u-col
span=
"6"
v-for=
"(item, gli) in goodList"
:key=
"gli"
>
<view
<view
class=
"good-two"
class=
"good-two"
@
click=
"openGood"
@
click=
"openGood
(item)
"
:style=
"
{
:style=
"
{
border:
border:
goodsInfo.goodsStyle == 2 ? '1px solid rgb(226, 226, 226)' : '',
goodsInfo.goodsStyle == 2 ? '1px solid rgb(226, 226, 226)' : '',
...
@@ -103,8 +103,8 @@ export default {
...
@@ -103,8 +103,8 @@ export default {
this
.
mainColor
=
this
.
$uiConfig
.
mainColor
;
this
.
mainColor
=
this
.
$uiConfig
.
mainColor
;
},
},
methods
:
{
methods
:
{
openGood
(
e
)
{
openGood
(
item
)
{
console
.
log
(
e
);
uni
.
navigateTo
({
url
:
'/pages/goods/goods?GoodsId='
+
item
.
id
}
);
},
},
},
},
};
};
...
...
components/goods/style3.vue
View file @
c62d67bf
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
v-for=
"(item, gli) in goodList"
v-for=
"(item, gli) in goodList"
:key=
"gli"
:key=
"gli"
>
>
<div
class=
"good-three"
@
click=
"openGood(item
.page_url
)"
:style=
"
{
<div
class=
"good-three"
@
click=
"openGood(item)"
:style=
"
{
border:
border:
goodsInfo.goodsStyle == 2 ? '1px solid rgb(226, 226, 226)' : '',
goodsInfo.goodsStyle == 2 ? '1px solid rgb(226, 226, 226)' : '',
background:
background:
...
@@ -110,10 +110,8 @@ export default {
...
@@ -110,10 +110,8 @@ export default {
this
.
mainColor
=
this
.
$uiConfig
.
mainColor
;
this
.
mainColor
=
this
.
$uiConfig
.
mainColor
;
},
},
methods
:
{
methods
:
{
openGood
(
url
)
{
openGood
(
item
)
{
uni
.
navigateTo
({
uni
.
navigateTo
({
url
:
'/pages/goods/goods?GoodsId='
+
item
.
id
});
url
:
url
});
},
},
showSkuHandler
(
g
){
showSkuHandler
(
g
){
this
.
sku
=
g
this
.
sku
=
g
...
...
components/goods/style5.vue
View file @
c62d67bf
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
>
>
<view
<view
class=
"good-five"
class=
"good-five"
@
click=
"openGood"
@
click=
"openGood
(item)
"
v-for=
"(item, gli) in goodList"
v-for=
"(item, gli) in goodList"
:key=
"gli"
:key=
"gli"
:style=
"
{
:style=
"
{
...
@@ -100,8 +100,8 @@ export default {
...
@@ -100,8 +100,8 @@ export default {
this
.
mainColor
=
this
.
$uiConfig
.
mainColor
;
this
.
mainColor
=
this
.
$uiConfig
.
mainColor
;
},
},
methods
:
{
methods
:
{
openGood
(
e
)
{
openGood
(
item
)
{
console
.
log
(
e
);
uni
.
navigateTo
({
url
:
'/pages/goods/goods?GoodsId='
+
item
.
id
}
);
},
},
showSkuHandler
(
g
){
showSkuHandler
(
g
){
this
.
sku
=
g
this
.
sku
=
g
...
...
components/goods/style6.vue
View file @
c62d67bf
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
class=
"good-four"
class=
"good-four"
v-for=
"(item, gli) in goodList"
v-for=
"(item, gli) in goodList"
:key=
"gli"
:key=
"gli"
@
click=
"openGood"
@
click=
"openGood
(item)
"
:style=
"
{
:style=
"
{
border: goodsInfo.goodsStyle == 2 ? '1px solid rgb(226, 226, 226)' : '',
border: goodsInfo.goodsStyle == 2 ? '1px solid rgb(226, 226, 226)' : '',
background:
background:
...
@@ -92,8 +92,8 @@ export default {
...
@@ -92,8 +92,8 @@ export default {
this
.
mainColor
=
this
.
$uiConfig
.
mainColor
;
this
.
mainColor
=
this
.
$uiConfig
.
mainColor
;
},
},
methods
:
{
methods
:
{
openGood
(
e
)
{
openGood
(
item
)
{
console
.
log
(
e
);
uni
.
navigateTo
({
url
:
'/pages/goods/goods?GoodsId='
+
item
.
id
}
);
},
},
},
},
};
};
...
...
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