Browse Source

no message

featrue/v4.5
xpz2018 4 years ago
parent
commit
871bd8820d
2 changed files with 5 additions and 2 deletions
  1. 3
      pages/moment/info-item/index.js
  2. 4
      pages/moment/info-item/index.wxml

3
pages/moment/info-item/index.js

@ -14,6 +14,9 @@ Component({
methods: {
lookItem: function(e){
util.navigateTo('/pages/article/detail/index?id=' + this.data.item.id)
},
lookFactory: function(){
util.navigateTo(`/pages/agent/factory/index?id=${this.data.item.millPaperId}`)
}
}
})

4
pages/moment/info-item/index.wxml

@ -3,8 +3,8 @@
<view style="height: 180rpx;padding-right: 16rpx;flex: 1;position: relative;">
<highlight-text content="{{item.content}}" keyword="{{keyword}}" class="text-title"></highlight-text>
<view class="flex flex-justify" style="position: absolute;bottom: 0;width: 100%;padding-right: 16rpx;">
<view class="attention-bg">
<text class="text-blue">{{item.shortName}}</text>
<view class="attention-bg" catchtap="lookFactory" wx:if="{{item.millPaperId}}">
<text class="text-blue text-cut" style="max-width: 160rpx;">{{item.shortName || item.millPaperName}}</text>
<text class="cuIcon-right text-blue" style="font-size:24rpx;"></text>
</view>
<view class="text-sm text-gray" style="margin-left: 16rpx;padding-top: 2rpx;">{{item.createTime}}</view>

Loading…
Cancel
Save