mirror of
http://git.keliuyun.com:55676/jiaxiuc123/miniProject.git
synced 2025-12-24 12:38:07 +08:00
样式修改
This commit is contained in:
@@ -114,6 +114,9 @@ Component({
|
||||
methods: {
|
||||
// 关闭自定义日期选择
|
||||
onClose() {
|
||||
this.getTabBar().setData({
|
||||
show: true
|
||||
});
|
||||
this.setData({
|
||||
show: false
|
||||
});
|
||||
@@ -126,6 +129,9 @@ Component({
|
||||
},
|
||||
// 点击自定义日期选择器的确定
|
||||
onConfirm(event) {
|
||||
this.getTabBar().setData({
|
||||
show: true
|
||||
});
|
||||
const [start, end] = event.detail;
|
||||
let startDate = moment(start).format("YYYY-MM-DD")
|
||||
let endDate = moment(end).format("YYYY-MM-DD")
|
||||
@@ -159,6 +165,9 @@ Component({
|
||||
show: true,
|
||||
types: e.target.dataset.type,
|
||||
})
|
||||
this.getTabBar().setData({
|
||||
show: false,
|
||||
});
|
||||
break;
|
||||
}
|
||||
if (dateType != 5) {
|
||||
@@ -315,8 +324,8 @@ Component({
|
||||
getLineConfig(res) {
|
||||
let xasix = res.xaxis.data
|
||||
// let legendList = res.series.map(item => item.name)
|
||||
let seriesList = res.series||[]
|
||||
if (seriesList[0].data.every(item=>!item)) {
|
||||
let seriesList = res.series || []
|
||||
if (seriesList[0].data.every(item => !item)) {
|
||||
return {
|
||||
title: {
|
||||
text: '暂无数据',
|
||||
@@ -442,7 +451,7 @@ Component({
|
||||
// ["侧轨3", 15, 200],
|
||||
// ["出样", 18, 200]
|
||||
// ];
|
||||
if (confingData.series.length<=0) {
|
||||
if (confingData.series.length <= 0) {
|
||||
return {
|
||||
title: {
|
||||
text: '暂无数据',
|
||||
@@ -556,7 +565,7 @@ Component({
|
||||
// "type": "pie"
|
||||
// }]
|
||||
// }
|
||||
if (faceGender.series[0]&&faceGender.series[0].data.every(item=>item)) {
|
||||
if (faceGender.series[0] && faceGender.series[0].data.every(item => item)) {
|
||||
return {
|
||||
title: {
|
||||
text: '暂无数据',
|
||||
@@ -688,7 +697,7 @@ Component({
|
||||
// ]
|
||||
// }
|
||||
// }
|
||||
if (faceAge.series.length<=0) {
|
||||
if (faceAge.series.length <= 0) {
|
||||
return {
|
||||
title: {
|
||||
text: '暂无数据',
|
||||
|
||||
@@ -30,22 +30,22 @@
|
||||
<view class="card_passage">
|
||||
<image src="../images/keliulaing.png" class="card_image"></image>
|
||||
<view class="er"> 客流量</view>
|
||||
<view class="er fonts"> {{traffic}}</view>
|
||||
<view class="er" style="font-size:48rpx"> {{traffic}}</view>
|
||||
</view>
|
||||
<view class="card_passage">
|
||||
<image src="../images/keliuliangyellow.png" class="card_image"></image>
|
||||
<view class="er"> 曝光量</view>
|
||||
<view class="er fonts"> {{exposure}}</view>
|
||||
<view class="er" style="font-size:48rpx"> {{exposure}}</view>
|
||||
</view>
|
||||
<view class="card_passage">
|
||||
<image src="../images/customer.png" class="card_image"></image>
|
||||
<view class="er"> 顾客人数</view>
|
||||
<view class="er fonts"> {{customer}}</view>
|
||||
<view class="er" style="font-size:48rpx"> {{customer}}</view>
|
||||
</view>
|
||||
<view class="card_passage">
|
||||
<image src="../images/jindianlv.png" class="card_image"></image>
|
||||
<view class="er"> 进店率</view>
|
||||
<view class="er fonts"> {{entryRate}}%</view>
|
||||
<view class="er" style="font-size:48rpx"> {{entryRate}}%</view>
|
||||
</view>
|
||||
</view>
|
||||
<!-- 客流趋势分析 -->
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background-color: #D5E2FF;
|
||||
height: 160rpx;
|
||||
height: 140rpx;
|
||||
font-size: 34rpx;
|
||||
font-family: PingFangSC-Medium, PingFang SC;
|
||||
font-weight: 500;
|
||||
@@ -20,7 +20,7 @@
|
||||
}
|
||||
|
||||
.container {
|
||||
margin-top: 160rpx;
|
||||
margin-top: 140rpx;
|
||||
padding: 10rpx 20rpx 60px;
|
||||
background: linear-gradient(154deg, #C7D3FF 0%, #E9F9FF 48%, #FFFFFF 100%);
|
||||
}
|
||||
@@ -51,7 +51,9 @@
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.fonts{
|
||||
font-size: 48rpx;
|
||||
}
|
||||
.shop_name::after {
|
||||
content: '';
|
||||
width: 0;
|
||||
|
||||
Reference in New Issue
Block a user