Merge branch 'master' of http://git.luyuan.tk/luyuan/deming into zhy
@ -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;
|
||||
|
@ -52,4 +52,7 @@
|
||||
line-height: 1.7;
|
||||
padding: 30rpx;
|
||||
}
|
||||
::v-deep.u-mode-center-box {
|
||||
background-color: transparent;
|
||||
}
|
||||
</style>
|
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.6 KiB |
BIN
static/image/userinfo/dianzan2.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 2.3 KiB |
BIN
static/image/userinfo/gouwuche2.png
Normal file
After Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 2.2 KiB |
BIN
static/image/userinfo/pinglun2.png
Normal file
After Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 2.4 KiB |
BIN
static/image/userinfo/shoucang2.png
Normal file
After Width: | Height: | Size: 3.2 KiB |