From 4e44bc1fd7806a6c1611302120882b91d96640b5 Mon Sep 17 00:00:00 2001 From: liuwh <hugeinfo123> Date: Mon, 27 Apr 2020 17:50:19 +0800 Subject: [PATCH] bug修复 --- SunshineLnsMinApp/pages/fzxktDetail/fzxktDetail.wxml | 35 ++++++++++++++++++----------------- 1 files changed, 18 insertions(+), 17 deletions(-) diff --git a/SunshineLnsMinApp/pages/fzxktDetail/fzxktDetail.wxml b/SunshineLnsMinApp/pages/fzxktDetail/fzxktDetail.wxml index 114b57a..f357528 100644 --- a/SunshineLnsMinApp/pages/fzxktDetail/fzxktDetail.wxml +++ b/SunshineLnsMinApp/pages/fzxktDetail/fzxktDetail.wxml @@ -1,22 +1,23 @@ <!--lawPublicityDetail.wxml--> <import src="../wxParse/wxParse.wxml" /> <view class="detail"> - <!-- <template is="wxParse" data="{{wxParseData:article.nodes}}" /> --> - <!-- <view wx:for="{{attList.attList21}}" wx:key="{{key}}"> --> - <!-- <video id="myVideo" src="{{item.path}}" + <!-- <template is="wxParse" data="{{wxParseData:article.nodes}}" /> --> + <!-- <view wx:for="{{attList.attList21}}" wx:key="{{key}}"> --> + <!-- <video id="myVideo" src="{{item.path}}" danmu-list="{{danmuList}}" enable-danmu danmu-btn controls></video> --> - <view class="video-area"> - <video id="myVideo" src="{{data.attList[0].path}}" danmu-list="{{danmuList}}" enable-danmu danmu-btn controls></video> - </view> - - <view class="content-left"> - <view class="headLineTitle"> - {{data.title}} - </view> - <!-- <text class="cuIcon-favorfill lg text-blue"></text> --> - <view class="headLineInfo"> - <view class="info-source">{{data.createTime}}</view> - <view class="info-viewer">{{data.readCount}}人观看</view> - </view> - </view> + <view wx:for="{{data.attList}}" data-index="{{index}}" wx:key="index"> + <view class="video-area" style="margin:12px 0"> + <video id="myVideo" src="{{item.path}}" danmu-list="{{danmuList}}" enable-danmu danmu-btn controls></video> + </view> + </view> + <view class="content-left"> + <view class="headLineTitle"> + {{data.title}} + </view> + <!-- <text class="cuIcon-favorfill lg text-blue"></text> --> + <view class="headLineInfo"> + <view class="info-source">{{data.createTime}}</view> + <!-- <view class="info-viewer">观看次数{{data.readCount}}</view> --> + </view> + </view> </view> \ No newline at end of file -- Gitblit v1.8.0