| | |
| | | import { getZhongTaiProductNewsPage, getCatalogList,actionDo } from '../../api/index' |
| | | import { getZhongTaiProductNewsPage, getCatalogList,actionDo,refreshEnjoy } from '../../api/index' |
| | | Page({ |
| | | |
| | | /** |
| | |
| | | * 生命周期函数--监听页面显示 |
| | | */ |
| | | onShow() { |
| | | |
| | | refreshEnjoy(this) |
| | | }, |
| | | |
| | | /** |
| | |
| | | <view class="container"> |
| | | <!-- 悬浮 --> |
| | | <buoyClient /> |
| | | <buoyClient class="buoyClient"/> |
| | | |
| | | <view class="home_top"> |
| | | <view class="search_wrap"> |
| | |
| | | <view> |
| | | <!-- <navBar title="{{ navTitle }}"></navBar> --> |
| | | <buoyClient showPurpose="1" /> |
| | | <buoyClient showPurpose="1" class="buoyClient"/> |
| | | <view class="main_content"> |
| | | <view class="main_title">{{ info.title }}</view> |
| | | <view class="datetime">发布时间:{{ info.publishDt }}</view> |
| | |
| | | <view class="container"> |
| | | <buoyClient showPurpose="1" /> |
| | | <buoyClient showPurpose="1" class="buoyClient"/> |
| | | <detailFooter bindenjoy="handleEnjoy" path="1" info="{{info}}" /> |
| | | <view class="main_title">{{ info.title }}</view> |
| | | <view class="time">发布时间:{{ info.publishDt }}</view> |
| | |
| | | <view class="container"> |
| | | <buoyClient showPurpose="1" /> |
| | | <buoyClient showPurpose="1" class="buoyClient"/> |
| | | <detailFooter bindenjoy="handleEnjoy" path="2" info="{{info}}" /> |
| | | <!-- --> |
| | | <view class="main_title">{{ info.title }}</view> |
| | |
| | | import { getCataLogTagList, getCatalogList } from '../../api/index' |
| | | import { getCataLogTagList, getCatalogList,refreshEnjoy } from '../../api/index' |
| | | const { HYEventBus } = require('hy-event-store') |
| | | const eventBus = new HYEventBus() |
| | | Page({ |
| | |
| | | let menuButtonInfo = wx.getMenuButtonBoundingClientRect(); |
| | | this.setData({menuButtonInfo}) |
| | | }, |
| | | onShow() { |
| | | |
| | | onShow(){ |
| | | console.log('onShow') |
| | | refreshEnjoy(this) |
| | | let discoverKey = wx.getStorageSync('discoverKey') || '' |
| | | if(discoverKey){ |
| | | this.setData({ catalogCode: discoverKey }) |
| | |
| | | <view class="container"> |
| | | <buoyClient /> |
| | | <buoyClient class="buoyClient"/> |
| | | <view class="home_tab"> |
| | | <view style="height: {{ menuButtonInfo.top - 6 }}px;"></view> |
| | | <view class="main_tab" style="height: {{ menuButtonInfo.height + 12 }}px;"> |
| | |
| | | overflow: hidden; |
| | | text-overflow: ellipsis; |
| | | display: -webkit-box; |
| | | -webkit-line-clamp: 2; |
| | | -webkit-line-clamp: 2; |
| | | white-space: break-spaces; |
| | | -webkit-box-orient: vertical; |
| | | word-break: break-word; |
| | | } |
| | | .date_item .line .content .time { |
| | | font-size: 24rpx; |
| | |
| | | import { getZhongTaiVideoPage, getCataLogTagList } from '../../api/index' |
| | | import { getZhongTaiVideoPage, getCataLogTagList ,refreshEnjoy} from '../../api/index' |
| | | Page({ |
| | | |
| | | /** |
| | |
| | | * 生命周期函数--监听页面显示 |
| | | */ |
| | | onShow() { |
| | | |
| | | refreshEnjoy(this) |
| | | }, |
| | | |
| | | /** |
| | |
| | | { |
| | | "navigationBarTitleText": "产品视频" |
| | | "navigationBarTitleText": "产品视频", |
| | | "usingComponents": { |
| | | "buoyClient": "../../components/buoyClient/index" |
| | | } |
| | | } |
| | |
| | | <view class="container"> |
| | | <buoyClient class="buoyClient"/> |
| | | <!-- 分类 --> |
| | | <view> |
| | | <scroll-view scroll-x="true" style="weight: 710rpx;margin-bottom: 30rpx;"> |