You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
yanzong_qianduan/pages/gamll/dailyReport.vue

99 lines
2.1 KiB

<template>
<view>
2 months ago
<view class="park" :style="{backgroundImage:`url(${indexBackgroundImage})`}">
<view style="margin-top:870rpx;overflow: hidden;height: 830rpx;">
<view class="report" v-if="list.length>0">
<view class="report-box" v-for="(a,index) in list">
{{a.channel_name}}
</view>
</view>
</view>
<!-- <view class="wenan">
好东西就要分享给大家让生活更美好
</view> -->
</view>
</view>
</template>
<script>
2 months ago
import * as help from '@/api/help'
export default {
data() {
return {
background: {
background: 'none'
},
2 months ago
list: [],
indexBackgroundImage: 'https://www.amiami.com.cn/static/openshop.png?t=' + new Date().getTime(),
}
},
2 months ago
onLoad() {
this.getTipOffList()
},
methods: {
2 months ago
getTipOffList() {
help.tipOffList().then(result => {
if (result.status == 200) {
this.list = result.data.list.data
// this.list = [...result.data.list.data, ...result.data.list.data, ...result.data.list.data,
// ...result.data.list.data, ...result.data.list.data, ...result.data.list.data
// ]
}
})
}
}
}
</script>
<style>
page {
background: #fff;
width: 100%;
}
</style>
<style lang="scss" scoped>
.park {
overflow: hidden;
width: 100%;
background-size: 100% auto;
min-height: 100vh;
padding-bottom: 68rpx;
2 months ago
background-size: cover;
2 months ago
.report {
box-shadow: 0 5rpx 10rpx 5rpx #fff;
// box-shadow: 5rpx 5rpx 5rpx #fff,5rpx -5rpx 5rpx #fff,-5rpx 5rpx 5rpx #fff,-5rpx -5rpx 5rpx #fff;
border-radius: 8rpx;
margin: 20rpx 50rpx 0rpx 50rpx;
padding: 12rpx;
max-height: 570rpx;
overflow-y: auto;
.report-box {
display: inline-block;
background: #3d84f2;
height: 60rpx;
padding: 0 24rpx;
color: #fff;
font-family: PingFang SC, PingFang SC;
font-weight: 400;
font-size: 26rpx;
color: #fff;
line-height: 60rpx;
border-radius: 16rpx;
margin: 12rpx;
}
}
.wenan {
font-size: 54rpx;
color: #000;
font-family: PingFang SC, PingFang SC;
font-weight: 800;
margin: 30rpx 100rpx 60rpx 100rpx;
text-align: center;
}
}
</style>