Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CFFP-HB
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
Chao Sun
CFFP-HB
Commits
bbf0933d
Commit
bbf0933d
authored
Jan 05, 2023
by
sunchao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
配置文件替换
parent
ca779ad8
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
33 additions
and
49 deletions
+33
-49
.hbuilderx/launch.json
+21
-18
manifest.json
+1
-1
sfp/housePurchase/housePurchase.vue
+11
-30
No files found.
.hbuilderx/launch.json
View file @
bbf0933d
{
//
launch.json
配置了启动调试时相关设置,configurations下节点名称可为
app-plus/h
5
/mp-weixin/mp-baidu/mp-alipay/mp-qq/mp-toutiao/mp
-360
/
{
//
launchtype项可配置值为local或remote
,
local代表前端连本地云函数,remote代表前端连云端云函数
//
launch.json
配置了启动调试时相关设置,configurations下节点名称可为
app-plus/h
5
/mp-weixin/mp-baidu/mp-alipay/mp-qq/mp-toutiao/mp
-360
/
"version"
:
"0.0"
,
//
launchtype项可配置值为local或remote
,
local代表前端连本地云函数,remote代表前端连云端云函数
"configurations"
:
[{
"version"
:
"0.0"
,
"app-plus"
:
"configurations"
:
[
{
{
"launchtype"
:
"local"
"app-plus"
:
{
},
"launchtype"
:
"local"
"default"
:
},
{
"default"
:
{
"launchtype"
:
"local"
"launchtype"
:
"local"
},
},
"mp-weixin"
:
"mp-weixin"
:
{
{
"launchtype"
:
"local"
"launchtype"
:
"local"
},
},
"type"
:
"uniCloud"
"type"
:
"uniCloud"
},
}
{
"playground"
:
"standard"
,
"type"
:
"uni-app:app-ios"
}
]
]
}
}
manifest.json
View file @
bbf0933d
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
"name"
:
"CFFP财富中心"
,
"name"
:
"CFFP财富中心"
,
"appid"
:
"__UNI__ED34740"
,
"appid"
:
"__UNI__ED34740"
,
"description"
:
""
,
"description"
:
""
,
"versionCode"
:
"102"
,
"versionCode"
:
104
,
"transformPx"
:
false
,
"transformPx"
:
false
,
/*
5
+App特有相关
*/
/*
5
+App特有相关
*/
"app-plus"
:
{
"app-plus"
:
{
...
...
sfp/housePurchase/housePurchase.vue
View file @
bbf0933d
...
@@ -337,29 +337,7 @@
...
@@ -337,29 +337,7 @@
housePurchasePrices
:[],
housePurchasePrices
:[],
resultFlag
:
false
,
resultFlag
:
false
,
planningParams
:{},
planningParams
:{},
option
:{
option
:{}
legend
:
{},
grid
:
{
left
:
'20%'
,
// 调整这个属性
},
xAxis
:
{
data
:
[
1
,
2
,
3
],
axisTick
:{
//坐标轴刻度相关设置。
show
:
false
,
},
},
yAxis
:
{},
series
:
[
{
name
:
''
,
data
:
[
3
,
2
,
1
],
type
:
'bar'
,
label
:{
show
:
true
,
position
:
'inside'
}
}
]}
}
}
},
},
components
:{
components
:{
...
@@ -375,10 +353,10 @@
...
@@ -375,10 +353,10 @@
},
},
methods
:{
methods
:{
init
()
{
init
()
{
this
.
$refs
.
chart
.
init
(
echarts
,
chart
=>
{
this
.
$refs
.
chart
.
init
(
echarts
,
chart
=>
{
chart
.
setOption
(
this
.
option
);
chart
.
setOption
(
this
.
option
);
});
});
},
},
checkToken
(){
checkToken
(){
api
.
checkToken
().
then
(
res
=>
{
api
.
checkToken
().
then
(
res
=>
{
if
(
res
[
'success'
]){}
else
{
if
(
res
[
'success'
]){}
else
{
...
@@ -517,6 +495,9 @@
...
@@ -517,6 +495,9 @@
}
}
]
]
}
}
this
.
$refs
.
chart
.
init
(
echarts
,
chart
=>
{
chart
.
setOption
(
this
.
option
);
});
// this.myChart.setOption({
// this.myChart.setOption({
// legend: {},
// legend: {},
// grid: {
// grid: {
...
@@ -748,9 +729,9 @@
...
@@ -748,9 +729,9 @@
}
}
},
},
mounted
()
{
mounted
()
{
this
.
$refs
.
chart
.
init
(
echarts
,
chart
=>
{
//
this.$refs.chart.init(echarts, chart => {
chart
.
setOption
(
this
.
option
);
//
chart.setOption(this.option);
});
//
});
this
.
checkToken
();
this
.
checkToken
();
}
}
}
}
...
...
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