This commit is contained in:
parent
c7239ce3f4
commit
85a8e7f9bd
|
|
@ -31,7 +31,7 @@ export const PROPERTY_APP = {
|
|||
ALIPAY_APP_ID: '',
|
||||
BIND_HOUSE_PATH: 'pagesC/certification/index?from=cashier',
|
||||
MINE_PATH: 'pages/mine/mine',
|
||||
/** 物业基金页(微信端「物业基金」入口) */
|
||||
/** 物业抵扣金页(微信端入口) */
|
||||
POINTS_PATH: 'pagesE/points/index',
|
||||
WECHAT_APP_ID: 'wx02de0e1de9f4bda3'
|
||||
} as const;
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@ const amount = ref('0.00');
|
|||
const accumulation = ref('0.00');
|
||||
const merchantName = ref('');
|
||||
const merchantUrl = ref('');
|
||||
const scoreName = ref('物业公积金');
|
||||
const scoreName = ref('物业抵扣金');
|
||||
const tradeNo = ref('');
|
||||
const status = ref<ResultStatus>('pending');
|
||||
const statusMessage = ref('支付结果确认超时,请稍后在付款记录中查看');
|
||||
|
|
@ -151,7 +151,7 @@ onLoad((options: any) => {
|
|||
accumulation.value = options?.accumulation || '0.00';
|
||||
merchantName.value = decodeOption(options?.merchant_name || options?.merchantName);
|
||||
merchantUrl.value = decodeOption(options?.merchant_url || options?.url);
|
||||
scoreName.value = decodeOption(options?.score_name) || '物业公积金';
|
||||
scoreName.value = decodeOption(options?.score_name) || '物业抵扣金';
|
||||
tradeNo.value = decodeOption(options?.trade_no || options?.order_id || options?.orderId);
|
||||
pollTradeStatus();
|
||||
});
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
<view class="fund-card-left">
|
||||
<image class="fund-icon-image" :src="fundIconUrl" mode="aspectFit" />
|
||||
<view class="fund-text">
|
||||
<text class="fund-title">物业基金</text>
|
||||
<text class="fund-title">物业抵扣金</text>
|
||||
<text class="fund-desc">{{ propertyFundDesc }}</text>
|
||||
</view>
|
||||
</view>
|
||||
|
|
@ -46,7 +46,7 @@ const platformScoreText = ref('0.00');
|
|||
const loading = ref(false);
|
||||
// #ifndef MP-ALIPAY
|
||||
const fundIconUrl = `${APP_CONFIG.PROPERTY_IMG_URL}property/new/cashier/fangwu.png`;
|
||||
const propertyFundDesc = '查看我的物业基金余额';
|
||||
const propertyFundDesc = '查看我的物业抵扣金余额';
|
||||
// #endif
|
||||
|
||||
const loadPlatformScore = async () => {
|
||||
|
|
|
|||
|
|
@ -225,7 +225,7 @@ const amount = ref('');
|
|||
const remark = ref('');
|
||||
const paying = ref(false);
|
||||
const activeMerchantUrl = ref('');
|
||||
const scoreName = ref('物业公积金');
|
||||
const scoreName = ref('物业抵扣金');
|
||||
const propertyName = ref('');
|
||||
const propertyMerchantId = ref('');
|
||||
const propertyList = ref<MerchantListItem[]>([]);
|
||||
|
|
@ -245,7 +245,7 @@ const accumulationAmount = computed(() => {
|
|||
return value.toFixed(2);
|
||||
});
|
||||
const showBenefitTip = computed(() => Number(merchant.value.accumulationRate) > 0);
|
||||
const benefitTitle = computed(() => `预计获得${scoreName.value || '物业公积金'}`);
|
||||
const benefitTitle = computed(() => `预计获得${scoreName.value || '物业抵扣金'}`);
|
||||
/** 商户名越长字号越小,尽量单行展示「向 xxx 付款」 */
|
||||
const merchantNameFontSize = computed(() => {
|
||||
const len = String(merchant.value.name || '').trim().length;
|
||||
|
|
@ -442,7 +442,7 @@ const resetToEmptyMerchantState = () => {
|
|||
propertyList.value = [];
|
||||
propertySheetVisible.value = false;
|
||||
alipayPropertyUnbound.value = false;
|
||||
scoreName.value = '物业公积金';
|
||||
scoreName.value = '物业抵扣金';
|
||||
clearPendingMerchantUrl();
|
||||
clearActiveMerchantContext();
|
||||
};
|
||||
|
|
@ -528,7 +528,7 @@ const initWithMerchantUrl = async (
|
|||
propertyList.value = [];
|
||||
propertySheetVisible.value = false;
|
||||
alipayPropertyUnbound.value = false;
|
||||
scoreName.value = '物业公积金';
|
||||
scoreName.value = '物业抵扣金';
|
||||
applySupplierInfo(supplierResult.supplier);
|
||||
await loadPropertyBinding(merchantUrl);
|
||||
} catch (error: any) {
|
||||
|
|
@ -693,7 +693,7 @@ const deleteKey = () => {
|
|||
const showAlipayUnboundTip = () => {
|
||||
uni.showModal({
|
||||
title: '暂未绑定房源',
|
||||
content: `请搜索并进入「${PROPERTY_APP.WECHAT_NAME}」小程序,完成房源绑定后消费即可获得物业基金。`,
|
||||
content: `请搜索并进入「${PROPERTY_APP.WECHAT_NAME}」小程序,完成房源绑定后消费即可获得物业抵扣金。`,
|
||||
showCancel: false,
|
||||
confirmText: '知道了'
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue