Commit 3e88d75f authored by wangxuelai's avatar wangxuelai

'线上课封面画质修改'

parent e83aec8f
......@@ -244,7 +244,7 @@
<block wx:for="{{onlineCoursesList}}" wx:key="index">
<view class="online-item detail-box" wx:if="{{index==0}}" bindtap="goOnlineClass" data-item="{{item}}">
<view class="cover-box">
<image class="" src="{{filter.imagify(item.cover, 'image/resize,w_400/format,jpg/quality,q_60')}}" mode="aspectFit|aspectFill|widthFix" wx:if="{{item.cover}}" />
<image class="" src="{{filter.imagify(item.cover, 'image/resize,w_600/format,jpg')}}" mode="aspectFit|aspectFill|widthFix" wx:if="{{item.cover}}" />
<image class="" src="{{filter.imagify('qingxiao/biz/image/course/courseDefaultImg.png')}}" mode="aspectFit|aspectFill|widthFix" wx:else/>
<view class="count-man"><image class="" src="{{imageRoot}}2c/websiteindex/hot-icon.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix" />{{item.visit_pv_count+item.study_count}}人学习</view>
</view>
......@@ -256,7 +256,7 @@
</view>
<view class="online-item content-item" bindtap="goOnlineClass" data-item="{{item}}" wx:else>
<view class="cover-box">
<image class="cover-img" src="{{filter.imagify(item.cover, 'image/resize,w_400/format,jpg/quality,q_60')}}" mode="aspectFit|aspectFill|widthFix" wx:if="{{item.cover}}" />
<image class="cover-img" src="{{filter.imagify(item.cover, 'image/resize,w_400/format,jpg')}}" mode="aspectFit|aspectFill|widthFix" wx:if="{{item.cover}}" />
<image class="cover-img" src="{{filter.imagify('qingxiao/biz/image/course/courseDefaultImg.png')}}" mode="aspectFit|aspectFill|widthFix" wx:else/>
<view class="man-count">
<image class="" src="{{imageRoot}}2c/websiteindex/hot-icon.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix" />{{item.visit_pv_count+item.study_count}}人学习
......
......@@ -51,14 +51,14 @@
data-id="video{{playindex}}"
id="video{{playindex}}"
autoplay="{{false}}"
poster="{{filter.videoPoster(playitem.video, 'image/resize,w_400/format,jpg/quality,q_60')}}"
poster="{{filter.videoPoster(playitem.video, 'image/resize,w_400/format,jpg')}}"
wx-if="{{playindex == currentIndex || (playindex == currentIndex + 1)}}"
>
</video>
<!-- initial-time="{{initialTime}}" -->
<image
class="video-poster"
src="{{filter.jpgvideoPoster(filter.jsonParse(playitem.content)[0], 'image/resize,w_400/format,jpg/quality,q_60')}}"
src="{{filter.jpgvideoPoster(filter.jsonParse(playitem.content)[0], 'image/resize,w_400/format,jpg')}}"
mode="widthFix"
lazy-load="false"
binderror=""
......
......@@ -51,14 +51,14 @@
data-id="video{{playindex}}"
id="video{{playindex}}"
autoplay="{{false}}"
poster="{{filter.videoPoster(playitem.video, 'image/resize,w_400/format,jpg/quality,q_60')}}"
poster="{{filter.videoPoster(playitem.video, 'image/resize,w_400/format,jpg')}}"
wx-if="{{playindex == currentIndex || (playindex == currentIndex + 1)}}"
>
</video>
<!-- initial-time="{{initialTime}}" -->
<image
class="video-poster"
src="{{filter.jpgvideoPoster(filter.jsonParse(playitem.content)[0], 'image/resize,w_400/format,jpg/quality,q_60')}}"
src="{{filter.jpgvideoPoster(filter.jsonParse(playitem.content)[0], 'image/resize,w_400/format,jpg')}}"
mode="widthFix"
lazy-load="false"
binderror=""
......
......@@ -51,14 +51,14 @@
data-id="video{{playindex}}"
id="video{{playindex}}"
autoplay="{{false}}"
poster="{{filter.videoPoster(playitem.video, 'image/resize,w_400/format,jpg/quality,q_60')}}"
poster="{{filter.videoPoster(playitem.video, 'image/resize,w_400/format,jpg')}}"
wx-if="{{playindex == currentIndex || (playindex == currentIndex + 1)}}"
>
</video>
<!-- initial-time="{{initialTime}}" -->
<image
class="video-poster"
src="{{filter.jpgvideoPoster(filter.jsonParse(playitem.content)[0], 'image/resize,w_400/format,jpg/quality,q_60')}}"
src="{{filter.jpgvideoPoster(filter.jsonParse(playitem.content)[0], 'image/resize,w_400/format,jpg')}}"
mode="widthFix"
lazy-load="false"
binderror=""
......
......@@ -4,7 +4,7 @@
<view class="top-box">
<view class="media-box">
<view class="media-wrapper"></view>
<image class="poster" src="{{filter.imagify(coursesDetail.cover, 'image/resize,w_400/format,jpg/quality,q_60')}}" wx:if="{{coursesDetail.cover}}"/>
<image class="poster" src="{{filter.imagify(coursesDetail.cover, 'image/resize,w_600/format,jpg')}}" wx:if="{{coursesDetail.cover}}"/>
<image class="poster" src="{{filter.imagify('qingxiao/biz/image/course/courseDefaultImg.png')}}" wx:else/>
<view class="bottom-line">
<view class="left">{{coursesDetail.visit_pv_count}}次播放</view>
......@@ -54,7 +54,7 @@
</view>
<view class="img-box" wx:if="{{item.type == 'img'}}" bindtap="prevImg" data-src="{{item.value}}">
<view class="img-item">
<image class="" src="{{filter.imagify(item.value, 'image/resize,w_400/format,jpg/quality,q_60')}}" mode="widthFix" lazy-load="false" binderror="" bindload="" />
<image class="" src="{{filter.imagify(item.value, 'image/resize,w_400/format,jpg')}}" mode="widthFix" lazy-load="false" binderror="" bindload="" />
</view>
</view>
<view class="text-box" wx:if="{{item.type == 'text'}}">
......@@ -67,7 +67,7 @@
<view class="business-box" bindtap="goWebsiteIndex">
<view class="business-info">
<view class="logo-box">
<image class="logo" src="{{filter.imagify(websitehome.school.logo, 'image/resize,w_160/format,jpg/quality,q_60')}}" />
<image class="logo" src="{{filter.imagify(websitehome.school.logo, 'image/resize,w_160/format,jpg')}}" />
</view>
<view class="business-name">
<view class="title">{{websitehome.title}}</view>
......
......@@ -5,7 +5,7 @@
<block wx:for="{{infoList}}" wx:key="index">
<view class="content-item" bindtap="goOnlineClass" data-item="{{item}}">
<view class="cover-box">
<image class="cover-img" src="{{filter.imagify(item.cover, 'image/resize,w_400/format,jpg/quality,q_60')}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" wx:if="{{item.cover}}" />
<image class="cover-img" src="{{filter.imagify(item.cover, 'image/resize,w_400/format,jpg')}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" wx:if="{{item.cover}}" />
<image class="cover-img" src="{{filter.imagify('qingxiao/biz/image/course/courseDefaultImg.png')}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" wx:else/>
<view class="man-count">
<image class="" src="{{imageRoot}}2c/websiteindex/hot-icon.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />{{item.visit_pv_count+item.study_count}}人学习
......
......@@ -60,14 +60,14 @@
<view class="time">{{filter.voiceTimeFormat(coursesDetail.content.properties.duration)}}</view>
</view>
<view class="cover-box">
<image class="" src="{{filter.imagify(coursesDetail.cover, 'image/resize,w_400/format,jpg/quality,q_60')}}" wx:if="{{coursesDetail.cover}}"/>
<image class="" src="{{filter.imagify(coursesDetail.cover, 'image/resize,w_600/format,jpg')}}" wx:if="{{coursesDetail.cover}}"/>
<image class="" src="{{filter.imagify('qingxiao/biz/image/course/courseDefaultImg.png')}}" wx:else/>
</view>
</view>
</block>
<block wx:else>
<view class="cover-box">
<image class="" src="{{filter.imagify(coursesDetail.cover, 'image/resize,w_400/format,jpg/quality,q_60')}}" wx:if="{{coursesDetail.cover}}"/>
<image class="" src="{{filter.imagify(coursesDetail.cover, 'image/resize,w_600/format,jpg')}}" wx:if="{{coursesDetail.cover}}"/>
<image class="" src="{{filter.imagify('qingxiao/biz/image/course/courseDefaultImg.png')}}" wx:else/>
</view>
</block>
......@@ -113,7 +113,7 @@
</view>
<view class="img-box" wx:if="{{item.type == 'img'}}" bindtap="prevImg" data-src="{{item.value}}">
<view class="img-item">
<image class="" src="{{filter.imagify(item.value, 'image/resize,w_400/format,jpg/quality,q_60')}}" mode="widthFix" lazy-load="false" binderror="" bindload="" />
<image class="" src="{{filter.imagify(item.value, 'image/resize,w_600/format,jpg')}}" mode="widthFix" lazy-load="false" binderror="" bindload="" />
</view>
</view>
<view class="text-box" wx:if="{{item.type == 'text'}}">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment