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
0d554e42
Commit
0d554e42
authored
Oct 11, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
80e24eab
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
12 deletions
+15
-12
list.vue
components/goods/list.vue
+3
-6
style1.vue
components/goods/style1.vue
+12
-6
No files found.
components/goods/list.vue
View file @
0d554e42
...
...
@@ -11,16 +11,12 @@
<view
class=
"good-name"
>
{{
cx
.
title
}}
</view>
<view
class=
"goodsSubName"
>
<
!--
<
view
class=
"goodsSubName"
>
<text
v-if=
"cx.productRecommend"
>
{{
cx
.
productRecommend
}}
</text>
</view>
</view>
-->
<view
class=
"good-info"
>
<view
class=
"price"
>
{{
$utils
.
getretailer
()
==
true
?
cx
.
b2BPrice
:
cx
.
b2CPrice
}}
<!--
<text
class=
"sell"
>
起
</text>
-->
</view>
<view
class=
"cart"
>
<u-icon
name=
"cart-o"
color=
"#ff4544"
size=
"40"
/>
</view>
</view>
</view>
...
...
@@ -172,6 +168,7 @@
font-size
:
14px
;
color
:
#ff4544
;
flex
:
1
;
text-align
:
right
;
}
.u-good-list
.good
.good-info
.sell
{
...
...
components/goods/style1.vue
View file @
0d554e42
...
...
@@ -38,12 +38,18 @@
<div
class=
"good-name"
v-if=
"goodsInfo.showGoodsName"
>
{{
item
.
name
}}
</div>
<view
class=
"good-sub-name"
v-if=
"item.subname"
>
{{
item
.
subname
}}
</view>
<div
class=
"good-price-info"
>
<span
class=
"price"
>
<span
style=
"font-size: 28rpx;font-weight: 500;margin-right: 2rpx;"
>
¥
</span>
{{
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>
<span
class=
"buy"
v-if=
"goodsInfo.showBuyBtn"
>
<view
style=
"display: flex;justify-content: space-between;width:100%;align-items: center;"
>
<view
style=
"font-size:22rpx;color:#999999;"
>
{{
item
.
thirdname
}}
</view>
<view>
<span
class=
"price"
>
<span
style=
"font-size: 28rpx;font-weight: 500;margin-right: 2rpx;"
>
¥
</span>
{{
goodsInfo
.
showGoodsPrice
?
getPrice
(
item
.
price
)
:
''
}}
</span>
</view>
</view>
<span
class=
"buy"
v-if=
"goodsInfo.showBuyBtn"
style=
"display:none;"
>
<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-button
...
...
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