Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
xianyu-ufo-app-web
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
zhangwenxue
2019-10-12 19:50:29 +0800
Commit
ff5f7034a25c8f42a0f7f28d1934ebd63e7fb7c8
1 parent
7f506f53
fix(商品详情): fix #6180
6108【ufo前端】【闲鱼合作】没有出售的库存的商品详情页面,商品价格展示¥,应该什么也不展示
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
apps/pages/product/components/size-select-sheet.vue
apps/pages/product/product-detail.vue
apps/pages/product/components/size-select-sheet.vue
View file @
ff5f703
...
...
@@ -8,7 +8,10 @@
<square-img :src="imageList[0] && imageList[0].image_url" :width="70" :height="70"/>
</div>
<div class="product">
<div>¥{{product.least_price||''}}</div>
<div>
<template v-if="product.least_price >= 0"> ¥{{product.least_price}}</template>
<template v-else> </template>
</div>
<div>
{{goods_name}}
<template v-if="goods_name && sizeName">,</template>
...
...
apps/pages/product/product-detail.vue
View file @
ff5f703
...
...
@@ -24,7 +24,10 @@
</div>
<div class="info">
<div class="info-price">¥{{productDetail.least_price||''}}</div>
<div class="info-price">
<template v-if="productDetail.least_price >= 0"> ¥{{productDetail.least_price}}</template>
<template v-else> </template>
</div>
<div class="info-name">{{productDetail.product_name}}</div>
</div>
<a class="banner" v-if="resource" :href="resource.url">
...
...
Please
register
or
login
to post a comment