diff --git a/README.md b/README.md
index a4430d4..445cb52 100644
--- a/README.md
+++ b/README.md
@@ -1,9 +1 @@
-
-
-
-
-
-
-
+x-6 docs
diff --git a/env/.env b/env/.env
index 6304ef7..c959206 100644
--- a/env/.env
+++ b/env/.env
@@ -7,9 +7,6 @@ VITE_WX_APPID = 'wxa2abb91f64032a2b'
# h5部署网站的base,配置到 manifest.config.ts 里的 h5.router.base
VITE_APP_PUBLIC_BASE=/
-VITE_SERVER_BASEURL = 'https://api.qmbz.cc'
-VITE_UPLOAD_BASEURL = 'https://api.qmbz.cc/api/common/upload'
-
# h5是否需要配置代理
VITE_APP_PROXY=false
VITE_APP_PROXY_PREFIX = '/api'
diff --git a/env/.env.development b/env/.env.development
index 04fa273..21199c6 100644
--- a/env/.env.development
+++ b/env/.env.development
@@ -4,3 +4,6 @@ NODE_ENV = 'development'
VITE_DELETE_CONSOLE = false
# 是否开启sourcemap
VITE_SHOW_SOURCEMAP = true
+
+VITE_SERVER_BASEURL = 'https://hugo-x6.yhdmit.com'
+VITE_UPLOAD_BASEURL = 'https://hugo-x6.yhdmit.com/api/common/upload'
diff --git a/env/.env.production b/env/.env.production
index 8a1b50c..2c82505 100644
--- a/env/.env.production
+++ b/env/.env.production
@@ -4,3 +4,6 @@ NODE_ENV = 'development'
VITE_DELETE_CONSOLE = true
# 是否开启sourcemap
VITE_SHOW_SOURCEMAP = false
+
+VITE_SERVER_BASEURL = 'https://api.qmbz.cc'
+VITE_UPLOAD_BASEURL = 'https://api.qmbz.cc/api/common/upload'
diff --git a/pages.config.ts b/pages.config.ts
index 4755d34..0841c64 100644
--- a/pages.config.ts
+++ b/pages.config.ts
@@ -18,7 +18,7 @@ export default defineUniPages({
},
tabBar: {
color: '#999999',
- selectedColor: '#0E57A2',
+ selectedColor: '#BE805A',
backgroundColor: '#ffffff',
borderStyle: '#E7E7E7',
height: '56px',
@@ -32,17 +32,17 @@ export default defineUniPages({
pagePath: 'pages/index/index',
text: '首页',
},
- {
- iconPath: 'static/tabbar/invest.png',
- selectedIconPath: 'static/tabbar/investHL.png',
- pagePath: 'pages/invest/index',
- text: '保障',
- },
{
iconPath: 'static/tabbar/house.png',
selectedIconPath: 'static/tabbar/houseHL.png',
pagePath: 'pages/invite/index',
- text: '社区',
+ text: '邀请好友',
+ },
+ {
+ iconPath: 'static/tabbar/invest.png',
+ selectedIconPath: 'static/tabbar/investHL.png',
+ pagePath: 'pages/invest/index',
+ text: '房产集团',
},
{
iconPath: 'static/tabbar/personal.png',
diff --git a/src/components/Avatar.vue b/src/components/Avatar.vue
index d4987b7..8d94a0d 100644
--- a/src/components/Avatar.vue
+++ b/src/components/Avatar.vue
@@ -10,12 +10,7 @@ defineProps({
-
+
+
+
+
+
+ {{ item.title }}
+
+
+
+ 个人所得税金额
+ 400元
+
+
+ 立即缴纳
+
+
+
+
+
+
diff --git a/src/hooks/useCaptcha.ts b/src/hooks/useCaptcha.ts
index 12b8375..dcb95b1 100644
--- a/src/hooks/useCaptcha.ts
+++ b/src/hooks/useCaptcha.ts
@@ -1,15 +1,16 @@
-const baseUrl = import.meta.env.VITE_SERVER_BASEURL
-export const useCaptcha = () => {
- const t = ref(Date.now())
+import { getCaptchaAPI } from '@/service'
- const codeUrl = computed(() => {
- return baseUrl + '/api/index/captcha?t=' + t.value
- })
- const refreshCode = () => {
- t.value = Date.now()
+export const useCaptcha = () => {
+ const codeUrl = ref('')
+ const codeKey = ref('')
+
+ const refreshCode = async () => {
+ const res = await getCaptchaAPI()
+ codeUrl.value = res.data.img
+ codeKey.value = res.data.key
}
onMounted(() => {
refreshCode()
})
- return { codeUrl, t, refreshCode }
+ return { codeUrl, codeKey, refreshCode }
}
diff --git a/src/interceptors/request.ts b/src/interceptors/request.ts
index e5f1be5..46ef70f 100644
--- a/src/interceptors/request.ts
+++ b/src/interceptors/request.ts
@@ -52,7 +52,7 @@ const httpInterceptor = {
// 3. 添加 token 请求头标识
const userStore = useUserStore()
if (userStore.token) {
- options.header.token = userStore.token
+ options.header.Authorization = `Bearer ${userStore.token}`
}
},
}
diff --git a/src/pages-sub/asset-detail/index.vue b/src/pages-sub/asset-detail/index.vue
index dc88dfb..0c4347d 100644
--- a/src/pages-sub/asset-detail/index.vue
+++ b/src/pages-sub/asset-detail/index.vue
@@ -1,9 +1,8 @@
{
style: {
- navigationBarTitleText: '资金明细',
+ navigationBarTitleText: '股权流量提现明细',
navigationBarBackgroundColor: '#fff',
- navigationStyle: 'custom',
},
}
@@ -18,7 +17,6 @@ const { list: assetList } = useListPageRequest(getMyAssetAPI)
-
+
+ 流量提现汇总
+
+ 100
+ (元)
+
+
资金明细
@@ -38,8 +43,8 @@ const { list: assetList } = useListPageRequest(getMyAssetAPI)
v-for="item in assetList"
:key="item.id"
>
-
-
+
+
{{ item.memo }}
{{ item.createtime }}
@@ -69,7 +74,7 @@ const { list: assetList } = useListPageRequest(getMyAssetAPI)
.asset-page {
background-image: url('@/static/images/assets-bg.jpg');
background-repeat: no-repeat;
- background-position: top center;
+ background-position: top -90px center;
background-size: 100%;
}
.main-content {
diff --git a/src/pages-sub/equity-withdrawal/index.vue b/src/pages-sub/equity-withdrawal/index.vue
new file mode 100644
index 0000000..5b64995
--- /dev/null
+++ b/src/pages-sub/equity-withdrawal/index.vue
@@ -0,0 +1,94 @@
+
+{
+ style: {
+ navigationStyle: 'custom',
+ navigationBarTitleText: '股权提现',
+ },
+}
+
+
+
+
+
+
+ 可提现碧桂园股权
+
+ 3521000
+ (股)
+
+
+
+ 价值
+ 3521000
+
+
+
+ 提现信息
+
+
+ 银行卡号
+
+
+
+ 开户银行
+
+
+
+
+
+
+
+ 立即提现
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages-sub/lottery/index.vue b/src/pages-sub/lottery/index.vue
index 724a073..686e286 100644
--- a/src/pages-sub/lottery/index.vue
+++ b/src/pages-sub/lottery/index.vue
@@ -1,7 +1,7 @@
{
style: {
- navigationBarTitleText: '转盘抽奖',
+ navigationBarTitleText: '抽奖',
navigationBarBackgroundColor: '#fff',
navigationStyle: 'custom',
},
@@ -10,135 +10,67 @@
-
+
-
-
-
-
-
-
- {{ data.title }}
-
-
-
-
- 点击
- 抽奖
-
-
-
-
-
-
+
+ 您有
+ 5
+ 次机会
- 抽奖规则
-
- 1. 每轮抽奖消耗10000认购点,每轮抽奖次数为3次,每轮抽奖结束后,消耗的认购点将恢复为0。
+ 中奖奖品
+
+ 中奖奖品请联系客服获取>>
+
+
+
+ 日期
+ 奖品
+
+
+ 2025.01.058
+ 物业费3年
+
+
+ 2025.01.058
+ 物业费3年
+
+
+ 2025.01.058
+ 物业费3年
+
+
+ 2025.01.058
+ 物业费3年
+
diff --git a/src/pages-sub/room-certificate/index.vue b/src/pages-sub/room-certificate/index.vue
new file mode 100644
index 0000000..6b7ff62
--- /dev/null
+++ b/src/pages-sub/room-certificate/index.vue
@@ -0,0 +1,38 @@
+
+{
+ style: {
+ navigationBarTitleText: '红本房产证',
+ },
+}
+
+
+
+
+
+
+
+
+ 碧桂园精装房
+ 100~150(m²)
+
+
+ 房本邮寄
+
+
+
+
+
+
+
+
+
diff --git a/src/pages-sub/room-mail/index.vue b/src/pages-sub/room-mail/index.vue
new file mode 100644
index 0000000..378dbf7
--- /dev/null
+++ b/src/pages-sub/room-mail/index.vue
@@ -0,0 +1,45 @@
+
+{
+ style: {
+ navigationBarTitleText: '房本邮寄',
+ },
+}
+
+
+
+
+
+
+ 手机号
+
+
+
+ 邮寄地址
+
+
+
+
+ 邮寄
+
+
+
+
+
+
+
diff --git a/src/pages-sub/room-transfer/index.vue b/src/pages-sub/room-transfer/index.vue
new file mode 100644
index 0000000..33c863e
--- /dev/null
+++ b/src/pages-sub/room-transfer/index.vue
@@ -0,0 +1,114 @@
+
+{
+ style: {
+ navigationBarTitleText: '房产过户',
+ },
+}
+
+
+
+
+ 申请人信息
+
+
+ 申请人姓名
+
+
+
+ 身份证号码
+
+
+
+ 联系电话
+
+
+
+ 家庭地址
+
+
+
+ 过户人信息
+
+
+ 过户人姓名
+
+
+
+ 身份证号码
+
+
+
+ 联系电话
+
+
+
+ 家庭地址
+
+
+
+
+
+ 确认信息
+
+
+ 邮寄
+
+
+
+
+
+
+
+
diff --git a/src/pages-sub/withdrawal/index.vue b/src/pages-sub/withdrawal/index.vue
index 7595c55..af1c5cc 100644
--- a/src/pages-sub/withdrawal/index.vue
+++ b/src/pages-sub/withdrawal/index.vue
@@ -2,7 +2,7 @@
{
style: {
navigationStyle: 'custom',
- navigationBarTitleText: '提现',
+ navigationBarTitleText: '流量提现',
},
}
@@ -18,14 +18,13 @@
- 钱包余额
+ 流量余额
{{ userStore.userInfo?.money }}
- 提现金额
@@ -35,14 +34,22 @@
placeholder="请输入提现金额"
class="text-14 text-#333 flex-1"
/>
-
+
全部
- 提现说明(TIPS)
-
- 1、如遇到系统结算繁忙,结算将会延迟到账
- 2、提现将会提现至您的工商银行卡;
+
+
+ 提现信息
+
+
+ 银行卡号
+
+
+
+ 开户银行
+
+
@@ -54,15 +61,17 @@
class="btn-gradient text-center text-white rounded-full text-14 px-30 py-10"
@click="onSubmit"
>
- 提现
+ 立即提现
+
diff --git a/src/pages.json b/src/pages.json
index 15a5497..cf1e19f 100644
--- a/src/pages.json
+++ b/src/pages.json
@@ -15,7 +15,7 @@
},
"tabBar": {
"color": "#999999",
- "selectedColor": "#0E57A2",
+ "selectedColor": "#BE805A",
"backgroundColor": "#ffffff",
"borderStyle": "#E7E7E7",
"height": "56px",
@@ -29,17 +29,17 @@
"pagePath": "pages/index/index",
"text": "首页"
},
- {
- "iconPath": "static/tabbar/invest.png",
- "selectedIconPath": "static/tabbar/investHL.png",
- "pagePath": "pages/invest/index",
- "text": "保障"
- },
{
"iconPath": "static/tabbar/house.png",
"selectedIconPath": "static/tabbar/houseHL.png",
"pagePath": "pages/invite/index",
- "text": "社区"
+ "text": "邀请好友"
+ },
+ {
+ "iconPath": "static/tabbar/invest.png",
+ "selectedIconPath": "static/tabbar/investHL.png",
+ "pagePath": "pages/invest/index",
+ "text": "房产集团"
},
{
"iconPath": "static/tabbar/personal.png",
@@ -55,7 +55,7 @@
"type": "home",
"style": {
"navigationStyle": "custom",
- "navigationBarTitleText": "首页"
+ "navigationBarTitleText": "云房产"
}
},
{
@@ -72,14 +72,14 @@
"type": "page",
"style": {
"navigationStyle": "custom",
- "navigationBarTitleText": "保障"
+ "navigationBarTitleText": "房产集团"
}
},
{
"path": "pages/invite/index",
"type": "page",
"style": {
- "navigationBarTitleText": "社区",
+ "navigationBarTitleText": "邀请福利",
"navigationBarBackgroundColor": "#fff",
"navigationStyle": "custom"
}
@@ -128,9 +128,8 @@
"path": "asset-detail/index",
"type": "page",
"style": {
- "navigationBarTitleText": "资金明细",
- "navigationBarBackgroundColor": "#fff",
- "navigationStyle": "custom"
+ "navigationBarTitleText": "股权流量提现明细",
+ "navigationBarBackgroundColor": "#fff"
}
},
{
@@ -148,6 +147,14 @@
"navigationBarTitleText": "分包页面 标题"
}
},
+ {
+ "path": "equity-withdrawal/index",
+ "type": "page",
+ "style": {
+ "navigationStyle": "custom",
+ "navigationBarTitleText": "股权提现"
+ }
+ },
{
"path": "hot-news/index",
"type": "page",
@@ -201,11 +208,18 @@
"path": "lottery/index",
"type": "page",
"style": {
- "navigationBarTitleText": "转盘抽奖",
+ "navigationBarTitleText": "抽奖",
"navigationBarBackgroundColor": "#fff",
"navigationStyle": "custom"
}
},
+ {
+ "path": "my-room-certificate/index",
+ "type": "page",
+ "style": {
+ "navigationBarTitleText": "我的房产"
+ }
+ },
{
"path": "news/index",
"type": "page",
@@ -239,6 +253,27 @@
"navigationBarBackgroundColor": "#fff"
}
},
+ {
+ "path": "room-certificate/index",
+ "type": "page",
+ "style": {
+ "navigationBarTitleText": "红本房产证"
+ }
+ },
+ {
+ "path": "room-mail/index",
+ "type": "page",
+ "style": {
+ "navigationBarTitleText": "房本邮寄"
+ }
+ },
+ {
+ "path": "room-transfer/index",
+ "type": "page",
+ "style": {
+ "navigationBarTitleText": "房产过户"
+ }
+ },
{
"path": "team/index",
"type": "page",
@@ -253,7 +288,7 @@
"type": "page",
"style": {
"navigationStyle": "custom",
- "navigationBarTitleText": "提现"
+ "navigationBarTitleText": "流量提现"
}
},
{
diff --git a/src/pages/edit-password/index.vue b/src/pages/edit-password/index.vue
index db0093f..1028bd1 100644
--- a/src/pages/edit-password/index.vue
+++ b/src/pages/edit-password/index.vue
@@ -116,7 +116,7 @@ onLoad(() => {
.login-container {
box-sizing: border-box;
min-height: 100vh;
- background-image: url('@/static/images/login-bg.png');
+ background-image: url('@/static/images/login-bg.jpg');
background-repeat: no-repeat;
background-size: cover;
}
diff --git a/src/pages/index/index.vue b/src/pages/index/index.vue
index 1b99df7..f9c9b9e 100644
--- a/src/pages/index/index.vue
+++ b/src/pages/index/index.vue
@@ -3,91 +3,49 @@
{
style: {
navigationStyle: 'custom',
- navigationBarTitleText: '首页',
+ navigationBarTitleText: '云房产',
},
}
-
-
-
- 姓名:{{ userStore.userInfo?.realname }}
- 社会保障号码:{{ userStore.userInfo?.banknum.substring(0, 4) }}
- 中国工商银行卡号
-
-
- {{ userStore.userInfo?.banknum.replace(/(\d{4})(?=\d)/g, '$1 ') }}
-
-
-
-
-
- 姓名:***
- 社会保障号码:***
- 中国工商银行卡号:**************
-
-
- 开通个人养老账号
-
-
-
+
- 社区
+ 邀请好友
下载APP
-
+
- 官方群聊
+ 抽奖福利
在线客服
-
-
- 最新时讯
-
-
-
-
-
-
-
-
-
-
- 热点新闻
- 查看全部
-
+ 云房产集团
+
+
-
-
- {{ item.name }}
- {{ item.source }}
+
+
+ {{ item.name }}
+
@@ -162,6 +120,10 @@ const handleOfficialCommunity = () => {
})
}
+const handleLottery = () => {
+ uni.navigateTo({ url: '/pages-sub/lottery/index' })
+}
+
const handleDownload = () => {
downloadAppAPI()
}
@@ -216,13 +178,9 @@ const handleOpenAccount = async () => {
.home-page {
min-height: 100vh;
background-image: url('@/static/images/home/bg.jpg');
+ background-repeat: no-repeat;
background-position: top;
- background-size: cover;
-}
-.main-container {
- background-image: url('@/static/images/home/main-bg.jpg');
- background-position: top;
- background-size: cover;
+ background-size: 100%;
}
.notice-container {
background-image: url('@/static/images/home/notice-bg.jpg');
diff --git a/src/pages/invest/index.vue b/src/pages/invest/index.vue
index 38a4323..3484cd4 100644
--- a/src/pages/invest/index.vue
+++ b/src/pages/invest/index.vue
@@ -3,125 +3,59 @@
{
style: {
navigationStyle: 'custom',
- navigationBarTitleText: '保障',
+ navigationBarTitleText: '房产集团',
},
}
-
-
- 保险概览
-
-
- 全部
-
- {{ userStore.userInfo?.yanglao + userStore.userInfo?.yiliao }}份
-
-
-
- 养老
- {{ userStore.userInfo?.yanglao }}份
-
-
- 医疗
- {{ userStore.userInfo?.yiliao }}份
-
-
-
+
-
+
- {{ item.title }}
-
-
-
-
-
-
-
-
-
- {{ item.name }}
-
-
- {{ tag }}
-
+
+
+
+ {{ item.name }}
+
+
+ {{ tag }}
-
-
-
-
- {{ item.dividend }}(%)
- 日收益
-
- |
-
- {{ item.days }}(天)
- 周期
-
-
-
- 购买({{ item.money }}元)
+
+
+
+
+
+ 100~150²m
+
+ |
+
+ 仅剩4969套
-
-
-
-
-
-
- {{ item.name }}
-
-
-
-
- 查看权益
-
-
- 我要投保({{ item.money }}元)
-
+ 免费领取
-
+
import NavBar from '@/components/NavBar.vue'
-import AlipayIcon from '@/static/images/invest/alipay-icon.png'
-import WechatIcon from '@/static/images/invest/wechat-icon.png'
-import UnionpayIcon from '@/static/images/invest/unionpay-icon.png'
import { getInvestmentListAPI, submitInvestAPI } from '@/service'
import { useUserStore } from '@/store'
import { getImageUrl, mergeStep, showModal } from '@/utils'
@@ -231,9 +162,11 @@ const onInvest = mergeStep(async (item: any) => {
.invest-page {
min-height: 100vh;
padding-bottom: 100px;
- background-image: url('@/static/images/home/bg.jpg');
+ background-color: #3e2417;
+ background-image: url('@/static/images/invest/bg.jpg');
+ background-repeat: no-repeat;
background-position: top;
- background-size: cover;
+ background-size: 100%;
}
.main-content {
background: linear-gradient(90deg, #71a4f8 0%, #3b81f3 103.83%);
diff --git a/src/pages/invite/index.vue b/src/pages/invite/index.vue
index 9e31227..a725035 100644
--- a/src/pages/invite/index.vue
+++ b/src/pages/invite/index.vue
@@ -1,7 +1,7 @@
{
style: {
- navigationBarTitleText: '社区',
+ navigationBarTitleText: '邀请福利',
navigationBarBackgroundColor: '#fff',
navigationStyle: 'custom',
},
@@ -23,7 +23,7 @@ import { showModal } from '@/utils'
const userStore = useUserStore()
const qrcodeValue =
- location.origin + '/#/pages/register/index?invite=' + userStore.userInfo?.invitecode
+ location.origin + '/#/pages/register/index?invite_code=' + userStore.userInfo?.invitecode
const onCopy = (code: string) => {
uni.setClipboardData({
@@ -114,8 +114,8 @@ async function onGetReward(level) {
-
-
+
+
{{ item.title }}
- {{ item.desc }}
+
+
+ 赠送25000碧桂园股权
+
+ 价值2500000万流量补贴30元
+
+ 砸金蛋机会1次
+
-
-
- 团队人数
- {{ inviteData.num }}
- 直推人数
-
-
-
-
- {{ inviteData.performance }}
- 直推业绩
-
-
团队成员({{ inviteData.num }}/人)
@@ -209,7 +203,7 @@ async function onGetReward(level) {