|
@@ -1,17 +1,18 @@
|
|
|
<!--miniprogram/pages/home/index.wxml-->
|
|
|
<view class="home">
|
|
|
- <image class="headImg" src="cloud://cloud1-6gbxfp9x33ff3b7c.636c-cloud1-6gbxfp9x33ff3b7c-1306051304/head.jpeg"></image>
|
|
|
+ <image class="headImg " mode="aspectFit"
|
|
|
+ src="cloud://cloud1-6gbxfp9x33ff3b7c.636c-cloud1-6gbxfp9x33ff3b7c-1306051304/homeTop.jpeg"></image>
|
|
|
<view class="title">
|
|
|
- 畅行中国•庆祝建党100周年“追寻红色记忆”主题——“红色文物会说话、红色遗址会发声”融媒传播发布仪式
|
|
|
+ 畅行中国·庆祝建党100周年“追寻红色记忆”主题——“重访红色声音故里”融媒传播暨 “党性教育基地”揭牌仪式定于2021年6月16日-19日在陕西延安举行。
|
|
|
</view>
|
|
|
- <view class="subTitle">
|
|
|
- 2021年5月15日至16日
|
|
|
+ <view class="subTitle" style="height: 20rpx">
|
|
|
+ <!-- 2021年6月16日至19日 -->
|
|
|
</view>
|
|
|
|
|
|
<view class="icon_container">
|
|
|
<view class="icon_item_cell">
|
|
|
<view class="icon_content" data-title="活动简介" data-id="79550af260b0394f1aea63d27b6f2ae9" bindtap="toDetail">
|
|
|
- <image class="img" src="../../images/0.png"></image>
|
|
|
+ <image mode="aspectFit" class="img" src="../../images/0.png"></image>
|
|
|
<view class="icon_title">
|
|
|
活动简介
|
|
|
</view>
|
|
@@ -19,7 +20,7 @@
|
|
|
</view>
|
|
|
<view class="icon_item_cell">
|
|
|
<view class="icon_content" data-title="日程会务" data-id="cbddf0af60b041bd0c3e871a1a8f5a7e" bindtap="toDetail">
|
|
|
- <image class="img" src="../../images/1.png"></image>
|
|
|
+ <image mode="aspectFit" class="img" src="../../images/1.png"></image>
|
|
|
<view class="icon_title">
|
|
|
日程会务
|
|
|
</view>
|
|
@@ -27,7 +28,7 @@
|
|
|
</view>
|
|
|
<view class="icon_item_cell">
|
|
|
<view class="icon_content" data-title="精彩瞬间" data-type="img" bindtap="toMarvellous">
|
|
|
- <image class="img" src="../../images/3.png"></image>
|
|
|
+ <image mode="aspectFit" class="img" src="../../images/3.png"></image>
|
|
|
<view class="icon_title">
|
|
|
精彩瞬间
|
|
|
</view>
|
|
@@ -35,7 +36,7 @@
|
|
|
</view>
|
|
|
<view class="icon_item_cell">
|
|
|
<view class="icon_content" data-title="红色声音" data-type="video" bindtap="toMarvellous">
|
|
|
- <image class="img" src="../../images/4.png"></image>
|
|
|
+ <image mode="aspectFit" class="img" src="../../images/4.png"></image>
|
|
|
<view class="icon_title">
|
|
|
红色声音
|
|
|
</view>
|
|
@@ -51,7 +52,7 @@
|
|
|
</view>
|
|
|
<view class="icon_item_cell">
|
|
|
<view class="icon_content" data-title="疫情防控" data-id="cbddf0af60b042750c3ebf6b09f3e165" bindtap="toDetail">
|
|
|
- <image class="img" src="../../images/2.png"></image>
|
|
|
+ <image mode="aspectFit" class="img" src="../../images/2.png"></image>
|
|
|
<view class="icon_title">
|
|
|
疫情防控
|
|
|
</view>
|
|
@@ -61,12 +62,18 @@
|
|
|
|
|
|
<mp-cell link hover value="新闻动态" footer="查看更多" url="/pages/interList/interList?type=news">
|
|
|
</mp-cell>
|
|
|
- <view class="newList" wx:key="_id" wx:for="{{newList}}" data-id="{{item._id}}" data-title="{{item.title}}" bindtap="toDetail">
|
|
|
- <image class="newsImg" src="{{item.cover}}"></image>
|
|
|
- <view class="newsTitle">
|
|
|
- <text class="top">{{item.title}}</text>
|
|
|
- <text class="subTitle">发布日期 2021-05-15 11:25:00</text>
|
|
|
+ <view wx:key="_id" wx:for="{{newList}}">
|
|
|
+ <view wx:if="{{item.type != 'video'}}" data-id="{{item._id}}" data-title="{{item.title}}" class="newList"
|
|
|
+ bindtap="toDetail">
|
|
|
+ <image mode="aspectFit" class="newsImg" src="{{item.cover}}"></image>
|
|
|
+ <view class="newsTitle">
|
|
|
+ <text class="top">{{item.title}}</text>
|
|
|
+ <text class="subTitle">发布日期 {{item.create_time}}</text>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view wx:if="{{item.type == 'video'}}">
|
|
|
+ <video id="newsVideo{{index}}" data-index="{{index}}" bindplay="play" style="width: 100%" src="{{item.url}}"></video>
|
|
|
</view>
|
|
|
+ <view class="br"></view>
|
|
|
</view>
|
|
|
- <view class="br"></view>
|
|
|
</view>
|