Commit 090f2f54 authored by Facius's avatar Facius

feat: 需求变更

parent 9b4b86fb
<template>
<view class="u-flex top">
<view class="u-flex avatar">
<!-- <view class="u-flex avatar">
<view class="avatar-list" v-for="(item, index) in avatars" :key="index">
<image :src="item" mode="aspectFill" />
</view>
</view>
</view> -->
<image :src="tongzhiImage" class="notice-image" />
<view class="notice">
<u-notice-bar
mode="horizontal"
mode="vertical"
type="none"
font-size="26"
:list="[noticeText]"
......@@ -116,6 +117,9 @@ export default {
defaultUrl() {
return process.uniEnv.qn_base_url + 'heads/'
},
tongzhiImage() {
return process.uniEnv.qn_base_url + 'tongzhi.png'
},
},
created() {
this.initData()
......@@ -174,6 +178,10 @@ export default {
margin-left: 15rpx;
display: flex;
align-items: center;
.notice-image {
width: 48rpx;
height: 48rpx;
}
.avatar {
.avatar-list {
margin-left: -15rpx;
......
......@@ -153,6 +153,9 @@ export default {
quanbutikuImage() {
return process.uniEnv.qn_base_url + 'quanbutiku.png'
},
slognImage() {
return process.uniEnv.qn_base_url + 'slogn.png'
},
marks() {
return [
{
......
......@@ -262,8 +262,8 @@ export default {
const ele = keys[index]
console.log('ele', ele)
this.chartData.categories.push(ele.replace(/\-/g, '.'))
this.chartData.series[0].data.push(res[ele].totalCount)
this.chartData.series[1].data.push(res[ele].rightCount)
this.chartData.series[0].data.push(res[ele].totalCount || '')
this.chartData.series[1].data.push(res[ele].rightCount || '')
}
})
.catch((err) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment