f
This commit is contained in:
@@ -34,7 +34,6 @@ export default defineManifestConfig({
|
||||
"UniNView": {
|
||||
"description": "UniNView原生渲染"
|
||||
},
|
||||
"Payment": {},
|
||||
"UIWebview": {},
|
||||
},
|
||||
/* 应用发布信息 */
|
||||
@@ -83,13 +82,6 @@ export default defineManifestConfig({
|
||||
}
|
||||
},
|
||||
/* SDK配置 */
|
||||
"sdkConfigs": {
|
||||
"payment": {
|
||||
"alipay": {
|
||||
"__platform__": ["ios", "android"]
|
||||
}
|
||||
}
|
||||
},
|
||||
"icons": {
|
||||
"android": {
|
||||
"hdpi": "static/icons/72x72.png",
|
||||
|
||||
@@ -5,7 +5,7 @@ import { getToken } from '@/utils/storage'
|
||||
const VIP_APPLY_H5_PATH = '/agent/vipApply'
|
||||
|
||||
const CONFIRM_TITLE = '前往浏览器完成升级'
|
||||
const CONFIRM_CONTENT = '代理会员开通/续费将在系统浏览器中完成,与 App 支付完全分离。是否继续打开?'
|
||||
const CONFIRM_CONTENT = '代理会员开通/续费将在系统浏览器中完成,是否继续打开?'
|
||||
|
||||
export function buildAgentVipApplyH5Url(params: Record<string, string> = {}) {
|
||||
const { buildSitePathUrl } = useReportWebview()
|
||||
|
||||
@@ -22,6 +22,21 @@ const formData = ref({
|
||||
/** 从首页报告卡片带入的 product_en,配置加载后预选 */
|
||||
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(() => {
|
||||
if (!productConfig.value?.length)
|
||||
return []
|
||||
@@ -188,12 +203,13 @@ onMounted(() => {
|
||||
|
||||
<view class="card mb-4 relative">
|
||||
<text
|
||||
v-if="showExampleReportButton"
|
||||
class="absolute right-4 top-4 z-10 text-sm text-blue-600 active:opacity-70"
|
||||
@click="toExampleReport"
|
||||
>
|
||||
示例报告
|
||||
</text>
|
||||
<view class="mb-2 pr-20 text-xl font-semibold">
|
||||
<view class="mb-2 text-xl font-semibold" :class="{ 'pr-20': showExampleReportButton }">
|
||||
生成推广码
|
||||
</view>
|
||||
<wd-form ref="promotionForm" :model="formData">
|
||||
|
||||
Reference in New Issue
Block a user