diff --git a/README.md b/README.md
index 9095ba7..5ef44d0 100644
--- a/README.md
+++ b/README.md
@@ -39,9 +39,8 @@
### TabBar 页面
1. ✅ `src/pages/index.vue` - 首页
-2. ✅ `src/pages/promote/index.vue` - 推广页
-3. ✅ `src/pages/agent/index.vue` - 数据页
-4. ✅ `src/pages/me/index.vue` - 我的页
+2. ✅ `src/pages/agent/index.vue` - 数据页
+3. ✅ `src/pages/me/index.vue` - 我的页
### 其他页面
- ✅ `src/pages/help/index.vue` - 帮助中心
diff --git a/pages.config.js b/pages.config.js
index 5bab320..a39aa9d 100644
--- a/pages.config.js
+++ b/pages.config.js
@@ -3,13 +3,11 @@ import { defineUniPages } from '@uni-helper/vite-plugin-uni-pages'
export default defineUniPages({
pages: [
{ path: 'pages/index', type: 'home', layout: 'HomeLayout', style: { navigationBarTitleText: '一查查' } },
- { path: 'pages/promote/index', layout: 'HomeLayout', style: { navigationBarTitleText: '推广' } },
{ path: 'pages/agent/index', layout: 'HomeLayout', style: { navigationBarTitleText: '数据' } },
{ path: 'pages/me/index', layout: 'HomeLayout', style: { navigationBarTitleText: '我的' } },
{ path: 'pages/help/index', layout: 'PageLayout', style: { navigationBarTitleText: '帮助中心' } },
{ path: 'pages/help/detail', layout: 'PageLayout', style: { navigationBarTitleText: '帮助详情' } },
{ path: 'pages/help/guide', layout: 'PageLayout', style: { navigationBarTitleText: '引导指南' } },
- { path: 'pages/register/index', layout: 'PageLayout', style: { navigationBarTitleText: '注册成为代理' } },
{ path: 'pages/historyQuery/index', layout: 'PageLayout', style: { navigationBarTitleText: '历史查询' } },
{ path: 'pages/report/index', layout: 'PageLayout', style: { navigationBarTitleText: '报告详情' } },
{ path: 'pages/service/index', layout: 'PageLayout', style: { navigationBarTitleText: '客服' } },
@@ -18,10 +16,12 @@ export default defineUniPages({
{ path: 'pages/privacyPolicy/index', layout: 'PageLayout', style: { navigationBarTitleText: '隐私政策' } },
{ path: 'pages/agentManageAgreement/index', layout: 'PageLayout', style: { navigationBarTitleText: '代理管理协议' } },
{ path: 'pages/teamList/index', layout: 'PageLayout', style: { navigationBarTitleText: '我的团队' } },
+ { path: 'pages/teamList/detail', layout: 'PageLayout', style: { navigationBarTitleText: '下级详情' } },
{ path: 'pages/agentUpgrade/index', layout: 'PageLayout', style: { navigationBarTitleText: '升级代理' } },
{ path: 'pages/promoteDetails/index', layout: 'PageLayout', style: { navigationBarTitleText: '我的推广收益' } },
{ path: 'pages/rewardsDetails/index', layout: 'PageLayout', style: { navigationBarTitleText: '下级推广收益' } },
{ path: 'pages/invitation/index', layout: 'PageLayout', style: { navigationBarTitleText: '邀请下级代理' } },
+ { path: 'pages/promote/reportList', layout: 'PageLayout', style: { navigationBarTitleText: '推广报告' } },
{ path: 'pages/promote/report', layout: 'PageLayout', style: { navigationBarTitleText: '推广报告' } },
{ path: 'pages/withdrawDetails/index', layout: 'PageLayout', style: { navigationBarTitleText: '提现记录' } },
// #ifdef MP-WEIXIN
@@ -49,12 +49,6 @@ export default defineUniPages({
iconPath: '/static/homelayout/index.png',
selectedIconPath: '/static/homelayout/index_active.png',
},
- {
- pagePath: 'pages/promote/index',
- text: '推广',
- iconPath: '/static/homelayout/promote.png',
- selectedIconPath: '/static/homelayout/promote_active.png',
- },
{
pagePath: 'pages/agent/index',
text: '数据',
diff --git a/src/App.vue b/src/App.vue
index 1bdc926..b9cea9f 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -58,7 +58,7 @@ const login = () => {
console.log(`[登录] 获取code成功,第${loginRetryCount}次尝试`)
- wxminiLogin({ code }).then((result) => {
+ wxminiLogin({ code }).then(async (result) => {
// 检查网络请求是否失败
if (result.error.value) {
console.error('[登录] 网络请求失败:', result.error.value)
@@ -91,8 +91,19 @@ const login = () => {
console.log('[登录] 登录成功')
isLoggingIn = false
loginRetryCount = 0
- getUser()
- getAgentInformation()
+ try {
+ await getUser()
+ // 微信环境下未绑定手机号时,跳转绑定手机号页(与 BindPhoneDialog 逻辑一致)
+ // #ifdef MP-WEIXIN
+ if (!userStore.mobile) {
+ uni.reLaunch({ url: '/pages/auth/index' })
+ return
+ }
+ // #endif
+ getAgentInformation()
+ } catch (e) {
+ console.error('[登录] 获取用户信息失败', e)
+ }
} else {
// 检查是否是 code 无效错误
const errorMsg = result.data.value.msg || ''
diff --git a/src/api/agent.js b/src/api/agent.js
index ad29a6b..38e9f5a 100644
--- a/src/api/agent.js
+++ b/src/api/agent.js
@@ -74,6 +74,14 @@ export function getTeamList(params) {
return useApiFetch(`/agent/team/list${buildQueryString(params)}`).get().json()
}
+/**
+ * 获取下级贡献详情(订单/邀请列表)
+ * @param {object} params - { subordinate_id, page, page_size, tab_type: 'order'|'invite' }
+ */
+export function getSubordinateContributionDetail(params) {
+ return useApiFetch(`/agent/subordinate/contribution/detail${buildQueryString(params)}`).get().json()
+}
+
export function getSubordinateList(params) {
return useApiFetch(`/agent/subordinate/list${buildQueryString(params)}`).get().json()
}
diff --git a/src/components/PriceInputPopup.vue b/src/components/PriceInputPopup.vue
index 5bfa149..b7014f6 100644
--- a/src/components/PriceInputPopup.vue
+++ b/src/components/PriceInputPopup.vue
@@ -11,20 +11,20 @@
:placeholder="pricePlaceholder"
@blur="onBlurPrice"
/>
-
- 推广收益为
- ¥ {{ promotionRevenue }}
+
+ 推广收益为 {{ promotionRevenue }} 元
-
- 底价成本 ¥ {{ baseCost }}
- 提价成本 ¥ {{ raiseCost }}
+
+ 底价成本为 {{ baseCost }} 元
+ 提价成本为 {{ raiseCost }} 元
收益与成本说明
推广收益 = 客户查询价 - 我的成本
我的成本 = 实际底价 + 提价成本
- 设定范围:¥{{ productConfig?.price_range_min ?? 0 }} - ¥{{ productConfig?.price_range_max ?? 9999 }}
+ 提价成本:设置{{ productConfig?.price_threshold ?? 0 }}元以上的部分收取{{ rateFormat(productConfig?.price_fee_rate ?? 0) }}的提价成本
+ 设定范围:{{ productConfig?.price_range_min ?? 0 }}元 - {{ productConfig?.price_range_max ?? 9999 }}元
确认
@@ -63,6 +63,10 @@ watch(
},
)
+function rateFormat(rate) {
+ return (Number(rate) || 0) * 100 + '%'
+}
+
function safeTruncate(num, decimals = 2) {
if (isNaN(num) || !isFinite(num)) return '0.00'
const factor = 10 ** decimals
diff --git a/src/composables/useBindPhoneLogic.js b/src/composables/useBindPhoneLogic.js
new file mode 100644
index 0000000..8c06211
--- /dev/null
+++ b/src/composables/useBindPhoneLogic.js
@@ -0,0 +1,82 @@
+/**
+ * 绑定手机号登录逻辑,与 ycc-proxy-webview BindPhoneDialog.vue「已有平台账号」模式保持一致:
+ * - 发送验证码:auth/sendSms actionType='bindMobile'
+ * - 绑定:/user/bindMobile -> 存 token -> fetchUserInfo + fetchAgentStatus -> 按 isAgent 跳转
+ */
+import useApiFetch from '@/composables/useApiFetch'
+import { bindMobile } from '@/api/user'
+import { useUserStore } from '@/stores/userStore'
+import { useAgentStore } from '@/stores/agentStore'
+
+export function useBindPhoneLogic() {
+ const userStore = useUserStore()
+ const agentStore = useAgentStore()
+
+ /**
+ * 发送绑定手机号验证码(与 BindPhoneDialog sendVerificationCode 一致)
+ * @param {string} mobile - 手机号
+ * @returns {Promise<{ ok: boolean, msg?: string }>}
+ */
+ async function sendBindSms(mobile) {
+ const { data, error } = await useApiFetch('/auth/sendSms')
+ .post({ mobile, actionType: 'bindMobile' })
+ .json()
+ if (data.value && !error.value && data.value.code === 200) {
+ return { ok: true }
+ }
+ const msg = data.value?.msg || error.value || '发送失败'
+ return { ok: false, msg }
+ }
+
+ /**
+ * 提交绑定手机号并完成登录后流程(与 BindPhoneDialog handleRegister 已有账号分支一致)
+ * - 调用 /user/bindMobile
+ * - 成功:存 token、refreshAfter、accessExpire,拉取用户与代理信息,返回 isAgent 供跳转
+ * @param {string} mobile - 手机号
+ * @param {string} code - 6 位验证码
+ * @returns {Promise<{ success: boolean, isAgent?: boolean, msg?: string }>}
+ */
+ async function submitBindMobile(mobile, code) {
+ const { data, error } = await bindMobile({ mobile, code })
+ if (!data.value || error.value) {
+ return { success: false, msg: error.value || '绑定失败,请重试' }
+ }
+ if (data.value.code !== 200) {
+ const msg = data.value.msg || '绑定失败'
+ if (msg.includes('已绑定其他微信号')) {
+ return { success: false, msg: '该手机号已绑定其他微信号,一个微信只能绑定一个手机号' }
+ }
+ return { success: false, msg }
+ }
+
+ const d = data.value.data
+ uni.setStorageSync('token', d.accessToken)
+ uni.setStorageSync('refreshAfter', d.refreshAfter)
+ uni.setStorageSync('accessExpire', d.accessExpire)
+
+ await Promise.all([
+ agentStore.fetchAgentStatus(),
+ userStore.fetchUserInfo(),
+ ])
+
+ const isAgent = agentStore.isAgent
+ return { success: true, isAgent }
+ }
+
+ /**
+ * 绑定成功后按 isAgent 跳转(与 BindPhoneDialog 一致:代理 -> 数据页,否则 -> 首页)
+ */
+ function redirectAfterBind(isAgent) {
+ if (isAgent) {
+ uni.switchTab({ url: '/pages/agent/index' })
+ } else {
+ uni.switchTab({ url: '/pages/index' })
+ }
+ }
+
+ return {
+ sendBindSms,
+ submitBindMobile,
+ redirectAfterBind,
+ }
+}
diff --git a/src/composables/useWechatShare.js b/src/composables/useWechatShare.js
index 5c8c01c..63b4bc2 100644
--- a/src/composables/useWechatShare.js
+++ b/src/composables/useWechatShare.js
@@ -8,7 +8,7 @@ const APP_NAME = import.meta.env?.VITE_APP_NAME || '一查查'
export const defaultShareTitle = `${APP_NAME} - 专业大数据风控与查询服务`
/** 默认分享图(5:4 比例,建议 500*400),不传则使用当前页截图 */
-export const defaultShareImageUrl = '/static/index/banner.png'
+export const defaultShareImageUrl = '/static/index/01.jpg'
/**
* 获取「分享给好友」的配置
diff --git a/src/pages.json b/src/pages.json
index a384229..a3a6547 100644
--- a/src/pages.json
+++ b/src/pages.json
@@ -59,6 +59,15 @@
"navigationBarTitleText": "升级代理"
}
},
+ {
+ "path": "pages/auth/index",
+ "type": "page",
+ "layout": "PageLayout",
+ "style": {
+ "navigationBarTitleText": "绑定手机号",
+ "navigationStyle": "default"
+ }
+ },
{
"path": "pages/help/detail",
"type": "page",
@@ -116,15 +125,15 @@
}
},
{
- "path": "pages/promote/index",
+ "path": "pages/promote/report",
"type": "page",
- "layout": "HomeLayout",
+ "layout": "PageLayout",
"style": {
- "navigationBarTitleText": "推广"
+ "navigationBarTitleText": "推广报告"
}
},
{
- "path": "pages/promote/report",
+ "path": "pages/promote/reportList",
"type": "page",
"layout": "PageLayout",
"style": {
@@ -139,14 +148,6 @@
"navigationBarTitleText": "我的推广收益"
}
},
- {
- "path": "pages/register/index",
- "type": "page",
- "layout": "PageLayout",
- "style": {
- "navigationBarTitleText": "注册成为代理"
- }
- },
{
"path": "pages/report/index",
"type": "page",
@@ -171,6 +172,14 @@
"navigationBarTitleText": "客服"
}
},
+ {
+ "path": "pages/teamList/detail",
+ "type": "page",
+ "layout": "PageLayout",
+ "style": {
+ "navigationBarTitleText": "下级详情"
+ }
+ },
{
"path": "pages/teamList/index",
"type": "page",
@@ -218,12 +227,6 @@
"iconPath": "/static/homelayout/index.png",
"selectedIconPath": "/static/homelayout/index_active.png"
},
- {
- "pagePath": "pages/promote/index",
- "text": "推广",
- "iconPath": "/static/homelayout/promote.png",
- "selectedIconPath": "/static/homelayout/promote_active.png"
- },
{
"pagePath": "pages/agent/index",
"text": "数据",
diff --git a/src/pages/agent/index.vue b/src/pages/agent/index.vue
index b62484e..12c6858 100644
--- a/src/pages/agent/index.vue
+++ b/src/pages/agent/index.vue
@@ -60,8 +60,8 @@ function toTeamList() {
function toRegister() {
const url = mobile.value
- ? `/pages/register/index?mobile=${encodeURIComponent(mobile.value)}`
- : '/pages/register/index'
+ ? `/pages/auth/index?mobile=${encodeURIComponent(mobile.value)}`
+ : '/pages/auth/index'
uni.navigateTo({ url })
}
@@ -136,19 +136,19 @@ function toRegister() {
-
-
+
+
{{ !isLoggedIn ? '点击登录' : mobile ? mobile : isWeChat ? '微信用户' : '未绑定手机号' }}
-
+
绑定手机号
-
- 点击申请成为代理
-
ID: {{ agentCode }}
-
+
余额
- ¥ {{ (revenueData?.balance || 0).toFixed(2) }}
+ ¥ {{ (revenueData?.balance || 0).toFixed(2) }}
@@ -606,64 +490,6 @@ onUnmounted(() => {
-
-
-
- 绑定手机号
-
-
- 手机号
-
-
-
-
- 验证码
-
-
-
- {{ isCountingDown ? `${countdown}秒` : '获取验证码' }}
-
-
-
-
-
-
- 取消
-
-
- 确定
-
-
-
-
-
diff --git a/src/pages/promote/index.vue b/src/pages/promote/index.vue
deleted file mode 100644
index 70eca77..0000000
--- a/src/pages/promote/index.vue
+++ /dev/null
@@ -1,292 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
- 推广报告
-
-
-
-
-
- 邀请下级
-
-
-
-
-
- 帮助中心
-
-
-
-
-
- 我的报告
-
-
-
-
-
- 资产
-
-
-
-
-
- 我要提现
-
-
-
-
-
- 我的团队
-
-
-
-
-
- 在线客服
-
-
-
-
-
-
-
-
-
- ‹
- 滑动查看更多
- ›
-
-
-
-
-
-
-
-
- {{ service.title }}
-
- 立即推广
-
-
-
-
- {{ getCostPriceText(service) }}
-
-
-
-
-
-
-
-
-
diff --git a/src/pages/promote/reportList.vue b/src/pages/promote/reportList.vue
new file mode 100644
index 0000000..2a79f40
--- /dev/null
+++ b/src/pages/promote/reportList.vue
@@ -0,0 +1,198 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ personalDataService.title }}
+
+ {{ formatSubtitle(personalDataService.subtitle) }}
+
+
+ GO
+ ›
+
+
+
+
+
+
+ {{ marriageService.title }}
+
+ {{ formatSubtitle(marriageService.subtitle) }}
+
+
+
+
+
+
+
+
+
+
+ {{ item.title }}
+
+ {{ formatSubtitle(item.subtitle) }}
+
+
+ GO
+ ›
+
+
+
+
+
+
+
+
+
+ 我的历史查询记录
+ 查询记录有效期为30天
+
+ ›
+
+
+
+
+
+
diff --git a/src/pages/register/index.vue b/src/pages/register/index.vue
deleted file mode 100644
index c591d07..0000000
--- a/src/pages/register/index.vue
+++ /dev/null
@@ -1,424 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 邀请码
-
-
- 获取邀请码
-
-
-
-
- 手机号
-
-
-
-
- 验证码
-
-
-
- {{ isCountingDown ? `${countdown}s` : '获取验证码' }}
-
-
-
-
-
-
-
- 我已阅读并同意
- 《用户协议》
- 《隐私政策》
- 和
- 《代理管理协议》
-
-
-
-
- 未注册手机号注册后将自动生成账号并成为代理,并且代表您已阅读并同意
-
-
-
- 注册成为代理
-
-
-
-
-
-
-
diff --git a/src/pages/teamList/detail.vue b/src/pages/teamList/detail.vue
new file mode 100644
index 0000000..55f834a
--- /dev/null
+++ b/src/pages/teamList/detail.vue
@@ -0,0 +1,297 @@
+
+
+
+
+ 参数错误
+
+
+
+
+
+ {{ userInfo.mobile }}
+
+ {{ userInfo.level }}代理
+
+
+ 成为下级代理时间:{{ formatTime(userInfo.createTime) }}
+
+
+
+
+ 订单统计(仅统计有返佣的订单)
+
+
+ 总订单量
+ {{ orderStats.total_orders || 0 }}
+
+
+ 月订单
+ {{ orderStats.month_orders || 0 }}
+
+
+ 今日订单
+ {{ orderStats.today_orders || 0 }}
+
+
+
+
+
+
+ 返佣统计
+
+
+ 总返佣金额
+ ¥{{ formatNumber(rebateStats.total_rebate_amount) }}
+
+
+ 月返佣金额
+ ¥{{ formatNumber(rebateStats.month_rebate_amount) }}
+
+
+ 今日返佣金额
+ ¥{{ formatNumber(rebateStats.today_rebate_amount) }}
+
+
+
+
+
+
+ 邀请统计
+
+
+ 总邀请
+ {{ inviteStats.total_invites || 0 }}
+
+
+ 月邀请
+ {{ inviteStats.month_invites || 0 }}
+
+
+ 今日邀请
+ {{ inviteStats.today_invites || 0 }}
+
+
+
+
+
+
+
+
+
+
+ 暂无订单记录
+
+
+
+ {{ item.product_name || '未知产品' }}
+ 订单号:{{ item.order_no }}
+ {{ formatTime(item.create_time) }}
+
+
+ 订单金额
+ ¥{{ formatNumber(item.order_amount) }}
+ 返佣金额
+ ¥{{ formatNumber(item.rebate_amount) }}
+
+
+
+ 加载中…
+ 没有更多了
+
+
+
+
+
+
+ 暂无邀请记录
+
+
+
+ {{ item.mobile }}
+
+ {{ item.level_name || getLevelName(item.level) }}代理
+
+
+ {{ formatTime(item.create_time) }}
+
+
+ 加载中…
+ 没有更多了
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/teamList/index.vue b/src/pages/teamList/index.vue
index 1b51119..7d1bd77 100644
--- a/src/pages/teamList/index.vue
+++ b/src/pages/teamList/index.vue
@@ -69,14 +69,38 @@ function loadMore() {
loadList(false)
}
-
function toRegister() {
- uni.navigateTo({ url: '/pages/register/index' })
+ uni.navigateTo({ url: '/pages/auth/index' })
}
-function levelName(level) {
- const map = { 1: '普通代理', 2: '黄金代理', 3: '钻石代理' }
- return map[level] || '代理'
+function getLevelName(level) {
+ const levelNum = typeof level === 'number' ? level : parseInt(level)
+ const map = { 1: '普通', 2: '黄金', 3: '钻石' }
+ return map[levelNum] || '普通'
+}
+
+function getLevelClass(level) {
+ const levelNum = typeof level === 'number' ? level : parseInt(level)
+ switch (levelNum) {
+ case 3:
+ return 'bg-purple-100 text-purple-600'
+ case 2:
+ return 'bg-yellow-100 text-yellow-600'
+ default:
+ return 'bg-gray-100 text-gray-600'
+ }
+}
+
+function formatCount(num) {
+ if (num == null || num === '') return '0'
+ return Number(num).toLocaleString()
+}
+
+function viewDetail(item) {
+ const id = item.agent_id || item.id
+ if (id) {
+ uni.navigateTo({ url: `/pages/teamList/detail?id=${id}` })
+ }
}
onMounted(() => {
@@ -89,99 +113,139 @@ watch(isAgent, (val) => {
-
-
+
+
正在登录中,请稍候...
-
+
注册成为代理后即可查看团队列表
注册成为代理
-
-
- 团队概览
-
-
- {{ statistics.total_members || 0 }}
- 团队人数
-
-
- {{ statistics.today_new_members || 0 }}
- 今日新增
-
-
- {{ statistics.month_new_members || 0 }}
- 本月新增
-
-
-
-
- 总收益
- ¥{{ (statistics.total_earnings ?? 0).toFixed(2) }}
-
-
- 今日收益
- ¥{{ (statistics.today_earnings ?? 0).toFixed(2) }}
-
-
-
-
-
+
-
-
-
-
-
-
- 暂无团队成员
-
-
-
-
-
- {{ item.mobile || '—' }}
-
- 直推
-
+
+
+
+ 团队概览
+
+
+ {{ statistics.total_members || 0 }}
+ 团队人数
-
- {{ levelName(item.level) }} · 加入 {{ item.create_time || '—' }}
+
+ {{ statistics.today_new_members || 0 }}
+ 今日新增
-
- 返佣 ¥{{ (item.total_rebate_amount ?? 0).toFixed(2) }} · 查询 {{ item.total_queries ?? 0 }} 次
+
+ {{ statistics.month_new_members || 0 }}
+ 本月新增
+
+
+
+
+ 总收益
+ ¥{{ (statistics.total_earnings ?? 0).toFixed(2) }}
+
+
+ 今日收益
+ ¥{{ (statistics.today_earnings ?? 0).toFixed(2) }}
+
+
+
+
+
+
+ 暂无团队成员
+
+
+
+
+
+
+ {{ index + 1 }}
+
+ {{ item.mobile || '—' }}
+
+ {{ getLevelName(item.level) }}代理
+
+
+ {{ item.is_direct ? '直接' : '间接' }}
+
+
+
+
+ 加入团队时间:{{ item.create_time || '—' }}
+
+
+
+
+ 今日邀请
+ {{ formatCount(item.today_invites ?? 0) }}
+
+
+ 本月邀请
+ {{ formatCount(item.month_invites ?? 0) }}
+
+
+ 邀请总人数
+ {{ formatCount(item.total_invites ?? 0) }}
+
+
+ 今日查询
+ {{ formatCount(item.today_queries ?? 0) }}
+
+
+ 本月查询
+ {{ formatCount(item.month_queries ?? 0) }}
+
+
+ 查询总单量
+ {{ formatCount(item.total_queries ?? 0) }}
+
+
+
+
+
+
+ 查看详情
+
+
+
+
+ 加载中…
+
+ 加载更多
+
+
-
- 加载中…
-
-
- 加载更多
-
-
diff --git a/src/static/index/01.jpg b/src/static/index/01.jpg
new file mode 100644
index 0000000..5e05912
Binary files /dev/null and b/src/static/index/01.jpg differ
diff --git a/src/static/index/05.png b/src/static/index/05.png
new file mode 100644
index 0000000..c9ffe7b
Binary files /dev/null and b/src/static/index/05.png differ
diff --git a/src/static/index/06.png b/src/static/index/06.png
new file mode 100644
index 0000000..8b6f811
Binary files /dev/null and b/src/static/index/06.png differ
diff --git a/src/static/index/07.png b/src/static/index/07.png
new file mode 100644
index 0000000..e3187ac
Binary files /dev/null and b/src/static/index/07.png differ
diff --git a/src/static/index/08.png b/src/static/index/08.png
new file mode 100644
index 0000000..c8fd4e4
Binary files /dev/null and b/src/static/index/08.png differ
diff --git a/src/static/index/09.png b/src/static/index/09.png
new file mode 100644
index 0000000..4a94937
Binary files /dev/null and b/src/static/index/09.png differ
diff --git a/src/static/index/10.png b/src/static/index/10.png
new file mode 100644
index 0000000..2fddd6a
Binary files /dev/null and b/src/static/index/10.png differ
diff --git a/src/static/index/banner.png b/src/static/index/banner.png
deleted file mode 100644
index 490201b..0000000
Binary files a/src/static/index/banner.png and /dev/null differ
diff --git a/src/static/index/banner_1.png b/src/static/index/banner_1.png
new file mode 100644
index 0000000..694638b
Binary files /dev/null and b/src/static/index/banner_1.png differ
diff --git a/src/static/index/go_icon.png b/src/static/index/go_icon.png
deleted file mode 100644
index c2d5212..0000000
Binary files a/src/static/index/go_icon.png and /dev/null differ
diff --git a/src/static/index/n/01.jpg b/src/static/index/n/01.jpg
deleted file mode 100644
index 974ddea..0000000
Binary files a/src/static/index/n/01.jpg and /dev/null differ
diff --git a/src/static/index/n/ycc_search.jpg b/src/static/index/n/ycc_search.jpg
deleted file mode 100644
index ce66331..0000000
Binary files a/src/static/index/n/ycc_search.jpg and /dev/null differ
diff --git a/src/static/index/ycc_search.jpg b/src/static/index/ycc_search.jpg
new file mode 100644
index 0000000..c3503ff
Binary files /dev/null and b/src/static/index/ycc_search.jpg differ
diff --git a/src/static/login/login_bg.png b/src/static/login/login_bg.png
deleted file mode 100644
index 976b7b7..0000000
Binary files a/src/static/login/login_bg.png and /dev/null differ
diff --git a/src/static/login/logo.png b/src/static/login/logo.png
deleted file mode 100644
index 19ab382..0000000
Binary files a/src/static/login/logo.png and /dev/null differ
diff --git a/src/static/login/logo_title.png b/src/static/login/logo_title.png
deleted file mode 100644
index f552833..0000000
Binary files a/src/static/login/logo_title.png and /dev/null differ
diff --git a/src/static/logo.png b/src/static/logo.png
new file mode 100644
index 0000000..8649df4
Binary files /dev/null and b/src/static/logo.png differ
diff --git a/src/static/promote/backgroundcheck_bg.png b/src/static/promote/backgroundcheck_bg.png
deleted file mode 100644
index 904d97b..0000000
Binary files a/src/static/promote/backgroundcheck_bg.png and /dev/null differ
diff --git a/src/static/promote/banner_1.png b/src/static/promote/banner_1.png
deleted file mode 100644
index a116fef..0000000
Binary files a/src/static/promote/banner_1.png and /dev/null differ
diff --git a/src/static/promote/bzzx.png b/src/static/promote/bzzx.png
deleted file mode 100644
index a2c4cae..0000000
Binary files a/src/static/promote/bzzx.png and /dev/null differ
diff --git a/src/static/promote/company_bg.png b/src/static/promote/company_bg.png
deleted file mode 100644
index 2b621ef..0000000
Binary files a/src/static/promote/company_bg.png and /dev/null differ
diff --git a/src/static/promote/consumer_finance_report_bg.png b/src/static/promote/consumer_finance_report_bg.png
deleted file mode 100644
index 099c66e..0000000
Binary files a/src/static/promote/consumer_finance_report_bg.png and /dev/null differ
diff --git a/src/static/promote/housekeeping_risk_bg.png b/src/static/promote/housekeeping_risk_bg.png
deleted file mode 100644
index 5db1199..0000000
Binary files a/src/static/promote/housekeeping_risk_bg.png and /dev/null differ
diff --git a/src/static/promote/marriage_risk_bg.png b/src/static/promote/marriage_risk_bg.png
deleted file mode 100644
index e44addd..0000000
Binary files a/src/static/promote/marriage_risk_bg.png and /dev/null differ
diff --git a/src/static/promote/personal_data_bg.png b/src/static/promote/personal_data_bg.png
deleted file mode 100644
index 4d8d4b5..0000000
Binary files a/src/static/promote/personal_data_bg.png and /dev/null differ
diff --git a/src/static/promote/tghb.png b/src/static/promote/tghb.png
deleted file mode 100644
index da20d56..0000000
Binary files a/src/static/promote/tghb.png and /dev/null differ
diff --git a/src/static/promote/wdxj.png b/src/static/promote/wdxj.png
deleted file mode 100644
index 523f757..0000000
Binary files a/src/static/promote/wdxj.png and /dev/null differ
diff --git a/src/static/promote/wytx.png b/src/static/promote/wytx.png
deleted file mode 100644
index bd20d6d..0000000
Binary files a/src/static/promote/wytx.png and /dev/null differ
diff --git a/src/static/promote/zc.png b/src/static/promote/zc.png
deleted file mode 100644
index fe9ef6f..0000000
Binary files a/src/static/promote/zc.png and /dev/null differ
diff --git a/src/static/promote/zxkf.png b/src/static/promote/zxkf.png
deleted file mode 100644
index 5e87078..0000000
Binary files a/src/static/promote/zxkf.png and /dev/null differ
diff --git a/uni-pages.d.ts b/uni-pages.d.ts
index 2915f34..61e4e6d 100644
--- a/uni-pages.d.ts
+++ b/uni-pages.d.ts
@@ -10,6 +10,7 @@ type _LocationUrl =
"/pages/agentPromotionQueryList/index" |
"/pages/agentSystemGuide/index" |
"/pages/agentUpgrade/index" |
+ "/pages/auth/index" |
"/pages/help/detail" |
"/pages/help/guide" |
"/pages/help/index" |
@@ -17,13 +18,13 @@ type _LocationUrl =
"/pages/invitation/index" |
"/pages/me/index" |
"/pages/privacyPolicy/index" |
- "/pages/promote/index" |
"/pages/promote/report" |
+ "/pages/promote/reportList" |
"/pages/promoteDetails/index" |
- "/pages/register/index" |
"/pages/report/index" |
"/pages/rewardsDetails/index" |
"/pages/service/index" |
+ "/pages/teamList/detail" |
"/pages/teamList/index" |
"/pages/upgradeSubordinate/index" |
"/pages/userAgreement/index" |
@@ -35,7 +36,7 @@ interface NavigateToOptions {
interface RedirectToOptions extends NavigateToOptions {}
interface SwitchTabOptions {
- url: "/pages/index" | "/pages/promote/index" | "/pages/agent/index" | "/pages/me/index"
+ url: "/pages/index" | "/pages/agent/index" | "/pages/me/index"
}
type ReLaunchOptions = NavigateToOptions | SwitchTabOptions;