This commit is contained in:
2026-01-14 14:47:03 +08:00
parent 70da257dda
commit a134603eb7
6 changed files with 18 additions and 10 deletions

View File

@@ -83,7 +83,7 @@ const clearAuthData = () => {
const RefreshToken = async () => {
if (isWeChat.value) {
h5WeixinLogin();
// h5WeixinLogin();
return;
}
const token = localStorage.getItem("token");
@@ -95,7 +95,7 @@ const RefreshToken = async () => {
const accessExpireInMilliseconds = parseInt(accessExpire) * 1000; // 转换为毫秒级
if (currentTime > accessExpireInMilliseconds) {
if (isWeChat.value) {
h5WeixinLogin();
// h5WeixinLogin();
}
return;
}
@@ -103,7 +103,7 @@ const RefreshToken = async () => {
// 1. 如果没有 token直接返回
if (!token) {
if (isWeChat.value) {
h5WeixinLogin();
// h5WeixinLogin();
}
return;
}
@@ -207,7 +207,7 @@ const h5WeixinGetCode = () => {
<template>
<RouterView />
<WechatOverlay />
<!-- <WechatOverlay /> -->
<BindPhoneDialog />
</template>

View File

@@ -64,7 +64,7 @@
本人有权随时撤回本授权书中的授权但撤回前的授权行为及其法律后果仍具有法律效力若需撤回授权本人可通过贵司官方渠道提交书面申请贵司将在收到申请后依法停止对本人数据的使用
</li>
<li>
你通过天远数据自愿支付相应费用用于购买海南海宇大数据有限公司的大数据报告产品如若对产品内容存在异议可通过邮箱admin@iieeii.com或APP联系客服按钮进行反馈贵司将在收到异议之日起20日内进行核查和处理并将结果答复
你通过智能查自愿支付相应费用用于购买海南海宇大数据有限公司的大数据报告产品如若对产品内容存在异议可通过邮箱admin@iieeii.com或APP联系客服按钮进行反馈贵司将在收到异议之日起20日内进行核查和处理并将结果答复
</li>
<li>
你向海南海宇大数据有限公司的支付方式为海南海宇大数据有限公司及其经官方授权的相关企业的支付宝账户

View File

@@ -199,7 +199,7 @@ function handleConfirm() {
.slice(0, 4)
.map(item => item.char)
.join('')
if (userSeq === '天远数据') {
if (userSeq === '智能查') {
successMessage.value = '验证成功!'
setTimeout(() => emit('success'), 600)
} else {

View File

@@ -11,7 +11,7 @@
<div class="border-b border-gray-200">
<van-field v-model="price" type="number" label="¥" label-width="28"
:placeholder="`${productConfig.price_range_min} - ${productConfig.price_range_max}`"
:placeholder="productConfig?.price_range_min && productConfig?.price_range_max ? `${productConfig.price_range_min} - ${productConfig.price_range_max}` : '请输入价格'"
@blur="onBlurPrice" class="!text-3xl" />
</div>
<div class="flex items-center justify-between mt-2">
@@ -25,7 +25,7 @@
<div>推广收益 = 客户查询价 - 我的成本</div>
<div>我的成本 = 提价成本 + 底价成本</div>
<div class="mt-1">提价成本超过平台标准定价部分平台会收取部分成本价</div>
<div class="">设定范围<span class="text-orange-500">{{
<div class="" v-if="productConfig?.price_range_min && productConfig?.price_range_max">设定范围:<span class="text-orange-500">{{
productConfig.price_range_min }}</span> - <span class="text-orange-500">{{
productConfig.price_range_max }}</span></div>
</div>
@@ -44,7 +44,8 @@ const props = defineProps({
},
productConfig: {
type: Object,
required: true
required: false,
default: null
}
})
const { defaultPrice, productConfig } = toRefs(props)
@@ -86,6 +87,9 @@ const promotionRevenue = computed(() => {
// 价格校验与修正逻辑
const validatePrice = (currentPrice) => {
if (!productConfig.value) {
return { newPrice: defaultPrice.value || 0, message: '产品配置未加载' };
}
const min = productConfig.value.price_range_min;
const max = productConfig.value.price_range_max;
let newPrice = Number(currentPrice);

View File

@@ -2,7 +2,7 @@
<van-popup v-model:show="show" closeable round :style="{ padding: '18px' }">
<img src="@/assets/images/qrcode_qnc.jpg" alt="qrcode" />
<div class="text-center font-bold text-2xl">
更多服务请关注天远数据公众号
更多服务请关注智能查公众号
</div>
</van-popup>
</template>

View File

@@ -188,6 +188,10 @@ const SelectTypePicker = (reportType) => {
selectedReportType.value = [reportType];
pickerFieldText.value = reportType.text;
pickerFieldVal.value = reportType.value;
if (!productConfig.value || !Array.isArray(productConfig.value)) {
console.warn('productConfig is not available or not an array');
return;
}
for (let i of productConfig.value) {
if (i.product_id === reportType.id) {
pickerProductConfig.value = i