Merge pull request 'bugfix' (#20) from main into prod

Reviewed-on: #20
This commit is contained in:
charles 2025-08-20 16:42:25 +08:00
commit 1029c1e013
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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>