Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jz_Travel
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
zhengke
jz_Travel
Commits
c4579df1
Commit
c4579df1
authored
Oct 11, 2021
by
罗超
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/zk123/jz_travel
into master
parents
8b65a8fb
bd373269
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
15 deletions
+18
-15
style1.vue
components/goods/style1.vue
+16
-13
style5.vue
components/goods/style5.vue
+2
-2
No files found.
components/goods/style1.vue
View file @
c4579df1
...
@@ -18,17 +18,18 @@
...
@@ -18,17 +18,18 @@
>
>
<div
class=
"tips"
v-if=
"goodsInfo.showGoodsTag"
><image
:src=
"goodsInfo.goodsTagPicUrl"
mode=
"widthFix"
style=
"width: 100%;"
/></div>
<div
class=
"tips"
v-if=
"goodsInfo.showGoodsTag"
><image
:src=
"goodsInfo.goodsTagPicUrl"
mode=
"widthFix"
style=
"width: 100%;"
/></div>
<image
<image
style=
"width: calc(100vw - 24px); height:
66vw
;"
style=
"width: calc(100vw - 24px); height:
50vw;border-top-left-radius: 10px; border-top-right-radius: 10px
;"
:mode=
"goodsInfo.fill == 1 ? 'aspectFill' : 'aspectFit'"
:mode=
"goodsInfo.fill == 1 ? 'aspectFill' : 'aspectFit'"
:src=
"item.picUrl"
:src=
"item.picUrl"
v-if=
"goodsInfo.goodsCoverProportion == '3-2'"
v-if=
"goodsInfo.goodsCoverProportion == '3-2'"
/>
/>
<image
<image
style=
"
style=
"
width: calc(100vw - 24px);
width: calc(100vw - 24px);
height: 100vw;
height: 100vw;
border-radius: 10rpx 10rpx 0 0;
border-radius: 10rpx 10rpx 0 0;
"
border-top-left-radius: 10px; border-top-right-radius: 10px;
"
v-if=
"goodsInfo.goodsCoverProportion == '1-1'"
v-if=
"goodsInfo.goodsCoverProportion == '1-1'"
:mode=
"goodsInfo.fill == 1 ? 'aspectFill' : 'aspectFit'"
:mode=
"goodsInfo.fill == 1 ? 'aspectFill' : 'aspectFit'"
:src=
"item.picUrl"
:src=
"item.picUrl"
...
@@ -40,7 +41,7 @@
...
@@ -40,7 +41,7 @@
<span
class=
"price"
>
{{
goodsInfo
.
showGoodsPrice
?
getPrice
(
item
.
price
)
:
''
}}
<span
class=
"price"
>
{{
goodsInfo
.
showGoodsPrice
?
getPrice
(
item
.
price
)
:
''
}}
<!--
<span
style=
'text-decoration: line-through;margin-left: 10px;font-size: 10px;color: gray;font-family: aa;'
>
原价:
{{
goodsInfo
.
showGoodsPrice
?
getPrice
(
item
.
OriginalPrice
)
:
''
}}
</span>
-->
<!--
<span
style=
'text-decoration: line-through;margin-left: 10px;font-size: 10px;color: gray;font-family: aa;'
>
原价:
{{
goodsInfo
.
showGoodsPrice
?
getPrice
(
item
.
OriginalPrice
)
:
''
}}
</span>
-->
</span>
</span>
<span
class=
"buy"
v-if=
"goodsInfo.showBuyBtn"
@
click
.
stop=
"showSkuHandler(item)"
>
<span
class=
"buy"
v-if=
"goodsInfo.showBuyBtn"
>
<u-icon
name=
"cart-o"
size=
"40"
style=
"color:#ff4544"
v-if=
"goodsInfo.buyBtn == 'cart'"
/>
<u-icon
name=
"cart-o"
size=
"40"
style=
"color:#ff4544"
v-if=
"goodsInfo.buyBtn == 'cart'"
/>
<u-icon
name=
"add-o"
size=
"40"
style=
"color:#ff4544"
v-else-if=
"goodsInfo.buyBtn == 'add'"
/>
<u-icon
name=
"add-o"
size=
"40"
style=
"color:#ff4544"
v-else-if=
"goodsInfo.buyBtn == 'add'"
/>
<u-button
<u-button
...
@@ -147,12 +148,13 @@ export default {
...
@@ -147,12 +148,13 @@ export default {
<
style
>
<
style
>
.good-one
{
.good-one
{
margin
:
12px
;
margin
:
12px
;
position
:
relative
;
position
:
relative
;
border
:
1
rpx
solid
transparent
;
border
:
1
rpx
solid
transparent
;
border-radius
:
10
rpx
;
border-radius
:
10px
;
padding-bottom
:
10
rpx
;
padding-bottom
:
10
rpx
;
overflow
:
hidden
;
overflow
:
hidden
;
box-shadow
:
0
4px
10px
1px
#D2D2D2
;
}
}
.good-one
.tips
{
.good-one
.tips
{
width
:
64
rpx
;
width
:
64
rpx
;
...
@@ -199,7 +201,8 @@ export default {
...
@@ -199,7 +201,8 @@ export default {
}
}
.good-one
.good-info
.good-price-info
.price
{
.good-one
.good-info
.good-price-info
.price
{
color
:
#ff4544
;
color
:
#ff4544
;
font-size
:
14px
;
font-size
:
16px
;
font-weight
:
600
;
flex
:
1
;
flex
:
1
;
}
}
.good-one
.good-info
.good-price-info
.buy
{
.good-one
.good-info
.good-price-info
.buy
{
...
...
components/goods/style5.vue
View file @
c4579df1
...
@@ -39,11 +39,11 @@
...
@@ -39,11 +39,11 @@
<template
v-if=
"item.subname"
>
{{
item
.
subname
}}
</
template
>
<template
v-if=
"item.subname"
>
{{
item
.
subname
}}
</
template
>
</view>
</view>
<view
class=
"good-price-info"
>
<view
class=
"good-price-info"
>
<view
class=
"price"
:style=
"{ color: mainColor }"
>
<view
class=
"price"
>
<view
class=
"good-sub-name"
style=
"flex: 1"
>
{{
<view
class=
"good-sub-name"
style=
"flex: 1"
>
{{
item.thirdname
item.thirdname
}}
</view>
}}
</view>
<span
style=
"color: #111"
>
<span>
{{ goodsInfo.showGoodsPrice ? getPrice(item.price) : "" }}
{{ goodsInfo.showGoodsPrice ? getPrice(item.price) : "" }}
</span>
</span>
<!-- <span style='text-decoration: line-through;font-size: 10px;color: gray;font-family: aa;'>原价:{{goodsInfo.showGoodsPrice ? getPrice(item.OriginalPrice) : ''}}</span> -->
<!-- <span style='text-decoration: line-through;font-size: 10px;color: gray;font-family: aa;'>原价:{{goodsInfo.showGoodsPrice ? getPrice(item.OriginalPrice) : ''}}</span> -->
...
...
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