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
d381f2fc
Commit
d381f2fc
authored
Nov 26, 2020
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
b628eb19
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
10 deletions
+12
-10
style1.vue
components/goods/style1.vue
+7
-4
style2.vue
components/goods/style2.vue
+5
-6
No files found.
components/goods/style1.vue
View file @
d381f2fc
...
@@ -45,13 +45,16 @@
...
@@ -45,13 +45,16 @@
size=
"mini"
size=
"mini"
:ripple=
"true"
:ripple=
"true"
:color=
"goodsInfo.buttonColor"
:color=
"goodsInfo.buttonColor"
:custom-style=
"
`backgroundColor:$
{goodsInfo.buttonColor},color:${goodsInfo.buyBtnStyle == 2 || goodsInfo.buyBtnStyle == 4 ? goodsInfo.buttonColor : '#FFF'}`
:custom-style=
"
{
"
'backgroundColor':goodsInfo.buyBtnStyle == 2 || goodsInfo.buyBtnStyle == 4 ?'#FFF' : goodsInfo.buttonColor ,
'color':goodsInfo.buyBtnStyle == 2 || goodsInfo.buyBtnStyle == 4 ? goodsInfo.buttonColor : '#FFF'
}"
:plain="goodsInfo.buyBtnStyle == 2 || goodsInfo.buyBtnStyle == 4"
:plain="goodsInfo.buyBtnStyle == 2 || goodsInfo.buyBtnStyle == 4"
:shape="goodsInfo.buyBtnStyle == 3 || goodsInfo.buyBtnStyle == 4 ? 'circle' : 'square'"
:shape="goodsInfo.buyBtnStyle == 3 || goodsInfo.buyBtnStyle == 4 ? 'circle' : 'square'"
v-else
v-else
>
>
{{
goodsInfo
.
buyBtnText
}}
{{
goodsInfo
.
buyBtnText
}}
</u-button>
</u-button>
</span>
</span>
...
@@ -163,7 +166,7 @@ export default {
...
@@ -163,7 +166,7 @@ export default {
flex
:
1
;
flex
:
1
;
}
}
.good-one
.good-info
.good-price-info
.buy
{
.good-one
.good-info
.good-price-info
.buy
{
width
:
24px
;
/* width: 24px; */
text-align
:
right
;
text-align
:
right
;
}
}
</
style
>
</
style
>
components/goods/style2.vue
View file @
d381f2fc
...
@@ -43,11 +43,10 @@
...
@@ -43,11 +43,10 @@
size=
"mini"
size=
"mini"
:ripple=
"true"
:ripple=
"true"
:color=
"goodsInfo.buttonColor"
:color=
"goodsInfo.buttonColor"
:custom-style=
"
:custom-style=
"
{
`backgroundColor:$
{goodsInfo.buttonColor},color:${
'backgroundColor':goodsInfo.buyBtnStyle == 2 || goodsInfo.buyBtnStyle == 4 ?'#FFF' : goodsInfo.buttonColor ,
goodsInfo.buyBtnStyle == 2 || goodsInfo.buyBtnStyle == 4 ? goodsInfo.buttonColor : '#FFF'
'color':goodsInfo.buyBtnStyle == 2 || goodsInfo.buyBtnStyle == 4 ? goodsInfo.buttonColor : '#FFF'
}`
}"
"
:plain="goodsInfo.buyBtnStyle == 2 || goodsInfo.buyBtnStyle == 4"
:plain="goodsInfo.buyBtnStyle == 2 || goodsInfo.buyBtnStyle == 4"
:shape="goodsInfo.buyBtnStyle == 3 || goodsInfo.buyBtnStyle == 4 ? 'circle' : 'square'"
:shape="goodsInfo.buyBtnStyle == 3 || goodsInfo.buyBtnStyle == 4 ? 'circle' : 'square'"
v-else
v-else
...
@@ -183,7 +182,7 @@ export default {
...
@@ -183,7 +182,7 @@ export default {
font-size
:
14px
;
font-size
:
14px
;
}
}
.good-two
.good-info
.good-price-info
.buy
{
.good-two
.good-info
.good-price-info
.buy
{
width
:
24px
;
/* width: 24px; */
text-align
:
right
;
text-align
:
right
;
}
}
</
style
>
</
style
>
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