bugfix
This commit is contained in:
parent
4bcb3a6371
commit
580182d548
@ -180,7 +180,7 @@ export default {
|
||||
path: '/ncmatchHome/search',
|
||||
query: {
|
||||
keyword: this.keyword,
|
||||
publish_type: this.publish_type,
|
||||
publish_type: "1",
|
||||
display_page: 'list',
|
||||
current_page: 1,
|
||||
page_size: 8
|
||||
|
||||
@ -154,7 +154,7 @@
|
||||
</el-tooltip>
|
||||
</template>
|
||||
<span v-if=" form.price && !isNaN(Number(form.price))" style="color: red;font-size: 14px;font-weight: bold;">¥
|
||||
<span v-if="form.discount == 0 || !form.discount">{{ Number(form.price)* 0.01.toFixed(2) }}</span>
|
||||
<span v-if="form.discount == 0 || !form.discount">{{ (Number(form.price) * 0.01).toFixed(2) }}</span>
|
||||
<span v-else>{{ (Number(form.price) * Number(form.discount) / 10 * 0.01).toFixed(2) }}</span>
|
||||
</span>
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user