Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sfp-program
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Sweet Zhang
sfp-program
Commits
9b150bd2
Commit
9b150bd2
authored
Oct 14, 2022
by
kyle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加openid,没有关注弹出二维码
parent
47d5ab12
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
4 deletions
+17
-4
pages/housePurchase/housePurchase.vue
+9
-2
pages/nav/nav.vue
+8
-2
static/images/coming.jpg
+0
-0
No files found.
pages/housePurchase/housePurchase.vue
View file @
9b150bd2
...
...
@@ -537,7 +537,8 @@
houseLoanOldList
:
this
.
isDisplace
?
this
.
houseLoanOldList
:
null
,
businessNo
:
uni
.
getStorageSync
(
'businessNo'
),
calcuteType
:
0
,
decimal
:
4
decimal
:
4
,
wechat_openid
:
uni
.
getStorageSync
(
'openId'
)
||
''
,
}
api
.
housePurchasePlanAnalysis
(
param
).
then
((
res
)
=>
{
if
(
res
[
'success'
]){
...
...
@@ -556,6 +557,10 @@
this
.
drawLine
(
this
.
chartsLegendsCurrent
)
});
}
else
{
if
(
res
[
'data'
][
'code'
]
===
'E000'
){
this
.
isNeedOfficialAccountQrcode
=
true
;
return
;
}
common
.
errorDialog
(
2
,
res
[
'message'
])
}
})
...
...
@@ -616,7 +621,9 @@
}
api
.
queryCommercialHousingPrice
(
this
.
cityInfo
).
then
(
res
=>
{
if
(
res
[
'success'
]){
this
.
planningParams
.
housePriceGrowthRate
=
res
[
'data'
][
'priceInfo'
][
'rateB'
]
/
100
;
const
result
=
res
[
'data'
][
'priceInfo'
][
'rateB'
];
const
power
=
result
.
toString
().
indexOf
(
'.'
)
>
-
1
?
result
.
toString
().
substring
(
result
.
toString
().
indexOf
(
'.'
)
+
1
).
length
:
0
;
this
.
planningParams
.
housePriceGrowthRate
=
(
res
[
'data'
][
'priceInfo'
][
'rateB'
])
*
(
Math
.
pow
(
10
,
power
))
/
(
Math
.
pow
(
10
,
power
+
2
))
;
}
})
},
...
...
pages/nav/nav.vue
View file @
9b150bd2
...
...
@@ -2,13 +2,18 @@
<view>
<ul>
<li
v-for=
"item in moduleLists"
:key=
"item.no"
>
<template
v-if=
"item.path"
>
<navigator
:url=
"item.path"
hover-class=
"other-navigator-hover"
>
<view
class=
"imgContainer"
><img
:src=
"`/sfp/static/images/$
{item.background}`" alt="" srcset="">
</view>
<text
:style=
"
{color:item.color}">
{{
item
.
name
}}
</text>
</navigator>
</
template
>
<
template
v-if=
"!item.path"
>
<view
class=
"imgContainer"
><img
:src=
"`/sfp/static/images/$
{item.background}`" alt="" srcset="">
</view>
<text
:style=
"
{color:item.color}">
{{
item
.
name
}}
</text>
</
template
>
</li>
</ul>
<view
style=
"text-align: center;"
>
更多工具正在开发中,敬请期待。。。
</view>
</view>
</template>
...
...
@@ -20,7 +25,8 @@
moduleLists
:[
{
no
:
'1'
,
name
:
'增额终身寿和年金险复利、单利计算'
,
path
:
'/pages/index/index'
,
background
:
'irrNavBg.jpg'
,
color
:
'#EA8A49'
},
{
no
:
'2'
,
name
:
'购房能力测算'
,
path
:
'/pages/housePurchase/housePurchase'
,
background
:
'propertyBg.jpg'
,
color
:
'#6F5AD4'
},
// {no:'3',name:'子女教育金测算',path:'',background:'childrenBgNavBg.jpg',color:'#CE8C1B'}
{
no
:
'3'
,
name
:
'敬请期待'
,
path
:
''
,
background
:
'coming.jpg'
,
color
:
'#A0A0A0'
},
{
no
:
'4'
,
name
:
'敬请期待'
,
path
:
''
,
background
:
'coming.jpg'
,
color
:
'#A0A0A0'
},
]
}
},
...
...
static/images/coming.jpg
0 → 100644
View file @
9b150bd2
28 KB
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment