Browse Source

tijiao

dev
douzhuo 2 years ago
parent
commit
77d7d1f4eb
2 changed files with 7 additions and 4 deletions
  1. +2
    -1
      pages/mine/reportExcel/dayReport.vue
  2. +5
    -3
      pages/mine/reportExcel/weekReport.vue

+ 2
- 1
pages/mine/reportExcel/dayReport.vue View File

@@ -280,7 +280,7 @@


<!-- 底部按钮 --> <!-- 底部按钮 -->
<view class="nav-footer"> <view class="nav-footer">
<view class="footer-item full" style="margin-left: 22rpx;">
<view class="footer-item full">
<button open-type="share" class="fulls"> <button open-type="share" class="fulls">
分享给好友 分享给好友
</button> </button>
@@ -315,6 +315,7 @@
onShareAppMessage() { onShareAppMessage() {
return { return {
title: `${this.projectName}数智工牌日报`, title: `${this.projectName}数智工牌日报`,
type: 2,
path: `/pages/mine/reportExcel/dayReport?id=${this.id}` path: `/pages/mine/reportExcel/dayReport?id=${this.id}`
} }
}, },


+ 5
- 3
pages/mine/reportExcel/weekReport.vue View File

@@ -33,7 +33,7 @@
<view class="bottom"> <view class="bottom">
对比上周: {{ data.preNum || 0 }} 对比上周: {{ data.preNum || 0 }}
<text class="b-text" <text class="b-text"
:class="{up: data.percent > 0, down: data.percent < 0}">{{ data.percent || '--' }}</text>
:class="{up: data.percent > 0, down: data.percent < 0}">{{ data.percent || '0' }}</text>
<template v-if="data.percent != 0"> <template v-if="data.percent != 0">
<text style="margin-left: 8rpx;font-size: 34rpx;font-weight: bold;" :class="{up: data.percent > 0, down: data.percent < 0}">{{ data.percent > 0 ? '↑' : '↓' }}</text> <text style="margin-left: 8rpx;font-size: 34rpx;font-weight: bold;" :class="{up: data.percent > 0, down: data.percent < 0}">{{ data.percent > 0 ? '↑' : '↓' }}</text>
</template> </template>
@@ -234,7 +234,7 @@


<!-- 底部按钮 --> <!-- 底部按钮 -->
<view class="nav-footer"> <view class="nav-footer">
<view class="footer-item full" style="margin-left: 22rpx;">
<view class="footer-item full">
<button open-type="share" class="fulls"> <button open-type="share" class="fulls">
分享给好友 分享给好友
</button> </button>
@@ -435,6 +435,7 @@
onShareAppMessage() { onShareAppMessage() {
return { return {
title: `${this.projectName}数智工牌周报`, title: `${this.projectName}数智工牌周报`,
type: 2,
path: `/pages/mine/reportExcel/weekRepor?id=${this.id}` path: `/pages/mine/reportExcel/weekRepor?id=${this.id}`
} }
}, },
@@ -663,7 +664,8 @@


.briefing { .briefing {
margin: 40rpx 0 0 0; margin: 40rpx 0 0 0;

background: #fff;
.briefing-title { .briefing-title {
padding: 0 30rpx; padding: 0 30rpx;
height: 90rpx; height: 90rpx;


Loading…
Cancel
Save