Procházet zdrojové kódy

日报详情

ribao
jyt před 2 roky
rodič
revize
9a5a6178b5
3 změnil soubory, kde provedl 644 přidání a 547 odebrání
  1. +522
    -525
      pages.json
  2. +121
    -21
      pages/mine/daily/dailyDetail.vue
  3. +1
    -1
      pages/mine/daily/dailyList.vue

+ 522
- 525
pages.json
Diff nebyl zobrazen, protože je příliš veliký
Zobrazit soubor


+ 121
- 21
pages/mine/daily/dailyDetail.vue Zobrazit soubor

@@ -1,22 +1,122 @@
<template>
<view>
122
</view>
</template>

<script>
export default {
data() {
return {
}
},
methods: {
}
}
</script>

<style>

<template>
<view class="dailyDetail">
<view class="title">
<view class="text">
<text class="h1">01月27日接待指标概览数据报告</text>
<text class="h4">生成时间:2022-01-27 01:22</text>
</view>
</view>
<view class="donutChart">
<qiun-data-charts
:key="000"
type="ring"
:chartData="chartData"
:canvas2d="true"
:canvasId='wangxiaohuahahahahaha000'
:opts='opts'
background="#FFFFFF"/>
</view>
</view>
</template>
<script>
export default {
data() {
return {
chartData: {
series: [{
data: [{
"name": "明显下跌",
"value": 9
},
{
"name": "明显上涨",
"value": 8
},
{
"name": "稳定",
"value": 8
}
]
}
],
},
opts:{
"legend":{
"show": false,
},
"title": {
"name": "总共",
"fontSize": 18,
"color": "#666666"
},
"subtitle":{
"name": "9个",
"fontSize": 14,
},
"extra": {
"title": {
"name": "总共",
},
"ring": {
"ringWidth":50,
"centerColor": "#FFFFFF",
"activeOpacity": 0.5,
"activeRadius": 10,
"offsetAngle": 0,
"customRadius": 0,
"labelWidth": 12,
"border": false,
"borderWidth": 3,
"borderColor": "#FFFFFF",
"linearType": "none",
},
}
}
}
},
methods: {
}
}
</script>
<style lang="scss">
.dailyDetail {
background: #F3F3F3;
// position: relative;
.title {
// position: fixed;
top: 0;
padding: 26rpx 0 0;
width: 100%;
height: 300rpx;
background-color: #008EF2;
text {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
color: #FFFFFF;
}
.h1 {
font-size: 40rpx;
font-weight: bold;
}
.h4 {
font-size: 30rpx;
font-weight: bold;
}
}
.donutChart {
width: 100%;
}
}
</style>

+ 1
- 1
pages/mine/daily/dailyList.vue Zobrazit soubor

@@ -64,7 +64,7 @@
methods: {
goDetail(){
uni.navigateTo({
url:"/pages/mine/daily/dailyDetail"
url:"./dailyDetail"
})
}
}


Načítá se…
Zrušit
Uložit