|
|
@@ -27,8 +27,11 @@
|
|
|
<mescroll-body ref="mescrollRef" @init="mescrollInit" @down="downCallback" @up="upCallback">
|
|
|
<view class="honor-box" v-for="(item,index) in honorList" :key="index" style="position: relative;">
|
|
|
<view class="honor-name">{{item.name}}</view>
|
|
|
- <image :src="item.pic_url" mode="aspectFit" @click="showLarge(item.pic_url_resize)"></image>
|
|
|
- <view class="honor-award">获奖人:{{item.for_branch}} {{item.for_names}}</view>
|
|
|
+ <image :src="item.pic_url" mode="aspectFill" @click="showLarge(item.pic_url_resize)"></image>
|
|
|
+ <view style="display: flex;">
|
|
|
+ <view class="honor-award" style="width:120rpx;">获奖人:</view>
|
|
|
+ <view class="honor-award">{{item.for_branch}} {{item.for_names}}</view>
|
|
|
+ </view>
|
|
|
<view class="honor-info-box">
|
|
|
<text>{{item.year}}年{{item.month}}月</text>
|
|
|
<text>|</text>
|
|
|
@@ -65,7 +68,10 @@
|
|
|
<view class="honor-box" v-for="(item,index) in myHonorList" :key="index" >
|
|
|
<view class="honor-name">{{item.name}}</view>
|
|
|
<image :src="item.pic_url" mode="aspectFit" @click="showLarge(item.pic_url_resize)"></image>
|
|
|
- <view class="honor-award">获奖人:{{item.for_branch}} {{item.for_names}}</view>
|
|
|
+ <view style="display: flex;">
|
|
|
+ <view class="honor-award" style="width:120rpx;">获奖人:</view>
|
|
|
+ <view class="honor-award">{{item.for_branch}} {{item.for_names}}</view>
|
|
|
+ </view>
|
|
|
<view class="honor-info-box">
|
|
|
<text>{{item.year}}年{{item.month}}月</text>
|
|
|
<text>|</text>
|
|
|
@@ -124,9 +130,16 @@ export default {
|
|
|
// this.getHonorList(this.dateYear,this.dateMonth,this.index)
|
|
|
},
|
|
|
onShow(){
|
|
|
- this.getHonorList(this.dateYear,this.dateMonth,this.index)
|
|
|
+ //this.getHonorList(this.dateYear,this.dateMonth,this.index)
|
|
|
},
|
|
|
methods: {
|
|
|
+ pageRefreshHonor(object) {
|
|
|
+ if (object) {
|
|
|
+ this.getHonorList(this.dateYear,this.dateMonth,this.index)
|
|
|
+ } else {
|
|
|
+ return
|
|
|
+ }
|
|
|
+ },
|
|
|
onClickItem(e){
|
|
|
this.current = e.currentIndex
|
|
|
this.current ?
|
|
|
@@ -417,6 +430,7 @@ export default {
|
|
|
margin: 20rpx auto;
|
|
|
}
|
|
|
.honor-award {
|
|
|
+ width: 80%;
|
|
|
color: #ccc;
|
|
|
font-size: 28rpx;
|
|
|
margin: 20rpx 0 10rpx 0;
|