Commit 34682514 by luyt

fix;长图格式调整为webp

1 parent 32ff171b
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<block wx:if="{{phone}}"> <block wx:if="{{phone}}">
<view class="phone" bindtap="phoneCall" data-phone="{{phone}}"> <view class="phone" bindtap="phoneCall" data-phone="{{phone}}">
<!-- <image src="{{IMGURL}}share-phone.png" class="icon"></image> --> <!-- <image src="{{IMGURL}}share-phone.png" class="icon"></image> -->
<image src="{{IMGURL}}phone.png" class="icon"></image> <image webp src="{{IMGURL}}phone.png" class="icon"></image>
请联系我 请联系我
<view style="color:#3666fe"> <view style="color:#3666fe">
{{phone}} {{phone}}
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
<view class="card-img"> <view class="card-img">
<!-- <text class="img-desc">轻改类</text> <!-- <text class="img-desc">轻改类</text>
<image src="{{IMGURL}}discovery_prod1.png" /> --> <image src="{{IMGURL}}discovery_prod1.png" /> -->
<image src="{{IMGURL}}prod/{{senceData[actNum].productList[activeNavIdx].img}}.png" /> <image webp src="{{IMGURL}}prod/{{senceData[actNum].productList[activeNavIdx].img}}.png" />
</view> </view>
<view class="prod-info"> <view class="prod-info">
<text class="title">{{senceData[actNum].productList[activeNavIdx].proName}}</text> <text class="title">{{senceData[actNum].productList[activeNavIdx].proName}}</text>
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
</text> </text>
</view> </view>
<view class="share-btn" wx:if="{{!isShare && origin =='home' && actNum!=4}}" bindtap="onShareFn"> <view class="share-btn" wx:if="{{!isShare && origin =='home' && actNum!=4}}" bindtap="onShareFn">
<image class="icon" src="{{IMGURL}}share.png" /> <image webp class="icon" src="{{IMGURL}}share.png" />
<text>去分享</text> <text>去分享</text>
</view> </view>
</view> </view>
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
<!-- wx:if="{{showVideo && index==5 && tab.length < 5}}" --> <!-- wx:if="{{showVideo && index==5 && tab.length < 5}}" -->
<view id="to-{{index}}" class="img-item img-item{{actNum+1}}{{index+1}}" wx:if="{{index != 5}}"> <view id="to-{{index}}" class="img-item img-item{{actNum+1}}{{index+1}}" wx:if="{{index != 5}}">
<!-- wx:if="{{index!=5}}" --> <!-- wx:if="{{index!=5}}" -->
<image class="img-item{{actNum+1}}{{index+1}}" src="{{IMGURL}}scene{{actNum+1}}{{index+1}}.png" /> <image webp class="img-item{{actNum+1}}{{index+1}}" src="{{IMGURL}}scene{{actNum+1}}{{index+1}}.png" />
<view class="video-bg" wx:if="{{!isShare && index==5 && senceData[actNum].videoList.length}}"> <view class="video-bg" wx:if="{{!isShare && index==5 && senceData[actNum].videoList.length}}">
<view class="video-list"> <view class="video-list">
<block wx:for="{{senceData[actNum].videoList}}" wx:key="i"> <block wx:for="{{senceData[actNum].videoList}}" wx:key="i">
...@@ -74,7 +74,7 @@ ...@@ -74,7 +74,7 @@
</view> </view>
<view id="to-{{index}}" class="img-item img-item{{actNum+1}}{{index+1}}" wx:if="{{index == 5 && outshowVideo}}"> <view id="to-{{index}}" class="img-item img-item{{actNum+1}}{{index+1}}" wx:if="{{index == 5 && outshowVideo}}">
<!-- wx:if="{{index!=5}}" --> <!-- wx:if="{{index!=5}}" -->
<image class="img-item{{actNum+1}}{{index+1}}" src="{{IMGURL}}scene{{actNum+1}}{{index+1}}.png" /> <image webp class="img-item{{actNum+1}}{{index+1}}" src="{{IMGURL}}scene{{actNum+1}}{{index+1}}.png" />
<view class="video-bg" wx:if="{{!isShare && index==5 && senceData[actNum].videoList.length}}"> <view class="video-bg" wx:if="{{!isShare && index==5 && senceData[actNum].videoList.length}}">
<view class="video-list"> <view class="video-list">
<block wx:for="{{senceData[actNum].videoList}}" wx:key="i"> <block wx:for="{{senceData[actNum].videoList}}" wx:key="i">
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
bindclick="changeTabIndx" bindclick="changeTabIndx"
class="tabContainer" /> class="tabContainer" />
<view class="right" data-type="shop" bindtap="gotoApply"> <view class="right" data-type="shop" bindtap="gotoApply">
<image class="img" src="{{IMG_URL}}index/apply.png" /> <image webp class="img" src="{{IMG_URL}}index/apply.png" />
<view class="apply">申请业务</view> <view class="apply">申请业务</view>
</view> </view>
</view> </view>
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
wx:key="name"> wx:key="name">
<view class="item"> <view class="item">
<!-- <image class="open-img" wx:if="{{item.sceneStatus == 1}}" src="{{IMG_URL}}/output/openedIcon.png" /> --> <!-- <image class="open-img" wx:if="{{item.sceneStatus == 1}}" src="{{IMG_URL}}/output/openedIcon.png" /> -->
<image class="img" src="{{item.src}}" /> <image webp class="img" src="{{item.src}}" />
<view class="name">{{item.name}}</view> <view class="name">{{item.name}}</view>
<view class="msg">{{item.msg}}</view> <view class="msg">{{item.msg}}</view>
</view> </view>
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
style="{{index == 0 ? 'margin-left: 0px;' : ''}}" style="{{index == 0 ? 'margin-left: 0px;' : ''}}"
bindtap="filterTypeFn"> bindtap="filterTypeFn">
{{item[item['selectIndex']] }} {{item[item['selectIndex']] }}
<image class="point" wx:if="{{index != 3}}" src="{{item['selectIndex']!=2&&index != 3? IMAGES.actArrow : IMAGES.arrow}}" /> <image webp class="point" wx:if="{{index != 3}}" src="{{item['selectIndex']!=2&&index != 3? IMAGES.actArrow : IMAGES.arrow}}" />
</view> </view>
</view> </view>
<!-- bindscrolltolower="scrolltolowerFn" --> <!-- bindscrolltolower="scrolltolowerFn" -->
...@@ -81,7 +81,7 @@ ...@@ -81,7 +81,7 @@
<view class="name-wrap"> <view class="name-wrap">
<view class="name" hover-class="none" hover-stop-propagation="false"> <view class="name" hover-class="none" hover-stop-propagation="false">
{{item.nickName}} {{item.nickName}}
<image class="avatar" src="{{IMG_URL}}index/man.png" wx:if="{{item.clueType != 3}}" /> <image webp class="avatar" src="{{IMG_URL}}index/man.png" wx:if="{{item.clueType != 3}}" />
</view> </view>
<view class="source" hover-class="none" hover-stop-propagation="false">通过门店助手申请</view> <view class="source" hover-class="none" hover-stop-propagation="false">通过门店助手申请</view>
</view> </view>
...@@ -127,11 +127,13 @@ ...@@ -127,11 +127,13 @@
<view class="phone-wrap" wx:if="{{item.phone}}"> <view class="phone-wrap" wx:if="{{item.phone}}">
<view class="phone">{{item.phone}}</view> <view class="phone">{{item.phone}}</view>
<image <image
webp
class="phone-img" class="phone-img"
data-phone="{{item.phone}}" data-phone="{{item.phone}}"
bindtap="phoneCallFn" bindtap="phoneCallFn"
src="{{IMG_URL}}index/phone.png" /> src="{{IMG_URL}}index/phone.png" />
<image <image
webp
class="copy" class="copy"
data-phone="{{item.phone}}" data-phone="{{item.phone}}"
bindtap="setCopyDataFn" bindtap="setCopyDataFn"
...@@ -153,6 +155,7 @@ ...@@ -153,6 +155,7 @@
<!-- 生意助手 --> <!-- 生意助手 -->
<view wx:else> <view wx:else>
<image <image
webp
class="like" class="like"
wx:if="{{item.clueType == 1 && item.starTag == 1}}" wx:if="{{item.clueType == 1 && item.starTag == 1}}"
src="{{IMG_URL}}index/like.png" src="{{IMG_URL}}index/like.png"
...@@ -161,6 +164,7 @@ ...@@ -161,6 +164,7 @@
data-item="{{item}}" data-item="{{item}}"
bindtap="showToast" /> bindtap="showToast" />
<image <image
webp
class="like" class="like"
wx:if="{{item.clueType == 1 && item.starTag == 0}}" wx:if="{{item.clueType == 1 && item.starTag == 0}}"
src="{{IMG_URL}}index/dislike.png" src="{{IMG_URL}}index/dislike.png"
...@@ -174,7 +178,7 @@ ...@@ -174,7 +178,7 @@
<view class="disLike-titsan" wx:if="{{item.clueType == 1 && item.starTag == 0 && disLikeFlag && disLikeRecordFlag}}" hidden="{{index != disLikeFlagIdx}}"></view> <view class="disLike-titsan" wx:if="{{item.clueType == 1 && item.starTag == 0 && disLikeFlag && disLikeRecordFlag}}" hidden="{{index != disLikeFlagIdx}}"></view>
<view class="name" hover-class="none" hover-stop-propagation="false"> <view class="name" hover-class="none" hover-stop-propagation="false">
{{item.nickName}} {{item.nickName}}
<image class="avatar" src="{{IMG_URL}}index/avatar.png" wx:if="{{item.clueType != 3}}" /> <image webp class="avatar" src="{{IMG_URL}}index/avatar.png" wx:if="{{item.clueType != 3}}" />
</view> </view>
<view class="line" hover-class="none" hover-stop-propagation="false" /> <view class="line" hover-class="none" hover-stop-propagation="false" />
<!-- {{item.getMoreFlag?'height':'auto'}} --> <!-- {{item.getMoreFlag?'height':'auto'}} -->
...@@ -226,11 +230,13 @@ ...@@ -226,11 +230,13 @@
<view class="phone-wrap"> <view class="phone-wrap">
<view class="phone">{{item.phone}}</view> <view class="phone">{{item.phone}}</view>
<image <image
webp
class="phone-img" class="phone-img"
data-phone="{{item.phone}}" data-phone="{{item.phone}}"
bindtap="phoneCallFn" bindtap="phoneCallFn"
src="{{IMG_URL}}index/phone.png" /> src="{{IMG_URL}}index/phone.png" />
<image <image
webp
class="copy" class="copy"
data-phone="{{item.phone}}" data-phone="{{item.phone}}"
bindtap="setCopyDataFn" bindtap="setCopyDataFn"
...@@ -251,7 +257,7 @@ ...@@ -251,7 +257,7 @@
</view> </view>
<view class="bottomTips" wx:if="{{clueList.length>8}}">到底啦!</view> <view class="bottomTips" wx:if="{{clueList.length>8}}">到底啦!</view>
<view class="noDataImg" wx:if="{{!clueList.length}}"> <view class="noDataImg" wx:if="{{!clueList.length}}">
<image src="{{IMG_URL}}index/trEmpty.png " /> <image webp src="{{IMG_URL}}index/trEmpty.png " />
<text class="noDataTxt">没有符合条件的线索~</text> <text class="noDataTxt">没有符合条件的线索~</text>
</view> </view>
</view> </view>
...@@ -270,9 +276,10 @@ ...@@ -270,9 +276,10 @@
src="{{IMG_URL}}index/guide{{guideSrcIndex}}.png" /> src="{{IMG_URL}}index/guide{{guideSrcIndex}}.png" />
</view> </view>
<!-- 在线客服 --> <!-- 在线客服 -->
<image class="chat" src="{{IMG_URL}}index/contact.png" bindtap="goConsult" /> <image webp class="chat" src="{{IMG_URL}}index/contact.png" bindtap="goConsult" />
<!-- 预估产值 --> <!-- 预估产值 -->
<image <image
webp
class="output-value" class="output-value"
bindtap="showCalculate" bindtap="showCalculate"
src="{{IMG_URL}}index/valuation.png" src="{{IMG_URL}}index/valuation.png"
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!