This commit is contained in:
2026-07-06 16:16:30 +08:00
parent 7e73312838
commit fb9a55229f
3 changed files with 18 additions and 10 deletions

View File

@@ -34,7 +34,6 @@ export default defineManifestConfig({
"UniNView": { "UniNView": {
"description": "UniNView原生渲染" "description": "UniNView原生渲染"
}, },
"Payment": {},
"UIWebview": {}, "UIWebview": {},
}, },
/* 应用发布信息 */ /* 应用发布信息 */
@@ -83,13 +82,6 @@ export default defineManifestConfig({
} }
}, },
/* SDK配置 */ /* SDK配置 */
"sdkConfigs": {
"payment": {
"alipay": {
"__platform__": ["ios", "android"]
}
}
},
"icons": { "icons": {
"android": { "android": {
"hdpi": "static/icons/72x72.png", "hdpi": "static/icons/72x72.png",

View File

@@ -5,7 +5,7 @@ import { getToken } from '@/utils/storage'
const VIP_APPLY_H5_PATH = '/agent/vipApply' const VIP_APPLY_H5_PATH = '/agent/vipApply'
const CONFIRM_TITLE = '前往浏览器完成升级' const CONFIRM_TITLE = '前往浏览器完成升级'
const CONFIRM_CONTENT = '代理会员开通/续费将在系统浏览器中完成,与 App 支付完全分离。是否继续打开?' const CONFIRM_CONTENT = '代理会员开通/续费将在系统浏览器中完成,是否继续打开?'
export function buildAgentVipApplyH5Url(params: Record<string, string> = {}) { export function buildAgentVipApplyH5Url(params: Record<string, string> = {}) {
const { buildSitePathUrl } = useReportWebview() const { buildSitePathUrl } = useReportWebview()

View File

@@ -22,6 +22,21 @@ const formData = ref({
/** 从首页报告卡片带入的 product_en配置加载后预选 */ /** 从首页报告卡片带入的 product_en配置加载后预选 */
const initialFeature = ref('') const initialFeature = ref('')
/** 推广页不展示「示例报告」的 product_en诚信租赁等 */
const HIDE_EXAMPLE_REPORT_PRODUCT_EN = ['rentalinfo']
const showExampleReportButton = computed(() => {
const feature = formData.value.productType
if (!feature)
return true
if (HIDE_EXAMPLE_REPORT_PRODUCT_EN.includes(feature))
return false
const name = pickerProductConfig.value?.product_name ?? ''
if (name.includes('企业诚信'))
return false
return true
})
const availableReportTypes = computed(() => { const availableReportTypes = computed(() => {
if (!productConfig.value?.length) if (!productConfig.value?.length)
return [] return []
@@ -188,12 +203,13 @@ onMounted(() => {
<view class="card mb-4 relative"> <view class="card mb-4 relative">
<text <text
v-if="showExampleReportButton"
class="absolute right-4 top-4 z-10 text-sm text-blue-600 active:opacity-70" class="absolute right-4 top-4 z-10 text-sm text-blue-600 active:opacity-70"
@click="toExampleReport" @click="toExampleReport"
> >
示例报告 示例报告
</text> </text>
<view class="mb-2 pr-20 text-xl font-semibold"> <view class="mb-2 text-xl font-semibold" :class="{ 'pr-20': showExampleReportButton }">
生成推广码 生成推广码
</view> </view>
<wd-form ref="promotionForm" :model="formData"> <wd-form ref="promotionForm" :model="formData">