Browse Source

日报列表

ribao
jyt 2 years ago
parent
commit
f1ab0054f2
6 changed files with 701 additions and 502 deletions
  1. +525
    -502
      pages.json
  2. +10
    -0
      pages/index/index.vue
  3. +22
    -0
      pages/mine/daily/dailyDetail.vue
  4. +144
    -0
      pages/mine/daily/dailyList.vue
  5. BIN
      pages/mine/daily/img/down.png
  6. BIN
      pages/mine/daily/img/up.png

+ 525
- 502
pages.json
File diff suppressed because it is too large
View File


+ 10
- 0
pages/index/index.vue View File

@@ -248,6 +248,12 @@
</view>
<view class="commonly-text">值班顾问</view>
</view>
<view class="commonly" @click="Piabodata('日报')" v-if="permissions.commonly6">
<view class="commonly-img">
<image class="commonly-img1" src="../../static/images/function6.png" mode=""></image>
</view>
<view class="commonly-text">日报</view>
</view>

<view class="commonly" @click="Piabodata('顾问排名')" v-if="permissions.commonly7">
<view class="commonly-img">
@@ -869,6 +875,10 @@
uni.navigateTo({
url: '/pages/center/prohibited/index?refresh=' + 'refresh'
});
}else if (item == '日报') {
uni.navigateTo({
url: '/pages/mine/daily/dailyList?refresh=' + 'refresh'
});
} else {
uni.navigateTo({
url: '/pages/center/consumer/index?refresh=' + 'refresh'


+ 22
- 0
pages/mine/daily/dailyDetail.vue View File

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

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

<style>

</style>

+ 144
- 0
pages/mine/daily/dailyList.vue View File

@@ -0,0 +1,144 @@
<template>
<view class="dailyList">
<view class="listItem">
<view class="tit">
<view class="notRead">
<view class="red"></view>
</view>
<text>
01月27日接待指标概览
</text>
</view>
<view class="Introduction">
指标总计9个,其中3个明显上涨,2个明显下单,5个小幅波动。
</view>
<view class="tag">
<u-tag text="最大波动指标" plain type="warning"></u-tag>
</view>
<view class="details">
<view class="statusIcon down"></view>
<text class="textInfo">
01月27日接待的平均执行率明显上涨,环比26日上涨<text class="upText">120%</text>,同比上周上涨<text class="downText">10%</text>
</text>
</view>
<view class="goDetail">
详细报告
</view>
</view>
<view class="listItem">
<view class="tit">
<!-- <view class="notRead">
<view class="red"></view>
</view> -->
<text>
01月27日接待指标概览
</text>
</view>
<view class="Introduction">
指标总计9个,其中3个明显上涨,2个明显下单,5个小幅波动。
</view>
<view class="tag">
<u-tag text="最大波动指标" plain type="warning"></u-tag>
</view>
<view class="details">
<view class="statusIcon up"></view>
<text class="textInfo">
01月27日接待的平均执行率明显上涨,环比26日上涨<text class="upText">120%</text>,同比上周上涨<text class="downText">10%</text>
</text>
</view>
<view class="goDetail" @click="goDetail">
详细报告
</view>
</view>
</view>
</template>

<script>
export default {
name:"dailyList",
data() {
return {
}
},
methods: {
goDetail(){
uni.navigateTo({
url:"/pages/mine/daily/dailyDetail"
})
}
}
}
</script>

<style lang="scss" scoped>
.dailyList{
padding: 0 20rpx;
.listItem{
border: 0.5px solid #868686;
border-radius: 16rpx;
padding: 22rpx;
margin-bottom: 20rpx;
.tit{
display: flex;
align-items: center;
.notRead{
width: 14rpx;
height: 14rpx;
margin-right: 10rpx;
.red{
background: #FF0000;
width: 100%;
height: 100%;
border-radius: 100%;
}
}
text{
font-size: 36rpx;
font-weight: bold;
}
margin-bottom: 20rpx;
}
.Introduction{
font-size: 28rpx;
font-weight: bold;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
overflow: hidden;
}
.tag{
margin: 10rpx 0 20rpx;
}
.details{
display: flex;
.statusIcon{
width: 70rpx;
height: 40rpx;
}
.up{
background: url(img/up.png) no-repeat;
background-size: 100%;
}
.down{
background: url(img/down.png) no-repeat;
background-size: 100%;
}
.textInfo{
font-size: 26rpx;
.upText{
color: red;
}
.downText{
color: green;
}
}
}
.goDetail{
font-size: 28rpx;
color: #3A8EED;
text-align: right;
}
}
}
</style>

BIN
pages/mine/daily/img/down.png View File

Before After
Width: 146  |  Height: 124  |  Size: 14 KiB

BIN
pages/mine/daily/img/up.png View File

Before After
Width: 146  |  Height: 126  |  Size: 15 KiB

Loading…
Cancel
Save