bug修复
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
<image :src='assetsUrl("ic_decline.png")' />
|
||||
<text>直降¥{{ (item.price - item.payPrice).toFixed(2) }}</text>
|
||||
</view>
|
||||
<text>{{ tabIndex == 0 ? '即将恢复' : '即将开始'}}</text>
|
||||
<text>{{ tabIndex == 0 ? '即将恢复' : '即将开始' }}</text>
|
||||
</view>
|
||||
<view class='bottom-price c-flex-row' :class='{"bottom-price-disabled":tabIndex==1}'>
|
||||
<text>{{ item.payPrice }}</text>
|
||||
@@ -62,7 +62,7 @@ const fetchData = async (refresh: boolean = true) => {
|
||||
pageNum: currentPageNum.value,
|
||||
pageSize: 100,
|
||||
obj: {
|
||||
status: tabIndex.value
|
||||
timeStatus: tabIndex.value + 1
|
||||
}
|
||||
});
|
||||
groupbuyList.value = list;
|
||||
|
@@ -65,7 +65,7 @@ const buildSqbParams = computed(() => {
|
||||
const params = sortASCII({
|
||||
client_sn: orderBean.value?.id || '',
|
||||
return_url: '/pages/common/payresult/index',
|
||||
total_amount: ((orderBean.value?.totalPrice || 0) * 100).toString(),
|
||||
total_amount: Number(((orderBean.value?.totalPrice || 0) * 100).toFixed(2)),
|
||||
terminal_sn: terminalInfo.value.terminalSn,
|
||||
subject: '商品团购券',
|
||||
subject_img: orderBean?.value?.orderGoods[0].images || '',
|
||||
|
@@ -1,12 +1,12 @@
|
||||
<template>
|
||||
<web-view class="h-full" :src="url" />
|
||||
<web-view class='h-full' :src='url' />
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
<script setup lang='ts'>
|
||||
const url = ref<string>('');
|
||||
|
||||
onLoad((params: any) => {
|
||||
if (params.url)
|
||||
url.value = params.url;
|
||||
if(params.url)
|
||||
url.value = decodeURIComponent(params.url);
|
||||
});
|
||||
</script>
|
||||
|
Reference in New Issue
Block a user