Merge branch 'master' of http://git.luyuan.tk/luyuan/deming into zhy

This commit is contained in:
ghusermoon 2020-08-19 08:31:26 +08:00
commit bea615253c
10 changed files with 13 additions and 3 deletions

View File

@ -1,5 +1,5 @@
<template>
<view id="actives">
<view id="actives" :style="{height : height + 'px'}">
<!-- 活动消息推送 -->
<block v-for="(item, index) in actives" :key="index">
<view class="time">{{ item.addtime }}</view>
@ -22,13 +22,21 @@
export default {
data() {
return {
height:'600',
actives: [
]
};
},
onLoad(){
this.messageactivityList()
var _that = this
_that.messageactivityList();
uni.getSystemInfo({
success: function (res) {
console.log(res.windowHeight);
_that.height = res.windowHeight
}
});
},
methods: {
titletext(){
@ -55,7 +63,6 @@
height: 100%;
}
#actives{
height: 100%;
background: #ECECEC;
.time {
padding: 30rpx 0;

View File

@ -52,4 +52,7 @@
line-height: 1.7;
padding: 30rpx;
}
::v-deep.u-mode-center-box {
background-color: transparent;
}
</style>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB