Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
C
component-lib
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
郭铭瑶
component-lib
Commits
30241555
Commit
30241555
authored
Nov 09, 2021
by
郭铭瑶
🤘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新样式
parent
b4f284cd
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
36 additions
and
35 deletions
+36
-35
index.vue
src/lib/A016/index.vue
+6
-2
index.vue
src/lib/A017/index.vue
+26
-28
index.vue
src/lib/A018/index.vue
+0
-1
index.vue
src/lib/A019/index.vue
+4
-4
No files found.
src/lib/A016/index.vue
View file @
30241555
...
@@ -25,7 +25,9 @@
...
@@ -25,7 +25,9 @@
</div>
</div>
|
|
<div>
<div>
<p
class=
"count"
><m-count
:value=
"info.rectifyRatio"
/>
%
</p>
<p
class=
"count"
>
<m-count
:value=
"info.rectifyRatio"
:decimal=
"2"
/>
%
</p>
<p>
完成率
</p>
<p>
完成率
</p>
</div>
</div>
</div>
</div>
...
@@ -40,7 +42,7 @@
...
@@ -40,7 +42,7 @@
<span>
户
</span>
<span>
户
</span>
</div>
</div>
<div
v-for=
"item in list.slice(1)"
:key=
"item.name"
>
<div
v-for=
"item in list.slice(1)"
:key=
"item.name"
>
<m-count
:value=
"item.value"
/>
<m-count
class=
"count"
:value=
"item.value"
/>
<p>
{{
item
.
name
}}
</p>
<p>
{{
item
.
name
}}
</p>
</div>
</div>
</div>
</div>
...
@@ -193,6 +195,8 @@ const barOption = {
...
@@ -193,6 +195,8 @@ const barOption = {
text-align center
text-align center
flex 1
flex 1
position relative
position relative
.count
font-size .12rem
p
p
color #ccc
color #ccc
span
span
...
...
src/lib/A017/index.vue
View file @
30241555
...
@@ -16,14 +16,12 @@
...
@@ -16,14 +16,12 @@
/>
/>
</div>
</div>
<div
class=
"legend"
>
<div
class=
"legend"
>
<div
class=
"inner"
>
<div
v-for=
"(item, i) in pieData.source"
:key=
"item.type"
>
<div
v-for=
"(item, i) in pieData.source"
:key=
"item.type"
>
<i
class=
"dot"
:style=
"`background:$
{pieOption.color[i]}`" />
<i
class=
"dot"
:style=
"`background:$
{pieOption.color[i]}`" />
<p
:title=
"item.type"
>
{{
item
.
type
}}
</p>
<p
:title=
"item.type"
>
{{
item
.
type
}}
</p>
<span><m-count
:value=
"item.rate"
/>
%
</span>
<span><m-count
:value=
"item.rate"
/>
%
</span>
</div>
</div>
</div>
</div>
</div>
</
template
>
</
template
>
<m-empty
v-else
/>
<m-empty
v-else
/>
</div>
</div>
...
@@ -144,19 +142,19 @@ async function onClick({ query, icon }) {
...
@@ -144,19 +142,19 @@ async function onClick({ query, icon }) {
@import '../../components/MyComponent/main.styl'
@import '../../components/MyComponent/main.styl'
.chart-wrapper
.chart-wrapper
display flex
display flex
flex 1
.chart
.chart
width 25%
width 25%
height 1rem
height 1rem
.legend
.legend
flex 1
flex 1
.inner
display flex
display flex
flex-wrap wrap
flex-wrap wrap
>div
>div
display flex
display flex
align-items center
align-items center
width 48%
width 48%
font-size .08
rem
font-size .09
rem
&:nth-of-type(2n)
&:nth-of-type(2n)
margin-left .05rem
margin-left .05rem
.dot
.dot
...
@@ -174,7 +172,7 @@ async function onClick({ query, icon }) {
...
@@ -174,7 +172,7 @@ async function onClick({ query, icon }) {
.summary
.summary
display flex
display flex
justify-content space-between
justify-content space-between
margin
-bottom .04rem
margin
.05rem 0
>div
>div
text-align center
text-align center
cursor pointer
cursor pointer
...
...
src/lib/A018/index.vue
View file @
30241555
...
@@ -162,7 +162,6 @@ const onClick = (state) => {
...
@@ -162,7 +162,6 @@ const onClick = (state) => {
>div
>div
display flex
display flex
align-items center
align-items center
font-size .09rem
color #ccc
color #ccc
cursor pointer
cursor pointer
.orange-count
.orange-count
...
...
src/lib/A019/index.vue
View file @
30241555
...
@@ -4,8 +4,8 @@
...
@@ -4,8 +4,8 @@
<p>
<p>
住宅预销售金额
住宅预销售金额
<span
style=
"margin-left: 0.1rem"
>
<span
style=
"margin-left: 0.1rem"
>
<m-count
class=
"orange-count"
:value=
"total"
/>
<m-count
class=
"orange-count"
:value=
"total"
:decimal=
"2"
/>
万
元
亿
元
</span>
</span>
</p>
</p>
<n-select
<n-select
...
@@ -91,7 +91,7 @@ watch(
...
@@ -91,7 +91,7 @@ watch(
livePresaleNum
=
0
,
//居住预售证数
livePresaleNum
=
0
,
//居住预售证数
totalArea
=
0
,
//总面积
totalArea
=
0
,
//总面积
}
=
res
?.
data
?.
content
||
{}
}
=
res
?.
data
?.
content
||
{}
total
.
value
=
totalPrice
total
.
value
=
totalPrice
/
100000000
list
.
value
=
[
list
.
value
=
[
{
{
name
:
'住房'
,
name
:
'住房'
,
...
@@ -177,7 +177,7 @@ const areas = ref([
...
@@ -177,7 +177,7 @@ const areas = ref([
flex 1
flex 1
margin-left .05rem
margin-left .05rem
.orange-count
.orange-count
margin 0 .04rem .02rem
0.1rem
margin 0 .04rem .02rem
span
span
display flex
display flex
align-items center
align-items center
...
...
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