diff --git a/.env b/.env index e86ad03..9e004fa 100644 --- a/.env +++ b/.env @@ -1,7 +1,7 @@ # 开发环境 - 本地后端服务器(使用 HTTP,不要使用 HTTPS,除非后端配置了 SSL 证书) -VITE_API_URL=http://127.0.0.1:8888 +# VITE_API_URL=http://127.0.0.1:8888 # 生产环境 - 取消下面的注释并注释掉上面的开发环境配置 -# VITE_API_URL=https://www.onecha.cn +VITE_API_URL=https://www.onecha.cn VITE_API_PREFIX=/api/v1 @@ -17,6 +17,7 @@ VITE_WECHAT_APP_ID=wx442ee1ac1ee75917 VITE_CHAT_AES_KEY=qw5w6SFE2D1jmxyd VITE_CHAT_AES_IV=345GDFED433223DF + VITE_SHARE_TITLE=一查查|大数据风险报告查询与代理平台,支持个人和企业多场景风控应用 VITE_SHARE_DESC=提供个人信用评估、入职背调、信贷风控、企业风险监测等服务 VITE_SHARE_IMG=https://www.onecha.cn/logo.png diff --git a/src/pages.json b/src/pages.json index a3a6547..a167e51 100644 --- a/src/pages.json +++ b/src/pages.json @@ -9,7 +9,7 @@ "navigationBarTitleText": "一查查" }, "pages": [ - // GENERATED BY UNI-PAGES, PLATFORM: MP-WEIXIN + // GENERATED BY UNI-PAGES, PLATFORM: H5 || MP-WEIXIN { "path": "pages/index", "type": "home", @@ -220,7 +220,7 @@ "backgroundColor": "#fff", "borderStyle": "black", "list": [ - // GENERATED BY UNI-PAGES, PLATFORM: MP-WEIXIN + // GENERATED BY UNI-PAGES, PLATFORM: H5 || MP-WEIXIN { "pagePath": "pages/index", "text": "首页", diff --git a/src/pages/agent/index.vue b/src/pages/agent/index.vue index 12c6858..0b13e5b 100644 --- a/src/pages/agent/index.vue +++ b/src/pages/agent/index.vue @@ -131,29 +131,39 @@ function toRegister() { - + + 我的转化率 - - - - - + + + + + @@ -170,8 +180,8 @@ function toRegister() { :key="item.period_label" class="p-4 flex items-center border-b border-gray-200" > - {{ item.period_label }} - + {{ item.period_label }} + {{ item.query_user_count || 0 }}人查询 {{ item.paid_user_count || 0 }}人付费 总金额: {{ (item.total_amount || 0).toFixed(2) }} @@ -187,8 +197,8 @@ function toRegister() { :key="item.period_label" class="p-4 flex items-center border-b border-gray-200" > - {{ item.period_label }} - + {{ item.period_label }} + {{ item.query_user_count || 0 }}人查询 {{ item.paid_user_count || 0 }}人付费 总金额: {{ (item.total_amount || 0).toFixed(2) }} @@ -204,8 +214,8 @@ function toRegister() { :key="item.period_label" class="p-4 flex items-center border-b border-gray-200" > - {{ item.period_label }} - + {{ item.period_label }} + {{ item.query_user_count || 0 }}人查询 {{ item.paid_user_count || 0 }}人付费 总金额: {{ (item.total_amount || 0).toFixed(2) }} @@ -226,26 +236,35 @@ function toRegister() { 我的下级转化率 - - - - - + + + + + @@ -262,8 +281,8 @@ function toRegister() { :key="item.period_label" class="p-4 flex items-center border-b border-gray-200" > - {{ item.period_label }} - + {{ item.period_label }} + {{ item.query_user_count || 0 }}人查询 {{ item.paid_user_count || 0 }}人付费 总金额: {{ (item.total_amount || 0).toFixed(2) }} @@ -279,8 +298,8 @@ function toRegister() { :key="item.period_label" class="p-4 flex items-center border-b border-gray-200" > - {{ item.period_label }} - + {{ item.period_label }} + {{ item.query_user_count || 0 }}人查询 {{ item.paid_user_count || 0 }}人付费 总金额: {{ (item.total_amount || 0).toFixed(2) }} @@ -296,8 +315,8 @@ function toRegister() { :key="item.period_label" class="p-4 flex items-center border-b border-gray-200" > - {{ item.period_label }} - + {{ item.period_label }} + {{ item.query_user_count || 0 }}人查询 {{ item.paid_user_count || 0 }}人付费 总金额: {{ (item.total_amount || 0).toFixed(2) }} diff --git a/src/pages/auth/index.vue b/src/pages/auth/index.vue index b3256b2..74bc321 100644 --- a/src/pages/auth/index.vue +++ b/src/pages/auth/index.vue @@ -154,6 +154,9 @@ async function handleRegister() { }) } uni.showToast({ title: '注册成功', icon: 'success' }) + // 获取用户信息和代理信息 + await getUser() + await getAgentInformation() setTimeout(() => { uni.reLaunch({ url: '/pages/index' }) }, 500) diff --git a/src/pages/promote/reportList.vue b/src/pages/promote/reportList.vue index 2a79f40..a037482 100644 --- a/src/pages/promote/reportList.vue +++ b/src/pages/promote/reportList.vue @@ -95,7 +95,7 @@ function toCooperation() { diff --git a/src/static/index/banner_1.png b/src/static/index/banner_1.png deleted file mode 100644 index 694638b..0000000 Binary files a/src/static/index/banner_1.png and /dev/null differ diff --git a/src/static/promote/p1.jpg b/src/static/promote/p1.jpg new file mode 100644 index 0000000..43346ef Binary files /dev/null and b/src/static/promote/p1.jpg differ diff --git a/src/static/promote/promote_bg.jpg b/src/static/promote/promote_bg.jpg index 22c95d5..f1e8e12 100644 Binary files a/src/static/promote/promote_bg.jpg and b/src/static/promote/promote_bg.jpg differ